update.
[chise/xemacs-chise.git.1] / src / ChangeLog.1
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
1389         * event-msw.c (emacs_mswindows_create_stream_pair): Casts on
1390         handle types and get_osfhandle() return type. From Andy Piper.
1391         (emacs_mswindows_select_process): Get Win32 process handle
1392         directly from process lrecord.
1393         (get_process_handle): Removed function.
1394         (emacs_mswindows_handle_magic_event): Removed handling of
1395         XM_BUMPQUEUE magic event.
1396         (mswindows_wnd_proc): Removed handling of WM_EXITMENULOOP message,
1397         which called a do-nothing handler in menubar-msw.c
1398         (mswindows_wnd_proc, WM_EXITSIZEMOVE): Queue an empty event
1399         instead of magic event, via mswindows_bump_queue().
1400         (mswindows_wnd_proc, WM_CLOSE): Ditto.
1401         (mswindows_need_event): Call mswindows_bump_queue() upon process
1402         termination, in case process pipe does not get closed along.
1403         Do not close process handle.
1404         (mswindows_bump_queue): Added function.
1405         (mswindows_enqueue_dispatch_event): Made static.
1406         (ntpipe_slurp_*): Revamped the slurp thread implementation so the
1407         stream does not expect the thread to terminate when stream is closed.
1408         (ntpipe_slurp_reader): Fixed an attempt to read zero bytes from
1409         the pipe.
1410
1411         * event-stream.c (event_stream_deal_with_async_timeout):
1412         Conditionalized timer-based polling for finished processes on
1413         HAVE_UNIX_PROCESSES.
1414
1415         * menubar-msw.c (mswindows_handle_wm_command): Queued proper bump
1416         queue event.
1417         (mswindows_handle_wm_exitmenuloop): Removed function.
1418
1419         * menubar-msw.h: Removed unused function prototype.
1420
1421         * process-nt.c (get_nt_process_handle): Added function.
1422
1423         * signal.c (init_poll_for_sigchld): Conditionalized on
1424         HAVE_UNIX_PROCESSES.
1425
1426 1998-04-13  Kirill M. Katsnelson  <kkm@kis.ru>
1427
1428         * frame-msw.c: Implemented the following methods:
1429         mswindows_get_mouse_position()
1430         mswindows_set_mouse_position()
1431         mswindows_frame_totally_visible_p()
1432
1433 1998-04-11  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1434
1435         * emacs.c: Renamed inhibit-package-init to inhibit-early-packages
1436         to better reflect its semantics.
1437         Renamed inhibit-update-autoloads to inhibit-package-autoloads.
1438         (complex_vars_of_emacs): Added site-directory and lisp-directory.
1439         -no-packages -> no-early-packages.
1440
1441         * Makefile.in.in: Reflected reinstatement of paths.h.in.
1442
1443         * paths.h.in: Reinstated.
1444
1445         * paths.h.in.in: Removed.
1446
1447         * config.h.in: Moved configure path and directory options from
1448         paths.h.in.in.
1449
1450 1998-04-11  Kirill M. Katsnelson  <kkm@kis.ru>
1451
1452         * event-msw.c (emacs_mswindows_quit_p): don't recurse.
1453
1454 1998-04-10  Kirill M. Katsnelson  <kkm@kis.ru>
1455
1456         * callproc.c (init_callproc): Correctly initialize
1457         `shell-file-name' for WINDOWSNT
1458
1459         * emacs.c (main_1): Properly called new functions (see symsinit.h
1460         entry for which).
1461
1462         * event-msw.c (struct ntpipe_slurp_stream):
1463         (slurp_thread):
1464         (make_ntpipe_input_stream):
1465         (get_ntpipe_input_stream_waitable):
1466         (get_ntpipe_input_stream_param):
1467         (ntpipe_slurp_reader):
1468         (ntpipe_slurp_closer):
1469         (init_slurp_stream): Win32 pipe input stream implementation.
1470         (struct ntpipe_shove_stream):
1471         (shove_thread):
1472         (make_ntpipe_output_stream):
1473         (get_ntpipe_output_stream_param):
1474         (ntpipe_shove_writer):
1475         (ntpipe_shove_was_blocked_p):
1476         (ntpipe_shove_flusher):
1477         (ntpipe_shove_closer):
1478         (init_shove_stream): Win32 pipe output stream implementation.
1479         (mswindows_enqueue_process_event): Dispatch helper.
1480         (find_waitable_handle):
1481         (add_waitable_handle):
1482         (remove_waitable_handle): New three, waitable handles handling.
1483         (mswindows_need_event_in_modal_loop): Simplified.
1484         (mswindows_need_event): Simplified.
1485         (mswindows_need_event): Generate process events on process output;
1486         kick status_notify when a process ends.
1487         (mswindows_find_console): Simplified.
1488         (emacs_mswindows_event_pending_p): Adjusted parameters to
1489         mswindows_need_event().
1490         (emacs_mswindows_next_event): Ditto.
1491         (get_process_input_waitable):
1492         (get_process_handle): Process select/unselect helpers.
1493         (emacs_mswindows_select_process): Implemented.
1494         (emacs_mswindows_unselect_process): Implemented.
1495         (emacs_mswindows_quit_p): Call mswindows_drain_windows_queue()
1496         directly so do not even try do dequeue process events. Saved a
1497         byte and a tick.
1498         (emacs_mswindows_create_stream_pair): Implemented.
1499         (emacs_mswindows_delete_stream_pair): Implemented.
1500         (vars_of_event_mswindows): Registered the above two.
1501         (lstream_type_create_mswindows_selectable): Function called from
1502         emacs.c to create two pipe lstream types.
1503
1504         * ntproc.c (sys_select): Disgustful brain fart this file is.
1505
1506         * process-nt.c: New file: Asynchronous subprocess implemenation
1507         for Win32.
1508
1509         * process.h: Declare Fprocess_id().
1510
1511         * signal.c (init_signals_very_early): Conditionalize possibly
1512         nonexistent signals.
1513
1514         * symsinit.h: Declared:
1515         lstream_type_create_mswindows_selectable ()
1516         process_type_create_nt ()
1517         vars_of_process_nt ()
1518
1519         * s/windowsnt.h: Defined HAVE_WIN32_PROCESSES.
1520         Removed fake SIGTRAP, SIGPIPE and SIGCHLD.
1521
1522 1998-04-10  Martin Buchholz  <martin@xemacs.org>
1523
1524         * fns.c (Fnthcdr):
1525         Most times through the loop will get a cons, so optimize for that.
1526
1527         * bytecode.c (Fbyte_code): Remove '91 vintage compiler bug workaround.
1528         Add NATNUMP check for Bnth bytecode.
1529         Bnth: Optimize case of n > length (list).
1530         QUITs not necessary since even if list is circular, n will count
1531         down to 0.
1532         Bnthcdr: inline the code for nthcdr (we have a bytecode for it,
1533         after all)
1534         Bcdr, Bcar: Use tail recursion.
1535
1536 1998-04-10  Hrvoje Niksic  <hniksic@srce.hr>
1537
1538         * redisplay.c (redisplay_window): Don't lose with negative
1539         scroll_step.
1540
1541 1998-04-09  Hrvoje Niksic  <hniksic@srce.hr>
1542
1543         * fileio.c (Fmake_temp_name): Don't use `+' in generated file
1544         names.
1545         (Fmake_temp_name): Randomize the initial values of counters.
1546
1547 1998-04-07  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1548
1549         * Makefile.in.in: paths.h.in is now generated from paths.h.in.in.
1550
1551         * emacs.c (decode_path): Removed parsing of "::" into nil component.
1552
1553 1998-04-09  Martin Buchholz  <martin@xemacs.org>
1554
1555         * lstream.c (make_filedesc_stream_1): Fix another Martin blooper.
1556
1557 1998-04-07  SL Baur  <steve@altair.xemacs.org>
1558
1559         * emacs.c (Fdump_emacs): Delete superfluous open comment.
1560
1561 1998-04-06  SL Baur  <steve@altair.xemacs.org>
1562
1563         * emacs.c (Fdump_emacs): Move call to disable_free_hook back to
1564         Fdump_emacs where it belongs.
1565
1566 1998-04-07  Kirill M. Katsnelson  <kkm@kis.ru>
1567
1568         * nt.c (sys_mkdir): Added the second unused parameter, after UNIX
1569         version. Suggested by Martin.
1570
1571 1998-04-07  Kirill M. Katsnelson  <kkm@kis.ru>
1572
1573         * event-msw.c (mswindows_wnd_proc): Fix member access macro names.
1574
1575         * frame-msw.c (mswindows_frame_property):
1576         (mswindows_internal_frame_property_p):
1577         (mswindows_frame_properties): Implemented for the 'left and 'top
1578         properties.
1579         (console_type_create_frame_mswindows): Regsitered the above.
1580         (mswindows_set_title_from_bufbyte): Update title only if it has
1581         really changed. This avoids a bit of flashing.
1582
1583         * console-msw.h (FRAME_MSWINDOWS_TITLE_CHECKSUM): To update title
1584         smoother.
1585         (MSWINDOWS_FRAME_*(f)): Were MSWINDOWS_FRAME_*(f). Eeek!
1586
1587 1998-04-06  Kazuyuki IENAGA <ienaga@jsys.co.jp>
1588
1589         * unexfreebsd.c: introduce FreeBSD port's patch to avoid
1590         FreeBSD-current warns "Absurd new brk addr".
1591
1592 1998-04-06  Colin Rafferty  <colin@xemacs.org>
1593
1594         * glyphs-x.c (struct gif_error_struct): Made the err_str point to
1595         a CONST char* instead of non-const.
1596         (tiff_memory_write): Add fake return statement to shut up warnings.
1597
1598 1998-04-06  Hrvoje Niksic  <hniksic@srce.hr>
1599
1600         * fileio.c (Finsert_file_contents_internal): Correctly handle
1601         special files larger than 32K.
1602
1603 1998-04-06  Hrvoje Niksic  <hniksic@srce.hr>
1604
1605         * fileio.c (Fmake_temp_name): Don't call mktemp().
1606
1607 1998-04-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1608
1609         * unexelf.c: include <config.h> first.
1610
1611 1998-04-04  Martin Buchholz  <martin@xemacs.org>
1612
1613         * sysdep.c:  Add #include <sys/termio.h> for AIXHFT as suggested
1614         on c.e.x.
1615
1616         * nt.c:
1617         * ntproc.c:
1618         Change "config.h" to <config.h>.  Add dire warnings to code since
1619         config.h is not included first.
1620
1621         * powerpc.h: Avoid redefinition warning on START_FILES.
1622
1623         * window.c: Rename Vminibuf_scroll_window to Vminibuffer_scroll_window.
1624         * hpplay.c: Rename play_gain to hp_play_gain in accordance with
1625         coding standards.
1626
1627         * frame-x.c (x_lower_frame):
1628         (x_raise_frame_1): Clarify code.  Save a nanosecond if frame not
1629         visible.
1630
1631         * fileio.c (Fmake_temp_name): Use static CONST suffix; save a
1632         nanosecond.
1633
1634 1998-04-05  Amir J. Katz  <amir@ndsoft.com>
1635
1636         * sysproc.h: Added #include <sys/types.h> before <sys/socket.h>
1637         otherwise callproc.c does not compile on SunOS 4.1.4 with gcc 2.8.1
1638
1639         * sysdep.h: strerror() does not return CONST in gcc 2.8.1
1640
1641 1998-04-05  Hrvoje Niksic  <hniksic@srce.hr>
1642
1643         * redisplay.c (generate_fstring_runes): Grok specifiers and
1644         symbols indirecting to specifiers.
1645
1646 1998-04-06  Olivier Galibert  <galibert@pobox.com>
1647
1648         * events.c (print_event): XINT() may return a long.
1649
1650         * insdel.c (make_gap): Thou shan't cast EMACS_INT_MAX to int.
1651         (buffer_insert_string_1): ditto.
1652
1653         * regex.c (print_partial_compiled_pattern): Neither EMACS_INTs nor
1654         ptrdiff_t are portably printable as an int.
1655
1656         * redisplay.c (window_line_number): Don't assume that an EMACS_INT
1657         in an int.
1658
1659         * alloc.c (report_pure_usage): Don't assume that a size_t is
1660         displayable as an int.
1661
1662 1998-04-06  SL Baur  <steve@altair.xemacs.org>
1663
1664         * process-unix.c: Fix typo in #ifdef.
1665         From Hrvoje Niksic <hniksic@srce.hr>
1666
1667 1998-04-06  Olivier Galibert  <galibert@pobox.com>
1668
1669         * unexelfsgi.c (unexec): Don't treat the sbss section as bss if it
1670         isn't one. Needed for irix 6.5.
1671
1672 1998-04-05  Martin Buchholz  <martin@xemacs.org>
1673
1674         * sysdep.h: Two prototypes that weren't properly size_t'ed
1675
1676 1998-04-04  Martin Buchholz  <martin@xemacs.org>
1677
1678         * ralloc.c: mallopt <==> malloc.h.
1679
1680 1998-04-04  Martin Buchholz  <martin@xemacs.org>
1681
1682         * emacs.c: #include <paths.h>, not "paths.h"
1683         This is a standard bug.  It manifests if you configure in the
1684         source tree, then configure elsewhere with --srcdir.
1685         Remove misleading PATH_EXEC comment; PATH_PACKAGEPATH is also used.
1686
1687 1998-04-04  Olivier Galibert  <galibert@pobox.com>
1688
1689         * s/386bsd.h: Removed obsolete define.
1690
1691 1998-04-04  Olivier Galibert  <galibert@pobox.com>
1692
1693         * s/386-ix.h: Removed useless define.
1694
1695         * sysdep.c (insque): Removed. Not used anywhere in the code.
1696
1697 1998-04-04  Olivier Galibert  <galibert@pobox.com>
1698
1699         * process-unix.c (unix_kill_child_process): Use TIOCSIGSEND or
1700         TIOCSIGNAL as needed.
1701
1702         * s/usg5-4.h: Remove kludgy TIOCSIGSEND #define which breaks on
1703         irix 6.5.
1704
1705 1998-03-28  Hrvoje Niksic  <hniksic@srce.hr>
1706
1707         * insdel.c (emchar_string_displayed_columns): Simplify for
1708         non-Mule case.
1709
1710         * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Issue nicer output.
1711
1712 1998-04-01  Martin Buchholz  <martin@xemacs.org>
1713
1714         * sysdir.h (sys_mkdir):
1715         * sysfile.h (sys_read):
1716         (sys_write):
1717         (sys_chmod):
1718         (sys_creat):
1719
1720         * sysdep.c (sys_read_1):
1721         (sys_read):
1722         (sys_write_1):
1723         (sys_write):
1724         (sys_mkdir):
1725         (sys_readlink):
1726         (sys_chmod):
1727         (sys_creat):
1728
1729         * nt.c (sys_read):
1730         (sys_chmod):
1731         (sys_creat):
1732         (sys_write): Change types of sys_* in accordance with published
1733         standards. Use size_t and mode_t instead of unsigned int and int.
1734
1735 1998-04-03  Martin Buchholz  <martin@xemacs.org>
1736
1737         * config.h.in (enum_field):
1738         * lisp-union.h:
1739         * extents.h:
1740         * redisplay.c (add_margin_runes):
1741         Prefer enums for use as bitfields in preference to unsigned int,
1742         but allow the possibility to suppress it if a compiler disallows
1743         it or emits annoying warnings.  Currently only __SUNPRO_C cc -Xc
1744         used unsigned ints.
1745
1746         * event-stream.c: Fixup DEFVAR for
1747         Vcomposed_character_default_binding; Real bug!
1748         * event-msw.c: Rename mswindows_button2* to mswindows_mouse_button*
1749         * emacs.c: Rename suppress_early_backtrace to
1750         suppress_early_error_handler_backtrace
1751         * objects-x.c: Rename handle_nonfull_spec_fonts to
1752         x_handle_non_fully_specified_fonts
1753         * lread.c: Rename puke_on_fsf_keys to
1754         fail-on-bucky-bit-character-escapes
1755         * lread.c:
1756         * doc.c: Rename Vdoc_file_name to Vinternal_doc_file_name
1757         * fileio.c:
1758         * bufslots.h:
1759         * buffer.c: Rename save_length to saved_size
1760         * alloc.c: Rename pureptr to pure_bytes_used
1761         * abbrev.c: Rename last_abbrev_point to last_abbrev_location
1762         * lisp.h:
1763         DEFVAR_* are supposed to be named following a standard convention.
1764
1765 1998-04-03  Martin Buchholz  <martin@xemacs.org>
1766
1767         * callint.c:
1768         * ralloc.c:
1769         * data.c:
1770         * eldap.c:
1771         * extents.c:
1772         * frame-msw.c:
1773         * frame-x.c:
1774         * general.c:
1775         * process.c:
1776         * xselect.c:
1777         Rationalize defsymbol handling.
1778         defsymbols are supposed to have equivalent C and Lisp names, for
1779         consistency.  At least one real bug (end-glyph-layout) fixed.
1780         Move multiply defsymbol'ed stuff into general.c.
1781
1782 1998-04-03  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
1783
1784         * m/ibmrs6000.inp: Removed; obsoleted by configure.in changes.
1785
1786 1998-04-03  Martin Buchholz  <martin@xemacs.org>
1787
1788         * console-tty.c (Fset_console_tty_input_coding_system):
1789         (Fset_console_tty_output_coding_system):
1790         Input/Output and encoding/decoding were reversed.
1791
1792 1998-04-02  SL Baur  <steve@altair.xemacs.org>
1793
1794         * m/powerpc.h: Remove LD_SWITCH_MACHINE for Linux.
1795
1796 1998-04-02  Greg Klanderman  <greg@alphatech.com>
1797
1798         * window.c (set_window_pixsize): Move up call to
1799         check_min_window_sizes.
1800
1801         * indent.c (vmotion_1): renamed from vmotion() and added
1802         additional argument to optionally return the pixel motion.
1803         (vpix_motion): Helper for vmotion_1.
1804         (vmotion): Wrapper - just call vmotion_1() with the right args.
1805         (Fvertical_motion_pixels): New function.
1806         (syms_of_indent): DEFSUBR it.
1807
1808 1998-04-02  Martin Buchholz  <martin@xemacs.org>
1809
1810         * xselect.c:
1811         * event-Xt.c:
1812         * emacs.c:
1813         Remove last vestiges of #ifdef EPOCH code.  It had no chance of
1814         working anyways.  In honour of seeing Marc Andreesen in person for
1815         the first time today.
1816
1817 1998-04-01  Martin Buchholz  <martin@xemacs.org>
1818
1819         * extents.h:
1820         * lisp-union.h:
1821         Don't use enums as bitfields - only unsigned ints.
1822         Fixes: warning: nonportable bit-field type
1823
1824         * eval.c (call_with_suspended_errors): More volatilizing to
1825         appease Sunpro cc.
1826
1827         * mem-limits.h:
1828         * ralloc.c: Remove #undef NULL; they're not even used!
1829
1830         * process-unix.c (unix_send_process): send_process is a method, so
1831         we can't include volatile in the prototype.  We make the argument
1832         non-volatile, make a volatile copy, and then use that instead.
1833
1834         * frame-x.c (x_delete_frame): The `frame' variable is initialized
1835         but not actually used.
1836
1837         * Makefile.in.in (xselect.o): The last line of b34-pre2's
1838         src/Makefile.in.in contains a dependency that should have been
1839         patched away.
1840         (mostlyclean): Remove the removal of depend.* - no such files
1841         exist anymore
1842
1843         * make-src-depend: include a dependency on only one of
1844         lisp-union.h or lisp-disunion.h.
1845
1846 1998-04-01  Martin Buchholz  <martin@xemacs.org>
1847
1848         * specifier.c (specifier_instance_from_inst_list): A nanosecond
1849         saved is a nanosecond earned.
1850
1851 1998-03-31  Greg Klanderman  <greg@alphatech.com>
1852
1853         * redisplay.c (update_line_start_cache): Fix bug involving
1854         invisible text in which the line_start_cache gets hosed.
1855
1856 Sun Mar 29 1998  Andy Piper  <andyp@parallax.co.uk>
1857
1858         * console-msw.h: define FRAME_MSWINDOWS_CDC.
1859
1860         * frame-msw.c: (mswindows_set_frame_icon) new function. Works but
1861         no masks as yet.
1862
1863         * glyphs-msw.c: GNUize the code. Fix 24bpp display and make the
1864         default. Add managment of icons.
1865
1866         * glyphs-msw.h: add icon attributes.
1867
1868         * redisplay-msw.c: (mswindows_output_pixmap) remove unused cursor
1869         code.
1870
1871         * objects-msw.c: eliminate char subscript warning.
1872
1873 1998-04-01  SL Baur  <steve@altair.xemacs.org>
1874
1875         * sysdll.c (dll_close): fix typo.
1876         Suggested by Marcus Thiessel <marcus_thiessel@hp.com>
1877
1878
1879 1998-03-28  Kyle Jones  <kyle_jones@wonderworks.com>
1880
1881         * device.c (Fset_device_class): Recompute cached
1882           specifiers everywhere if device class is changed.
1883           Set various redisplay flags so that the device's
1884           various frames are redisplayed.
1885
1886 1998-03-31  SL Baur  <steve@altair.xemacs.org>
1887
1888         * lrecord.h (DECLARE_NONRECORD): Remove redundant paren.
1889         Suggested by Martin Buchholz <martin@xemacs.org>
1890
1891 1998-04-01  Kirill M. Katsnelson  <kkm@kis.ru>
1892
1893         * gui.c (gui_item_display_flush_left): Fix suffix length.
1894
1895 1998-04-01  Kirill M. Katsnelson  <kkm@kis.ru>
1896
1897         * s/windowsnt.h: Defined SIZEOF_LONG_LONG and SIZEOF_VOID_P
1898
1899         * dired-msw.c: Included <limits.h>
1900
1901         * config.h.in (VOID_P_BITS): Fixed so that uses SIZEOF_VOID_P
1902
1903 1998-03-31  SL Baur  <steve@altair.xemacs.org>
1904
1905         * glyphs.c (image_instantiate_cache_result): Correct order of
1906         parameters to Fputhash.
1907         Suggested by Kirill M. Katsnelson <kkm@kis.ru>
1908
1909 1998-03-30  Martin Buchholz  <martin@xemacs.org>
1910
1911         * redisplay.c (create_right_glyph_block): glyph_type should really
1912         be glyph_layout.
1913
1914 1998-03-29  Martin Buchholz  <martin@xemacs.org>
1915
1916         * sysfile.h: Move all encapsulations from lisp.h/emacsfns.h into
1917         sysfile.h.  Users of the functionality herein will have to
1918         #include sysfile.h.
1919         Check all .o files for missing #includes.
1920         * config.h.in:
1921         Discovered that config.h.in was missing ENCAPSULATE_CLOSEDIR, as a
1922         result of fixing the above.
1923
1924         * gui.c (gui_item_add_keyval_pair): We should not use the idiom
1925         error ("%S", lisp_object) in C code.
1926         I converted the code to use signal_simple_error_2 instead.
1927         (signal_too_long_error): Ditto.
1928
1929         * glyphs.c (image_instantiate_cache_result): Use XC[AD]R instead
1930         of Fc[ad]r.  This is always called with valid conses, and in fact,
1931         already assumed it.
1932
1933         * font-lock.c (find_context): Use context_none with context
1934         instead of ccontext_none.
1935
1936         * fns.c (Flength): The CONSP and NILP code can be combined.
1937         Change the name of the arg to SEQUENCE from OBJ.
1938         (Fnthcdr): CHECK_NATNUM instead of CHECK_INT.  Optimize out Fcdr calls.
1939         (Felt): Change argument from seq to sequence to match docstring.
1940
1941 1998-03-28  Martin Buchholz  <martin@xemacs.org>
1942
1943         * fns.c (string_putprop):
1944         (string_getprop): Make method functions static.
1945
1946         * window.c (find_window_by_pixel_pos): Warning suppression.
1947
1948         * imgproc.c (splitbox): Warning suppression.
1949
1950         * redisplay-x.c (x_output_eol_cursor): Remove redundant XSETWINDOW.
1951
1952         * glyphs-x.c (signal_image_error):
1953         (signal_image_error_2):
1954         (convert_EImage_to_XImage):  Make functions static.
1955
1956         * editfns.c (Fbuffer_size): Rename the `F' function to
1957         Fbuffer_size in accordance with coding standards.
1958
1959         * dll.c (Fdll_open): Fix up data conversion.
1960         Provide auxiliary function maybe_call_library_function().
1961
1962         * device-x.c (get_x_display): make function static.
1963
1964         * data.c (Fcar): Should generate listp, not consp error.
1965         (Fcdr): Should generate listp, not consp error.
1966
1967 1998-03-27  Martin Buchholz  <martin@xemacs.org>
1968
1969         * console-tty.c (free_tty_console_struct):
1970         Replace con->console_data with CONSOLE_type_DATA (con)
1971
1972         * *.[ch]:  C++ compilability of xemacs, on Linux and Solaris.
1973
1974         * casetab.c (Fcase_table_p): Optimize.
1975
1976         * eval.c:
1977         * bytecode.c:
1978         Rename Fcondition_case_3 to condition_case_3 - it's not a DEFUN.
1979
1980         * buffer.h:
1981         Remove all *BUFFER_OR_STRING* macros - unused.
1982         (memind_to_bytind): Merge two versions of function by moving
1983         #ifdef ERROR_CHECK_BUFPOS into the function body.
1984         (*_DATA_ALLOCA*): get types correct.  rewrite for clarity.
1985
1986         * balloon_help.c (balloon_help_destroy): rearrange order of
1987         functions, and remove prototype from header file.
1988
1989         * alloc.c (deadbeef_memory): Rewrite. Use size_t for clarity.
1990         Don't bother with the left-over bytes, since in practice we will
1991         always get called with a size multiple of 4.
1992         (Fmake_list): CHECK_NATNUM instead of CHECK_INT
1993         (vector[4567]): Currently unused; ifdef out.
1994         (make_pure_float): make function static.
1995         (garbage_collect_1): Optimize.
1996
1997 1998-03-23  Martin Buchholz  <martin@xemacs.org>
1998
1999         * marker.c (print_marker): Fix compiler warning, real bug!
2000
2001         * device.h (MARK_DEVICE_FRAMES_FACES_CHANGED):
2002         * frame.h (MARK_FRAME_FACES_CHANGED):
2003         (MARK_FRAME_TOOLBARS_CHANGED):
2004         (MARK_FRAME_SIZE_CHANGED):
2005         (MARK_FRAME_CHANGED):
2006         (MARK_FRAME_WINDOWS_CHANGED):
2007         (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED):
2008         Fix multiple evaluation of macro arguments.
2009         Macros are a fact of life.  Callers have to use temp variables to
2010         avoid multiple evaluation of arguments.
2011
2012         * data.c (Ftrue_list_p): New function, with obvious meaning.
2013         This is terminology from Cltl2.
2014         Also define a corresponding macro TRUE_LIST_P.
2015
2016         * device-x.c (validify_resource_component): Optimize. Rename.
2017         Use the standard technique of using a precomputed table of valid chars.
2018
2019         (x_get_resource_prefix):
2020         (Fx_get_resource):
2021         (Fx_get_resource_prefix):
2022         Avoid fixed buffer sizes.  Use a char_dynarr.
2023         Run validify_resource_component on all computed components.
2024
2025         * lisp.h: Define a char_dynarr type.
2026
2027 1998-03-22  Martin Buchholz  <martin@xemacs.org>
2028
2029         * fns.c (Fcopy_alist): Optimize.
2030
2031         * alloc.c (acons): New function.  Now used in the C code.
2032         Definition in cl.el is commented out.  Add docstring.
2033         Use acons in functions which create alists.
2034         * lisp/cl.el (acons): Add docstring.  Really otta be a macro, tho.
2035
2036         * buffer.c (Fbuffer_memory_usage):
2037         * window.c (Fwindow_memory_usage):
2038         Clean up horrible consing code using new acons function.
2039         Fix incorrect value reported for gap-overhead.
2040
2041         * fns.c (Fmember):
2042         (Fold_member):
2043         (Fmemq):
2044         (Fold_memq):
2045         (memq_no_quit):
2046         (Fassoc):
2047         (Fold_assoc):
2048         (Fassq):
2049         (Fold_assq):
2050         (assq_no_quit):
2051         (Frassoc):
2052         (Fold_rassoc):
2053         (Frassq):
2054         (Fold_rassq):
2055         (rassq_no_quit):
2056         (Fdelete):
2057         (Fold_delete):
2058         (Fdelq):
2059         (Fold_delq):
2060         (delq_no_quit):
2061         (delq_no_quit_and_free_cons):
2062         (Fremassoc):
2063         (Fremassq):
2064         (remassq_no_quit):
2065         (Fremrassoc):
2066         (Fremrassq):
2067         (remrassq_no_quit):
2068         (Fnreverse):
2069         (Freverse):
2070         (Fnthcdr):
2071         Optimize.
2072         Replace calls to Fcar, Fcdr, Fsetcar with XCAR and XCDR.
2073         Simplify logic.
2074         Many of these functions wouldn't QUIT if called on cyclic lists.
2075         e.g. try (progn (setq x '(nil)) (setcdr x x) (reverse x))
2076         One benchmark of delq showed it to be 3 times faster.
2077
2078         * emacs.c:
2079         * database.c:
2080         Cleanup of database functions.
2081         Make the get_subtype and get_type methods return Lisp_Objects,
2082         instead of C strings.  No more need for both dbm_type and dbm_lisp_type.
2083         Rewrite the doc strings to be consistent with XEmacs tradition.
2084         Replace old `dbm' names with `database'.
2085         Rename struct database to struct Lisp_Database.
2086         Rename DEFUN arguments to `database', when applicable.
2087
2088         * buffer.c:
2089         * chartab.c:
2090         * console.c:
2091         * data.c:
2092         * database.c:
2093         * device.c:
2094         * elhash.c:
2095         * eval.c:
2096         * event-stream.c:
2097         * extents.c:
2098         * faces.c:
2099         * frame.c:
2100         * glyphs.c:
2101         * keymap.c:
2102         * lstream.c:
2103         * mule-charset.c:
2104         * mule-coding.c:
2105         * objects.c:
2106         * opaque.c:
2107         * process.c:
2108         * rangetab.c:
2109         * specifier.c:
2110         * symbols.c:
2111         * tooltalk.c:
2112         * window.c:
2113         Place DEFINE_LRECORD_* after definition of static object methods, to
2114         avoid redundant declarations.
2115
2116         * console.c:
2117         * console.h:
2118         * device.c:
2119         * device.h:
2120         * extents.c:
2121         * extents.h:
2122         * frame.c:
2123         * frame.h:
2124         * glyphs.c:
2125         * glyphs.h:
2126         * lisp.h:
2127         * lstream.c:
2128         * lstream.h:
2129         * signal.c:
2130         * specifier.c:
2131         * specifier.h:
2132         Eliminate MAC_* macros.
2133         The MAC_ macros use non-standard comiler extenstions which cause
2134         gcc to generate bad code on Sparc/Solaris.  Attractive though the
2135         idea of using those compiler extensions is, they are just not
2136         robust enough to use in the real world.  So we eliminate them.
2137         We put up with some sub-optimalities, like macros with multiple
2138         evaluation.  Such is life with C.  The MAC_ macros were pretty
2139         darn ugly anyways.  We CAN use inline functions, since the advent
2140         of C++ means that compilers must support those anyways.
2141
2142 1998-03-21  Martin Buchholz  <martin@xemacs.org>
2143
2144         * alloc.c (list*): Optimize recursion levels.
2145
2146         * alloc.c: Add debugger support via enum dbg_constants.
2147         * gdbinit: Complete rewrite.
2148         * gdbinit.union: Remove
2149         * gdbinit.pre-4.14: Remove
2150         * dbxrc: Complete rewrite.
2151         * man/xemacs-faq.texi:
2152         Proper robust debugger support for gdb and Sun's dbx.
2153         Support all combinations of Kylish DEFINEs.
2154         Work out of the box with no user customizations.
2155         See the updated faq for details.
2156
2157         * emacsfns.h: Remove.  Move declarations to lisp.h
2158         * dynarr.h: Remove.  Move declarations to lisp.h
2159         * lisp.h.
2160         Optimize header file handling to improve compile time over a network.
2161         Introduce EXFUN macro for external declaration to correspond to DEFUN.
2162         Include header files only when necessary, i.e. not from lisp.h:
2163         - unistd.h, limits.h, fnctl.h, blocktype.h, dynarr.h, emacsfns.h
2164
2165
2166         * lisp.h:
2167         * lisp-union.h:
2168         * lisp-disunion.h:
2169         Rewrite low level object frobbing.
2170         Make it safe to use XSETOBJ on uninitialized Lisp_Objects.
2171         (markbit might have been set otherwise)
2172         Move XPRNTRVAL->XPNTR computation out of lisp-*union.h, since it
2173         is union-type-independent.
2174
2175         * EmacsFrame.c:
2176         * alloc.c:
2177         * chartab.c:
2178         * console.c:
2179         * dialog-x.c:
2180         * doc.c:
2181         * elhash.c:
2182         * eval.c:
2183         * event-Xt.c:
2184         * event-stream.c:
2185         * event-unixoid.c:
2186         * extents.c:
2187         * faces.c:
2188         * file-coding.c:
2189         * frame.c:
2190         * glyphs.c:
2191         * insdel.c:
2192         * keymap.c:
2193         * lstream.c:
2194         * marker.c:
2195         * menubar-x.c:
2196         * mule-coding.c:
2197         * opaque.c:
2198         * ralloc.c:
2199         * rangetab.c:
2200         * redisplay-msw.c:
2201         * redisplay-output.c:
2202         * redisplay-tty.c:
2203         * redisplay-x.c:
2204         * redisplay.c:
2205         * scrollbar-x.c:
2206         * scrollbar.c:
2207         * specifier.c:
2208         * symbols.c:
2209         * toolbar-x.c:
2210         * toolbar.c:
2211         * window.c:
2212         As a result of the above lisp*.h changes, we can now safely remove
2213         initializations of Lisp_Objects before calling XSETOBJ on them.
2214         This was only being done half the time, anyways.
2215
2216         * Makefile.in.in (depend): New target. calls make-src-depend.
2217         * depend: New file. Generated by make-src-depend
2218         * make-src-depend: New file. generates up-to-date dependencies.
2219         Makefile dependencies are now automagically maintained, and
2220         CORRECT.  lisp.h and friends are now included in the dependencies,
2221         since this complies with the principle of least astonishment.
2222
2223         * symbols.c (symbol_is_constant): Optimize.
2224
2225 1998-03-30  SL Baur  <steve@altair.xemacs.org>
2226
2227         * frame.c (vars_of_frame): Default frame name should be InfoDock
2228         for InfoDock.
2229
2230 1998-03-29  SL Baur  <steve@altair.xemacs.org>
2231
2232         * emacs.c (voodoo_free_hook): ELF libraries built with newer
2233         versions of GCC do horrible things in dumped binaries after exit()
2234         is called.
2235         (Fkill_emacs): Use it.
2236
2237 1998-03-28  SL Baur  <steve@altair.xemacs.org>
2238
2239         * s/linux.h: For simplicity, do not use standard linking because
2240         it is deadly with new GCC.
2241
2242 Sat Mar 28 10:16:29 1998  Andy Piper  <andyp@parallax.co.uk>
2243
2244         * Makefile.in.in: fix fastdump target
2245
2246         * console-msw.h: add memory dc to frame.
2247
2248         * frame-msw.c: manage memory dc on frame creation/deleteion
2249
2250         * frame.h: mess with toolbar macros so that xemacs doesn't die
2251         in redisplay with a triple build.
2252
2253         * g;yphs-msw.c: GNUize the code. Fix 24bpp display and make the
2254         default.
2255
2256         * glyphs-msw.h: remove memory dc from image attributes.
2257
2258         * redisplay-msw.c: fix redisplay to use new frame memory dc.
2259
2260         * sheap.c: bump initial sheap yet again to allow byyte
2261         recompilation.
2262
2263         * unexcw.c: fix section parsing for multiple idata and rdata
2264         sections.
2265
2266 1998-03-27  SL Baur  <steve@altair.xemacs.org>
2267
2268         * emacs.c: Enabled free-hook.c code if
2269         LOSING_GCC_DESTRUCTOR_FREE_BUG is defined.
2270
2271 1998-03-28  Kyle Jones  <kyle_jones@wonderworks.com>
2272
2273         * Fixed display bug where changes to builtin glyphs like
2274           Vcontrol_arrow_glyph would not be propagated
2275           immediately to the display.
2276
2277         * device.h: Added glyphs_changed field to device
2278            struct.  Created MARK_DEVICE_GLYPHS_CHANGED macro.
2279
2280         * frame.h: Added glyphs_changed field to frame
2281            struct.  Created MARK_FRAME_GLYPHS_CHANGED macro.
2282
2283         * redisplay.h: Declared glyph_changed and
2284            glyph_changed_set variables, mimicking clip_changed
2285            and clip_changed_set.  New macro MARK_GLYPHS_CHANGED.
2286
2287         * redisplay.c: Defined glyph_changed and
2288            glyph_changed_set variables, mimicking
2289            clip_changed and clip_changed_set.
2290
2291            (redisplay_window): Reset the window's glyph cache is
2292            f->glyphs_changed is non-zero.  Call regenerate_window
2293            if f->glyphs_changed is non-zero.
2294
2295            (redisplay_frame): Clear f->glyphs_changed after
2296            successful redisplay of all windows on frame.
2297
2298            (redisplay_device): Redisplay frame if f->glyphs_changed
2299            is non-zero.  Clear d->glyphs_changed after successful
2300            redisplay of all frames on device
2301
2302            (redisplay_without_hooks): Redisplay devices if
2303            glyphs_changed is non-zero.  Redisplay an individual
2304            device if d->glyphs_changed is non-zero.  Clear
2305            glyphs_changed after successful redisplay of all
2306            devices.
2307
2308            (redisplay_glyphs_changed): Dropped use of
2309            MARK_CLIP_CHANGED.  Call MARK_FRAME_GLYPHS_CHANGED for
2310            all affected frames.  For locales that are not device
2311            related, mark all frames.
2312
2313         * redisplay-output.c (compare_display_blocks):
2314            Output the whole display block if f->glyphs_changed is
2315            non-nil.
2316
2317 1998-03-27  Kyle Jones  <kyle_jones@wonderworks.com>
2318
2319         * callproc.c (Fcall_process_internal): In the case where
2320           fd_error and fd1 are the same don't close that
2321           descriptor twice.
2322
2323 1998-03-27  SL Baur  <steve@altair.xemacs.org>
2324
2325         * frame-x.c (x_update_frame_external_traits): Need a Lisp_Object
2326         frame as well as a struct frame.
2327
2328 1998-03-27  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
2329
2330         * emacs.c (main_1): Reinstated PATH searching for invocation data.
2331
2332 1998-03-26  Kirill M. Katsnelson  <kkm@kis.ru>
2333
2334         * menubar.c (Fmenu_find_real_submenu): See the entry for gui.h.
2335
2336         * menubar-msw.c (populate_menu_add_item): Used GCPRO_GUI_ITEM
2337         macro to aviod warnings, in 2 places.
2338         (populate_or_checksum_helper): Ditto
2339         (populate_or_checksum_helper): Added placeholder for menu right
2340         flash customization.
2341
2342         * gui.h (GCPRO_GUI_ITEM): Code which warning-free GC protects a
2343         GUI_ITEM structure moved into this macro from menubar.c
2344
2345         * frame-x.c (x_update_frame_external_traits): Moved part of the
2346         former update_EmacsFrame() here.
2347         (console_type_create_frame_x): Declared the above method.
2348
2349         * frame-msw.c (mswindows_set_frame_properties): Do not try to
2350         resize the frame if called from Fmake_frame the first time
2351         (potential race condition).
2352         (mswindows_init_frame_1): Fixed support for popup frames.
2353         (mswindows_delete_frame): Fixed memory leak.
2354         (mswindows_get_frame_parent): Implemented.
2355         (mswindows_update_frame_external_traits): Moved part of the former
2356         update_EmacsFrame() here.
2357         (console_type_create_frame_mswindows): Declare get_frame_parent
2358         and update_frame_external_traits methods.
2359
2360         * faces.c (update_EmacsFrame): Converted into a device method
2361         `update_frame_external_traits'.
2362
2363         * event-msw.c (mswindows_wnd_proc, WM_SIZE): Rewrote to avoid
2364         relying on an assumption on when Windows calls this handler.
2365         (mswindows_find_frame): Return the frame being created if the
2366         windows does not yet have associated frame object
2367         (mswindows_find_frame): Casted long to Lisp_Object properly.
2368
2369         * device.c (window_system_pixelated_geometry): Changed to call the
2370         device_implementation_flags device method.
2371
2372         * device-msw.c (mswindows_device_implementation_flags):
2373         Implemented.
2374         (console_type_create_device_mswindows): Declared the above.
2375
2376         * console.h (struct console_methods): Added
2377         device_implementation_flags_method and
2378         update_frame_external_traits_method.
2379         Defined flags retuned by device_implementation_flags_method.
2380
2381         * console-msw.h (struct mswindows_frame): Added charheight and
2382         charwidth fields.
2383         Added macros for referring to these two, Rvalue.
2384         Moved Windows-specific macros from frame.h here.
2385         (typedef struct XEMACS_RECT_WH): Added.
2386         Declared global variables.
2387
2388 1998-03-19  Kirill M. Katsnelson  <kkm@kis.ru>
2389
2390         * console-msw.h: Added prototypes for
2391         mswindows_protect_modal_loop() and
2392         mswindows_unmodalize_signal_maybe().
2393
2394         * scrollbar-msw.c (mswindows_update_scrollbar_instance_status):
2395         Removed redundant call to set_frame_size method.
2396
2397         * frame.c (Fframe_property): For a window system with pixel-based
2398         geometry, convert passed char-based metrics to pixels.
2399         (Fframe_properties): Ditto.
2400         (Fset_frame_height): Ditto.
2401         (Fset_frame_width): Ditto.
2402         (Fset_frame_size): Ditto.
2403         (frame_conversion_internal): Added a parameter, controlling
2404         whether the function uses real char metrics or 1 when geometry is
2405         pixel-based.
2406         Allow NULL for output int* params.
2407         (pixel_to_char_size): frame_conversion_internal() is called with
2408         indication to fake font size to 1.
2409         (char_to_pixel_size): Ditto.
2410         (round_size_to_char): Ditto.
2411         (pixel_to_real_char_size):
2412         (char_to_real_pixel_size):
2413         (round_size_to_real_char): New three counterparts of the above
2414         metioned functions, which always use real character metrics.
2415         (change_frame_size_1): Use real character metrics when computing
2416         minibuffer height.
2417
2418         * frame.h: Prototypes for pixel_to_real_char_size(),
2419         char_to_real_pixel_size(), round_size_to_real_char().
2420
2421         * frame-msw.c (mswindows_init_frame_1): Rewritten to support
2422         system-default new window width and height.
2423         (mswindows_init_frame_2): Commented out, unused.
2424         (mswindows_after_init_frame): Added frame method.
2425         (mswindows_set_frame_size): Reworked to support pixel base
2426         geometry.
2427         (mswindows_set_frame_position): Cahnged to use SetWindowPos.
2428         (mswindows_lower_frame): Ditto.
2429         (mswindows_set_frame_properties): Fixed to perform correct
2430         calculation, and to support pixel geometry.
2431         (console_type_create_frame_mswindows): init_frame_2 removed,
2432         after_init_frame added.
2433
2434         * faces.c (default_face_height_and_width_1): Added.
2435         (update_EmacsFrame): Changed method of notifying mswindwows frame,
2436         so modeline border gets redrawn.
2437
2438         * faces.h: Prototype for default_face_height_and_width_1().
2439
2440         * event-msw.c (mswindows_wnd_proc, WM_SIZE): Redisplay after
2441         maximize/restore window.
2442         (mswindows_wnd_proc, WM_WINDOWPOSCHANGING): Do not round size to
2443         char if window is maximized.
2444         Use real char metrics for rounding.
2445         Call DefWindowProc to process WM_GETMINMAXINFO
2446         (mswindows_set_chord_timer): Changed chord timeout from 1/2 to 1/3
2447         system double click time
2448
2449         * device.c (domain_device_type): New function.
2450         (window_system_pixelated_geometry): New function.
2451         (Fdomain_device_type): New function, lisp interface to
2452         domain_device_type().
2453         (syms_of_device): DEFSUBRed the above.
2454
2455         * device.h: Ptorotypes for domain_device_type() and
2456         window_system_pixelated_geometry().
2457
2458         * menubar-msw.c (mswindows_update_frame_menubars): Call
2459         update_frame_menubar_maybe always.
2460
2461 1998-03-27  SL Baur  <steve@altair.xemacs.org>
2462
2463         * s/hpux11.h:
2464         * s/hpux11-shr.h: New files.
2465         From Marcus Thiessel <marcus_thiessel@hp.com>
2466
2467         * Makefile.in.in: temporarily comment -lmcheck support.
2468         Suggested by Marcus Thiessel <marcus_thiessel@hp.com>
2469
2470 1998-03-26  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
2471
2472         * emacs.c (vars_of_emacs): Fixed bug: Now respects configure
2473         setting of inhibit-site-lisp.
2474         (main_1): inhibit-site-lisp is now exclusively
2475         configure-initialized.
2476
2477 1998-03-27  Hrvoje Niksic  <hniksic@srce.hr>
2478
2479         * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Don't feed
2480         error_with_frob() with LispObjects.
2481
2482 1998-03-26  Kirill M. Katsnelson  <kkm@kis.ru>
2483
2484         * redisplay-msw.c (mswindows_output_cursor): Added parameters for
2485         character under cursor, and a flag indicating whether the cursir
2486         is over an image. Draw bar cursor always over an image glyph.
2487         Callers are changed accross the file.
2488         Honor the value of window::text_cursor_visible_p.
2489         (mswindows_output_pixmap): Cursor drawing code #if0ed.
2490         (mswindows_output_display_block): Call to output cursor after
2491         drawind an image.
2492
2493 1998-03-27  P. E. Jareth Hein  <jareth@camelot-soft.com>
2494
2495         * glyphs-x.c:
2496         * imgproc.c:
2497         * imgproc.h:
2498         * glyphs-x.h: Added in a colormap variable in the X specific image
2499         struct to handle IMAGE_POINTER images which must be allocated in the
2500         default colormap of the screen.  Also reformated the code to follow
2501         coding standards.
2502
2503         * glyphs.h:
2504         * glyphs.c:
2505         * glyphs-x.c: added image-conversion-error type
2506
2507         * objects-x.c (allocate_nearest_color): Corrected a minor bug involving
2508         setting the values into XColor.
2509
2510 1998-03-25  P. E. Jareth Hein  <jareth@camelot-soft.com>
2511
2512         * free-hook.c (check_realloc): Handle the degerate case of realloc with
2513         a NULL value acting the same as malloc.
2514
2515 1998-03-24  Kyle Jones  <kyle_jones@wonderworks.com>
2516
2517         * redisplay-x.c (x_output_eol_cursor): Use x_clear_region
2518           instead of XClearArea to erase the cursor so that background
2519           pixmaps are handled properly.  New fourth parameter findex
2520           added so that it can be passed to x_clear_region.
2521
2522 1998-03-25  Kirill M. Katsnelson  <kkm@kis.ru>
2523
2524         * process.c (Fprocess_send_eof): Close output stream before
2525         deleting stream pair.
2526         (deactivate_process): Ditto, both input and output streams.
2527
2528         * event-unixoid.c (event_stream_unixoid_delete_stream_pair): Do
2529         not close passed lstreams.
2530
2531 1998-03-24  Kirill M. Katsnelson  <kkm@kis.ru>
2532
2533         * fileio.c (Ffile_readable_p): GC protect fix, MS Windows specific.
2534
2535 Mon Mar 23 22:14:12 1998  Andy Piper  <andyp@parallax.co.uk>
2536
2537         * configure.in: compile in glyphs-msw.o when compiling fopr
2538         mswindows.
2539
2540 Mon Mar 23 22:14:12 1998  Andy Piper  <andyp@parallax.co.uk>
2541
2542         * msw-glyphs.el: add support for xpm and bmp. change
2543         eval-and-compile to progn.
2544
2545 Mon Mar 23 22:14:12 1998  Andy Piper  <andyp@parallax.co.uk>
2546
2547         * Makefile.in.in: fastdump - new target for dumping bypassing
2548         bytecompilation, DOC. Add dependencies for glyphs-msw.o. Move
2549         imgproc.o to object list.
2550
2551         * glyphs-msw.h:
2552         * glyphs-msw.c: new files adding support for xpm and bmp and
2553         EImages.
2554
2555         * redisply-msw.c: add support for outputing color pixmaps.
2556
2557         * console-msw.h: add bitspixel field to mswindows frame.
2558
2559         * device-msw.c: initialise bitspixel field in mswindows frame.
2560
2561         * glyphs-x.c (xpm_instantiate): call mswindows_xpm_instantiate if
2562         the device type is mswindows.
2563
2564         * emacs.c: call glyphs-msw.c init functions if compiling with
2565         mswindows.
2566
2567         * symsinit.h: add prototypes for glyphs-msw.c functions.
2568
2569         * sheap.c: make includes src-dir compliant.
2570
2571         * events.c: remove cygwin ^H <-> erase hack.
2572
2573         * s/cygwin32.h: remove NOMULTIPLEJOBS defn.
2574
2575 1998-03-24  P. E. Jareth Hein  <jareth@camelot-soft.com>
2576
2577         * glyphs-x.c (my_jpeg_output_message): Added new function to redirect
2578         any error/warning messages from the jpeg library to XEmacs.  Also
2579         get rid of an unneeded temp variable in the tiff code.
2580
2581 1998-03-14  Hrvoje Niksic  <hniksic@srce.hr>
2582
2583         * insdel.c (fixup_internal_substring): Protect asserts with #ifdef
2584         ERROR_CHECK_BUFPOS.
2585
2586         * minibuf.c (scmp_1): c1 and c2 are Emchar, not Bufbyte.
2587         (Ftry_completion): Fixed typo.
2588
2589         * dired.c (file_name_completion): Removed `readfunc', a remnant of
2590         dead VMS code.
2591
2592 1998-03-13  Hrvoje Niksic  <hniksic@srce.hr>
2593
2594         * dired.c (Fdirectory_files): Simplify logic.
2595
2596         * symbols.c (reject_constant_symbols): Allow setting a keyword's
2597         function slot.
2598
2599 1998-03-23  Hrvoje Niksic  <hniksic@srce.hr>
2600
2601         * lread.c (readevalloop): Don't specbind Qstandard_input to
2602         READCHARFUN.
2603
2604 1998-03-09  Hrvoje Niksic  <hniksic@srce.hr>
2605
2606         * lread.c (read_atom): Ditto.
2607
2608         * symbols.c (reject_constant_symbols): Do the keyword stunts only
2609         if the symbol is in Vobarray.
2610
2611         * symbols.c (reject_constant_symbols): Signal error when
2612         attempting to assign a value to a keyword, unless the value is the
2613         keyword itself.
2614
2615         * symbols.c (Fintern): Initialize symbol's ->obarray to t only
2616         when OBARRAY is Vobarray.
2617
2618 1998-03-21  Hrvoje Niksic  <hniksic@srce.hr>
2619
2620         * events.c (Fmake_event): Allow creation of misc-user-events.
2621
2622 1998-03-23  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
2623
2624         * config.h.in, emacs.c: Changed allow-site-lisp to
2625         inhibit-site-lisp.  Made -no-autoloads set inhibit-site-lisp.
2626
2627 1998-03-22  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
2628
2629         * <Today>: The Big Path Searching Overhaul.
2630
2631         * symsinit.h: Added declaration for complex_vars_of_emacs in
2632         emacs.c.
2633
2634         * paths.h.in: Adjusted the comments to reality as dictated by
2635         configure.
2636
2637         * filelock.c (complex_vars_of_filelock): Added support for lock
2638         directories passed in from configure.
2639
2640         * emacs.c (complex_vars_of_emacs): Added all relevant installation
2641         paths passed from configure.  They all have the prefix "configure-" now.
2642
2643         * config.h.in: Added HAVE_SITE_LISP configuration option.
2644
2645         * callproc.c (init_callproc): Ripped out all the bogus path setup.
2646
2647         * Makefile.in.in: Updated all calls of "temacs -l" with absolute
2648         file names because auf the more minimalistic load-path setup in
2649         lread.c.  Also set EMACSBOOTSTRAPLOADPATH on calling temacs rather
2650         than EMACSLOADPATH because EMACSLOADPATH is now more persistent than
2651         before.
2652
2653         * lread.c (init_lread): Ripped out bogus load-path setup.
2654
2655 1998-03-21  Kyle Jones  <kyle_jones@wonderworks.com>
2656
2657         * frame.h: Move the check for an initialize_frame_toolbars
2658           method into FRAME_RAW_REAL_TOOLBAR_VISIBLE to avoid getting
2659           clunked by toolbar-less builds.
2660
2661 1998-03-20  SL Baur  <steve@altair.xemacs.org>
2662
2663         * m/powerpc.h (LD_SWITCH_MACHINE): Fix path to ppc.ldscript.
2664
2665 1998-03-16  Hrvoje Niksic  <hniksic@srce.hr>
2666
2667         * redisplay.c (window_line_number_buf): Made it larger.
2668
2669         * opaque.c (print_opaque): Ditto.
2670
2671         * lstream.c (print_lstream): Avoid `%p'.
2672
2673         * keymap.c (ensure_meta_prefix_char_keymapp): Use
2674         error_with_frob().
2675
2676         * input-method-xlib.c (EmacsXtCvtStringToXIMStyles): Allocate buf
2677         dynamically.
2678
2679         * event-Xt.c (describe_event_window): Allocate buf dynamically.
2680
2681         * doc.c (Fsubstitute_command_keys): Warn of sprintf().
2682
2683         * device-x.c (x_init_device): Allocate path dynamically.
2684         (x_init_device): Allocate buf1 and buf2 dynamically.
2685
2686 1998-03-14  Hrvoje Niksic  <hniksic@srce.hr>
2687
2688         * ExternalShell.c (GetGeometry): Use a larger buffer for
2689         sprintf().
2690
2691 1998-03-19  Kirill M. Katsnelson  <kkm@kis.ru>
2692
2693         * redisplay.c (point_would_be_visible): Fix
2694         window::line_cache_validation_override reference counter.
2695         (start_with_line_at_pixpos): Ditto.
2696
2697 1998-03-20  Olivier Galibert  <olivier.galibert@mines.u-nancy.fr>
2698
2699         * insdel.c (bytecount_to_charcount): Use 'L' suffix on long
2700         constants probably too large for an int.
2701
2702 1998-03-18  Hrvoje Niksic  <hniksic@srce.hr>
2703
2704         * lread.c (read_atom_0): Signal Qend_of_file if readcharfun
2705         returned -1.
2706         (read_escape): Ditto.
2707         (FSF_LOSSAGE): Ditto.
2708
2709 1998-03-20  SL Baur  <steve@altair.xemacs.org>
2710
2711         * emacs.c: path-separator (and parse-colon-path) moved from Lisp
2712         into C because we need it for early initialization.
2713
2714         * Makefile.in.in (libmcheck): Add.
2715
2716         * config.h.in: Add HAVE_LIBMCHECK and HAVE_MCHECK_H.
2717
2718         * hash.c (grow_hashtable): Fix tests to compare against
2719         Qnull_pointer since this function may be called before any symbols
2720         or the Lisp engine is initialized.
2721
2722         * emacs.c (main_1): Restore usage of free-hook.c.
2723
2724         * free-hook.c (check_realloc): Change aborts to printfs.
2725         (check_free): Ditto.
2726
2727 1998-03-18  SL Baur  <steve@altair.xemacs.org>
2728
2729         * emacs.c (Fkill_emacs): Use LIST_LOOP_DELETING because our
2730         control variable is being modified underneath us.
2731         - Avoid calling delete_console_internal on stream consoles.
2732
2733         * console-tty.c (free_tty_console_struct): NULL out pointers after
2734         xfree'ing.
2735
2736         * console-stream.c (allocate_stream_console_struct): Fix memory
2737         leak -- if the stream_console struct is already allocated, don't
2738         reallocate it.
2739         (free_stream_console_struct): Don't leave dangling freed pointer
2740         around.
2741
2742         * redisplay-output.c (redisplay_redraw_cursor): Fully bracket.
2743
2744 1998-03-17  SL Baur  <steve@altair.xemacs.org>
2745
2746         * frame.c (delete_frame_internal): Correct check.
2747
2748         * imgproc.c: Include <config.h>.
2749
2750 1998-03-13  P. E. Jareth Hein  <jareth@camelot-soft.com>
2751
2752         * glyphs-x.c: fix for upside-down TIFFs.
2753
2754 1998-03-14  Kirill M. Katsnelson  <kkm@kis.ru>
2755
2756         * fileio.c (Finsert_file_contents_internal): Removed all DOS_NT
2757         specific code; rely on FILE_CODING streams instead.
2758         (Fwrite_region_internal): Ditto.
2759         (decide_buffer_type): Function removed.
2760         (buf_decide_buffer_type): Function removed.
2761         (Many places): References to DOS_NT replaced with WINDOWSNT. MSDOS-
2762         specific code removed.
2763
2764         * lread.c (Fload_internal): Removed ugly DOS style re-opening a
2765         file in text mode. '\r' is perfectly handled in readevallop().
2766
2767         * redisplay.c (decode_mode_spec): Made %t decode to "T" unconditionally.
2768
2769         * s/windowsnt.h (FILE_CODING): Define always.
2770
2771 1998-03-15  Kirill M. Katsnelson  <kkm@kis.ru>
2772
2773         * s/windowsnt.h: Added prototypes for generally used functions
2774         implemented in nt.c
2775
2776         * fileio.c (Ffile_readable_p): Conditionalized declared never used
2777         variables.
2778         (Fexpand_file_name): Ditto.
2779         (check_executable): Ditto.
2780
2781         * lread.c (parse_integer): Eliminated a warning resulted from
2782         applying unary minus to unsigned int.
2783
2784 1998-03-15  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
2785
2786         * eldap.c: (Fldap_search_internal): Print error information from
2787         errno when connection fails
2788
2789 1998-03-16  Hrvoje Niksic  <hniksic@srce.hr>
2790
2791         * lread.c: New macro, to avoid exposing an lstream to Lisp error
2792         handlers.
2793         (reader_nextchar): Use it.
2794         (read1): Ditto.
2795
2796 1998-03-15  Kyle Jones  <kyle_jones@wonderworks.com>
2797
2798         * cmds.c (Fforward_char): Dropped support for
2799           signal-error-on-buffer-boundary.  Added details to
2800           doc string.
2801
2802           (Fbackward_char): Dropped support for
2803           signal-error-on-buffer-boundary by way of change to
2804           Fforward_char.  Added details to doc string.
2805
2806           Definition of signal-error-on-buffer-boundary moved to
2807           lisp/simple.el.
2808
2809         * window.c (Fscroll_up): Dropped support for
2810           signal-error-on-buffer-boundary.  Added details to
2811           doc string.
2812
2813           (Fscroll_down): Dropped support for
2814           signal-error-on-buffer-boundary.  Added details to doc
2815           string.
2816
2817 1998-03-15  Kyle Jones  <kyle_jones@wonderworks.com>
2818
2819         * redisplay-tty.c (tty_clear_frame): Record that the
2820           real location of teh cursor has been moved to 0,0.
2821           Failure to do this makes the display code believe the
2822           cursor is in a place where it is not.
2823
2824 1998-03-15  Kyle Jones  <kyle_jones@wonderworks.com>
2825
2826         * console.h: Added set_final_cursor_coords method to console
2827           struct.
2828
2829         * console-tty.h: Added final_cursor_x and final_cursor_y
2830           slots to console struct.  Added CONSOLE_TTY_FINAL_CURSOR
2831           macros to access them.
2832
2833         * redisplay.c (create_text_block): No longer
2834           turn off the cursor if computing a block when
2835           cursor_in_echo_area is 0 and the echo area is
2836           inactive.  Needed so that the cursor will not be
2837           frozen in the minibuffer when cursor_in_echo_area
2838           is non-zero.
2839
2840         * redisplay-output.c (redisplay_move_cursor): Don't
2841           bail if we're moving the cursor in a selected
2842           minibuffer window.  Needed so that simple cursor
2843           optimization can be done in the minibuffer even when
2844           cursor_in_echo_area is non-zero.
2845
2846           (redraw_cursor_in_window): Set final cursor coordinates
2847           as a special case for cursor_in_echo_area != 0, since
2848           the buffer switching between minibuffer and echo area
2849           buffer seems to confuse the normal cursor positiong
2850           code otherwise.  Set final cursor coordinates in the
2851           general case before calling output_display_line.
2852
2853         * redisplay-tty.c: New function tty_set_final_cursor_coords.
2854
2855           (tty_output_end): Set logical cursor position to the final
2856           cursor position as specified in CONSOLE_TTY_CURSOR_{X,Y},
2857           and then go to it.
2858
2859           (tty_redisplay_shutdown): Changed code to use
2860           tty_set_final_cursor_coords() to go to the bottom
2861           left of the screen instead of using cmgoto()
2862
2863           (console_type_create_redisplay_tty): Declare that tty
2864           consoles have the set_final_cursor_coords method.
2865
2866 1998-03-13  Hrvoje Niksic  <hniksic@srce.hr>
2867
2868         * emacs.c (main_1): Avoid snprintf(); allocate the buffer
2869         dynamically.
2870
2871 1998-03-13  P. E. Jareth Hein  <jareth@camelot-soft.com>
2872
2873         * glyphs-x.c (png_instantiate): Added in override support
2874         for png backgrounds.
2875
2876 1998-03-13  P. E. Jareth Hein  <jareth@camelot-soft.com>
2877
2878         * glyphs-x.c (png_instantiate): Fixed a bug that was causing
2879         overruns when attempting to display transparent pngs
2880
2881 1998-03-13  P. E. Jareth Hein  <jareth@camelot-soft.com>
2882
2883         * glyphs-x.c (png_instantiate): Fix brainfart in error handling code.
2884
2885 1998-03-13  SL Baur  <steve@altair.xemacs.org>
2886
2887         * emacs.c (main_1): Guard call to snprintf.
2888
2889         * config.h.in: Add HAVE_SNPRINTF.
2890
2891 1998-03-13  Kirill M. Katsnelson  <kkm@kis.ru>
2892
2893         * event-stream.c (init_event_stream): Initialize mswindows event
2894         loop in stream mode if no other window systems available. Thanks
2895         to Darryl Okahata.
2896
2897 1998-03-04  Kirill M. Katsnelson  <kkm@kis.ru>
2898
2899         * alloc.c (garbage_collect_1): Removed #ifndef WINDOWSNT around
2900         mark_profiling_info().
2901
2902 1998-03-11  SL Baur  <steve@altair.xemacs.org>
2903
2904         * console-tty.c (Fset_console_tty_coding_system): Guard against
2905         terminal-coding-system being left unitialized by a locale.
2906         From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2907
2908 1998-03-11  P. E. Jareth Hein  <jareth@camelot-soft.com>
2909
2910         * config.h.in: Added in new feature check HAVE_VSNPRINT to check
2911         for safe ways to deal with vsprintf and friends.
2912
2913         * glyphs-x.c (gif_instantiate): Changed gif support to call external
2914         library Giflib 3.1.  Altered GIF/JPEG/PNG formats to use new EImage
2915         format for dealing with images to better support color handling, and
2916         facilitate the change to a device-neutral implementation.  Added TIFF
2917         support.
2918
2919         * Makefile.in.in: Removed all gif related files
2920
2921         * emacs.c (main_1): Removed reference to init_gif_err
2922         * symsinit.h: ditto
2923
2924         * dgif_lib.c: Removed from the source distribution
2925         * gif_err.c: ditto
2926         * gif_lib.h: ditto
2927         * gifalloc.c: ditto
2928
2929 Mon Mar 09 13:00:55 1998  Andy Piper  <andyp@parallax.co.uk>
2930
2931         * file-coding.c: warning elimination
2932
2933         * ntplay.c: new file. basic implementation of sound support.
2934
2935         * redisplay-msw.c (mswindows_update_dc): cachel bug is gone so we
2936         don't need this code under cygwin.
2937
2938         * sheap.c: need large heap slop for byte compiling with three
2939         display types.
2940
2941         * sound.c: eliminate warnings. enable sound under mswindows.
2942
2943         * s/cygwin32.h: miscellaneous updates for sound support.
2944
2945 1998-03-09  SL Baur  <steve@altair.xemacs.org>
2946
2947         * config.h.in: Add BITMAPDIR.
2948
2949         * glyphs-x.c (locate_pixmap_file): Assume BITMAPDIR is a
2950         colon-separated path.
2951
2952         * emacs.c (main_1): Initialize dll support with the path the
2953         binary.
2954         (make_arg_list_1): Ditto.
2955
2956         * sysdll.h: Add legalese.
2957         * sysdll.c: Ditto.
2958
2959         * sysdll.c: sysdll.h needs to be included with double quotes not
2960         angle brackets.
2961         Use RTLD_GLOBAL as an open flag if it exists.
2962
2963 1998-03-09  Martin Buchholz  <Martin Buchholz <martin@xemacs.org>>
2964
2965         * eldap.c (Fldap_search_internal): call garbage_collect_1 instead
2966         of Fgarbage_collect.  The two are identical except the latter
2967         generates some `fresh' garbage :)
2968
2969 1998-03-09  SL Baur  <steve@altair.xemacs.org>
2970
2971         * keymap.c: Add symbols for mouse-4 and mouse-5.
2972         (define_key_check_and_coerce_keysym): Mouse-4, Mouse-5 keysym support.
2973         (syms_of_keymap): Ditto.
2974
2975 1998-01-26  Hrvoje Niksic  <hniksic@srce.hr>
2976
2977         * marker.c (print_marker): Print marker's lheader.uid.
2978         (Fbuffer_has_markers_at): New function, synched with FSFmacs 20.2.
2979         (Fbuffer_has_markers_at): Disabled by default.
2980
2981 1998-01-25  Hrvoje Niksic  <hniksic@srce.hr>
2982
2983         * sound.c (Fplay_sound_file): Place the result of continuable
2984         error back to FILE.
2985
2986 1998-03-09  SL Baur  <steve@altair.xemacs.org>
2987
2988         * emacs.c, config.h.in: New DLL support.
2989         * sysdll.h, sysdll.c: New files.
2990         * dll.c: renamed from dlopen.c, use interface defined in sysdll.c.
2991         From William Perry <wmperry@aventail.com>
2992
2993         * eldap.h: Fix copyright.
2994         * eldap.c: Ditto.
2995
2996 1998-03-08  SL Baur  <steve@altair.xemacs.org>
2997
2998         * Makefile.in.in: Add dependencies for process-unix.o.
2999
3000 1998-03-08  Kyle Jones  <kyle_jones@wonderworks.com>
3001
3002         * glyphs-x.c (write_lisp_string_to_temp_file):
3003           Don't explicitly initialize conversion_out_dynarr, because
3004           doing so may cause it to be put into read-only space
3005           and modifying it later would make XEmacs crash.
3006
3007 1998-03-07  Kyle Jones  <kyle_jones@wonderworks.com>
3008
3009         * events.h: Add do_backspace_mapping parameter to
3010           function prototype of character_to_event.
3011
3012         * events.c: Add fifth parameter to character_to_event to
3013           control the backspace mapping.  In character_to_event map most
3014           characters that match tty-erase-char to the backspace keysym,
3015           but only if do_backspace_mapping paramter is non-zero.
3016
3017           (Fcharacter_to_event): Tell character_to_event() to DO
3018           backspace mapping.
3019
3020         * event-stream.c:
3021           (maybe_read_quit_event): Tell character_to_event() to DO
3022           backspace mapping.
3023
3024           (maybe_kbd_translate): Tell character_to_event() to DO backspace
3025           mapping.
3026
3027           (lookup_command_event): Tell character_to_event() to DO backspace
3028           mapping.
3029
3030         * event-unixoid.c:
3031           (read_event_from_tty_or_stream_desc): Tell character_to_event()
3032           to DO backspace mapping.
3033
3034         * keymap.c:
3035           (get_keyelt): Tell character_to_event() to NOT DO backspace
3036           mapping.
3037
3038           (define_key_parser): Tell character_to_event() to NOT DO backspace
3039           mapping.
3040
3041           (Fsingle_key_description): Tell character_to_event() to DO
3042           backspace mapping.
3043
3044 1998-03-04  Kirill M. Katsnelson  <kkm@kis.ru>
3045
3046         * alloc.c (Fpurecopy): Do not mark symbols through
3047         Vpure_uninterned_symbol_table twice: hash (OBJ, nil) instead of
3048         (OBJ, OBJ).
3049
3050 1998-03-07  SL Baur  <steve@altair.xemacs.org>
3051
3052         * emacs.c (shut_down_emacs): Disable forced auto-save in a crash.
3053         It causes more problems than it solves.
3054
3055 1998-03-02  Greg Klanderman  <greg@alphatech.com>
3056
3057         * window.c (Fwindow_displayed_pixel_height) New function.
3058         (Fenlarge_window_pixels): New function.
3059         (Fshrink_window_pixels): New function.
3060         (window_displayed_pixel_height): New, helper for
3061         Fwindow_displayed_pixel_height.
3062         (change_window_height): Add `inpixels' argument.
3063         (syms_of_window): 3 new DEFSUBR's.
3064
3065 Thu Mar 05 12:01:35 1998  Andy Piper  <andyp@parallax.co.uk>
3066
3067         * redisplay-msw.c (mswindows_output_cursor): separate getting
3068         cachel index from retrieving cachel to work around apparent bug in
3069         gcc.
3070
3071 1998-03-06  Kyle Jones  <kyle_jones@wonderworks.com>
3072
3073         * events.c (character_to_event): The tty_erase_char test
3074         doesn't do anything because it's in the wrong place.
3075         Moved it to where it can take effect.
3076
3077         * dired.c (Fdirectory_files): Initialize GCPRO'ed variable.
3078
3079         * events.c (character_to_event): Never map '(control
3080           foo) to QKbackspace.  Only map ASCII 8 to QKbackspace;
3081           don't map any other key.
3082
3083 1998-03-05  Kyle Jones  <kyle_jones@wonderworks.com>
3084
3085         * src/redisplay-output.c (redisplay_move_cursor): Bail if
3086           cursor_in_echo_area is non-zero and we're fiddling
3087           with the cursor in a minibuffer window, since that is a
3088           special case that is handled elsewhere and this function
3089           need not handle it.  Return 1 so the caller will assume we
3090           succeeded.
3091
3092 Wed Mar 04 08:55:12 1998  Andy Piper  <andyp@parallax.co.uk>
3093
3094         * device.c (init_global_resources): compile in based on window
3095         system not just x.
3096
3097         * console.c (select_console_1): add mswindows console type.
3098
3099 1998-03-04  Kyle Jones  <kyle_jones@wonderworks.com>
3100
3101         * redisplay-output.c (redisplay_redraw_cursor): Redraw
3102           the cursor in the minibuffer window if cursor_in_echo_area
3103           is non-zero.
3104
3105 Wed Mar 04 08:55:12 1998  Andy Piper  <andyp@parallax.co.uk>
3106
3107         * emacs.c (main_1): predicate display_use to mswindows only if x
3108         is not already selected.
3109
3110         * event-msw.c: comment out non-code for HAVE_TOOLBAR case. don't
3111         compile debug_process_finalisation if x is compiled in.
3112
3113         * event-stream.c (init_event_stream): don't make X and mswindows
3114         mutually exclusive. Select msw event loop if started that way,
3115         X/tty event loop otherwise.
3116
3117         * frame.h: protect toolbar #defines from assuming ints are in
3118         toolbar_data. This happens if you have two display types compiled
3119         in and one supports toolbars and the other doesn't.
3120
3121         * s/cygwin32.h: warning elimination.
3122
3123 1998-03-03  SL Baur  <steve@altair.xemacs.org>
3124
3125         * editfns.c (Ftemp_directory): New function.
3126         From Glynn Clements <glynn@sensei.co.uk>
3127
3128         * editfns.c (Ftemp_directory): Use build_ext_string.
3129
3130 1998-03-02  Martin Buchholz  <Martin Buchholz <martin@xemacs.org>>
3131
3132         * symsinit.h: add prototype for syms_of_dlopen
3133
3134 1998-03-02  Kyle Jones  <kyle_jones@wonderworks.com>
3135
3136         * window.c (save_window_save): save value of
3137           default_toolbar_height slot.
3138
3139           (Fset_window_configuration): restore value of
3140           default_toolbar_height slot.
3141
3142 Fri Feb 20 21:22:34 1998  Darryl Okahata  <darrylo@sr.hp.com>
3143
3144         * "Fast" dired-in-C enhancements for Windows 95/NT:
3145
3146         * ntproc.c:
3147         * device-msw.c:
3148           Moved definition of `Vwin32_downcase_file_names' from ntproc.c
3149           to device-msw.c, and renamed it to
3150           `Vmswindows_downcase_file_names'.  It doesn't really belong
3151           here, but I didn't want to create a new file, just for this one
3152           variable.  This fixes a bug in `expand-file-name' that caused
3153           all returned filenames to be lowercased (this was supposed to be
3154           conditional upon Vmswindows_downcase_file_names, but wasn't, as
3155           it was never initialized due to obsolescence of ntproc.c).  This
3156           variable is also used by the dired-in-C enhancements.
3157
3158           Also moved and renamed `Vwin32_get_true_file_attributes' to
3159           `Vmswindows_get_true_file_attributes'.  This affects stat() in
3160           nt.c, and so it really does need to be initialized.
3161
3162           However, there's still one more variable in ntproc.c that still
3163           needs to be moved/renamed, `Vwin32_pipe_read_delay', but I
3164           didn't touch this, as this is a subprocess issue.
3165
3166         * dired-msw.c: New file for dired-in-C enhancements for
3167           Windows 96/NT.
3168
3169         * emacs.c: Initialization calls for dired-msw.c.
3170
3171         * nt.c (convert_time): make into public function (dired-in-C
3172           functions use it).
3173
3174 1998-02-28  Kirill M. Katsnelson  <kkm@kis.ru>
3175
3176         * sysdep.h: Prototypes for the above 2 functions
3177
3178         * sysdep.c (get_pty_max_bytes): Moved here from process.c
3179         (get_eof_char): Ditto
3180
3181         * symsinit.h: Prototypes for initialization functions called from
3182         emacs.c: process_type_create_mswindows, process_type_create_unix,
3183         vars_of_process_mswindows, vars_of_process_unix.
3184
3185         * procimpl.h: New file. Includes prototypes and other stuff shared
3186         by process.c and implementation files (process-unix.c,
3187         process-msw.c in future).
3188
3189         * process.h (PROCESS_LIVE_P): Changed to test against stream
3190         existence, to avoid dependency on fds.
3191
3192         * process.c: Only process implementation independent code is now
3193         in this file. Moved the rest into process-unix.c
3194         (Fopen_network_stream_internal): Added 5th parameter, protocol
3195         family. Defaults to 'tcp/ip when unspecified.
3196
3197         * process-unix.c: New file, implementation of UNIX
3198         processes. UNIX-specific code from the old process.c is here.
3199
3200         * Lstream.c (Lstream_was_blocked_p): New function. Replaces
3201         filedesc_stream_was_blocked_p.
3202         (filedesc_was_blocked_p): Implementation of the method for
3203         filedesc stream
3204         (filedesc_stream_set_pty_flushing): set pty_flushing flag
3205         (filedesc_stream_fd): New function, returns fd of the stream
3206
3207         * lstream.h (lstream_implementation): was_blocked_p is a new
3208         optional lstream method.
3209         Added prototypes for functions in lstream.c
3210
3211         * lisp.h: (USID): Typedef for Unique Stream IDentifier. Reuqired
3212         by the new code in many places.
3213
3214         * events.h (struct event_stream): Declaration of the two mandatory
3215         event stream methods, required by process support.
3216
3217         * event-unixoid.c (event_stream_unixoid_create_stream_pair):
3218         Implementation of the method shared by TTY and X
3219         (event_stream_unixoid_delete_stream_pair): Ditto
3220
3221         * event-tty.c (emacs_tty_next_event): get_process_from_usid()
3222         instead of get_process_from_fd()
3223         (emacs_tty_create_stream_pair): New events tream method
3224         (emacs_tty_delete_stream_pair): New events tream method
3225
3226         * event-stream.c (event_stream_create_stream_pair): New event
3227         stream method
3228         (event_stream_delete_stream_pair): Ditto
3229
3230         * event-msw.c (debug_process_finalization): Although if0'ed,
3231         removed obsolete code
3232
3233         * event-Xt.c (emacs_Xt_create_stream_pair): Implementation if the
3234         new event stream method
3235         (emacs_Xt_delete_stream_pair): Ditto
3236
3237         * emacs.c (main_1): Added calls to process_type_create*() and
3238         vars_of_process()
3239
3240         * callproc.c: (many places): removed DOS support
3241
3242 1998-03-02  SL Baur  <steve@altair.xemacs.org>
3243
3244         * process.c (Fprocess_status): Restore old behavior -- call
3245         Fget_process on a string argument.
3246
3247 Mon Mar 02 11:37:36 1998  Andy Piper  <andyp@parallax.co.uk>
3248
3249         * file-coding.h:
3250         * file-coding.c: more cleanup by only including iso2022 stuff in a
3251         mule build. (setup_eol_coding_systems) move (T) -> :T etc.
3252
3253         * event-stream.c: (Fopen_dribble_file) Qescape_quoted only exists in
3254         mule.
3255
3256         * md5.c: remove warning.
3257
3258         * unexcw.c: move .idata -> .rdata for cygwin b19.
3259
3260         * Makefile.in.in: add msw dependencies.
3261
3262         * sheap.c: up static heap parameters.
3263
3264         * s/cygwin32.h: add prototypes to eliminate warnings.
3265
3266 1998-03-02  SL Baur  <steve@altair.xemacs.org>
3267
3268         * Makefile.in.in (blddir): Import blddir.
3269         Add blddir to dump-time load-path.
3270
3271         * nas.c (play_sound_data): Add braces for clarity.
3272         (play_sound_file): Ditto.
3273
3274 1998-03-01  SL Baur  <steve@altair.xemacs.org>
3275
3276         * alloc.c: Boost static vector size for breathing room.  Double
3277         the size if we may be dynamically linking.
3278
3279         * dlopen.c (Fdl_open): Use RTLD_GLOBAL flag on dlopen if available.
3280
3281         * device-x.c (x_init_device): Hardcode `Emacs' as the filename
3282         containing localized menubars.
3283
3284         * config.h.in: Add HAVE_UNIX_PROCESSES for 20.6.
3285
3286         * alloc.c (init_alloc_once_early): Document movement of mmap
3287         enabling code to emacs.c.
3288
3289         * Makefile.in.in: Update FILE_CODING dependencies.
3290
3291 1998-03-01  Kyle Jones  <kyle_jones@wonderworks.com>
3292
3293         * file-coding.c (setup_eol_coding_systems): Don't try
3294           to copy the mnemonic property of the coding system
3295           unless it is a string.
3296
3297           (allocate_coding_system): Initialize coding system
3298           struct member 'mnemonic' to Qnil.  Leaving its value
3299           set to 0 causes a crash.
3300
3301 1998-03-01  SL Baur  <steve@altair.xemacs.org>
3302
3303         * file-coding.c (DEFINE_SUB_CODESYS): Undo previous patch.
3304
3305 1998-03-01  Kyle Jones  <kyle_jones@wonderworks.com>
3306
3307         * callint.c: Read coding system names for the 'z' and
3308           'Z' interactive specs if FILE_CODING or MULE is defined.
3309           Previously, coding system names were read only if MULE was
3310           defined.
3311
3312         * file-coding.h: Removed charset-based category types
3313           from enumerated coding_category_type if not building
3314           with MULE.
3315
3316         * file-coding.c (syms_of_mule_coding): Don't define
3317           symbols for charset-based coding systems unless
3318           building with MULE.
3319
3320 1998-02-28  SL Baur  <steve@altair.xemacs.org>
3321
3322         * alloc.c (garbage_collect_1): Guard call to selected_frame so it
3323         cannot be called during GC.
3324         - Update current count of staticpro'ed objects.
3325
3326 1998-02-28  Kyle Jones  <kyle_jones@wonderworks.com>
3327
3328         * menubar.c (Fmenu_find_real_submenu): Document the
3329           "use struct as array" hack.  Convert struct pointer to
3330           array to avoid compiler warnings.
3331
3332 1998-02-26  SL Baur  <steve@altair.xemacs.org>
3333
3334         * buffer.c (complex_vars_of_buffer): Fix DOC string for
3335         buffer-file-coding-system.
3336
3337 1998-02-26  Damon Lipparelli  <lipp@primus.com>
3338
3339         * symsinit.h: syms_of_ldap() is actually syms_of_eldap().
3340
3341         * eldap.c: removed duplicates.
3342
3343 1998-02-26  SL Baur  <steve@altair.xemacs.org>
3344
3345         * file-coding.c (setup_eol_coding_systems): Disable SUB_CODESYS
3346         feature -- it causes stack corruption in Mule.
3347
3348 1998-02-27  Kirill M. Katsnelson  <kkm@kis.ru>
3349
3350         * events.c (character_to_event): The code which guesses TTY
3351         backspace character is conditionalized on HAVE_TTY
3352
3353 1998-02-26  SL Baur  <steve@altair.xemacs.org>
3354
3355         * console.c (complex_vars_of_console): Guard tty_erase_char with
3356         HAVE_TTY.
3357         * conslots.h: Ditto.
3358
3359 1998-02-25  SL Baur  <steve@altair.xemacs.org>
3360
3361         * events.c (character_to_event): Correct operations on tty_erase_char.
3362         From Martin Buchholz <martin@xemacs.org>
3363
3364         * file-coding.c (setup_eol_coding_systems): Unix/Binary sub
3365         coding-system display should default to the empty string.
3366         - Use '(t)' for Mac/Text mode.
3367
3368 Tue Feb 17 12:50:37 1998  Andy Piper  <andyp@parallax.co.uk>
3369
3370         * Makefile.in.in: make sure clean removes msw executables. This
3371         prevents the build stalling after puresize has been adjusted. Add
3372         file-coding.o to list of objects.
3373
3374         * buffer.c:
3375         * buffer.h:
3376         * bufslots.h:
3377         * callproc.c:
3378         * console-tty.c:
3379         * emacs.c:
3380         * event-Xt.c:
3381         * event-stream.c:
3382         * glyphs-x.c:
3383         * lread.c:
3384         * md5.c:
3385         * mule-canna.c:
3386         * mule-ccl.c:
3387         * process.c:
3388         * redisplay-x.c:
3389         * redisplay.c: remove #ifdef MULE's from stuff that relates to
3390         file-coding. include file-coding.h rather than mule-coding.h
3391         where applicable.
3392
3393         * mule-coding.c: #if 0 out functionality until file-coding is
3394         split up.
3395
3396         * file-coding.h:
3397         * file-coding.c: new files. copies of mule-coding.h and
3398         mule-coding.c. The mule case is unchanged. The non-mule case
3399         removes coding relating to other charsets - iso2022, big5, sjis,
3400         ccl. (setup_eol_coding_systems) add the eol type to the subsidiary
3401         coding system mnemonics so that it shows on the modeline,
3402         currently (B) for unix style (T) for mac and dos styles.
3403
3404         * fileio.c: remove #ifdef MULE's from stuff that relates to
3405         file-coding. include file-coding.h rather than mule-coding.h where
3406         applicable. FSFMACS_SPEEDY_INSERT is gone since file coding is
3407         always on.
3408
3409         * sheap.c: (more_static_core) remove spurious \n's from error
3410         message.
3411
3412 1998-02-25  Kyle Jones  <kyle_jones@wonderworks.com>
3413
3414         * lisp-disunion.h: Added XUINT macro.
3415
3416         * lisp-union.h: Added XUINT macro.
3417
3418         * data.c (Flsh): Used XUINT instead of XINT to
3419           extract the value of the first argument to avoid sign
3420           extension of the result.
3421
3422 1998-02-25  SL Baur  <steve@altair.xemacs.org>
3423
3424         * s/decosf4-0.h: Add -D_BSD.
3425         From Tore Olsen <toreo@tihlde.hist.no>
3426
3427 1998-02-21  Greg Klanderman  <greg@alphatech.com>
3428
3429         * device-x.c (x_init_device): allow `x-emacs-application-class' to
3430         be nil prior to connecting to the X server.  When this is the
3431         case, the application class is chosen based on whether the user
3432         has any resources with application class `XEmacs' set in the
3433         resource database.
3434         (vars_of_device_x): make x-emacs-application-class nil by default
3435         and document new behavior in its doc string.
3436
3437 1998-02-23  Aki Vehtari  <Aki.Vehtari@hut.fi>
3438
3439         * menubar.c: Doc fix: suffix can be form.
3440
3441         * gui.c (gui_parse_item_keywords): Allow button descriptors
3442         at least 2 long.
3443         (gui_item_display_flush_left): Suffix can be form.
3444
3445         * gui-x.c (button_item_to_widget_value): Allow button descriptors
3446         at least 2 long.
3447         (button_item_to_widget_value): Suffix can be form.
3448
3449 1998-02-24  SL Baur  <steve@altair.xemacs.org>
3450
3451         * s/sol2.h: define HAVE_GETLOADAVG for late edition Solaris
3452         From Georg Nikodym <georgn@Canada.Sun.COM>
3453
3454 1998-02-24  Didier Verna  <didier@xemacs.org>
3455
3456         * redisplay.c (generate_fstring_runes): fixed the modeline
3457         scrolling lossage (the % constructs appearing in the
3458         modeline). Now that we can have negative positions and boundaries,
3459         max_pos == -1 can't mean 'no limit' anymore. Me, stupido!
3460         (add_string_to_fstring_db_runes): Ditto.
3461         (add_glyph_to_fstring_db_runes): Ditto.
3462
3463 1998-02-19  Jim Radford  <radford@robby.caltech.edu>
3464
3465         * sysdep.c: Don't clobber SIGIO event flags we don't care about.
3466         * device.h: removed old_sigio_flag, sigio_enabled from device
3467         Secretly (on Solaris) F_SETOWN calls I_SETSIG. We unknowingly
3468         clobbered the changes so restoring the owner would cause
3469         F_SETOWN's I_SETSIG to fail therby causing an annoying syslog
3470         message.  Changed FASYNC version to match (untested).
3471
3472 1998-02-22  SL Baur  <steve@altair.xemacs.org>
3473
3474         * emacs.c (main): Enable mmap for glibc-2.1 and Linux libc5.
3475         Enable mmap only for non-Mule for glibc-2.0.
3476
3477 1998-02-21  SL Baur  <steve@altair.xemacs.org>
3478
3479         * config.h.in: Define _NO_MALLOC_WARNING_ if using dlmalloc from
3480         Linux libc5.
3481
3482 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3483
3484         * emacs.c: declare hooks only if !DOUG_LEA_MALLOC since the
3485         declaration conflicts with glibc's own.
3486
3487 1998-02-19  SL Baur  <steve@altair.xemacs.org>
3488
3489         * config.h.in: Remove HAVE_TERM, add USE_MINIMAL_TAGBITS and
3490         USE_INDEXED_LRECORD_IMPLEMENTATION.
3491
3492         * process.c (Fopen_network_stream_internal): Remove TERM support.
3493
3494         * sysproc.h: Remove TERM support.
3495
3496 1998-02-20  Kazuyuki IENAGA <ienaga@jsys.co.jp>
3497
3498         * input-method-xfs.c: add setlocale(LC_CTYPE, "") right after
3499         setlocale(LC_NUMERIC, "C").  Because, without this, the LC_CTYPE
3500         got a side effect of LC_NUMERIC then set to "C".
3501
3502 1998-02-19  SL Baur  <steve@altair.xemacs.org>
3503
3504         * emacs.c (main): Enable mmap'ing with XEmacs/Mule.
3505
3506         * redisplay.c (add_string_to_fstring_db_runes): Fix infloop
3507         problem with long modelines and glyphs.
3508
3509         * unexelf.c: The proper way to check for GNU libc is with __GLIBC__.
3510         Suggested by Andreas Jaeger <aj@arthur.rhein-neckar.de>
3511
3512 1998-02-18  SL Baur  <steve@altair.xemacs.org>
3513
3514         * Makefile.in.in: Remove all references to prefix-args.
3515
3516 1998-02-18  Kirill M. Katsnelson  <kkm@kis.ru>
3517
3518         * sysdep.c (mswindows_set_errno): New function
3519         (mswindows_set_last_errno): Ditto
3520         These convert Win32 error code to ANSI C errno.
3521
3522         * sysdep.h: Prototypes for the above 2 functions.
3523
3524         * menubar-msw.c (vars_of_menubar_mswindows): Fprovide
3525         ('mswindows-menubar) removed. See the entry of 1998-01-03
3526
3527         * process.c: FSFmacs proc_buffered_char static array
3528         #if0'ed in 2 places. It is never used.
3529
3530 1998-02-01  Kyle Jones  <kyle_jones@wonderworks.com>
3531
3532         * window.c (save_window_save): Save window-cached
3533           speciifer values.
3534           (saved_window_equal): Added comparisons of window-cached
3535           specifier values.
3536           (Fset-window-configuration): Restore window-cached
3537           specifier values.
3538
3539 1998-02-18  Didier Verna  <didier@xemacs.org>
3540
3541         * modeline.el (mouse-drag-modeline): added the horizontal
3542         scrolling functionality for the modeline. This could still be
3543         improved, for instance when the mouse goes out of the modeline.
3544
3545 1998-02-18  Didier Verna  <didier@xemacs.org>
3546
3547         * redisplay.c:
3548         (generate_formatted_string_db): new flag to distinguish a modeline
3549         string from a title or icon one, plus use a negative first pos to
3550         indicate the modeline hscroll amount.
3551         (add_string_to_fstring_db_runes): completely rewrote this function
3552         to handle the case of scrolled modelines.
3553         (add_glyph_to_fstring_db_runes): handle the case of scrolled
3554         modelines.
3555
3556         * window.c:
3557         (Fmodeline_hscroll): new function to return the modeline current
3558         horizontal scroll amount.
3559         (Fset_modeline_hscroll): new function to scroll the modeline
3560         horizontaly.
3561         Plus some updates related to this new functionality (windows
3562         configuration, notably).
3563
3564         * window.h (struct window): added the new field modeline_hscroll.
3565
3566 1998-02-18  SL Baur  <steve@altair.xemacs.org>
3567
3568         * m/alpha.h:
3569         * unexelf.c: Synched with Emacs 20.2.
3570         From Aki Vehtari <Aki.Vehtari@hut.fi>
3571
3572         * emacs.c (main): Don't call __sbrk().
3573         * gmalloc.c (__sbrk): Ditto.
3574         Suggested by Andreas Jaeger <aj@arthur.rhein-neckar.de>
3575
3576 1998-02-17  SL Baur  <steve@altair.xemacs.org>
3577
3578         * console-tty.c (Fset_console_tty_coding_system): New function.
3579         From Kazuyuki IENAGA <ienaga@jsys.co.jp>
3580
3581 1998-02-15  SL Baur  <steve@altair.xemacs.org>
3582
3583         * ralloc.c (init_ralloc): DOUG_LEA_MALLOC support.
3584         (r_alloc_reinit): Ditto.
3585         [All non-HAVE_MMAP code]: Synched with Emacs 20.2.
3586
3587         * emacs.c: Synch DOUG_LEA_MALLOC support from Emacs 20.2.
3588         (main): Ditto.
3589         Add LINUX_SBRK_BUG workaround, what is it?
3590         (Fdump_emacs): DOUG_LEA_MALLOC support from Emacs 20.2.
3591
3592         * alloc.c: Synch DOUG_LEA_MALLOC support from Emacs 20.2.
3593         (init_alloc_once_early): Ditto.
3594
3595         * config.h.in: Add DOUG_LEA_MALLOC symbol.
3596
3597         * unexfreebsd.c (run_time_remap): Change printf format string to
3598         match parameters given.
3599
3600 1998-02-14  SL Baur  <steve@altair.xemacs.org>
3601
3602         * s/sco5.h: Define LIB_GCC as -lgcc for gcc 2.8 and egcs.
3603         Suggested by Robert Lipe <robertl@dgii.com>
3604
3605 1998-02-14  Martin Buchholz  <martin@xemacs.org>
3606
3607         * event-Xt.c (x_reset_key_mapping):
3608         * device-x.c:
3609         (x-keysym-on-keyboard-p):
3610         (x-keysym-on-keyboard-sans-modifiers-p):
3611         Use x-keysym-on-keyboard-sans-modifiers-p instead of
3612         x-keysym-on-keyboard-p to detect backspace.
3613         Use symbols instead of strings (now deprecated) with x-keysym-*-p.
3614         Clean up symbols used with dead keys, checking Linux and solaris
3615         keysyms.
3616         Simplify x-win-*.el using above methods.
3617         Change documentation for x-keysym-*-p functions.
3618
3619 1998-02-13  SL Baur  <steve@altair.xemacs.org>
3620
3621         * unexelfsgi.c: Various changes.
3622         From Olivier Galibert <galibert@pobox.com>
3623
3624         * s/freebsd.h: Avoid redefining BSD.
3625         From Kazuyuki IENAGA <ienaga@jsys.co.jp>
3626
3627         * extents.c (extent_fragment_update): Break up a line to avoid a
3628         Digital UNIX 3.2g C compiler bug.
3629         From Tonny Madsen  <tma@nettest.dk>
3630
3631         * process.c (create_process): Restore save_environ hackery.
3632
3633 1998-02-10  SL Baur  <steve@altair.xemacs.org>
3634
3635         * emacsfns.h: Remove mocklisp declarations.
3636
3637         * redisplay-msw.c (mswindows_update_dc): Enable evil kludge for
3638         cygwin.
3639         From Andy Piper <andyp@parallax.co.uk>
3640
3641 1998-02-09  SL Baur  <steve@altair.xemacs.org>
3642
3643         * menubar-msw.c (vars_of_menubar_mswindows): Fix patch failure.
3644         Suggested by: kny@tekla.fi
3645
3646         * data.c (Fold_eq): PC-ize.
3647
3648         * chartab.c: PC-ize.
3649
3650         * window.c (toplevel): PC-ize.
3651         (syms_of_window): Ditto.
3652
3653         * search.c (Freplace_match): PC-ize.
3654
3655         * lread.c: PC-ize.
3656
3657         * buffer.c (Fbuffer_enable_undo): PC-ize.
3658         (Fbuffer_disable_undo): ditto.
3659
3660         * eval.c (return_from_signal): PC-ize.
3661
3662         * casetab.c: PC-ize.
3663
3664         * callproc.c (Fcall_process_internal): PC-ize.
3665
3666 1998-02-02  Kirill M. Katsnelson  <kkm@kis.ru>
3667
3668         * gui.h (struct gui_item): Menu item, submenu or GUI button
3669         properties are abstracted into this new structure.
3670         Added prototypes for the following functions
3671
3672         * gui.c (gui_item_init): New function
3673         (gui_item_add_keyval_pair): Ditto
3674         (gui_parse_item_keywords): Ditto
3675         (gui_item_active_p): Ditto
3676         (gui_item_included_p): Ditto
3677         (gui_item_display_flush_left): Ditto
3678         (gui_item_display_flush_right): Ditto. The above listen new
3679         functions manipulate on properties common to menu items and GUI
3680         buttons.
3681
3682         * menubar.c (current_frame_menubar): Moved from menubar-msw.c
3683         (menu_parse_submenu_keywords): New function
3684         (Fmenu_find_real_submenu): Ditto, lisp accessible. The last two
3685         functions operate on menu properties stored in struct gui_item,
3686         but are specific to menus only.
3687
3688         * menubar.h: Prototypes for the above functions.
3689
3690         * menubar-msw.c: Modified to utilize struct gui_item instead of
3691         plists, to reduce garbage. Suggested by Ben Wing.
3692         Unreachable menus are fixed.
3693
3694 1998-01-03  Kirill M. Katsnelson  <kkm@kis.ru>
3695
3696         * menubar-msw.c (allocate_menu_item_id): Added third parameter to
3697         hash, suffix. Menus tend to put non-localizable items into suffix
3698         with empty name.
3699         (update_frame_menubar_maybe): top_level_menu is now set here.
3700         (mswindows_popup_menu): Ditto. It was incorrect to set it from
3701         populate.
3702         (vars_of_menubar_mswindows): Fprovide ('mswindows-menubar) removed:
3703         (featurep (and 'mswindows 'menubars)) tests the same.
3704         (mswindows_update_frame_menubars): update_..._maybe () now called
3705         only if frame->menubar_changed is set. Is it right to patch
3706         menubar.c instead?
3707
3708 1998-02-08  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3709
3710         * objects-msw.c:
3711           Updated color database to X11R6. Also added support for
3712           "#RRRGGGBBB" and "#RRRRGGGGBBBB" in addition to "#RRGGBB".
3713
3714 1998-02-08  Jonathan Harris  <jhar@tardis.ed.ac.uk>
3715
3716         * console.h:
3717         * console-stream.c:
3718         * redisplay.c:
3719         * redisplay-msw.c:
3720         * redisplay-tty.c:
3721         * redisplay-x.c:
3722           Added the frame as a parameter to the text_width device
3723           method.
3724
3725         * redisplay-msw.c:
3726           Support for proportional fonts.
3727
3728 1998-02-07  Hrvoje Niksic  <hniksic@srce.hr>
3729
3730         * window.c (map_windows): Don't return the value of map_windows_1.
3731         (map_windows): If F is NULL, map through all the windows.
3732         (mark_windows_in_use): Use map_windows(); made it static.
3733         (mark_windows_in_use_closure): New function.
3734
3735 1998-02-01  Hrvoje Niksic  <hniksic@srce.hr>
3736
3737         * alloc.c (Fpurecopy): Check for non-`nil'-ness instead of
3738         checking for Vobarray.
3739
3740         * dlopen.c (Fdl_open): Indirect FUNCTION explicitly, for clarity.
3741
3742         * elhash.c: Removed broken hashtable_hash().
3743
3744 1998-01-28  Hrvoje Niksic  <hniksic@srce.hr>
3745
3746         * symbols.c (Fintern): Use Qt instead of the actual obarray.
3747         (init_symbols_once_early): Ditto.
3748
3749 1998-01-27  Hrvoje Niksic  <hniksic@srce.hr>
3750
3751         * lisp.h (DO_REALLOC): Name the variable `do_realloc_newsize'
3752         instead of `newsize', to avoid name collisions.
3753
3754 1998-01-26  Hrvoje Niksic  <hniksic@srce.hr>
3755
3756         * print.c (print_symbol): Be more wary about the contents of
3757         Vprint_gensym_alist.
3758
3759 1998-02-06  SL Baur  <steve@altair.xemacs.org>
3760
3761         * emacs.c (Frun_emacs_from_temacs): Disable largely meaning-free
3762         purity/impurity summary.  Compile with -DREPORT_PURE_USAGE to get
3763         it back.
3764
3765         * process.c (create_process): Unused variable elimination.
3766
3767         * lread.c (Fload_internal): Compiler warning suppression.
3768
3769         * alloc.c (report_pure_usage): Remove unused variable.
3770
3771 Wed Jan 28 13:41:22 1998  Andy Piper  <andyp@parallax.co.uk>
3772
3773         * Makefile.in.in: add support for sheap-adjust.h generation for
3774         static heap.
3775
3776 Wed Jan 28 13:41:22 1998  Andy Piper  <andyp@parallax.co.uk>
3777
3778         * Makefile.in.in: add sheap-adjust.h support, basically copied
3779         from puresize-adjust.h. predicate sheap.o on HEAP_IN_DATA. fix
3780         xemacs target slightly to not be a single shell command, this
3781         fixes an obscure bug in cygwin gmake.
3782
3783         * alloc.c (report_pure_usage): call sheap_adjust_h if HEAP_IN_DATA
3784         is defined.
3785
3786         * sysfile.h: add abstracted OPEN_BINARY, OPEN_TEXT etc defines. On
3787         Unix these are all 0 and have no effect. On systems defining
3788         O_BINARY these use it. WINDOWSNT is currently unaffected because
3789         there are individual #ifdefs in each source file, but with this
3790         change they could be removed.
3791
3792         * emacs.c:
3793         * doc.c:
3794         * lread.c:
3795         * process.c: generalize open() calls with OPEN_BINARY. Does
3796         nothing under Unix.
3797
3798         * emacs.c: predicate inclusion of windows.h on WINDOWSNT not
3799         _WIN32.
3800
3801         * process.c:
3802         * sysdep.c:
3803         * signal.c: predicate SIGIO stuff also on !BROKEN_SIGIO, this is
3804         required for building on cygwin32 b19 which has SIGIO that only
3805         works on sockets.
3806
3807         * fileio.c:
3808         * event-stream.c: generalize open() calls with OPEN_BINARY. Does
3809         nothing under Unix. Use open() instead of creat() to make this
3810         possible. use CREAT_MODE from sysfile.h
3811
3812         * config.h.in: add MULE_CODING, currently not used. add support
3813         for HAVE_A_OUT_H.
3814
3815         * elhash.c:
3816         * menubar-msw.c:
3817         * mule-ccl.c:
3818         * device-msw.c: warning elimination.
3819
3820         * event-msw.c: add undeclared Dde calls for cygwin.
3821
3822         * redisplay-msw.c: warning elimination under mule.
3823
3824         * gmalloc.c: make initalize() really do that. If HEAP_IN_DATA is
3825         defined catch free() & realloc() calls with addresses in the data
3826         space. __morecore calls more_static_core for temacs, when dumped
3827         switches to sbrk().
3828
3829         * console-msw.h: undef CONST after windows.h inclusion since this
3830         defines CONST. #ifdef out shellapi under cygwin.
3831
3832         * device-msw.c: include sysdep.h
3833
3834         * objects-msw.c: add dummy mswindows_font_spec_matches_charset and
3835         mswindows_find_charset_font so that we can build with mule.
3836
3837         * mem-limits: return -1 for get_lim_data() when HEAP_IN_DATA is
3838         defined.
3839
3840         * sheap.c: new file. defines sheap_adjust_h and more_static_core
3841         so that data space can be used by gmalloc before dumping when
3842         HEAP_IN_DATA is defined. beef up error message about what to do if
3843         sheap space runs out.
3844
3845         * sysdep.c: make start_of_data return something sensible for
3846         HEAP_IN_DATA.
3847
3848         * systime.h: don't use itimer stuff on cygwin b19.
3849
3850         * unexcw.c: new file. Full unexec() support for cygwin using the
3851         HEAP_IN_DATA setup provided by sheap.c and friends. No run-time
3852         remapping is performed. This could be generalized to support many
3853         platforms that use COFF. you need a.out.h from my website to build
3854         this. cygwin b19 will have this.
3855
3856         * s/cygwin32.h: fixed commentary. compile in unexcw.o for dumping
3857         support. removed irrelevent things. define BROKEN_SIGIO. remove
3858         include of windows.h. add correct process support defines, process
3859         support might work when non-blocking io is implemented in cygwin.
3860
3861 1998-02-02  P. E. Jareth Hein  <jareth@camelot-soft.com>
3862
3863         * glyphs.c: Removed ImageMagick support, re-instituted the previous
3864         support for JPEG, GIF and PNG with the new color system.
3865
3866 1998-02-05  Olivier Galibert  <galibert@pobox.com>
3867
3868         * unexelf.c: Fix alignment problems on Linux.
3869
3870 1998-02-01  Kyle Jones  <kyle_jones@wonderworks.com>
3871
3872         * redisplay.c (redisplay_window): After outputting
3873           the window, invalidate its the line start cache if the
3874           we're displaying the minibuffer window and the echo
3875           area is active.  The cache is only valid for the echo
3876           area buffer, and that buffer isn't associated with the
3877           minibuffer window anymore.
3878
3879 1998-01-31  SL Baur  <steve@altair.xemacs.org>
3880
3881         * alloc.c (disksave_object_finalization): Additional checking for
3882         sanity when zeroing out unused portions of string_chars_block's.
3883         (Fpurecopy): Spelling fixes in comment.
3884         (PURESIZE_SLOP): Set default slop to 0.
3885
3886 1998-01-31  Kyle Jones  <kyle_jones@wonderworks.com>
3887
3888         * chartab.c (make_char_table): Initialize mirror
3889           tables with Spunct in all the slots.  Syntax table
3890           initialization doesn't touch slots for nonexistent
3891           characters sets.  If character sets corresponding to
3892           those slots are created later Qnil values in the slots
3893           will cause crashes.
3894         (copy_char_table_entry): Return copy not original.
3895
3896 1998-01-28  Jonathon Harris  <jhar@tardis.ed.ac.uk>
3897
3898         * msw-proc.c:
3899         * event-msw.h:
3900         * event-msw.c:
3901         * console-msw.h:
3902         Deleted the first two and merged them into the last two files.
3903
3904         * device-msw.c:
3905         * event-msw.c:
3906         * frame-msw.c:
3907         Added file-based drag and drop support. The "System/Open" DDE command
3908         is also implemented as if it were a drag and drop operation.
3909
3910         * emacsfns.h:
3911         * event-stream.c:
3912         * events.c:
3913         * events.h:
3914         * frame.c:
3915         * keymap.c:
3916         Replaced all "#ifdef HAVE_OFFIX_DND" with
3917         "#if defined(HAVE_OFFIX_DND) || defined(HAVE_MS_WINDOWS)"
3918
3919         * device.h: Added DEVICE_MSWINDOWS_P and related macros.
3920
3921         * objects-msw.c:
3922         * select-msw.c:
3923         Eliminated warnings.
3924
3925         * redisplay-msw.c: Changed color of "dead" box between scrollbars
3926         to windows' "button" color for compatibility with other windows apps.
3927
3928 1998-01-20  Stephen Turnbull  <turnbull@sk.tsukuba.ac.jp>
3929
3930         * Makefile.in.in: move `rm puresize-adjust.h' from distclean
3931           to mostlyclean
3932
3933 1998-01-29  SL Baur  <steve@altair.xemacs.org>
3934
3935         * Makefile.in.in (dlopen.o): Add dependencies.
3936
3937         * s/sunos4-0.h: Conditionalize use of broken-sun.h for old Gccs.
3938         Suggested by Amir J Katz <amir@ndsoft.com>
3939
3940 1998-01-28  SL Baur  <steve@altair.xemacs.org>
3941
3942         * faces.c (init_device_faces): This function can call lisp.
3943
3944 1998-01-28  P. E. Jareth Hein  <jareth@camelot-soft.com>
3945
3946         * mule-coding.h:
3947         * mule-coding.c: (determine_real_coding_system): removed the
3948         static declaration to allow reuse.
3949
3950         * md5.c (Fmd5): Rewrote to fully support MULE, as well as streamline
3951         the code.
3952
3953         * mule-ccl.c (ccl_driver): Set initial values of variables to shut up
3954         the compiler and to give better error message if a quit happens before
3955         any ccl_code is generated.
3956
3957 1998-01-28  SL Baur  <steve@altair.xemacs.org>
3958
3959         * glyphs.c (allocate_glyph): This function can GC.
3960         Wrap GCPRO around unprotected function calls.
3961         (specifier_vars_of_glyphs): Comment change -- Can we GC here?
3962
3963 1998-01-27  SL Baur  <steve@altair.xemacs.org>
3964
3965         * lread.c (Fload_internal): Add extra GCPRO around call to
3966         Fassoc.
3967         Enable purespace usage counts always.
3968
3969         * m/powerpc.h: Isolate changes for mklinux from AIX.
3970
3971 1998-01-27  Hrvoje Niksic  <hniksic@srce.hr>
3972
3973         * symbols.c (init_symbols_once_early): Decreased default size of
3974         Vpure_uninterned_symbol_table to 50.
3975
3976 1998-01-27  SL Baur  <steve@altair.xemacs.org>
3977
3978         * redisplay-x.c (x_output_string): Correction for handling underlined
3979         fonts when XGetFontProperty fails.
3980         From Chris Felaco <felaco@iatcmail.ed.ray.com>
3981
3982 1998-01-27  Kyle Jones  <kyle_jones@wonderworks.com>
3983
3984         * alloc.c (Fpurecopy): Store symbols that aren't
3985           interned in Vobarray into Vpure_uninterned_symbol_table.
3986
3987         * symbols.c (init_symbols_once_early): Initialize
3988           Vpure_uninterned_symbol_table.
3989
3990         * emacsfns.h: Declare Vpure_uninterned_symbol_table.
3991
3992 1998-01-26  SL Baur  <steve@altair.xemacs.org>
3993
3994         * alloc.c (report_pure_usage): New macro PURESIZE_SLOP to allow
3995         for extra pure space.
3996
3997 1998-01-23  SL Baur  <steve@altair.xemacs.org>
3998
3999         * sound.c (Fplay_sound_file): Use NILP for comparison of
4000         Lisp_Object.
4001
4002 Wed Jan 21 10:49:47 1998  Andy Piper  <andyp@parallax.co.uk>
4003
4004         * unexcw.cc: new file for cygwin32 unexec() requires cygwin32
4005         b19. Predicated on HAVE_COFF_H.
4006
4007         * console.c:
4008         * device-msw.c:
4009         * event-msw.c:
4010         * frame-msw.c:
4011         * msw-proc.c:
4012         * objects-msw.c:
4013         Eliminate warnings.
4014
4015         * redisplay-msw.c (mswindows_update_gc): eliminate warnings and
4016         extend hack for bogus bg values.
4017
4018         * symsinit.h: add msw headers to eliminate warnings.
4019
4020         * s/cygwin32.h: various updates for unexec() support.
4021
4022         * lastfile.c: add my_ebss for cygwin32 unexec() support.
4023
4024         * gmalloc.c: made __malloc_initialized non-static so that
4025         it goes into the bss where we expect it.
4026
4027         * emacs.c: put run_time_remap() in a place where initialized is
4028         not always true.
4029
4030         * Makefile.in.in: add support for compiling .cc files.
4031
4032         * config.h.in: added HAVE_COFF_H support.
4033
4034 1998-01-23  Hrvoje Niksic  <hniksic@srce.hr>
4035
4036         * print.c (print_cons): Use XCAR/XCDR.
4037         (print_string): Fix up so it Vprint_string_length works under Mule
4038         correctly.
4039
4040         * eval.c (Feval): Increase profile call count.
4041
4042         * keymap.c: Fixed typo.
4043
4044 1998-01-22  Hrvoje Niksic  <hniksic@srce.hr>
4045
4046         * symbols.c (Funintern): Reset symbol's obarray property.
4047
4048 1998-01-22  Karl M. Hegbloom  <karlheg@bittersweet.inetarena.com>
4049
4050         * alloc.c (size_vector): Declare *p as CONST to eliminate warning.
4051
4052 1998-01-22  Hrvoje Niksic  <hniksic@srce.hr>
4053
4054         * print.c (print_symbol): Recognize Vprint_gensym being a cons;
4055         use Vprint_gensym_alist.
4056
4057         * symbols.c (init_symbols_once_early): Ditto.
4058
4059         * alloc.c (Fmake_symbol): Reset it.
4060
4061         * symbols.c (Fintern): Set it.
4062
4063         * lisp.h (struct Lisp_Symbol): New element `obarray'.
4064
4065         * print.c (print_prepare): Reset Vprint_gensym_alist.
4066         (print_finish): Ditto.
4067
4068         * lread.c: Recognize #n= and #n#.
4069         (readevalloop): Reset read_objects to nil.
4070         (Fread): Ditto.
4071
4072 1998-01-23  SL Baur  <steve@altair.xemacs.org>
4073
4074         * toolbar.c (update_toolbar_button): Eliminate redundant NILP
4075         checks.
4076         From Martin Buchholz <martin@xemacs.org>
4077
4078 1998-01-21  Hrvoje Niksic  <hniksic@srce.hr>
4079
4080         * dlopen.c: New file.
4081
4082 1998-01-19  Steven L Baur  <steve@altair.xemacs.org>
4083
4084         * eval.c (prog1): Don't GCPRO unitialized variable.
4085         (prog2): Ditto.
4086         From Martin Buchholz <martin@xemacs.org>
4087
4088 1998-01-19  Hrvoje Niksic  <hniksic@srce.hr>
4089
4090         * sound.c (Fplay_sound_file): Use
4091         signal_simple_continuable_error() instead of error().
4092
4093 1998-01-18  Hrvoje Niksic  <hniksic@srce.hr>
4094
4095         * README: Updated.
4096
4097 1998-01-18  SL Baur  <steve@altair.xemacs.org>
4098
4099         * glyphs-x.c (imagick_instantiate): Dynamically allocate pixar
4100         with alloca.
4101         From Damon Lipparelli <lipp@primus.com>
4102
4103 1998-01-14  Martin Buchholz  <martin@xemacs.org>
4104
4105         * eval.c (For, Fand, Fif, Fcond, Fprogn, Fprog1, Fprog2):
4106         Modernize and streamline.
4107         Replace Fcdr with XCDR, Fcar with XCAR for efficiency.
4108         Remove REGISTER declarations.
4109
4110 1998-01-13  Martin Buchholz  <martin@xemacs.org>
4111
4112         * emacsfns.h:
4113         * alloc.c:
4114         Add proper prototypes for print_cons, print_vector, print_string.
4115
4116         * dired.c (directory-files):
4117         * elhash.c (elisp_maphash):
4118         * elhash.h (elisp_maphash):
4119         * lrecord.h:
4120         * mule-ccl.c (setup_ccl_program):
4121         * mule-coding.c (coding_system_charset):
4122         * offix-cursors.h (cursor_bits):
4123         Warning elimination.
4124
4125         * redisplay.c (add_blank_rune):
4126         * redisplay.c (add_glyph_rune):
4127         * redisplay.c (add_emchar_rune):
4128         Warning elimination. Avoid useless computation in non-mule case.
4129
4130         * config.h.in:
4131         Define HAVE_INVERSE_HYPERBOLIC using 1 configure test, not 3.
4132         * src/alloc.c:
4133         * src/events.c:
4134         Rearrange order of declarations and definitions to avoid forward
4135         * src/mem-limits.h: Add motivating comment for future cleanup.
4136
4137         * s/linux.h: Cleanup.  Remove old cruft.
4138
4139         * config.h.in:
4140         Always define _GNU_SOURCE when using GNU libc.
4141         Support --without-FOO as a synonym for --with-FOO=no.
4142         Always use $srcdir to locate config.guess.
4143         Make it clear that CONFIGURATION is optional.
4144         De-emphasize CONFIGURATION parameter. Random cleanup.
4145         More compatible with standard GNU install instructions.
4146         --with-menubars=athena3d ==> --with-menubars=lucid.
4147
4148 1998-01-14  Hrvoje Niksic  <hniksic@srce.hr>
4149
4150         * fileio.c (Fexpand_file_name): Synched with FSF.
4151
4152 1998-01-13  Hrvoje Niksic  <hniksic@srce.hr>
4153
4154         * objects-msw.c (mswindows_color_instance_rgb_components):
4155         Multiply components by 257 instead of shifting by 8.
4156
4157 1998-01-15  Hrvoje Niksic  <hniksic@srce.hr>
4158
4159         * elhash.c (Fhashtable_type): New function.
4160         (Fhashtable_test_function): Ditto.
4161
4162 1998-01-12  SL Baur  <steve@altair.xemacs.org>
4163
4164         * profile.c (Fclear_profiling_info): Fix typing error.
4165
4166         * elhash.c (elisp_map_remhash): Fix typing error.
4167         (elisp_maphash): Ditto.
4168
4169 1998-01-12  Hrvoje Niksic  <hniksic@srce.hr>
4170
4171         * mule-ccl.c (Fccl_execute_on_string): Use Dynar_free to free a
4172         Dynarr.
4173
4174 1998-01-13  Hrvoje Niksic  <hniksic@srce.hr>
4175
4176         * profile.c (vars_of_profile): New variable
4177         `call-count-profile-table'.
4178         (Fclear_profiling_info): Clear call-count-profile-table.
4179
4180         * eval.c (funcall_recording_as): Use it.
4181
4182         * profile.c (profile_increase_call_count): New function.
4183
4184         * lstream.c (stdio_flusher): Comment addition.
4185
4186         * objects-msw.c (mswindows_string_to_color): Support #RRRGGGBBB,
4187         as well as #RRGGBB.
4188         (mswindows_X_color_map): Reformatted.
4189
4190 1998-01-12  Hrvoje Niksic  <hniksic@srce.hr>
4191
4192         * line-number.c (invalidate_line_number_cache): Comment fixup.
4193
4194         * symbols.c (Fapropos_internal): Docstring fix.
4195
4196         * fns.c (Fstring_equal): Docstring fix.
4197
4198 1998-01-12  Hrvoje Niksic  <hniksic@srce.hr>
4199
4200         * profile.c (get_profiling_info_maphash): Return int.
4201         (mark_profiling_info_maphash): Ditto.
4202
4203         * elhash.c (Finternal_hash_value): New debugging function,
4204         undefined by default.
4205
4206 1998-01-11  Hrvoje Niksic  <hniksic@srce.hr>
4207
4208         * mule-coding.c (add_coding_system_to_list_mapper): Ditto.
4209
4210         * mule-charset.c (add_charset_to_list_mapper): Return int.
4211
4212         * faces.c (add_face_to_list_mapper): Return int.
4213         (mark_face_as_clean_mapper): Ditto.
4214         (update_face_inheritance_mapper): Ditto.
4215
4216         * keymap.c (keymap_submaps_mapper_0): Return int.
4217         (keymap_submaps_mapper): Ditto.
4218         (copy_keymap_inverse_mapper): Ditto.
4219         (copy_keymap_mapper): Ditto.
4220         (map_keymap_unsorted_mapper): Ditto.
4221         (map_keymap_sorted_mapper): Ditto.
4222
4223         * elhash.c (hashtable): Added a hash method.
4224         (hashtable_hash): New function.
4225
4226 1998-01-09  Hrvoje Niksic  <hniksic@srce.hr>
4227
4228         * elhash.c (lisp_maphash_function): Return 0.
4229         (hashtable_equal_mapper): Bail out when an element is not `equal'.
4230
4231         * hash.c (maphash): Bail out if map function returns non-zero.
4232
4233 1998-01-11  SL Baur  <steve@altair.xemacs.org>
4234
4235         * eval.c (Fbacktrace): Treat first parameter to byte-code
4236         specially.
4237
4238 Sat Jan 10 11:36:11 1998  Andy Piper  <andyp@parallax.co.uk>
4239
4240         * config.h.in: undef HAVE_SYS_UN_H so that it gets defined by
4241         configure for gnuserv with UNIX_DOMAIN_SOCKETS.
4242
4243 1998-01-09  SL Baur  <steve@altair.xemacs.org>
4244
4245         * buffer.c (reset_buffer_local_variables): Synch case-table
4246         resetting stuffs from Emacs 20.2.
4247         Suggested by Aki Vehtari <Aki.Vehtari@hut.fi>
4248
4249         * src/symbols.c (Fsetq_default): Fix docstring.
4250         From Didier Verna <didier@xemacs.org>
4251
4252 1998-01-07  Kirill M. Katsnelson  <kkm@kis.ru>
4253
4254         * msw-proc.c (mswindows_wnd_proc): Calls to redisplay() from out
4255         of WM_SIZE handler limited to the case of dragging frame borders.
4256
4257         * redisplay-msw.c (mswindows_bevel_modeline): Added support for
4258         negative modeline height.
4259         (mswindows_output_cursor): Added bar cursor drawing
4260         (mswindows_flash): Flash frame by inverting client area.
4261
4262 1998-01-08  Andy Piper  <andyp@parallax.co.uk>
4263
4264         * lread.c: guess load path if its not set just like the dumped
4265         version does.
4266
4267         * doc.c: guess doc path if its not set just like the dumped
4268         version does
4269
4270 Thu Jan 08 09:42:36 1998  Andy Piper  <andyp@parallax.co.uk>
4271
4272         * emacs.c: don't load loadup.el when CANNOT_DUMP is set, this
4273         is almost never right on XEmacs.
4274
4275         * s/cygwin32.h: add comments about how to buid. Move some
4276         variables into configure so that we don't have to set them.
4277
4278         * config.h.in: define HAVE_WINDOW_SYSTEM if HAVE_MS_WINDOWS is
4279         set.
4280
4281 1998-01-06  Kirill M. Katsnelson  <kkm@kis.ru>
4282
4283         * lread.c (Fload_internal): On Win32, this reopened the file
4284         without first closing the handle. This caused running out of
4285         handles.
4286
4287         * nt.c (sys_open): This one made big mess when opening a handle
4288         next after MAXDESC-1. Fixed.
4289
4290 1998-01-06  Kirill M. Katsnelson  <kkm@kis.ru>
4291
4292         * objects-msw.c (mswindows_string_to_color): Patched not to modify
4293         const char* parameter.
4294         (hexval): Modified to accept uppercase hex digits.
4295
4296         * ntproc.c (sys_spawnve): char* arguments made CONST, to comply
4297         with standard header declaration.
4298
4299         * sysdep.c: Fixed ugly prototypes copied from system headers. Who
4300         says the solution is as ugly, is right.
4301         Added a couple of #include directives to avoid undefined functions.
4302         (struct save_signal): Added parameter to function pointer
4303         prototype when compiled under ANSI C.
4304         (save_signal_handlers): Ditto
4305
4306         * s/windowsnt.h: Added prototypes for functions defined via
4307         sys_<name> which are not found or differ on Win32: pipe, sleep,
4308         spawnve, wait, kill
4309         Macros created from former nt.c functions: random srandom setpgrp
4310         Defined HAVE_STRCASECMP, and strcasecmp defined to _stricmp which
4311         is provided by the compiler.
4312         Removed hack which prevented winsock.h from including.
4313
4314         * nt.c (random): Removed and made a macro in s/windowsnt.h
4315         (srandom): Ditto
4316         (setpgrp): Ditto
4317         (unrequest_sigio): #if0'ed. It is unreferenced; in XEmacs, calls
4318         to it seem to be controlled by HAVE_SIGIO.
4319         (request_sigio): Ditto
4320
4321         * nt.h: Removed FD_* macros. Rely on definitions in winsock.h.
4322         Changed EMACSDEBUG references to DEBUG_XEMACS
4323
4324         * event-msw.c (mswindows_cancel_dispatch_event): Returns Qnil when
4325         event not found in the queue. Used to return undefined value.
4326
4327 1998-01-07  SL Baur  <steve@altair.xemacs.org>
4328
4329         * emacs.c (main_1): Add `-no-autoloads' to suppress loading
4330         autoloads at startup.
4331
4332         * Makefile.in.in (xemacs): Fix call to list load-path shadows.
4333
4334 1998-01-02    Charles G. Waldman <cgw@pgt.com>
4335
4336         * frame.h:  fix erroneous FRAME_RIGHT_BORDER_START macro.
4337         Corrects display glitch when toolbar is on the right.
4338
4339 1998-01-02  Kirill M. Katsnelson  <kkm@kis.ru>
4340
4341         * emacs.c (make_arg_list_1): On Win32 platforms, GetModuleFileName
4342         is consulted instead of argv[0] to get full path to the xemacs
4343         executable.
4344
4345 1998-01-01  SL Baur  <steve@altair.xemacs.org>
4346
4347         * m/sparc.h: Cleans up some warnings about unused variables in
4348         getloadavg.c under Sparc/Linux.
4349         From Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
4350
4351         * fileio.c (vars_of_fileio): Enable directory-sep-char always for
4352         compatibility.
4353
4354         * emacs.c (main_1): Inhibit reloading dumped lisp when using
4355         `-batch' or `-vanilla'.
4356
4357 1997-12-31  SL Baur  <steve@altair.xemacs.org>
4358
4359         * emacs.c: New variables `inhibit-update-dumped-lisp' and
4360         `inhibit-update-autoloads'.
4361         (vars_of_emacs): Initialize them.
4362
4363 1997-12-29  Kirill M. Katsnelson  <kkm@kis.ru>
4364
4365         * msw-proc.c (mswindows_enqueue_magic_event): Made extern. User by
4366         menubar-msw.c
4367
4368         * event-msw.h: Prototype for mswindows_enqueue_magic_event
4369
4370         * event-msw.c (mswindows_wm_timer_callback): Fixed counter of
4371         outstanding timer events (decremented only when KillTimer
4372         succeeds)
4373         (emacs_mswindows_remove_timeout): Ditto
4374
4375         * console-msw.h: Added frame structure field for menu checksum
4376
4377         * menubar-msw.c: Miscellaneous patches and bug fixes.
4378
4379 1997-12-30  SL Baur  <steve@altair.xemacs.org>
4380
4381         * emacs.c (main): Clarify calls to main_1.
4382
4383         * data.c (Fcompiled_function_annotation): Hide DEFUN from
4384         make-docfile.
4385
4386         * emacs.c (main_1): The invocation name requires recomputing when
4387         running after dumping.
4388
4389 1997-12-29  SL Baur  <steve@altair.xemacs.org>
4390
4391         * free-hook.c (check_free): Added explicit braces to avoid
4392         dangling else clause.
4393         * sound.c (Fplay_sound_file): Ditto.
4394         * process.c (set_process_filter): Ditto.
4395         * linuxplay.c (linux_play_data_or_file): Ditto.
4396         * regex.c (regex_compile): Ditto.
4397
4398 1997-12-28  SL Baur  <steve@altair.xemacs.org>
4399
4400         * emacs.c (main_1): Fix logic to run in place when XEmacs is a
4401         login shell.
4402         (main_1): New parameter restart.
4403         (main): Use it.
4404
4405         * bytecode.h: Disable COMPILED_FUNCTION_ANNOTATION_HACK.
4406
4407         * print.c (debug_short_backtrace): Guard call to
4408         Fcompiled_function_annotation.
4409
4410         * alloc.c (disksave_object_finalization): Don't zero out
4411         load-history if history of pure symbols is desired.
4412
4413         * lread.c (build_load_history): If LOADHIST_DUMPED is defined, add
4414         pure symbols to load-history.
4415
4416         * emacsfns.h: New symbols added -- LOADHIST_DUMPED, define to get
4417         a history of dumped lisp.  LOADHIST_BUILTIN, define to get a
4418         history of symbols defined in C source.
4419
4420 1997-12-23  Andy Piper <andyp@parallax.co.uk>
4421
4422         * Conditionals to enable XEmacs to compile (not run!) under
4423           CygWin32. Files touched:
4424           events.c
4425           getloadavg.c
4426           mem-limits.h
4427           objects-msw.c
4428           select-msw.c
4429           sysdep.c
4430         * s/cygwin.h: New file.
4431
4432 1997-12-26  Kirill M. Katsnelson  <kkm@kis.ru>
4433
4434         * menubar-msw.c, menubar-msw.h: New files. Menus support.
4435
4436         * console-msw.h: Added frame menu hashtable variable.
4437
4438         * gui.c: popup_up_p variable and Fpopup_up_p and
4439           separator_string_p functions are moved from gui-x.c
4440
4441         * gui.h: New file declaring the above. It is #included into the
4442           following files:
4443           dialog-x.c
4444           gui-x.c
4445           menubar-x.c
4446
4447         * emacs.c: Added calls to *_of_menubar_mswindows()
4448
4449         * event-msw.c: Generalization of modal pump interface so it may be
4450           used bu menubars also. Some functions and vars renamed, to
4451           reflect more general approach (event_pump -> modal_loop)
4452
4453         * frame-msw.c: Initialization and marking of menu hashtable.
4454
4455         * msw-proc.c: Added handling for menu window messages.
4456
4457         * opaque.c: opaque objects given hash and equal methods, so they
4458           can be compared with 'equal. Menubar uses opaque pointers as
4459           hash keys in an 'equal style hashtable.
4460
4461         * Most of the above touched files: Eliminated compiler warnings.
4462
4463 1997-12-18  Hrvoje Niksic  <hniksic@srce.hr>
4464
4465         * elhash.c (print_hashtable): Use `%u' for fullness.
4466         (hashtable_equal): New function.
4467         (hashtable_equal_mapper): Ditto.
4468
4469         * lread.c (vars_of_lread): Initialize Vread_buffer_stream here
4470         instead of in init_lread.
4471
4472 1997-12-26  P. E. Jareth Hein  <jareth@camelot-soft.com>
4473
4474         * glyphs-x.c (imagick_instantiate): Add in error and
4475         warning handling for ImageMagick files
4476
4477 1997-12-26  SL Baur  <steve@altair.xemacs.org>
4478
4479         * Makefile.in.in (distclean): Remove `xemacs.*'.
4480
4481 1997-12-22  SL Baur  <steve@altair.xemacs.org>
4482
4483         * device.c (vars_of_device): Provide `devices' feature so W3's
4484         devices.el emulation won't bloat XEmacs.
4485
4486         * lread.c (Fload_internal): Strip path and extension when
4487         considering a file as a candidate for running after-load functions.
4488
4489 1997-12-20  Kirill M. Katsnelson <kkm@kis.ru>
4490
4491         * s/windowsnt.h: SIZEOF_SHORT set to 16 bits instead of 32, to get
4492           real.
4493
4494         * redisplay-msw.c: (many functions): FillRect replaced with
4495           ExtTextOut where possible, which is much faster.
4496           (mswindows_redisplay_deadbox_maybe): New function which fixes
4497           deadbox, a square bounded by scrollbar ends and window corner
4498           (usually the lower right corner).
4499
4500         * emacs.c (assert_failed): On Win32 platforms, when assertion
4501           fails, debugger break occurs if DEBUG_XEMACS is defined.
4502
4503         * event-msw.c (mswindows_pump_outstanding_events): Fixed so two
4504           consequtive Fsignals are not lost.
4505
4506         * scrollbar-msw.c (mswindows_update_scrollbar_instance_values):
4507           Added SBF_DISABLENOSCROLL flag so the bar is greyed out when
4508           all lines are visible.
4509           (mswindows_update_scrollbar_instance_status): Ditto for freshly
4510           assigned scrollbar.
4511
4512         * scrollbar.c (Fscrollbar_set_hscroll): Fixed fitting scroll
4513           limits into range.
4514
4515 1997-12-18  Kirill M. Katsnelson <kkm@kis.ru>
4516
4517         * events-msw.c: Added support for modal event dispatch pump.
4518           This mechanism is for scrollbars and menus.
4519
4520         * events-msw.h: Public declaration for the pump function.
4521
4522         * msw-proc.c: Pump scrollbar misc user events through the
4523           brand new pump. Pumps!
4524
4525         * scrollbar-msw.c: Minor range fixes. Added misc events for
4526           horizontal bar, which did not fix it...
4527
4528 Thu Dec 18 09:53:12 1997    <jsparkes@internetivity.com (Jeff Sparkes)>
4529
4530         * objects-msw.c (mswindows_print_color_instance): Scale 8 bit RGB
4531           components up to 16 bit X sizes.
4532         (mswindows_string_to_color): numeric colors are #RRGGBB not #BBGGRR.
4533
4534         * objects-msw.c (mswindows_color_instance_rgb_components): ditto
4535
4536         * objects.c (Fcolor_instance_rgb_components): Document range of
4537           components as 0-65535.
4538
4539 1997-12-18  SL Baur  <steve@altair.xemacs.org>
4540
4541         * doc.c (verify_doc_mapper): Fix return value and argument list
4542         for map_obarray.
4543
4544         * device-x.c: New variable -- Vx_app_defaults_directory.
4545         (x_init_device): Use locale directory searched from package-path.
4546
4547 1997-12-18  Kyle Jones  <kyle_jones@wonderworks.com>
4548
4549         * EmacsFrame.c: Added foregroundToolBarColor and
4550           foreground resources to the resources[] definition.
4551           Moved default gray8o color value from the
4552           bcakgroundToolBarCOlor resource to th background
4553           resource since the override order is now reversed in
4554           toolbar-x.c.  Don't provide a default value for the
4555           foreground resource that the toolbar code looks at.
4556
4557         * EmacsFrame.h: Define foregroundToolBarColor string
4558           for use in the resoruces code.
4559
4560         * EmacsFrameP.h: Added foreground_toolbar_pixel slot
4561           to EmacsFramePart struct.
4562
4563         * toolbar-x.c: Let the toolbar specific background
4564           resource override the global background resource.  Added
4565           support for a toolbar specific foreground resource,
4566           which is not currently used for anything internally.
4567
4568 1997-12-17  Hrvoje Niksic  <hniksic@srce.hr>
4569
4570         * redisplay.c (decode_mode_spec): Comment fixup.
4571
4572         * tooltalk.c (Freceive_tooltalk_message): Ditto.
4573
4574         * search.c (Freplace_match): Ditto.
4575
4576         * frame-x.c (x_frame_property): Ditto.
4577
4578         * console.c (Fcurrent_input_mode): Ditto.
4579
4580         * callint.c (Fcall_interactively): Ditto.
4581
4582         * abbrev.c (Fexpand_abbrev): Ditto.
4583
4584         * dired.c (file_name_completion): Use Qzero instead of
4585         make_int(0).
4586
4587         * fileio.c (Finsert_file_contents_internal): Use
4588         report_file_error() to report reading error.
4589
4590         * cmds.c (internal_self_insert): Don't self-insert if the expanded
4591         symbol's hook has a non-nil `no-self-insert' property; synch with
4592         FSF 20.2.
4593
4594         * abbrev.c (Fexpand_abbrev): Return Vlast_abbrev, like in FSF
4595         20.2.
4596
4597 1997-12-16  Hrvoje Niksic  <hniksic@srce.hr>
4598
4599         * abbrev.c (abbrev_match): User map_obarray() instead of
4600         crockishly copying it.
4601         (abbrev_match_mapper): New function.
4602         (Fexpand_abbrev): Check whether `pre-abbrev-expand-hook' has
4603         killed the buffer.
4604
4605         * symbols.c (map_obarray): Accept a void * argument.
4606         (mapatoms_1): Adapt.
4607         (apropos_accum): Use fast_lisp_string_match().
4608         (Fapropos_internal): Don't cons.
4609         (map_obarray): Stop mapping if FN returns non-zero.
4610
4611         * marker.c (unchain_marker): Guard assert() with ERROR_CHECK_GC.
4612         (bi_marker_position): Guard assert() with ERROR_CHECK_BUFPOS.
4613         (set_bi_marker_position): Ditto.
4614
4615 1997-12-15  Hrvoje Niksic  <hniksic@srce.hr>
4616
4617         * fileio.c (Finsert_file_contents_internal): Use make_int when
4618         checking for overflow.
4619         (Finsert_file_contents_internal): Use EXTERNAL_LIST_LOOP.
4620         (Ffind_file_name_handler): Ditto.
4621
4622         * dired.c (file_name_completion): Use noseeum_cons.
4623         (file_name_completion_unwind): Free the cons.
4624
4625 1997-12-16    <jsparkes@internetivity.com (Jeff Sparkes)>
4626
4627         * scrollbar.c: Add HAVE_MS_WINDOWS to scrollbar-page functions.
4628
4629         * msw-proc.c: Handle scrolling events.
4630
4631         * frame-msw.c: Initialize scrollbar width and height.  This should
4632           not be necessary, since the window shouldn't be created until
4633           init_frame_2
4634
4635         * emacs.c: Call mswindows scrolbar setup when appropriate.
4636
4637         * scrollbar-msw.c: Created for mswindows-scrollbar support.
4638
4639         * scrollbar-msw.h: Ditto.
4640
4641 1997-12-16  Kirill M. Katsnelson <kkm@kis.ru>
4642
4643         * msw-proc.c: Minor bug in the middle button emulation code
4644           exterminated.
4645
4646         * msw-proc.c: Character translation procedure reworked, so C-M-char
4647           keys now work properly. Keyboard layouts that use AltGr for
4648           third register characters are detected and handled. The code
4649           has been tested on French and UK keyboard layouts.
4650
4651         * msw-proc.c: #if 0'ed remains of threaded code are removed.
4652
4653         * event-msw.c: Mouse motion was incorrectly counted for a user event.
4654
4655         * event-msw.c: lisp variables beginnig with w32- are renamed to
4656           begin with mswindows-.
4657
4658 1997-12-15  Hrvoje Niksic  <hniksic@srce.hr>
4659
4660         * fileio.c (Finsert_file_contents_internal): Use it.
4661         (Fcopy_file): Ditto.
4662
4663         * sysdep.c (interruptible_open): New function.
4664
4665 1997-12-16  Kyle Jones  <kyle_jones@wonderworks.com>
4666
4667         * frame-x.c (x_init_frame_2): Don't call
4668           update_frame_title.  Some modeline specs depend on
4669           f->device->selected_frame being non-nil and that will
4670           not be true during initialization of the first frame on
4671           a device.
4672
4673 1997-12-16  SL Baur  <steve@altair.xemacs.org>
4674
4675         * fileio.c: clean up paren levels between ifdefs.
4676         From Hrvoje Niksic <hniksic@srce.hr>
4677
4678 1997-12-15  P. E. Jareth Hein  <jareth@camelot-soft.com>
4679
4680         * glyphs-x.c (imagick_instantiate): Remove an assumption that
4681           all machines have LSB XImage support.
4682
4683 1997-12-14  Kyle Jones  <kyle_jones@wonderworks.com>
4684
4685         * Makefile.in.in: Moved $(OFFIX_O) from x_objs to
4686           X11_objs to avoid having its initialized global
4687           variables be dumped read-only.
4688
4689 1997-12-14  SL Baur  <steve@altair.xemacs.org>
4690
4691         * offix.c (DndSetData): Use standard INT_MAX instead of MAXINT.
4692         Replace <values.h> with <limits.h>
4693
4694 1997-12-13   Kirill M. Katsnelson <kkm@kis.ru>
4695
4696         * msw-proc.c: added emulation for middle mouse button by chording
4697           left and right buttons
4698         * event-msw.c: added lisp variables for resize behavior and middle
4699           button emulation thresholds
4700         * msw-proc.c: {un}map-frame-hook now are not called directly from
4701           the window procedure, rather from magic event handler.
4702         * Formulated golden rule for calling lisp from window procedure:
4703           "NOOOOOO!". May be violated under circumstances although.
4704         * frame-msw.c: corrected problem with setting frame width and height
4705           properties, introduced by 95-style look.
4706
4707 1997-12-12  SL Baur  <steve@altair.xemacs.org>
4708
4709         * input-method-xlib.c (describe_XIC): Add casts, use unsigned long
4710         int.
4711
4712         * eval.c (funcall_subr): Ifdef out as it is now unused.
4713
4714         * emacsfns.h: Declare Fdisplay_error.
4715
4716         * callint.c (Fquote_maybe): Don't use `==' on Lisp_Objects.
4717
4718 1997-12-12  Michael Sperber  <sperber@informatik.uni-tuebingen.de>
4719
4720         * fileio.c: Removed stillborn set-buffer-modtime.
4721
4722 1997-12-10  Hrvoje Niksic  <hniksic@srce.hr>
4723
4724         * elhash.c (hashtable_instantiate): If SIZE is nil, set it to
4725         length of DATA.
4726         (print_hashtable): Would bogusly print #(hashtable).
4727         (verify_function): Use XCAR.
4728
4729 1997-12-12  Hrvoje Niksic  <hniksic@srce.hr>
4730
4731         * elhash.c (print_hashtable_data_mapper): Use a C structure
4732         instead of consing.
4733
4734 1997-12-12  Hrvoje Niksic  <hniksic@srce.hr>
4735
4736         * callint.c (quotify_arg): Don't quotify vectors, keywords,
4737         bit-vectors and lambdas.
4738         (Fquote_maybe): New subr, from quotify_arg.
4739         (quotify_args): Use it.
4740         (Fcall_interactively): Ditto.
4741
4742 1997-12-11  Hrvoje Niksic  <hniksic@srce.hr>
4743
4744         * window.c (Fset_window_point): Ditto for Fgoto_char.
4745         (Fset_window_configuration): Ditto.
4746
4747         * undo.c (Fprimitive_undo): Ditto for Fset_buffer_modified_p,
4748         Fgoto_char and Fdelete_region.
4749
4750         * print.c (temp_output_buffer_setup): Ditto.
4751
4752         * glyphs.c (make_string_from_file): Ditto.
4753
4754         * glyphs-x.c (pixmap_to_lisp_data): Ditto for Ferase_buffer.
4755         (pixmap_to_lisp_data): Ditto for Fbuffer_substring.
4756
4757         * bytecode.c (Fbyte_code): Use Qnil instead of Fcurrent_buffer()
4758         when calling functions that use decode_buffer() internally -- it
4759         is faster.
4760
4761         Change done for Fgoto_char, Fchar_after, Ffollowing_char,
4762         Fpreceding_char, Findent_to, Feolp, Feobp, Fbolp, Fbobp,
4763         Fforward_char, Fforward_word, Fskip_chars_forward,
4764         Fskip_chars_backward, Fforward_line, Fbuffer_substring,
4765         Fdelete_region, Fnarrow_to_region, Fwiden, Fend_of_line, Fupcase
4766         and Fdowncase.
4767
4768 1997-12-11 Jonathan Harris <jhar@tardis.ed.ac.uk>, Kirill M. Katsnelson <kkm@kis.ru>
4769
4770         * The first collegial patch in the xemacs-nt history. Well...
4771         * device-msw.c, event-msw.c, event-msw.h, frame-msw.c, msw-proc.c:
4772           xemacs is now single-threaded application. Due to this, the
4773           problem with crash during input events in GC got resolved.
4774         * xemacs frames are given "95ish" look with raised border.
4775         * stop character (ctrl+g) now works. SIGINT (ctrl+c or ctrl+break
4776           at the console) is still broken although.
4777         * frame "as lisp object" is now stored in window-associated space
4778           provided by the system. This enables obtaining frame object given
4779           window handle in constant time.
4780         * mswindows_cancel_dispatch_event() now has limited handling
4781           for key_press_event's in addition to timeout_event's.
4782
4783 1997-12-11  SL Baur  <steve@altair.xemacs.org>
4784
4785         * intl.c (init_intl_very_early): Force LC_NUMERIC to "C".
4786         * input-method-xfs.c (Initialize_Locale): Ditto.
4787         * input-method-motif.c (Initialize_Locale): Ditto.
4788         * input-method-xlib.c (Initialize_Locale): Ditto.
4789         Suggested by Didier Verna <didier@xemacs.org> and
4790         Martin Buchholz <martin@xemacs.org>
4791
4792 1997-12-10  Karl M. Hegbloom  <karlheg@bittersweet.inetarena.com>
4793
4794         * config.h.in: #undef MAGICK_HEADERS_ARE_UNDER_X11
4795
4796         * glyphs-x.c: #ifdef MAGICK_HEADERS_ARE_UNDER_X11 added.
4797
4798 1997-12-11  SL Baur  <steve@altair.xemacs.org>
4799
4800         * glyphs-x.c (_XOS_H_): Try to avoid including Xos.h on Solaris.
4801         Suggested by Samuel Tardieu <sam@inf.enst.fr>
4802
4803 1997-12-11  David Hobley <davidh@wr.com.au>
4804
4805         * pure.c: Removed WINDOWSNT conditional.
4806
4807 1997-12-10  SL Baur  <steve@altair.xemacs.org>
4808
4809         * Makefile.in.in: Doc changes, update dependencies.
4810
4811         * frame-x.c (x_init_frame_1): Remove unused variable.
4812
4813         * fns.c (internal_equal): Guard label with ifdef.
4814         (internal_old_equal): Ditto.
4815
4816         * symsinit.h: Declare structure_type_create_hashtable.
4817
4818         * elhash.c (finish_marking_weak_hashtables): Move unused variable
4819         so gcc doesn't complain about it.
4820
4821         * elhash.h: Declare new weak hashtables.
4822
4823         * elhash.c (print_hashtable): Fix format.
4824
4825 1997-12-10  Hrvoje Niksic  <hniksic@srce.hr>
4826
4827         * frame-tty.c (tty_raise_frame_no_select): Use LIST_LOOP.
4828         (tty_lower_frame): Ditto.
4829
4830         * faces.c (face_validate): Don't check for doubly defined
4831         keywords; the reader does that.
4832
4833         * emacs.c (main_1): Call structure_type_create_hashtable().
4834
4835         * general.c (syms_of_general): Added Qtest and Qsize.
4836
4837         * elhash.c (structure_type_create_hashtable): New function.
4838         (hashtable_type_validate): Ditto.
4839         (hashtable_test_validate): Ditto.
4840         (hashtable_size_validate): Ditto.
4841         (hashtable_data_validate): Ditto.
4842         (hashtable_instantiate): Ditto.
4843
4844         * extents.c (extent_putprop): Made it work.
4845         (extent_remprop): Ditto.
4846
4847 1997-12-08  Kirill M. Katsnelson <kkm@kis.ru>
4848
4849         * device.h: device::fdin and device::fdout are now defined for
4850           systems which do not HAVE_UNIXOID_EVENT_LOOP.
4851         * device-tty.c, process.c, signal.c: call to signal_fake_event()
4852           bracketed out by #ifdef HAVE_UNIXOID_EVENT_LOOP / #endif
4853           directives.
4854         * signal.c: For Win32 systems, longjmp in signal handler excluded
4855         * nt.c, syssignal.h, systime.h: emulation for SIGALRM and SIGPROF
4856           and setitimer for Win32 platforms. Profiling now works.
4857         * emacs.c: calls to syms_of_profile and vars_of_profile enabled
4858           on Win32 platforms.
4859         * ntproc.c: handling of SIGCHLD now done by the common signal
4860           faking mechanism. (To no avail - subprocesses still broken)
4861         * s/windowsnt.h: Signal constants added
4862         * redisplay-msw.c: "Sticky" beep which blocked XEmacs until the
4863           sound finishes is now repaired
4864
4865 1997-12-06  Jonathan Harris <jhar@tardis.ed.ac.uk>
4866
4867         * frame-msw.c, msw-proc.c
4868           Further changes to resizing code so that changing default
4869           font, either in .emacs or later, works properly.
4870
4871         * msw-proc.c
4872           Minor optimization: Mouse movement events aren't generated
4873           while the user is resizing the frame.
4874           Function keys are returned lower-case.
4875
4876 1997-12-09  P. E. Jareth Hein  <jareth@camelot-soft.com>
4877
4878         * glyphs-x.c (imagick_instantiate): fix it so that it works
4879         properly for PseudoClass files.  Still needs some thinking for
4880         full color...  Also added support for old image instantiators
4881         in various places using the OLDCOMPAT define
4882
4883 1997-12-08  Kyle Jones  <kyle_jones@wonderworks.com>
4884
4885         * event-stream.c (Faccelerate_menu): Check for the
4886           existence of a menubar associated with the selected frame
4887           before trying to use it.  Signal an error if there is
4888           no menubar.
4889
4890 1997-12-06  P E Jareth Hein  <jareth@camelot-soft.com>
4891
4892         * device-x.c: Change -privcmap to -privatecolormap.
4893         * events.c: corret minor think-o.
4894
4895 1997-12-04 Jonathon Harris <jhar@tardis.ed.ac.uk>
4896
4897         * event-msw.c, faces.c, msw-proc.c:
4898           Frame resizing happens in multiples of the default character    size.
4899         * frame-msw.c:
4900           mswindows_set_frame_size() and
4901           mswindows_set_frame_properties() now call AdjustWindowRect to
4902           set the correct window size.
4903
4904 1997-12-04  Jeff Sparkes <jsparkes@internetivity.com>
4905
4906         * frame-msw.c: added frame functions for move, resize,
4907          iconify, raise, lower, visible_p, iconified_p, focus,
4908          make visible, make invisible, set title.
4909
4910 1997-12-01  Jonathon Harris <jhar@tardis.ed.ac.uk>
4911
4912         * event-msw.c, event-msw.h, frame-msw.c, msw-proc.c:
4913           - Implemeted simple emacs_mswindows_event_pending_p().
4914           - Fixed deleting frames.
4915           - Rewrote timeout code, eliminating "!NILP(rest)" bug.
4916           - Special processing for 'Ctrl-@' keystroke.
4917           - Support for some new keysyms.
4918
4919 1997-12-03  Hrvoje Niksic  <hniksic@srce.hr>
4920
4921         * lstream.c (make_stdio_stream_1): Set it.
4922         (make_filedesc_stream_1): Ditto.
4923         (finalize_lstream): Use it.
4924
4925         * lstream.h: New flag LSTREAM_FL_CLOSE_AT_DISKSAVE.
4926
4927 1997-11-29  Jeff Miller <jmiller@smart.net>
4928
4929         * menubar-x.c: define restore_in_menu_callback() when motif
4930           menubars are used.
4931
4932         * menubar-x.c: change #ifdef LWLIB_MENUBARS_MOTIF to
4933           #if defined LWLIB_MENUBARS_LUCID || defined LWLIB_MENUBARS_MOTIF
4934           around code for incremental menu build.
4935
4936         * event-stream.c: Changed HAVE_MENUBARS to HAVE_MENUBARS_LUCID in
4937           the #ifdef wrappers around menubar accelerator stuff.
4938
4939 1997-12-05  SL Baur  <steve@altair.xemacs.org>
4940
4941         * keymap.h: update describe_map_tree prototype
4942
4943 1997-12-03  Hrvoje Niksic  <hniksic@srce.hr>
4944
4945         * lstream.c (make_stdio_stream_1): Set it.
4946         (make_filedesc_stream_1): Ditto.
4947         (finalize_lstream): Use it.
4948
4949         * lstream.h: New flag LSTREAM_FL_CLOSE_AT_DISKSAVE.
4950
4951 1997-12-03  Hrvoje Niksic  <hniksic@srce.hr>
4952
4953         * editfns.c (save_excursion_restore): Fix comment.
4954
4955         * fns.c (Fmapvector): GCPRO the vector.
4956
4957 1997-12-01  Hrvoje Niksic  <hniksic@srce.hr>
4958
4959         * cmdloop.c (default_error_handler): Respect
4960         errors-deactivate-region; use display-error.
4961
4962         * editfns.c (vars_of_editfns): New variable user-full-name.
4963         (init_editfns): Initialize it.
4964         (Fuser_full_name): Use it.
4965         (vars_of_editfns): Docfixes.
4966
4967         * dired.c (Fdirectory_files): Use FORMAT_FILENAME instead of
4968         FORMAT_BINARY.
4969         (make_directory_hash_table): Ditto.
4970         (file_name_completion): Bind `completion-ignore-case' to t under
4971         MS Windows.
4972         (file_name_completion): Signal an error if a member of
4973         `completion-ignored-extensions' is not a string.
4974
4975 1997-11-30  Hrvoje Niksic  <hniksic@srce.hr>
4976
4977         * doc.c (Fsubstitute_command_keys): Don't use
4978         Vprin1_to_string_buffer.
4979
4980         * keymap.c (describe_map_tree): Accept a BUFFER argument.
4981         (describe_map): Ditto.
4982         (describe_command): Ditto.
4983
4984 1997-11-29  Hrvoje Niksic  <hniksic@srce.hr>
4985
4986         * insdel.c (signal_before_change): Don't treat
4987         Vprin1_to_string_buffer specially.
4988         (signal_after_change): Ditto.
4989
4990         * buffer.c (Fkill_buffer): Don't treat Vprin1_to_string_buffer
4991         specially.
4992         (complex_vars_of_buffer): Ditto.
4993
4994         * print.c (Ferror_message_string): Use Vprin1_to_string_stream.
4995
4996         * events.c (Fmake_event): Changed error message.
4997
4998         * print.c (Fprin1_to_string): Use a resizing-buffer stream.
4999
5000 1997-12-03  Hrvoje Niksic  <hniksic@srce.hr>
5001
5002         * buffer.c (Fkill_buffer): Use EXTERNAL_LIST_LOOP.
5003         (Fget_file_buffer): Use LIST_LOOP.
5004
5005 1997-12-02  Hrvoje Niksic  <hniksic@srce.hr>
5006
5007         * editfns.c (save_excursion_save): Don't save VISIBLE-P.
5008         (save_excursion_restore): Changed accordingly.
5009         (save_excursion_restore): Free the markers and conses even if the
5010         buffer is dead.
5011         (save_restriction_restore): Use XCAR/XCDR.
5012         (Fencode_time): Use XCAR/XCDR, when safe.
5013
5014         * menubar.c (Fnormalize_menu_item_name): Use INC_CHARPTR; allow
5015         `%%' to mean `%'.
5016
5017         * minibuf.c (regexp_ignore_completion_p): Use EXTERNAL_LIST_LOOP;
5018         check type of list elements.
5019
5020         * dired.c (file_name_completion): Set up a proper unwind form.
5021         (file_name_completion_unwind): New function.
5022         (file_name_completion): Allow errors.
5023
5024         * line-number.c (invalidate_line_number_cache): Would lose in
5025         precence of Finsert_before_markers.
5026         (narrow_line_number_cache): Only mark LINE_NUMBER_BEGV as dirty.
5027         (buffer_line_number): Recalculate LINE_NUMBER_BEGV on demand.
5028         (buffer_line_number): Would ignore LINE_NUMBER_FAR.
5029
5030 1997-12-01  Hrvoje Niksic  <hniksic@srce.hr>
5031
5032         * fns.c (Fmapvector): Don't stack-allocate args; allocate the
5033         vector and call mapcar1 with its data.
5034
5035 1997-12-02  P E Jareth Hein  <jareth@camelot-soft.com>
5036
5037         * objects-x.c: Added colormap/visual support, rewrote
5038         allocate_nearest_color, and changed the x-color-instance to deal
5039         with possibly not freeing a color.
5040
5041         * objects-x.h: Added dealloc_on_gc flag for x-color-instances.
5042
5043         * redisplay-x.c: Added colormap/visual support.
5044
5045         * balloon-x.c: Added colormap/visual support.
5046
5047         * console-x.h: Added colormap/visual support by adding visual,
5048         depth and colormap slots to a device.
5049
5050         * device-x.c: Added colormap/visual support with the command line
5051         options "-privcmap" and "-visual" and Xresources
5052         ".privateColormap" and ".EmacsVisual".  Also changed the
5053         device-init so that the app-shell is always realized to properly
5054         deal with GCs (previously only realized when OFFIX was
5055         supported), and added the x-display-visual-depth lisp function to
5056         complement x-display-visual-class.
5057
5058         * event-Xt.c: Added colormap/visual support, and stuck in a
5059         patch/hack to change the way Xt inherits visuals to match the way
5060         it inherits colormaps.
5061
5062         * frame-x.c: Added colormap/visual support.
5063
5064         * glyphs-x.c: Added colormap/visual support. Will probably need a
5065         lot more work.
5066
5067 1997-11-27  Kyle Jones  <kyle_jones@wonderworks.com>
5068
5069         * src/keymap.c (munging_key_map_event_binding): Don't do
5070           the meta char hack when processing key-translation-map.
5071           Return nil if the map to be processed (function-key-map
5072           or key-translation-map) is not a keymap.
5073
5074 1997-11-27  SL Baur  <steve@altair.xemacs.org>
5075
5076         * device-msw.c: Turn on italic flag if appropriate
5077         * objects-msw.c: Set device-class to color.
5078         From Jeff Sparkes <jsparkes@internetivity.com>
5079
5080         * glyphs-x.c: Should include <magick/magick.h> since that is what
5081         is autodetected by configure.
5082
5083 1997-11-26  SL Baur  <steve@altair.xemacs.org>
5084
5085         * events.c (Fmake_event): correct type bug.
5086         From Colin Rafferty <craffert@ml.com>
5087
5088 1997-11-26  Kyle Jones  <kyle_jones@wonderworks.com>
5089
5090         * lisp-disunion.h (VALMASK): Use 1UL instead of 1L to
5091           shut up Sun's niggling compiler warnings about integer
5092           overflow.
5093
5094         * print.c (Fprin1_to_string): Don't change and
5095           restore the current buffer; no buffer change is needed
5096           to accomplish the task.
5097
5098 1997-11-23  Jeff Miller <jmiller@smart.net>
5099
5100         * Makefile.in.in  removed energize support
5101         * buffer.c        removed energize support
5102         * config.h.in     removed energize support
5103         * console-x.h     removed energize support
5104         * doc.c           removed energize support
5105         * emacs.c         removed energize support
5106         * extents.c       removed energize support
5107         * extents.h       removed energize support
5108         * frame-x.c       removed energize support
5109         * gui-x.c         removed energize support
5110         * menubar-x.c     removed energize support
5111         * process.c       removed energize support
5112         * puresize.h      removed energize support
5113         * symsinit.h      removed energize support
5114         * sysproc.h       removed energize support
5115         * syssignal.h     removed energize support
5116         * undo.c          removed energize support
5117         * window.c        removed energize support
5118
5119         * energize.c      removed
5120         * energize.h      removed
5121
5122 1997-11-23  Kyle Jones  <kyle_jones@wonderworks.com>
5123
5124         * faces.c (face_property_was_changed): Don't call
5125           update_faces_inheritance, it isn't needed.
5126
5127 1997-11-22  Kyle Jones  <kyle_jones@wonderworks.com>
5128
5129         * redisplay-x.c (x_flash): Flash the root window
5130           area instead of the entire frame area.
5131
5132         * frame.h: Added echo_area_garbaged field to frame
5133           struct.
5134
5135         * frame.c (change_frame_size_1): Set the
5136           echo_area_garbaged flag in a frame that has been
5137           resized.
5138
5139         * redisplay.c (redisplay_frame): Clear echo_area_garbaged
5140           flag on frame after displaying the frame.
5141
5142           (Fredisplay_echo_area): Clear echo_area_garbaged
5143           flag on frame after displaying in echo area.
5144
5145         * redisplay.c: Added hscroll_glyph_width_adjust field
5146           to position_redisplay_data_type struct.
5147
5148           (add_hscroll_rune): Compute the difference in width
5149           between the hscroll glyph and a canonical space; store
5150           it in data->hscroll_glyph_width_adjust.
5151
5152           (create_text_block): In tab field computation, adjust
5153           left margin to account for the difference between the
5154           width of the hscroll glyph and the width of a canonical
5155           space.
5156
5157 1997-11-19  Kyle Jones  <kyle_jones@wonderworks.com>
5158
5159         * Emacs.ad: Change uses of Gray75 to Gray80.
5160           Don't set modeline colors here.
5161
5162         * EmacsFrame.c: Fetch "background" resource for use by
5163           the toolbar initialization code; default this fetched
5164           value to -1 if it is unspecified, which is different
5165           from what is found in ef->core.background_pixel in that
5166           case.
5167
5168         * EmacsFrame.h: Define macros for "Background" and
5169           "background" resource strings.
5170
5171         * EmacsFrameP.h: Added background_pixel field to
5172           EmascFrmaePart struct.
5173
5174         * toolbar-x.c (x_initialize_frame_toolbar_gcs): Added
5175           code to use the global background resource as the
5176           toolbar background color if it is sepcified. Otherwise
5177           fall back to the backgroundToolBarColor resource.
5178
5179 1997-11-17  Marc Paquette  <marcpa@cam.org>
5180
5181         * callproc.c (Fcall_process_internal): Fix for bug in
5182         CRLF -> LF conversion.
5183
5184 1997-11-19  Jonathan Harris <jhar@tardis.ed.ac.uk>
5185
5186         * redisplay-msw.c: Calls GdiFlush() in _ouput_end, _clear_frame and
5187         _redraw_exposed_area
5188
5189         * frame-msw.c: mswindows_init_frame_2
5190           Sets frame's pixel width and height
5191
5192 1997-11-19  Kyle Jones  <kyle_jones@wonderworks.com>
5193
5194         * callproc.c (call_process_cleanup): Actaully wait
5195           for the process, rather than not doing it and saying we
5196           did.
5197
5198 1997-11-20  Hrvoje Niksic  <hniksic@srce.hr>
5199
5200         * callproc.c (Fcall_process_internal): Close fd_error.
5201
5202 1997-11-19  Didier Verna  <didier@xemacs.org>
5203
5204         * emacs.c (main_1): Added the missing argmatch call to check
5205         for the '-h' option.
5206
5207 1997-11-18  SL Baur  <steve@altair.xemacs.org>
5208
5209         * mule-coding.h: Replace freshly broken ENCODE_SJIS and
5210         DECODE_SJIS macros with working versions from beta4.
5211
5212 1997-11-17  Kyle Jones  <kyle_jones@wonderworks.com>
5213
5214         * frame-x.c (x_init_frame_1): Set frame visibility
5215           flag to 1 immediately so that echo area message are
5216           displayed in it promptly.
5217
5218         * redisplay.c (Fredisplay_echo_area): If frame has
5219           changed, clear it to avoid garbled messages.
5220
5221         * window.c (set_window_pixsize): Restore the bail out
5222           if no size change, but do it after the loop that recomputers
5223           major child corner coordinates.
5224
5225         * keymap.c (describe_map_mapper): Recognize the
5226           buttonXup keysyms as mouse bindings.
5227
5228 1997-11-17  Tor Arntsen <tor@spacetec.no>
5229
5230         * Makefile.in.in (update-elc.stamp): Add temacs to dependency.
5231
5232 1997-11-16  Kyle Jones  <kyle_jones@wonderworks.com>
5233
5234         * Added suport for toolbar borders.
5235
5236         * EmacsFrame.c: Added X resources for new toolbar
5237            borders.
5238
5239            (EmacsFrameSetValues): Added Fadd_spec_to_specifier
5240            calls to move resourced toolbar border width data
5241            into the speciifers.
5242
5243         * EmacsFrame.h: Defined X resource strings for
5244            toolbar border width resources.
5245
5246         * EmacsFrameP.h: Added toolbar border width fields
5247            to the EmacsFramePart struct.
5248
5249         * console.h: Added toolbar_border_width_changed_in_frame_method
5250            field to struct console.
5251
5252         * events.c (event_x_y_pixel_internal):  Factor the
5253            toolbar border into pixel offset.
5254
5255         * frame.c: Document new toolbar border width
5256            speciifer as being usable as frame properties.
5257
5258            (frame_conversion_internal): Factor the toolbar border
5259            widths into the geometry calculations.
5260
5261            (change_frame_size_1): Ditto.
5262
5263         * frame.h: Added field to struct frame for toolbar
5264            border widths.  Modified geomtry macros and created
5265            others in support of the new toolbar border widths.
5266
5267         * frameslot.h: Added a default_toolbar_border_width
5268            slot.
5269
5270         * redisplay-x.c (x_clear_frame): Factor the toolbar
5271            border widths into the geometry calculations.
5272
5273         * toolbar-x.c (x_draw_blank_toolbar_button): Add
5274            support for drawing a border along with the blank
5275            button.  Accept border_width and vertical args.
5276
5277            (x_output_toolbar_button): Added support for drawing a
5278            border along with the button.
5279
5280            (X_OUTPUT_BUTTONS_LOOP): Pass border_width and vert
5281            args to x_draw_blank_toolbar_button.  Set vertical and
5282            border_width fields in toolbar button.
5283
5284            (x_output_toolbar): Support toolbar border widths.
5285
5286            (x_toolbar_size_changed_in_frame_1): Mark all toolbar
5287            buttons in the change toolbar as dirty so that they
5288            are refreshed if had been painted over.
5289
5290            New function: x_toolbar_border_width_changed_in_frame.
5291            Used it as a console method.
5292
5293         * toolbar.c: New function: mark_frame_toolbar_buttons_dirty.
5294
5295            New function: toolbar_border_width_changed_in_frame.
5296            Used it as a specifier frame slot change method.
5297
5298            (get_toolbar_coords): Factor the toolbar border
5299            widths into the geometry calculations.
5300
5301            (Fset_default_toolbar_position): Update the fallback
5302            border width specifiers for the affected toolbar
5303            positions.
5304
5305            (specifier_vars_of_toolbar): Added specifiers for the
5306            toolbar border widths.
5307
5308         * toolbar.h: Added vertical and border_width field
5309            to the toolbar button struct.
5310
5311         * window.h: Added default_toolbar_border_width slot
5312            to window struct, along with four slots for the four
5313            window local toolbar border width values.
5314
5315 1997-11-16  Kyle Jones  <kyle_jones@wonderworks.com>
5316
5317         * frame-x.c: Fixed typo in the documentation of the
5318           top-toolbar-shadow-color frame property.
5319
5320 1997-11-16  Skip Montanaro  <skip@calendar.com>
5321
5322         * redisplay.c: suppress buffer computation in several places if
5323         MULE is not defined.
5324
5325 1997-11-16  Hrvoje Niksic  <hniksic@srce.hr>
5326
5327         * events.c (print_event): Use `event-x-pixel' and `event-y-pixel',
5328         to be consistent with `make-event' and `event-properties'.
5329         (Fmake_event): Allow nil dnd-data.
5330
5331 1997-11-15  Jonathan Harris  <jhar@tardis.ed.ac.uk>
5332
5333         * console.h
5334           mswindows is now a window-system according to
5335           CONSOLE_TYPESYM_WIN_P
5336
5337         * device.msw.c
5338           Now calls init_baud_rate & init_one_device
5339
5340         * msw-proc.c
5341           Fixed C-key so key is returned unshifted
5342
5343         * redisplay-msw.c
5344           Modeline and vertical divider appearance tweaks
5345
5346
5347 1997-11-14  SL Baur  <steve@altair.xemacs.org>
5348
5349         * console.c (Fsuspend_emacs): Fix docstring.  Evaluating
5350         `suspend-hook' cannot stop suspension.
5351
5352 1997-11-14  Marc Paquette  <marcpa@cam.org>
5353
5354         * callproc.c (Fcall_process_internal): Do CRLF -> LF
5355         conversion when reading process output.
5356
5357 1997-11-14  Hrvoje Niksic  <hniksic@srce.hr>
5358
5359         * redisplay.c (init_redisplay): Handle not having DISPLAY and not
5360         having TTY support.
5361
5362 1997-11-14  Hrvoje Niksic  <hniksic@srce.hr>
5363
5364         * events.c (Fmake_event): Support DND events.
5365
5366 1997-11-10  Hrvoje Niksic  <hniksic@srce.hr>
5367
5368         * events.c (Fmake_event): Reenable the event creation code.
5369         (Fmake_event): Canonicalize the plist.
5370
5371 1997-11-13  SL Baur  <steve@altair.xemacs.org>
5372
5373         * mule-charset.c (Fcharset_id): Typecast result to Lisp_Object.
5374
5375         * mule-ccl.c (CCL_WRITE_STRING): Reorder parens to avoid compiler
5376         barf on Lisp_Object.
5377         (Fregister_ccl_program): Remove unused variable idx.
5378
5379         * mule-canna.c: Fix declaration of mule_strlen().
5380
5381         * mule-coding.h (ENCODE_SJIS): Parenthesize first two params to
5382         avoid compilation problems.
5383
5384 1997-11-13  Olivier Galibert  <olivier.galibert@mines.u-nancy.fr>
5385
5386         * mule-charset.h: Added preliminary support for charset Ids.
5387
5388         * mule-charset.c: Added preliminary support for charset Ids.
5389
5390         * redisplay-msw.c (separate_textual_runs): Synched with FSF 20.2
5391         ccl API.
5392
5393         * redisplay-x.c (separate_textual_runs): Synched with FSF 20.2 ccl
5394         API.
5395
5396         * mule-coding.c: Synched with FSF 20.2 ccl API.
5397
5398         * mule-coding.h: Moved ccl part to mule-ccl.h.
5399
5400         * mule-ccl.c: Synched with FSF 20.2.
5401
5402         * mule-ccl.h: New file.
5403
5404 Thu Nov 13 21:34:13 1997  Marc Paquette  <marcpa@cam.org>
5405
5406         * nt.c (REG_ROOT): Use a registry key different that the one for
5407         NTEmacs.
5408
5409 1997-11-12  SL Baur  <steve@altair.xemacs.org>
5410
5411         * lrecord.h: Fix typo in set_lheader_implementation.
5412         From: Robert Pluim <Robert_Pluim@BayNetworks.COM>
5413
5414 1997-11-13  Olivier Galibert  <galibert@renaissance.loria.fr>
5415
5416         * configure.in:  Remove HAVE_TIMEZONE_DECL test.
5417
5418 1997-11-13  Olivier Galibert  <galibert@renaissance.loria.fr>
5419
5420         * s/freebsd.h: Remove HAVE_TIMEZONE_DECL forced value.
5421
5422         * config.h.in: Remove HAVE_TIMEZONE_DECL reference.
5423
5424         * systime.h: Remove timezone conditional declaration.
5425
5426 1997-11-12  Kyle Jones  <kyle_jones@wonderworks.com>
5427
5428         * console.c: Use symbol_value_forward_lheader_initializer
5429           in various DEFVAR* macros.  Forgot this in previous
5430           related patch.
5431
5432         * lisp-disunion.h: Provide a no-op XUNMARK macro for
5433           the GC error checking code even if GCMARKBITS is not
5434           greater than 0.
5435
5436         * lisp-union.h: Ditto.
5437
5438 1997-11-10  Hrvoje Niksic  <hniksic@srce.hr>
5439
5440         * event-stream.c: Make echo_keystrokes a Lisp_Object.
5441         (maybe_echo_keys): Adapt to that.
5442
5443 1997-11-11  SL Baur  <steve@altair.xemacs.org>
5444
5445         * eval.c (throw_or_bomb_out): Remove abort.
5446         Suggested by: Kyle Jones  <kyle_jones@wonderworks.com>
5447
5448 1997-11-11  Kyle Jones  <kyle_jones@wonderworks.com>
5449
5450         * Added support for referencing lrecord_implementations
5451           via an index in an lrecord_header rather than a raw
5452           pointer.  Also added a mark bit and a pure bit.
5453
5454         * alloc.c: Made lrecord_type_index() and
5455            lrecord_implementations_table[] global, previously they
5456            were static.  Used new XRECORD_LHEADER_IMPLEMENTATION
5457            and LHEADER_IMPLEMENTATION macros to access
5458            lrecord_implementations found in Lisp_Objects and
5459            lrecord_headers instead of referencing ->implementation.
5460
5461            (gc_record_type_p): For USE_INDEXED_LRECORD_IMPLEMENTATION,
5462            there's no need to check for equality to type or type + 1.
5463            lrecords are no longer marked by incrementing the
5464            implementation pointer.
5465
5466            (init_alloc_once_early): Initialized subr and
5467            symbol_value_forward lrecord indexes early so that the
5468            staticly defined subrs and symbol_value_forward object
5469            indexes match the lrecord_implementations_table.
5470
5471         * buffer.c: Used symbol_value_forward_lheader_initializer in
5472            various DEFVAR* macros.  Used new XRECORD_LHEADER_IMPLEMENTATION
5473            macro.
5474
5475         * elhash.c: Used new XRECORD_LHEADER_IMPLEMENTATION
5476            macro.
5477
5478         * fns.c: Used new XRECORD_LHEADER_IMPLEMENTATION macro.
5479
5480         * lisp.h: Defined subr_lheader_initializer macro, used it in
5481            DEFUN macro.
5482
5483         * lrecord.h: For USE_INDEXED_LRECORD_IMPLEMENTATION,
5484            changed lrecord_header to contain an index into
5485            lrecord_implementations_table[], plus a mark bit and a pure
5486            bit.  Added support code for this.  Defined new
5487            XRECORD_LHEADER_IMPLEMENTATION and LHEADER_IMPLEMENTATION
5488            macros to be used to find the lrecord_implementation
5489            of a Lisp_Object.
5490
5491         * print.c: Used new XRECORD_LHEADER_IMPLEMENTATION and
5492            LHEADER_IMPLEMENTATION macros.
5493
5494         * symbols.c: Used symbol_value_forward_lheader_initializer in
5495            definition of guts_of_unbound_marker.
5496
5497         * symeval.h: Defined symbol_value_forward_lheader_initializer
5498            macro.  Used symbol_value_forward_lheader_initializer in various
5499            macros.  Used new XRECORD_LHEADER_IMPLEMENTATION macro.
5500
5501
5502 1997-11-10  SL Baur  <steve@altair.xemacs.org>
5503
5504         * window.c (set_window_pixsize): Remove unused variable.
5505
5506         * extents.c (print_extent_1): Fix type check error in sprintf.
5507
5508         * doc.c (Fsnarf_documentation): Remove unused label weird_function.
5509
5510         * symsinit.h: Restore declaration of vars_of_dialog_x.
5511
5512         * database.c (Fopen_database): Fix unused variable message.
5513
5514         * sysdep.c (sys_subshell): vfork() is a demented, obsolete hack.
5515
5516         * offix.c (struct): Make ImageData, MaskData be unsigned char *.
5517
5518         * event-Xt.c (x_event_to_emacs_event): Clean up typecasting.
5519         * frame-x.c (Foffix_start_drag_internal): Ditto.
5520
5521 1997-11-09  Kyle Jones  <kyle_jones@wonderworks.com>
5522
5523         * extents.c (print_extent_1): Use %lx instead of %p
5524           to get the same output on all compilers.
5525
5526 1997-11-09  Hrvoje Niksic  <hniksic@srce.hr>
5527
5528         * line-number.c: Use markers.
5529
5530         * redisplay.c (window_line_number): Restored.
5531
5532         * line-number.c (allocate_line_number_cache): Account for
5533         narrowing.
5534         (buffer_line_number): New function.
5535
5536         * line-number.c (get_nearest_line_number): New function.
5537         (window_line_number): Use it.
5538         (narrow_line_number_cache): New function.
5539         (invalidate_line_number_cache): Ditto.
5540         (insert_invalidate_line_number_cache): Ditto.
5541         (delete_invalidate_line_number_cache): Ditto.
5542         (add_line_number): Ditto.
5543
5544         * editfns.c (widen_buffer): Update line number cache.
5545         (Fnarrow_to_region): Ditto.
5546         (save_restriction_restore): Ditto.
5547
5548         * insdel.c (buffer_insert_string_1): Invalidate cache for
5549         insertion.
5550         (buffer_delete_range): Invalidate cache for deletion.
5551
5552         * line-number.c: New file.
5553         (window_line_number): Moved from redisplay.c.
5554
5555         * print.c (debug_print): Print a carriage return, too.
5556
5557         * bufslots.h: New slot `line_number_cache'.
5558
5559 1997-11-09  Kyle Jones  <kyle_jones@wonderworks.com>
5560
5561         * event-stream.c: New Lisp variable:  last-command-event-time.
5562
5563 1997-11-08  SL Baur  <steve@altair.xemacs.org>
5564
5565         * lread.c (init_lread): start from lisp, not lisp/prim.
5566
5567         * Makefile.in.in: lisp/prim does exist any more.
5568
5569 1997-11-07  Kyle Jones  <kyle_jones@wonderworks.com>
5570
5571         * abbrev.c (abbrev_lookup): Don't delete dash at the
5572           abbrev start location; abbrev-prefix-mark no longer
5573           inserts one.
5574
5575 Wed November 05 23:40:00 1997 <jhar@tardis.ed.ac.uk>
5576
5577         * fileio.c: insert-file-contents-internal
5578           Added a bodge to do CRLF->LF conversion of text files,
5579           conditioned on DOS_NT. This is currently only one-way, so all
5580           text files written by XEmacs will be UNIXified. CRLF conversion
5581           is required to make bytecompile work.
5582
5583         * Added file headers to:
5584           console-w32.c, console-w32.h,
5585           device-w32.c, event-w32.c, event-w32.h, frame-w32.c,
5586           objects-w32.c, objects-w32.h, redisplay-w32.c, w32-proc.c
5587
5588 Sun November 01 12:00:00 1997 <jhar@tardis.ed.ac.uk>
5589
5590         * redisplay-x.c: x_output_vertical_divider:
5591           If HAVE_SCROLLBARS was not defined, coordinate of the right of
5592           the divider was being used unitialised.
5593
5594         * console.h: Added Qw32 and CONSOLE_W32* macros, conditioned on
5595           HAVE_W32GUI.
5596
5597         * emacs.c: Added calls to the following, conditioned on HAVE_W32GUI:
5598           syms_of_*_w32, vars_of_*_w32, console_type_create_*w32.
5599
5600         * event-stream.c: Conditioned on HAVE_W32GUI:
5601           - vars_of_event_stream calls vars_of_event_w32.
5602           - init_event_stream calls init_event_w32_late.
5603
5604         * events-mod.h: Removed comment about having alternative making
5605           MOD_* constants for different windowing systems.
5606
5607         * events.c: Conditioned on HAVE_W32GUI:
5608           - event-equal: Added case for w32 magic events.
5609           - event-hash: Added case for w32 magic events.
5610
5611         * events.h: Conditioned on HAVE_W32GUI:
5612           Added struct underlying_w32_event to magic_data.
5613
5614         * faces.c: complex_vars_of_faces
5615           Added fallbacks for w32 faces, conditioned on HAVE_W32GUI.
5616
5617         * frame.c: set-frame-properties
5618           Added reference to default-w32-frame-plist to docstring.
5619
5620         * general.c: Added new Lisp_Object Qw32 and defsymbol.
5621
5622         * redisplay-output.c: redisplay_update_line
5623           Conditioned reference to stupid_vertical_scrollbar_drag_hack on
5624           HAVE_X_WINDOWS. This will need a proper fix when w32 gets
5625           scrollbars.
5626
5627         * redisplay-tty.c: init_tty_for_redisplay
5628           Conditioned blocking and unblocking of SIGTTOU on !WIN32 because
5629           these signals don't exist under win32.
5630
5631         * redisplay.c: init_redisplay
5632           Initialise window system to w32, conditioned on HAVE_W32GUI.
5633
5634         * symsinit.h: Added syms_of_*_w32, vars_of_*_w32 and
5635           init_event_w32_late.
5636
5637         * sysdep.c: Conditioned various things on WIN32 in addition to
5638           MSDOS.
5639
5640         * New files:
5641           console-w32.c, console-w32.h,
5642           device-w32.c, event-w32.c, event-w32.h, frame-w32.c,
5643           objects-w32.c, objects-w32.h, redisplay-w32.c, w32-proc.c
5644
5645 1997-11-07  Hrvoje Niksic  <hniksic@srce.hr>
5646
5647         * doc.c (Fdocumentation_property): GCPRO doc.
5648         (Fsubstitute_command_keys): Disallow zero bsize.
5649
5650 1997-11-06  Hrvoje Niksic  <hniksic@srce.hr>
5651
5652         * events.c (Fevent_modeline_position): Return nil if event is not
5653         over modeline, as the docstring says.
5654
5655 1997-11-05  Martin Buchholz  <Martin Buchholz <martin@xemacs.org>>
5656
5657         * s/aix3-1.h: Remove ^L character wich confuses AIX make.
5658
5659 1997-11-06  Tomasz Cholewo  <tjchol01@mecca.spd.louisville.edu>
5660
5661         * event-stream.c (Fnext_command_event): Document keystroke echoing.
5662
5663 1997-11-06  Hrvoje Niksic  <hniksic@srce.hr>
5664
5665         * fns.c (Ffeaturep): Use call1, to prevent stack thrashing with
5666         circular lists.
5667         - Update docstring.
5668
5669 1997-11-06  Kyle Jones  <kyle_jones@wonderworks.com>
5670
5671         * frame-x.c (x_delete_frame): Removed code that
5672           blocked the deletion of popup frames.  No need for it.
5673
5674 1997-11-05  SL Baur  <steve@altair.xemacs.org>
5675
5676         * balloon_help.h: Replace <X11/Intrinsic.h> with "xintrinsic.h"
5677         * balloon_help.c: Ditto.
5678         * offix.h: Ditto.
5679
5680         * mule-coding.c (coding_system_charset): Add prototype.
5681
5682 1997-11-04  Kazuyuki IENAGA  <ienaga@jsys.co.jp>
5683
5684         * s/freebsd.h: Add HAVE_TIMEZONE_DECL.  Configure will fail at
5685         checking for the existence of `extern long timezone'.
5686         FreeBSD actualy has the `timezone', but due to its <time.h> and
5687         <sys/time.h>, it cannot be recognized by configure.
5688
5689 1997-11-03  Hrvoje Niksic  <hniksic@srce.hr>
5690
5691         * data.c (Fsubr_interactive): New function.
5692
5693 1997-11-03  Kyle Jones  <kyle_jones@wonderworks.com>
5694
5695         * frame.c (change_frame_size_1): Added explanatory
5696           comment.
5697
5698         * window.c (set_window_pixsize): Don't bail out
5699           before looping over the major children if there is no
5700           size change indicated.  The top and left coordinates
5701           may need to be recomputed, e.g. in toolbar visibility
5702           updates.
5703
5704 1997-11-02  Kyle Jones  <kyle_jones@wonderworks.com>
5705
5706         * fileio.c (Ffile_truename): Make the errno == EACCES case
5707           behave the same as errno == ENOENT.
5708
5709 1997-11-03  Kyle Jones  <kyle_jones@wonderworks.com>
5710
5711         * frame.c (Fframe_property, Fframe_properties): Check
5712           for minibuffer-onlyness of frame before checking whether
5713           it has a minibuffer.  This makes the minibuffer property
5714           value be reported as 'only when that is appropriate.  The
5715           check order was reversed which resulted in minibuffer-only
5716           frames having the minibuffer property reported as t.
5717
5718 1997-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5719
5720         * m/vax.h:
5721         * s/cxux.h:
5722         * s/xenix.h:
5723         * s/umax.h:
5724         * s/msdos.h:
5725         * s/template.h:
5726         * termcap.c:
5727         * signal.c:
5728         * lread.c:
5729         * callproc.c
5730         * buffer.c: Remove VMS dependent code.
5731
5732 1997-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5733
5734         * syspwd.h:
5735         * systty.h:
5736         * systime.h:
5737         * syssignal.h:
5738         * sysproc.h:
5739         * sysfloat.h:
5740         * sysfile.h:
5741         * regex.h:
5742         * process.h:
5743         * ndir.h:
5744         * mule-mcpath.h:
5745         * getpagesize.h:
5746         * sysdep.h:
5747         * fileio.c:
5748         * process.c: Remove old VMS code.
5749
5750 1997-11-02  SL Baur  <steve@altair.xemacs.org>
5751
5752         * glyphs-x.c: Use <magick/magick.h> instead of <magick.h>
5753
5754 1997-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5755
5756         * sysdep.c:
5757         * getloadavg.c:
5758         * malloc.c: Remove old VMS code.
5759
5760 1997-11-02  Hrvoje Niksic  <hniksic@srce.hr>
5761
5762         * database.c (print_database): Don't use a static buffer to store
5763         file name.
5764
5765         * dired.c (make_directory_hash_table): Ditto.
5766
5767         * fileio.c (Ffile_truename): Use `make_ext_string' instead of
5768         `make_string'.
5769
5770 1997-11-01  Hrvoje Niksic  <hniksic@srce.hr>
5771
5772         * database.c (CONCHECK_DATABASE): Define.
5773
5774         * dired.c (Fdirectory_files): Use `make_ext_string' instead of
5775         `make_string', to avoid crashes under Mule.
5776         (file_name_completion): Use `make_ext_string'.
5777
5778         * database.c (new_database): Renamed to `allocate_database', as
5779         per coding conventions.
5780
5781 1997-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5782
5783         * dired.c: Remove VMS dependent code.
5784
5785 1997-11-01  Kyle Jones  <kyle_jones@wonderworks.com>
5786
5787         * buffer.h: Change XCHAR_OR_CHAR_INT to use XCHAR or
5788           XINT as appropriate instead of using XREALINT.
5789
5790         * regex.c (re_search_2): cast translate[*d] to
5791           unsigned char when indexing fastmap to avoid sign
5792           change when value has the 0x80 bit set.
5793
5794 1997-10-31  SL Baur  <steve@altair.xemacs.org>
5795
5796         * linuxplay.c (audio_init): Update for newer Linux kernels.
5797         From Robert Bihlmeyer <robbe@orcus.priv.at>
5798
5799 1997-11-01  Hrvoje Niksic  <hniksic@srce.hr>
5800
5801         * fileio.c (Finsert_file_contents_internal): Fix misleading
5802         comment.
5803
5804 1997-10-31  Kyle Jones  <kyle_jones@wonderworks.com>
5805
5806         * callproc.c: GC protect current_dir while infile and
5807           error_file are being initialized.
5808
5809 1997-10-30  SL Baur  <steve@altair.xemacs.org>
5810
5811         * config.h.in: Remove HAVE_GIF, HAVE_JPEG, HAVE_PNG, HAVE_TIFF and
5812         replace with HAVE_IMAGEMAGICK.
5813
5814 1997-10-30  Kyle Jones  <kyle_jones@wonderworks.com>
5815
5816         * process.c (Fprocess_send_string): Protect against
5817           SIGPIPE when flushing outstream.
5818
5819 1997-10-30  SL Baur  <steve@altair.xemacs.org>
5820
5821         * input-method-xfs.c: Xlocale.h must be included after config.h.
5822         * input-method-motif.c: ditto.
5823         * input-method-xlib.c: ditto.
5824
5825 1997-10-28  Kyle Jones  <kyle_jones@wonderworks.com>
5826
5827         * Under LRECORD_VECTOR, moved vectors from being an basic
5828           lrecord tpye to an lcrecord.
5829           Added support for 31 bits Lisp integers.
5830           Added support for maskless pointers to Lisp objects.
5831
5832         * alloc.c
5833
5834         (allocate_lisp_storage): Use XSETOBJ instead of
5835            XSETCONS to avoid tripping the ERROR_CHECK_TYPECHECK
5836            code with uninitialized data.  XSETCONS used to work
5837            until it became an lrecord type.
5838
5839            Removed sweep_vectors_1, all_vectors and other vector
5840            specific GC related objects in the LRECORD_VECTOR
5841            case, as they are unneeded now that lrecord-based
5842            vectors are lcrecords.
5843
5844            Added `equal' methods for lrecord-based conses, vectors
5845            and strings.  I was mistaken before; they are needed.
5846
5847         (pure_cons): moved XSETCONS call to after the
5848            set_lheader_implementation call, to avoid tripping the
5849            type checking code on an uninitialized implementation
5850            pointer.
5851
5852         (make_pure_vector): moved XSETVECTOR call to after the
5853            set_lheader_implementation call, to avoid tripping the
5854            type checking code on an uninitialized implementation
5855            pointer.
5856
5857         (Fpurecopy): return if given a null pointer.  THis can
5858            happen when initializing Qnil.
5859
5860         (mark_object): return if passed a null pointer.  I
5861            think this can happen when marking through some kind of
5862            objects that contain Lisp_Objects and null pointers.
5863
5864         (marked_p): Ditto
5865
5866         * buffer.c
5867
5868         (mark_buffer): Don't mark conses in the indirect children
5869            list is said list is in fact a null pointer.  The
5870            indirect children list gets reset to a null pointer
5871            when a bfufer is killed.
5872
5873         (complex_vars_of_buffer): initialize indirect_children
5874            slow of Vbuffer_local_symbols and Vbuffer_defaults to
5875            nil.
5876
5877         * chartab.c
5878
5879         (Fcheck_category_at): Don't use XREALINT to extract a
5880            char from a Lisp_Object, use XCHAR instead.
5881
5882         (Fchar_in_category): Ditto.
5883
5884         * data.c
5885
5886         (eq_with_ebola_notice): Use XCHAR_OR_INT instead of
5887            XREALINT to extract data from a Lisp_Object that could
5888            contain a charater or an integer.
5889
5890         (make_int): use XSETINT in the USE_MINIMAL_TAGBITS
5891            case.
5892
5893         (make_char): use XSETINT in the USE_MINIMAL_TAGBITS
5894            case.
5895
5896         (Flsh): XUINT is gone; use XINT instead.
5897
5898         * elhash.c
5899
5900         (elisp_hvector_malloc): Use Qnull_pointer instead of
5901            Qzero, as Qzero is no longer guaranteed to contain an
5902            all-zero bit pattern.
5903
5904         (make_lisp_hashtable): Ditto.
5905
5906         (Fcopy_hashtable): Ditto.
5907
5908         * emacsfns.h
5909
5910            Conditionalize the declaration of make_char() on
5911            whether a make_char macro exists or not.
5912
5913         * fns.c
5914
5915         (internal_equal): Conditionalize existence of cons,
5916            string and vector comparison code on whether they are
5917            lrecord-based.
5918
5919         (internal_old_equal): Ditto.
5920
5921         * lisp-disunion.h
5922
5923            USE_MINIMAL_TAGBITS support.
5924
5925            31 bit Lisp integer support.
5926
5927            Conditionalized existence of markbit related macros on
5928            the existence of a markbit in a Lisp_Object.  There are
5929            no markbits in the USE_MINIMAL_TAGBITS implementation
5930            of a Lisp_Object.
5931
5932            Replaced XUINT with XPNTRVAL.
5933
5934            Added declaration for Qnull_pointer.
5935
5936         * lisp-union.h
5937
5938            USE_MINIMAL_TAGBITS support.
5939
5940            31 bit Lisp integer support.
5941
5942            Conditionalized existence of markbit related macros on
5943            the existence of a markbit in a Lisp_Object.  There are
5944            no markbits in the USE_MINIMAL_TAGBITS implementation
5945            of a Lisp_Object.
5946
5947            Replaced XUINT with XPNTRVAL.
5948
5949            Added a make_char macro, similar to the make_int
5950            macro, for use with the GCC-specific XMAKE_LISP hack.
5951
5952         * lisp.h
5953
5954            USE_MINIMAL_TAGBITS support.
5955
5956            31 bit Lisp integer support.
5957
5958            Added GCMARKBITS macro to specify how many markbits a
5959            Lisp_Object contains.
5960
5961            Support for lcrecord-based vectors.
5962
5963            Added XCHAR_OR_INT for accessing data in an object
5964            that might contain either a character or an integer.
5965
5966            Made HACKEQ_UNSAFE use XCHAR_OR_INT instead of
5967            XREALINT during its Ebola check.
5968
5969         * print.c
5970
5971            Made the printing code undestand the split Lisp integer type.
5972
5973         * symbols.c
5974
5975            Added declaration for Qnull_pointer.
5976
5977 1997-10-27  Martin Buchholz  <mrb@eng.sun.com>
5978
5979         * m/ibmrs6000.h:
5980         * s/aix3-2.h: C_SWITCH_SYSTEM ==> configure.in
5981         * s/aix4-1.h: -li18n ==> configure.in
5982         * s/aix4.h: Always include strings.h
5983         * config.h.in: Add AIXV3 define, suggested by xmkmf. Remove
5984         AIX_SMT_EXP.
5985         * unexaix.c: Fix nested comments compiler warning
5986
5987 1997-10-27  Kyle Jones  <kyle_jones@wonderworks.com>
5988
5989         * profile.c (sigprof_handler): Don't call XUNMARK on
5990           fun, it isn't needed.
5991
5992         * faces.c (face_property_matching_instance): Check
5993           for charset == Qunbound, which it can be if the
5994           character set is unspecified.
5995
5996 1997-10-27  SL Baur  <steve@altair.xemacs.org>
5997
5998         * mule-wnnfns.c (vars_of_mule_wnn): Provide 'wnn feature.
5999
6000         * mule-canna.c (vars_of_mule_canna): Provide 'CANNA feature.
6001
6002 1997-10-27  Kazuyuki IENAGA <ienaga@jsys.co.jp>
6003
6004         * device-x.c (x_init_device): To avoid crazy menubars due to
6005         lack of suitable font loading.  Disabled locale based app-defaults
6006         loading when menubars=motif or menubars=lucid + xfs feature is not
6007         used.  Currently, the menubar resource has no effect for tty use.
6008
6009 1997-10-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6010
6011         * README: Remove references to VMS.
6012
6013         * vlimit.h:
6014         * s/vms5-5.h:
6015         * s/vms4-4.h:
6016         * s/vms4-2.h:
6017         * s/vms4-0.h:
6018         * s/vms.h: Remove files since VMS isn't supported any more.
6019
6020 1997-10-25  Kyle Jones  <kyle_jones@wonderworks.com>
6021
6022         * toolbar.h: Reduce MINIMUM_SHADOW_THICKNESS to 1.
6023
6024 1997-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6025
6026         * database.c: Added support for Berkeley DB 2.x.
6027
6028 1997-10-23  SL Baur  <steve@altair.xemacs.org>
6029
6030         * alloc.c: Disable purespace statistics unless --debug is in
6031         effect.
6032
6033         * console-stream.c (init_console_stream): At the price of a tiny
6034         memory leak, reinitialize FILE fields of the console.
6035         From Tonny Madsen <tma@nettest.dk>
6036
6037         * emacs.c: New variable `inhibit_package_init'.
6038         (vars_of_emacs): Use it.
6039         (main_1): Initialize from command line.
6040
6041         * Makefile.in.in (xemacs): Specify -vanilla when searching for
6042         shadows.
6043
6044         * emacs.c: Remove VMS ifdefs.
6045         (standard_args): Added -no-packages, --no-packages.
6046         Added -vanilla, --vanilla.
6047         (Frun_emacs_from_temacs): Guard pure usage report with DEBUG_XEMACS
6048         (Fdump_emacs): Ditto.
6049
6050 1997-10-22  Hrvoje Niksic  <hniksic@srce.hr>
6051
6052         * fns.c (Ffeaturep): Use `Fcar' with `or'.
6053
6054 1997-10-22  Kyle Jones  <kyle_jones@wonderworks.com>
6055
6056         * alloc.c: drop the Lisp_Type_Record case clause
6057           that I added to the switch statement in a previous
6058           patch.  The string, vector and cons cases belong in
6059           the `default' clause with the other lrecord types.
6060
6061 1997-10-22  Kyle Jones  <kyle_jones@wonderworks.com>
6062
6063         * Added support for strings as lrecords.
6064
6065         * lisp.h: #ifdef'd out Lisp_Type_String enum value
6066            if LRECORD_STRING is defined.
6067
6068         * alloc.c: Added allocation and garbage collection
6069            code for lrecord-based strings.
6070
6071         * print.c: move Lisp_String printing code to a
6072            separate function so that it could be used as a
6073            `print' method for lrecord-based strings.
6074
6075 1997-10-20  Jan Vroonhof  <vroonhof@math.ethz.ch>
6076
6077         * extents.c: Renamed shot property to initial-redisplay-function
6078         (extent_fragment_update): Changed the bookkeeping whether an event
6079         has been spawned. The initial-redisplay-function property is no
6080         longer set to nil.
6081
6082         * extents.h: ditto
6083
6084 1997-10-20  Kyle Jones  <kyle_jones@wonderworks.com>
6085
6086         * Added support for conses and vectors to be lrecords.
6087
6088         * alloc.c: Modified allocation and GC code for
6089            LRECORD_CONS and LRECORD_VECTOR support.  Moved some
6090            macros to lrecord.h.
6091
6092         * bytecode.c: Warning comment about LRECORD_CONS.
6093
6094         * elhash.c: Let internal_hash handle vector hashing
6095            if LRECORD_VECTOR is defined, just as it does when
6096            LRECORD_VECTOR is not defined.  The code could have
6097            been copied into an `hash' method function but I don't
6098            see any point to it.  Added lrecord style marking code
6099            to finish_marking_weak_hashtables.  Bracketed code
6100            that groks the non-lrecord method of marking vectors
6101            with #ifdefs.
6102
6103         * fns.c: Let internal_equal and internal_old_equal
6104            handle vector comparisons when LRECORD_VECTOR is
6105            defined, just as it does when LRECORD_VECTOR is not
6106            defined.  The code could have been copied into an
6107            `equal' method function but I don't see any point to
6108            it.
6109
6110         * lisp.h: Added typecheck macros for LRECORD_CONS
6111            support.  LRECORD_VECTOR macros were already present.
6112
6113         * print.c: New functions print_cons and print_vector
6114            for LRECORD_CONS and LRECORD_VECTOR support.
6115            Some GC protection also added.
6116
6117         * lrecord.h: Received some macros from alloc.c, so
6118            that they could be used in lisp.h.
6119
6120 1997-10-20  Hrvoje Niksic  <hniksic@srce.hr>
6121
6122         * fns.c (Ffeaturep): Handle `not' correctly.
6123
6124         * lread.c (vars_of_lread): Use defsymbol for featurep.
6125
6126 1997-10-15  Olivier Galibert  <olivier.galibert@mines.u-nancy.fr>
6127
6128         * s/irix5-0.h: Removed -G 0 from LD_SWITCH_SYSTEM. .sbss sections
6129         are supported since unexelfsgi.c upgrade.
6130
6131 1997-10-16  Kyle Jones  <kyle_jones@wonderworks.com>
6132
6133         * lstream.c (Lstream_close): Don't return early if the
6134           closer method reports failure.  Doing so caused GC and
6135           memory corruption crashes.
6136
6137 1997-10-14  Hrvoje Niksic  <hniksic@srce.hr>
6138
6139         * extents.c (Fset_extent_property): Allow `keymap' property to be
6140         set to nil.
6141
6142 1997-10-15  SL Baur  <steve@altair.xemacs.org>
6143
6144         * mule-coding.c (acceptable_control_char_p): Add C-_ for info.
6145         (detect_coding_iso2022): Ditto.
6146         From SENDA Shigeya  <senda@ic.rdc.ricoh.co.jp>
6147
6148 1997-10-09  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
6149
6150         * mule-coding.c (make-coding-system, detect-coding-region): Modify
6151         DOC-string because of renaming `automatic-conversion' ->
6152         `undecided' to sync with Emacs 20.2.
6153
6154         (make-coding-system, coding-system-type, detect-coding-region):
6155         Rename `Qautomatic_conversion' -> `Qundecided'.
6156
6157         * general.c (syms_of_general): Rename `automatic-conversion' ->
6158         `undecided' to sync with Emacs 20.2.
6159
6160         * emacsfns.h, event-Xt.c (x_to_emacs_keysym): Rename
6161         `Qautomatic_conversion' -> `Qundecided'.
6162
6163         * buffer.c (buffer-file-coding-system): Modify DOC-string because
6164         of renaming `automatic-conversion' -> `undecided' to sync with
6165         Emacs 20.2.
6166
6167 1997-10-15  Olivier Galibert  <olivier.galibert@mines.u-nancy.fr>
6168
6169         * lisp.h (MANY): Bump SUBR_MAX_ARGS to 12 and add corresponding
6170         DEFUN_n macros.
6171
6172 1997-10-13  Stephen J. Turnbull  <turnbull@sk.tsukuba.ac.jp>
6173
6174         * console-tty.c: Include gpmevent.h
6175         * gpmevent.c (connect_to_gpm): change to void
6176         * gpmevent.h: Ditto.
6177
6178 1997-10-13  Kyle Jones  <kyle_jones@wonderworks.com>
6179
6180         * lisp-disunion.h (XSETOBJ): cast Lisp type enum to
6181           an EMACS_UINT quantity to avoid a compiler warning about
6182           integer overflow when the most significat bit of the
6183           type tag is shifted into the sign bit position of an
6184           EMACS_INT.
6185
6186 1997-10-12  SL Baur  <steve@altair.xemacs.org>
6187
6188         * s/freebsd.h: Add X11 guard for building without X11.
6189         From Hrvoje Niksic <hniksic@srce.hr>
6190
6191 1997-10-12  Kyle Jones  <kyle_jones@wonderworks.com>
6192
6193         * doprnt.c (emacs_doprnt_1): if forwarded field width
6194           is negative, set minus_flag and make the field width
6195           positive.  Makes (format "%*s" -10 "abc") work like
6196           (format "%-*s" 10 "abc").
6197
6198 1997-10-12  SL Baur  <steve@altair.xemacs.org>
6199
6200         * unexsol2.c (unexec): CONST isn't defined here.
6201         From Adrian Aichner <aichner@ecf.teradyne.com>
6202
6203 1997-10-11  SL Baur  <steve@altair.xemacs.org>
6204
6205         * realpath.c (realpath): CONST IS LOSING but removing it conflicts
6206         with system headers.
6207
6208         * callproc.c: New variable infopath-internal.
6209         (complex_vars_of_callproc): Declare and initialized it.
6210
6211         * paths.h.in: New variable PATH_INFOPATH.
6212
6213 1997-10-10  Martin Buchholz  <mrb@eng.sun.com>
6214
6215         * systty.h:
6216           - change Xemacs --> XEmacs
6217
6218         * buffer.c:
6219         * editfns.c:
6220         * msdos.c:
6221           - Remove bogus FSF-origin \n\ sequences.
6222
6223 1997-10-09  Kyle Jones  <kyle_jones@wonderworks.com>
6224
6225         * doprnt.c (parse_doprnt_spec): parse `*' field width
6226           and precision specs and set up spec forwarding.
6227
6228         * doprnt.c (emacs_doprnt_1): implement `*' by
6229           forwarding flags, precision and field width data from a
6230           spec to a subsequent spec.
6231
6232         * editfns.c: document new `*' field width and
6233           precision spec.
6234
6235 1997-10-09  SL Baur  <steve@altair.xemacs.org>
6236
6237         * database.c (Fclose_database): Rename C function.
6238         (Fdatabase_last_error): Ditto.
6239         (Fopen_database): Ditto.
6240         (Fput_database): Ditto.
6241         (Fremove_database): Ditto.
6242         (Fget_database): Ditto.
6243         (syms_of_dbm): Reflect above changes.
6244         From Martin Buchholz <mrb@Eng.Sun.COM>
6245
6246 1997-10-08  Hrvoje Niksic  <hniksic@srce.hr>
6247
6248         * events.c (Fmake_event): Allow only frames as channel.
6249
6250 1997-10-07  Hrvoje Niksic  <hniksic@srce.hr>
6251
6252         * extents.c (print_extent_1): Fixed typo.
6253
6254 1997-10-07  Kyle Jones  <kyle_jones@wonderworks.com>
6255
6256         * insdel.c (buffer_replace_char): if doing delete/insert
6257           because of characters with deiffering byte lengths,move
6258           point forward with the insertion if it was moved backwrad
6259           to equal the insertion point by the earlier deletion.
6260
6261 1997-10-06  SL Baur  <steve@altair.xemacs.org>
6262
6263         * window.c (Fset_window_dedicated_p): register -> REGISTER.
6264
6265         * unexalpha.c (update_dynamic_symbols): register-> REGISTER.
6266
6267         * sysdep.c: Global change: register -> REGISTER.
6268
6269         * strcat.c (strcat): register -> REGISTER.
6270
6271         * search.c: Global change: register -> REGISTER.
6272
6273         * regex.c: Global change: register -> REGISTER.
6274         - Ensure REGISTER is always defined.
6275
6276         * nt.c: Global change: register -> REGISTER.
6277
6278         * linuxplay.c: Global change: register -> REGISTER.
6279
6280         * input-method-xlib.c (best_style): register -> REGISTER.
6281
6282         * gifalloc.c: Global change: register -> REGISTER.
6283         - Ensure REGISTER is always defined.
6284
6285         * getloadavg.c (getloadavg): register -> REGISTER.
6286
6287         * eval.c (unwind_to_catch): [Unused variable] register -> REGISTER.
6288
6289         * cmds.c (Fpoint_at_bol): register -> REGISTER.
6290
6291         * chartab.c (check_category_char): register -> REGISTER.
6292
6293         * buffer.c (assoc_ignore_text_properties): [Unused function]
6294         register -> REGISTER.
6295
6296         * alloca.c: Global change: register -> REGISTER.
6297
6298         * xmu.h (XmuCopyISOLatin1Lowered): Global change: const -> CONST.
6299
6300         * gif_lib.h: Global change: const -> CONST.
6301
6302         * balloon_help.h (balloon_help_move_to_pointer): const -> CONST.
6303
6304         * xmu.c: Global change: const -> CONST.
6305
6306         * unexsol2.c (unexec): const -> CONST.
6307
6308         * unexhp9k3.c (unexec_error): const -> CONST.
6309
6310         * unexfreebsd.c (unexec_error): const -> CONST.
6311
6312         * sunOS-fix.c (mbstowcs): const-> CONST.
6313         (wcstombs): Ditto.
6314
6315         * strcpy.c (strcpy): const -> CONST.
6316
6317         * strcmp.c: Global change: const -> CONST.
6318
6319         * strcat.c (strcat): const -> CONST.
6320
6321         * realpath.c (realpath): const -> CONST.
6322
6323         * keymap.c (where_is_recursive_mapper): const -> CONST.
6324
6325         * extents.c (extent_priority_sort_function): const -> CONST.
6326
6327         * dgif_lib.c (DGifOpenFileName): const -> CONST.
6328
6329         * balloon_help.c: Global change: const -> CONST.
6330
6331 1997-10-03  SL Baur  <steve@altair.xemacs.org>
6332
6333         * lisp.h: Nuke register declarations.
6334
6335 1997-10-03  Karl M. Hegbloom  <karlheg@inetarena.com>
6336
6337         * window.c (Frecenter): Correct variable names in docstring.
6338
6339 1997-10-03  Karl M. Hegbloom  <karlheg@inetarena.com>
6340
6341         * fns.c: Add some cross references between destructive and
6342         non-destructive versions of similar functions.
6343
6344 Fri Oct  3 12:28:08 1997  Kyle Jones  <kyle_jones@wonderworks.com>
6345
6346         * lisp-disunion.h: Move markbit to be between the
6347           type bits and the value bits.  Previously it was always
6348           the sign bit of a EMACS_INT, unless modified by a
6349           #define in a machine dependent .h file.
6350
6351 1997-10-02  Hrvoje Niksic  <hniksic@srce.hr>
6352
6353         * profile.c (Fclear_profiling_info): Made interactive.
6354
6355 1997-10-02  SL Baur  <steve@altair.xemacs.org>
6356
6357         * glyphs-x.c (USE_TEMP_FILES_FOR_PNG_IMAGES): Move outside of
6358         HAVE_JPEG ifdef.
6359
6360 1997-10-01  SL Baur  <steve@altair.xemacs.org>
6361
6362         * lisp.h (min): Fully parenthize.
6363         (max): Ditto.
6364
6365         * Makefile.in.in (widget.o): Insert dependencies.
6366         - Insert HAVE_OFFIX_DND dependencies.
6367
6368         * casefiddle.c (casify_object): Back out bogus undocumented patch
6369         from 20.3-beta18.
6370
6371 1997-09-30  SL Baur  <steve@altair.xemacs.org>
6372
6373         * events.c (Fevent_type): Add OffiX guard.
6374         (command_event_p): Ditto.
6375         (mark_event): Ditto.
6376         (print_event): Ditto.
6377
6378 1997-09-30  SL Baur  <steve@altair.xemacs.org>
6379
6380         * mule-canna.c (Fcanna_set_bunsetsu): Return a value.
6381         (Fcanna_parse): Remove unused variables `ks' and `ksv'.
6382         (Fcanna_henkan_begin): Remove unused variable `res'.
6383         (Fcanna_henkan_next): Remove unused variable `nbun'.
6384         (count_char): Change return type to void.
6385
6386         * event-Xt.c (x_event_to_emacs_event): Remove unused variable
6387         `event-size'.
6388
6389         * menubar.c (Fnormalize_menu_item_name): Remove unused variable
6390         `res'.
6391
6392         * redisplay-x.c (x_flash): Reorganize test to prefer select over
6393         poll.
6394
6395         * xselect.c (Fx_store_cutbuffer_internal): Remove unused variable
6396         `encoding'.
6397
6398 1997-09-30  Hrvoje Niksic  <hniksic@srce.hr>
6399
6400         * frame.c (Fmake_frame): Call `custom-initialize-frame'.
6401
6402 1997-09-24  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
6403
6404         * mule-coding.c: Rename `pathname-coding-system' to
6405         `file-name-coding-system' to sync with Emacs 20.2.
6406
6407 1997-09-26  Hrvoje Niksic  <hniksic@srce.hr>
6408
6409         * window.c (saved_window_equal): Ditto.
6410
6411         * process.c (Fget_process): Use internal_equal.
6412
6413         * lread.c (build_load_history): Use internal_equal.
6414         (build_load_history): Use XCAR/XCDR where safe.
6415
6416         * events.c (event_equal): Ditto.
6417
6418         * event-stream.c (Fdispatch_event): Ditto.
6419
6420         * elhash.c (lisp_object_eql_equal): Ditto.
6421         (lisp_object_equal_equal): Ditto.
6422
6423         * device.c (find_device_of_type): Ditto.
6424
6425         * console.c (find_console_of_type): Ditto.
6426
6427         * console-tty.c (tty_init_console): Ditto.
6428
6429         * console-stream.c (stream_init_console): Use internal_equal.
6430         (stream_canonicalize_console_connection): Ditto.
6431
6432         * fns.c (Fmember): Use internal_equal, to avoid a necessary
6433         funcall and NILP check.
6434         (Fold_member): Ditto for internal_old_equal.
6435         (Fassoc): Use XCAR when we know we deal with a cons.  Use
6436         internal_equal.  Removed tem.
6437         (Fold_assoc): Ditto.
6438         (Fassq): Use XCAR.
6439         (Frassoc): Use internal_equal; remove tem.
6440         (Fold_rassoc): Ditto for internal_old_equal.
6441         (Frassq): Use XCDR with what we know is a cons.
6442         (Fold_rassq): Ditto.
6443         (Fdelete): Use internal_equal.
6444         (Fold_delete): Ditto for internal_old_equal.
6445         (Fremassoc): Use internal_equal; use XCAR/XCDR with what we know
6446         is a cons.
6447         (Fremrassoc): Ditto.
6448
6449         * dired.c (Fdirectory_files): Nreverse the list only if it will be
6450         sorted.
6451
6452 Fri Sep 26 13:55:28 1997  Kyle Jones  <kyle_jones@wonderworks.com>
6453
6454         * faces.c (update_face_cachel_data): Don't allow the
6455           background pixmap of the default face to override the
6456           background of a face if that color has been specified.
6457
6458 1997-09-26  Hrvoje Niksic  <hniksic@srce.hr>
6459
6460         * dired.c (close_directory_fd): New function.
6461         (Fdirectory_files): Use it to set up an unwind-protection to close
6462         the descriptor.
6463         (Fdirectory_files): Allow QUIT in re_search.
6464         (Fdirectory_files): If the file is too big, allocate necessary
6465         data with malloc.
6466         (Fdirectory_files): Use simple Fcons to build the list.
6467         (close_directory_fd): Free the opaque pointer.
6468
6469 1997-09-25  Hrvoje Niksic  <hniksic@srce.hr>
6470
6471         * extents.c (Fset_extent_properties): New function.
6472
6473 1997-09-24  SL Baur  <steve@altair.xemacs.org>
6474
6475         * dired.c (Fdirectory_files): Remove broken VMS stuff.
6476         (file_name_completion_stat): Ditto.
6477         (file_name_completion): Ditto.
6478         (Top Level):  Ditto.
6479         (syms_of_dired): Ditto.
6480
6481 1997-09-25  Hrvoje Niksic  <hniksic@srce.hr>
6482
6483         * widget.c (Fwidget_apply): Don't GCPRO result of Fwidget_get.
6484
6485 1997-09-24  SL Baur  <steve@altair.xemacs.org>
6486
6487         * symsinit.h: Declare syms_of_widget.
6488
6489         * emacsfns.h: Declare Fchar_syntax.
6490
6491         * bytecode.c (Fbyte_code): Call Fchar_syntax for the Bchar_syntax
6492         bytecode.
6493
6494         * syntax.c (Fchar_syntax): convert nil input to \000 for
6495         compatibility.
6496
6497         * alloc.c (report_pure_usage): Increase slop to 512 bytes in betas
6498         and reduce it to 4 bytes in releases.
6499
6500 1997-09-23  SL Baur  <steve@altair.xemacs.org>
6501
6502         * Makefile.in.in (objs): Add new C file widget.o.
6503
6504 1997-09-22  SL Baur  <steve@altair.xemacs.org>
6505
6506         * editfns.c (vars_of_editfns): New feature 'ampersand-full-name
6507         declared if AMPERSAND_FULL_NAME configuration option is enabled.
6508
6509         * callproc.c (vars_of_callproc): Update docstring of `data-directory'.
6510
6511 Sun Sep 21 14:14:44 1997  Kyle Jones  <kyle_jones@wonderworks.com>
6512
6513         * lisp.h: underspecify lisp_fn_t function prototype
6514           to avoid compiler errors in inline_funcall_subr().
6515
6516         * eval.c (Fprogn): Walk forms list with XCDR, access
6517           with XCAR.  Check forms list CONSP, so that XCDR and XCAR are
6518           safe.
6519
6520         * eval.c (Fsetq): replace Flength call with for-loop
6521           to compute list length.  Walk arg list with XCDR,
6522           access with XCAR.  Check arg list with CONSP, so that
6523           XCDR and XCAR are safe.
6524
6525         * eval.c: New macro inline_funcall_subr, an inline
6526           version of funcall_subr + primitive_funcall.
6527
6528         * eval.c (Feval): replace Flength call with for-loop
6529           to compute list length.  Use XCAR and XCDR in some
6530           places where it is safe to do so.  Use
6531           inline_funcall_subr() in place of funcall_subr().
6532
6533         * eval.c (funcall_recording_as): Use XCAR instead of
6534           Fcar where it was safe.
6535
6536         * eval.c (Fapply): replace Flength call with for-loop
6537           to compute list length.
6538
6539         * eval.c (apply_lambda):Use XCAR and XCDR in some
6540           places where it is safe to do so.
6541
6542         * eval.c (funcall_lambda):  Walk param list with XCDR, access
6543           with XCAR.  Check param list CONSP, so that XCDR and XCAR are
6544           safe.
6545
6546         * symbols.c (find_symbol_value): return quickly if no
6547           symbol magic is involved, to avoid the expensive call
6548           to find_symbol_value_1.
6549
6550         * symbols.c (store_symval_forwarding): don't call
6551           reject_constant_symbols unless there is a chance a
6552           constant symbol is involved.  This break the
6553           encapsulation of the constants check, but symbol stores
6554           are used heavily and speed is most important than
6555           cleanliness in this case.
6556
6557 1997-09-21  Joel Peterson  <tarzan@aosi.com>
6558
6559         * menubar.c (normalize-menu-item-name): New function.
6560
6561 1997-09-21  SL Baur  <steve@altair.xemacs.org>
6562
6563         * keymap.c (get_relevant_extent_keymaps): Previous patch reversed.
6564
6565 1997-09-20  SL Baur  <steve@altair.xemacs.org>
6566
6567         * Makefile.in.in (xemacs): Adoption of shadow.el to print
6568         load-path shadowings after successful dump.
6569
6570 1997-09-20  Hrvoje Niksic  <hniksic@srce.hr>
6571
6572         * redisplay.c (scroll_conservatively): New variable.
6573         (redisplay_window): Use it.
6574
6575 1997-09-16  SL Baur  <steve@altair.xemacs.org>
6576
6577         * events.c (Fmake_event): Add default case, remove unused variables.
6578
6579 1997-08-21  Jan Vroonhof  <vroonhof@math.ethz.ch>
6580
6581         * extents.c (extent_fragment_update): Trigger one_shot_function
6582
6583         * extents.c (set-extent-one-shot-function): New function
6584
6585         * extents.h (struct extent_auxiliary): Added one_shot_function
6586
6587         * extens.c: Added  one_shot_function to assesor functions.
6588
6589 1997-09-14  Hrvoje Niksic  <hniksic@srce.hr>
6590
6591         * fileio.c (Fexpand_file_name): Don't treat "//" and "~/" in the
6592         middle of path specially.
6593
6594 1997-09-10  Hrvoje Niksic  <hniksic@srce.hr>
6595
6596         * event-stream.c (inhibit_input_event_recording): New boolean
6597         variable.
6598         (Fnext_event): Use it.
6599
6600 1997-09-13  Hrvoje Niksic  <hniksic@srce.hr>
6601
6602         * fns.c (Fmapc): Renamed from Fmapc_internal.
6603
6604 1997-09-10  Hrvoje Niksic  <hniksic@srce.hr>
6605
6606         * database.c (Fmake_database): Expand FILE.
6607
6608         * redisplay.c (window-system): Warn against using it.
6609
6610 1997-09-08  SL Baur  <steve@altair.xemacs.org>
6611
6612         * emacs.c (PACKAGE_PATH): Reverse PACKAGE_PATH.
6613         Suggested by Colin Rafferty <craffert@ml.com>
6614
6615 1997-09-03  SL Baur  <steve@altair.xemacs.org>
6616
6617         * print.c (print_internal): Special treatment for C-\.
6618
6619 1997-08-13  P E Jareth Hein  <jareth@camelot-soft.com>
6620
6621         * insdel.c (buffer_delete_range): Changed the location where point
6622         was actually moved to after all other movement handling.  This
6623         prevents a MULE related crash in VALID_BYTIND.
6624
6625 1997-08-11  SL Baur  <steve@altair.xemacs.org>
6626
6627         * doc.c (Fsnarf_documentation): Semi-clarify types of weird
6628         functions.
6629
6630 1997-08-05  Jens-Ulrik Holger Petersen  <petersen@kurims.kyoto-u.ac.jp>
6631
6632         * eval.c (vars_of_eval): Updated docstring for `debug_on_error' to
6633         mention `debug-ignored-errors'.
6634
6635 1997-08-01  SL Baur  <steve@altair.xemacs.org>
6636
6637         * emacsfns.h: Fix declaration.
6638
6639         * event-stream.c (syms_of_event_stream): HAVE_MENUBARS not
6640         HAVE_MENUBAR.
6641
6642 1997-07-31  SL Baur  <steve@altair.xemacs.org>
6643
6644         * frame-x.c (x_offix_drop_event_handler): Use stderr_out instead
6645         of fprintf.
6646
6647         * mule-coding.c (parse_iso2022_esc): Add abort() trap on unhandled
6648         condition.
6649
6650         * mule-wnnfns.c (Fwnn_dict_search): Remove unused variable.
6651         (Fwnn_hindo_update): Ditto.
6652         (Fwnn_inspect): Ditto.
6653         (Fwnn_bunsetu_henkou): Ditto.
6654
6655         * eval.c (call_with_suspended_errors): Fix Gcc warning:
6656         argument `retval' might be clobbered by `longjmp' or `vfork'
6657
6658 1997-07-30  SL Baur  <steve@altair.xemacs.org>
6659
6660         * redisplay.c: `window-system' isn't going away any time soon.
6661
6662 1997-07-29  SL Baur  <steve@altair.xemacs.org>
6663
6664         * callint.c (Fcall_interactively): Allow floating point numbers
6665         for `n' and `N' interactive specs.
6666
6667 1997-07-27  SL Baur  <steve@altair.xemacs.org>
6668
6669         * event-stream.c (command_builder_find_leaf): Fix typo in
6670         HAVE_MENUBARS.
6671
6672         * gui-x.c (popup_selection_callback): Fix typo in HAVE_MENUBARS.
6673
6674         * event-stream.c (syms_of_event_stream): accelerate_menu needed
6675         guards.
6676
6677         * emacs.c (vars_of_emacs): Main default package directory is now
6678         ${prefix}/lib/xemacs/packages.
6679
6680 1997-07-25  David Moore  <dmoore@ucsd.edu>
6681
6682         * alloc.c (Fmake_byte_code): GC protect newly allocated function
6683         when looking up filename.
6684
6685 1997-07-25  SL Baur  <steve@altair.xemacs.org>
6686
6687         * Makefile.in.in: Added support for linking with dmalloc.
6688
6689 1997-07-25  P E Jareth Hein  <jareth@camelot-soft.com>
6690
6691         * xselect.c (x_atom_to_symbol): Fixed a memory corruption bug
6692         where a possibly MULEified string was getting freed before use.
6693
6694 1997-07-21  SL Baur  <steve@altair.xemacs.org>
6695
6696         * callproc.c: New variable Vdata_directory_list.
6697         * emacsfns.h: Declare it.
6698
6699         * fns.c (Frequire): Undo previous change.
6700
6701         * print.c (print_internal): Handle circular objects like Emacs
6702         handles them (and as documented in the Lispref).
6703
6704         * database.c (Fputdatabase): Complain when `val' is not a string.
6705
6706         * event-stream.c (command_builder_find_leaf): Guard menubar
6707         accelerator stuffs with HAVE_MENUBAR.
6708         * gui-x.c (popup_selection_callback): Ditto.
6709
6710 1997-07-20  SL Baur  <steve@altair.xemacs.org>
6711
6712         * event-stream.c (menu_move_up): Guard menubar accelerator code
6713         with HAVE_MENUBARS.
6714
6715         * emacs.c (decode_path): New function, derived from latter portion
6716         of decode_env_path.
6717         (decode_env_path): Break out the naughty bits -- shouldn't do
6718         getenv and separator parsing in one function.
6719         New variable Vpackage_path.
6720         (vars_of_emacs): Use it.
6721
6722         * editfns.c (Fstring_to_char): Return nil instead of `0' for empty
6723         string.
6724
6725 1997-07-10  Hrvoje Niksic  <hniksic@srce.hr>
6726
6727         * fileio.c (Finsert_file_contents_internal): Handle non-regular
6728         files.
6729
6730 1997-07-12  Steven L Baur  <steve@altair.xemacs.org>
6731
6732         * Makefile.in.in (LOCK_OBJ): Only include filelock.[co] when
6733         CLASH_DETECTION is defined.
6734
6735 1997-07-11  Steven L Baur  <steve@altair.xemacs.org>
6736
6737         * emacs.c (main_1): Spelling fix.
6738
6739 1997-07-10  Steven L Baur  <steve@altair.xemacs.org>
6740
6741         * Makefile.in.in (dump-elcs): Shouldn't use SATISFIED hack.
6742         (xemacs-no-site-file): Not supported any more.
6743         (binary): New dependency for dumping XEmacs.
6744         (xemacs): Attempt to be a little smarter about not dumping a new
6745         XEmacs if it is not needed.
6746         (temacs): Remove `xemacs' after success.
6747
6748 1997-07-09  Hrvoje Niksic  <hniksic@srce.hr>
6749
6750         * extents.c: Allow non-symbol properties of extents.
6751
6752 1997-07-08  Hrvoje Niksic  <hniksic@srce.hr>
6753
6754         * data.c (Fstring_to_number): Use `check_int_range'.
6755         (Fstring_to_number): Would bug out on wrong type check.
6756
6757 1997-07-07  Steven L Baur  <steve@altair.xemacs.org>
6758
6759         * data.c (Fcompiled_function_doc_string): Implement correctly.
6760         Was forgotten cut & paste identical clone to
6761         Fcompiled_function_interactive?
6762
6763         * Makefile.in.in (alloc.o): Remove dependency on puresize_adjust.h
6764         so alloc.c need not be recompiled when puresize changes.
6765
6766         * alloc.c (PURIFIED): Use get_PURESIZE() instead of constant.
6767         (check_purespace): Ditto.
6768         (alloc_pure_lrecord): Ditto.
6769         (report_pure_usage): Ditto.
6770         (disksave_object_finalization): Ditto.
6771         (report_pure_usage): Modify message reported when Build is
6772         restarted due to change in PURESIZE_ADJUSTMENT.
6773
6774         * puresize.h: Remove dependency on puresize_adjust.h.
6775         (get_PURESIZE): New function -- declare it.
6776
6777         * pure.c: Move final PURESIZE computation and include of
6778         puresize_adjust.h into here so alloc.c need not be recompiled each
6779         time the puresize is adjusted.
6780         (get_PURESIZE): New function.
6781
6782 1997-07-06  Steven L Baur  <steve@altair.xemacs.org>
6783
6784         * data.c (Fstring_to_number): Wrong parameter was being checked.
6785
6786         * emacs.c (vars_of_emacs): Fprovide the system type as a feature.
6787
6788 1997-07-03  Steven L Baur  <steve@altair.xemacs.org>
6789
6790         * data.c (Fstring_to_number): Fix typo.  base isn't an integer.
6791
6792 1997-07-01  Steven L Baur  <steve@altair.xemacs.org>
6793
6794         * data.c, emacsfns.h:  This is the port of GNU Emacs capability.
6795         I am still not sure what this buys us, but I guess it doesn't hurt
6796         to have it.
6797         From Hrvoje Niksic <hniksic@srce.hr>
6798
6799         * glyphs.c (make_string_from_file): Use
6800         insert-file-contents-literally instead of
6801         insert-file-contents-internal.
6802
6803 1997-06-30  Steven L Baur  <steve@altair.xemacs.org>
6804
6805         * fns.c (check_losing_bytecode): Correct reported version.
6806
6807         * Makefile.in.in (${libsrc}DOC): Break up line length for stupid
6808         make programs.
6809
6810 1997-06-29  Steven L Baur  <steve@altair.xemacs.org>
6811
6812         * emacsfns.h: Put void in prototype.
6813         Suggested by Ben Wing.
6814
6815 1997-07-01  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
6816
6817         * glyphs.c (make_string_from_file): must protect from
6818         `format-alist'.
6819
6820 1997-06-28  Steven L Baur  <steve@altair.xemacs.org>
6821
6822         * config.h.in: Back out previous change to LOSING_BYTECODE.  It's
6823         just not worth it.
6824
6825 1997-06-27  Mike Scheidler  <c23mts@eng.delcoelect.com>
6826
6827         * s/sol2.h: Undefined _XOPEN_SOURCE for Solaris 2.4.
6828
6829 1997-06-28  Hrvoje Niksic  <hniksic@srce.hr>
6830
6831         * abbrev.c (abbrev_match): New function.
6832         (abbrev_oblookup): New function.
6833         (obarray_has_blank_p): New function.
6834         (abbrev_count_case): New function.
6835         (Fexpand_abbrev): Use them.  Allow abbreviations to contain
6836         arbitrary characters.
6837
6838 1997-06-28  Steven L Baur  <steve@altair.xemacs.org>
6839
6840         * config.h.in: LOSING_BYTECODE will not be compiled into XEmacs.
6841
6842         * doc.c (Fsnarf_documentation): Remove VMS dependent stuff for
6843         cleanliness.
6844
6845 1997-06-28  Hrvoje Niksic  <hniksic@srce.hr>
6846
6847         * print.c (Ferror_message_string): Simplify.
6848
6849 1997-06-27  Steven L Baur  <steve@altair.xemacs.org>
6850
6851         * symbols.c (Fdefine_function): Correct docstring.
6852         (Fsetplist): Ditto.
6853         (Ffset): Ditto.
6854         (Fsetq_default): Ditto.
6855
6856 1997-06-27  Hrvoje Niksic  <hniksic@srce.hr>
6857
6858         * eval.c (skip_debugger): Removed comment and #ifdef-ed code.
6859         (signal_call_debugger): Call skip_debugger after wants_debugger.
6860         (signal_call_debugger): Gcpro cons sent to skip_debugger.
6861
6862 1997-06-26  Steven L Baur  <steve@altair.xemacs.org>
6863
6864         * process.c (create_process): Default to fork instead of vfork.
6865
6866         * callproc.c (Fcall_process_internal): Default to fork instead of
6867         vfork.
6868
6869         * emacsfns.h: Add declarations of Ferror_message_string(),
6870         Frunning_temacs_p().
6871
6872         * eval.c: Remove declarations of Ferror_message_string(),
6873         Frunning_temacs_p().
6874
6875         * Makefile.in.in (${libsrc}DOC): Correct dependency for the docfile.
6876         (${mo_dir}emacs.po): Remove obsolete references to lisp source.
6877
6878 1997-06-29  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
6879
6880         * mule-charset.c: Modify charset DOC-strings to be more detailed.
6881
6882 1997-06-25  Steven L Baur  <steve@altair.xemacs.org>
6883
6884         * alloc.c (Flist): Optimize.
6885         From Hrvoje Niksic.
6886
6887 1997-06-23  Steven L Baur  <steve@altair.xemacs.org>
6888
6889         * lisp.h: Get uintptr_t stuffs because it is needed for including
6890         emacsfns.h.
6891
6892         * sysdep.h: Removed uintptr_t stuffs.
6893
6894 1997-06-22  Steven L Baur  <steve@altair.xemacs.org>
6895
6896         * fns.c (concat): Replace Fcar/Fcdr with XCAR/XCDR.
6897         (Fnreverse): Ditto.
6898         (internal_equal): Ditto.
6899         (internal_old_equal): Ditto.
6900         (Fnconc): Ditto.
6901         (Freverse): Saner implementation.
6902         From Hrvoje Niksic <hniksic@srce.hr>
6903
6904         * s/linux.h: getpgrp with glibc is now properly detected by
6905         configure.
6906         Suggested by Andreas Jaeger <aj@arthur.rhein-neckar.de>
6907
6908 1997-06-20  Steven L Baur  <steve@altair.xemacs.org>
6909
6910         * events.c: Remove declaration of Qempty.
6911
6912 1997-06-20  Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr>
6913
6914         * frame-x.c, EmacsFrame.c, menubar-x.c, redisplay-x.c,  scrollbar-x.c:
6915         Make 64 bit clean.
6916
6917 1997-06-19  Martin Buchholz  <mrb@eng.sun.com>
6918
6919         * config.h.in:
6920         - Autodetect X defines using xmkmf.
6921         - Compute rpath on *bsd* systems as well.
6922         - rewrite PRINT_VAR m4 macro.
6923         - detect sizes of void* and long long for future use by unex*.c
6924         * regex.c: _GNU_SOURCE may be defined by config.h; don't redefine.
6925
6926 1997-06-18  Martin Buchholz  <mrb@eng.sun.com>
6927
6928         * Makefile.in:
6929         * s/*.h:
6930         * m/*.h:
6931         * config.h.in:
6932         * emacs.c:
6933         * version.sh:
6934         * configure.in: Another rewrite.
6935         - support powerpcle (Solaris on ppc)
6936         - Now just have one s/sol2.h for all Solaris versions
6937         - Specifying colon-separated directories actually works now.
6938         - OS_RELEASE is a new define to avoid proliferation of s&m files.
6939         - extract more stuff from s&m files.
6940         - more debugging info
6941         - More changes to avoid the `echo -e' problem
6942         - Add more tests: fcntl.h AC_TYPE_*, AC_FUNC_GETPGRP
6943         - Back out -lPW test.
6944         - More paranoid xpm test
6945         - Put version information in version.sh instead of version.el
6946         - Make quoted pre-processor string tokens out of all macro values
6947           to be used only by configure.
6948         * xmu.c: DON'T use Xos.h
6949         * sysdep.c (wait_for_termination):
6950         * search.c:
6951         * editfns.c:
6952         * console-*:
6953
6954 1997-06-18  Steven L Baur  <steve@altair.xemacs.org>
6955
6956         * unexelfsgi.c: Some things that Needed To Be Done(tm) into
6957         unexelfsgi:
6958         - support for .sbss section (no more -G 0 needed, 0.00001% speed
6959         increase)
6960         - support for Elf64 (64bits executables)
6961         From Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr>
6962
6963         * fns.c (Fmapvector): New function converted from Lisp.
6964         From Hrvoje Niksic  <hniksic@srce.hr>
6965
6966 Wed Jun 18 16:42:10 1997  Steven L Baur  <steve@altair.xemacs.org>
6967
6968         * Makefile.in.in: Convert two missed C style comments.
6969         (LIBES): Remove LIBS_DEBUG which is no longer defined.
6970         (LIBES): lwlibs_libs was misspelled.
6971
6972 1997-06-17  Hrvoje Niksic  <hniksic@srce.hr>
6973
6974         * eval.c (vars_of_eval): New variable Vdebug_ignored_errors.
6975         (skip_debugger): New function; use Vdebug_ignored_errors.
6976         (signal_call_debugger): Use it.
6977
6978 1997-06-17  Steven L Baur  <steve@altair.xemacs.org>
6979
6980         * emacs.c (vars_of_emacs): Moved symbols emacs-version,
6981         emacs-major-version, and emacs-minor-version from version.el to
6982         here.
6983
6984         * general.c (syms_of_general): New symbols and, not, and or.
6985
6986         * emacsfns.h: New symbols Qand, Qnot, Qor.
6987
6988         * Makefile.in.in: Call temacs to compute lisp libraries to
6989         include in the DOC file.
6990
6991 1997-06-15  Steven L Baur  <steve@altair.xemacs.org>
6992
6993         * Makefile.in.in (lisp): Remove explicit mention of auto-autoloads.el.
6994
6995 Sat Jun 14 21:55:27 1997  Kyle Jones  <kyle_jones@wonderworks.com>
6996
6997         * console.c (Fselect_console):
6998           Check DEVICE_SELECTED_FRAME of console's selected
6999           device for non-nil value before using it as a frame.
7000
7001 1997-06-13  Steven L Baur  <steve@altair.xemacs.org>
7002
7003         * data.c (eq_with_ebola_notice): Remove horrible hack to avoid
7004         unavoidable Ebola notices in the bytecompiler.
7005
7006         * emacsfns.h: Fextent_in_region_p: Move.
7007
7008         * keymap.c Fextent_in_region_p: Move.
7009
7010 Fri Jun 13 00:38:29 1997  Kyle Jones  <kyle_jones@wonderworks.com>
7011
7012         * console.c (Fsuspend_console):
7013           Disable input on ttys.  Hide unhidden frames.
7014
7015         * console.c (Fresume_console):
7016           Enable input on ttys.  Raise the device selected frame.
7017
7018 Fri Jun 13 00:25:46 1997  Kyle Jones  <kyle_jones@wonderworks.com>
7019
7020         * process.c (status_notify):
7021           Revert back to the code that does not use
7022           save_excursion_restore.  Just bounds check opoint
7023           instead.
7024
7025         * process.c (read_process_output):
7026           Bounds check saved clip region and point values for
7027           validity before using them.  Call Fwiden before calling
7028           Fnarrow_to_region to insure values will not be out of
7029           range.
7030
7031 1997-06-12  Steven L Baur  <steve@altair.xemacs.org>
7032
7033         * alloc.c: Make the GC cursor appear on all frames.
7034         From Hrvoje Niksic  <hniksic@srce.hr>
7035
7036 1997-06-11  Steven L Baur  <steve@altair.xemacs.org>
7037
7038         * data.c (eq_with_ebola_notice): Add byte-optimize-logmumble and
7039         byte-compile-push-constant to list of ignored functions.
7040
7041 1997-06-11  Hrvoje Niksic  <hniksic@srce.hr>
7042
7043         * bytecode.c (Bsave_current_buffer): Register.
7044         (Fbyte_code): Do action.
7045
7046         * editfns.c (Fsave_current_buffer): New SUBR.
7047
7048 1997-06-11  Steven L Baur  <steve@altair.xemacs.org>
7049
7050         * syntax.c (Fchar_syntax): Handle case of being passed nil.
7051
7052         * data.c (eq_with_ebola_notice): Add more legitimate places in the
7053         bytecompiler that should not get Ebola notices.
7054
7055 Tue Jun 10 00:34:40 1997  Kyle Jones  <kyle_jones@wonderworks.com>
7056
7057         * process.c (status_notify):
7058           Use record_unwind_protect and save_excursion_restore to
7059           handle the point and buffer restoration.  Cleaner.  Doesn't
7060           crash the editor if before/after-change-functions change
7061           things behind our back.
7062
7063 1997-06-10  Steven L Baur  <steve@altair.xemacs.org>
7064
7065         * data.c (vars_of_data): Set Ebola warning backtrace limit to 16.
7066         (eq_with_ebola_notice): Bypass Ebola warnings for special
7067         bytecompiler functions where they are 100% spurioius.
7068
7069 1997-06-11  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
7070
7071         * Makefile.in.in: Use lisp/mule/language/misc-lang.el instead of
7072         lisp/mule/ipa-hooks.el.
7073
7074 1997-06-10  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
7075
7076         * Makefile.in.in: Use lisp/mule/language/thai.elc instead of
7077         lisp/mule/thai-hooks.elc.
7078
7079 1997-06-09  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
7080
7081         * Makefile.in.in: Use lisp/mule/language/chinese.el,
7082         lisp/mule/language/cyrillic.el, lisp/mule/language/european.el,
7083         lisp/mule/language/greek.el, lisp/mule/language/japanese.el and
7084         lisp/mule/language/korean.el instead of
7085         lisp/mule/chinese-hooks.el, lisp/mule/cyrillic-hooks.el,
7086         lisp/mule/european-hooks.el, lisp/mule/greek-hooks.el,
7087         lisp/mule/japanese-hooks.el and lisp/mule/korean-hooks.el.
7088
7089 1997-06-09  Steven L Baur  <steve@altair.xemacs.org>
7090
7091         * keymap.c: Declare Fextent_in_region_p.
7092
7093         * s/linux.h: Can't use ORDINARY_LINK in linux until usage of -lPW
7094         is determined more sensibly.
7095
7096 1997-06-09  Hrvoje Niksic <hniksic@srce.hr>
7097
7098         * keydefs.c (get_relevant_extent_keymaps): Choose correct keymap
7099         at extent boundaries.
7100
7101 Mon Jun  9 19:35:19 1997  Kyle Jones  <kyle_jones@wonderworks.com>
7102
7103         * redisplay.c (pixel_to_glyph_translation):
7104           Fixed off by one error in computation of closest
7105           position when mouse is in the frame's right-side
7106           border area.
7107
7108 Sat Jun  7 22:07:41 1997  Kyle Jones  <kyle_jones@wonderworks.com>
7109
7110         * frame.c (delete_frame_internal):
7111           Calling Fselect_frame isn't sufficient to set the
7112           frame device's selected frame if the frame we're
7113           selecting is on a different device.  Call
7114           set_device_selected_frame apprpriately in that case.
7115           Also don't set the frame device's selected frame to a
7116           frame that's on another device.
7117
7118 1997-06-09  Steven L Baur  <steve@altair.xemacs.org>
7119
7120         * sysdep.c: MS Windows NT doesn't (yet) do child TTY processes.
7121         From David Hobley <davidh@wr.com.au>
7122
7123 Sat Jun  7 22:00:54 1997  Kyle Jones  <kyle_jones@wonderworks.com>
7124
7125         * device-x.c (x_delete_device):
7126           Add an EQ check so that we don't set Vdefault_x_device
7127           back to the device we're deleting.
7128
7129 1997-06-05  Steven L Baur  <steve@altair.xemacs.org>
7130
7131         * frame.c (Fmake_frame): Correct checking of first_frame_on_device.
7132         From Hrvoje Niksic <hniksic@srce.hr>
7133
7134 1997-06-04  Steven L Baur  <steve@altair.xemacs.org>
7135
7136         * device.c (delete_deviceless_console): New function.
7137         (Fmake_device): Use it.  Fix problem of creation of a frame on a
7138         tty where something fails during initialization.
7139         From Kyle Jones <kyle_jones@wonderworks.com>
7140
7141         * specifier.c (Fboolean_specifier_p): Correct spelling in
7142         Docstring (synch from Infodock 3.5).
7143
7144         * frame.c: Update docstring.
7145
7146 1997-06-03  Hrvoje Niksic  <hniksic@srce.hr>
7147
7148         * sysdep.c (tty_init_sys_modes_on_device): Initialize it.
7149
7150         * console.c (complex_vars_of_console): New variable
7151         `tty-erase-char'.
7152
7153         * conslots.h (MARKED_SLOT): New slot.
7154
7155 Mon Jun  2 02:49:44 1997  Kyle Jones  <kyle_jones@wonderworks.com>
7156
7157         * frame.c, frame-tty.c
7158           Treat tty frames like a cross between stacked window
7159           system frames and frames on virtual displays.  All
7160           frames but the top frame are visible but hidden by
7161           default.  next-frame and previous-frame now skip
7162           invisible tty frames by default.  raise-frame and
7163           lower-frame now control whether a frame is hidden
7164           instead of whether it is visible.  Frames are no
7165           longer automatically raised when they are selected.
7166           After a raise/lower operation selection of the new
7167           topmost frame is deferred until a selection magic
7168           event is read.
7169
7170 Sat May 31 19:59:49 1997  Kyle Jones  <kyle_jones@wonderworks.com>
7171
7172         * frame-tty.c (tty_init_frame_3:
7173           Defer selection of the newly created frame until
7174           an event is read.
7175
7176 1997-06-02  Steven L Baur  <steve@altair.xemacs.org>
7177
7178         * search.c (REGEXP_CACHE_SIZE): Bump to 20.
7179         Suggested by Karl M. Hegbloom <karlheg@inetarena.com>
7180
7181 1997-05-30  Steven L Baur  <steve@altair.xemacs.org>
7182
7183         * device-tty.c (tty_asynch_device_change):
7184         * gpmevent.c (connect_to_gpm): Makes it so it doesn't **ck up the
7185         mouse stuff on an XTerm, and resets the internal GPM variables for
7186         the width and height of the screen when we get a sigwinch.
7187         From William M. Perry <wmperry@aventail.com>
7188
7189 1997-05-29  Steven L Baur  <steve@altair.xemacs.org>
7190
7191         * eval.c (Fprogn): Delete mocklisp support.
7192         (Fwhile): Ditto.
7193         (Fcommandp): Ditto.
7194         (Feval): Ditto.
7195         (funcall_recording_as): Ditto.
7196         (funcall_lambda): Ditto.
7197
7198         * elhash.c (verify_function): Delete mocklisp support.
7199
7200         * doc.c (Fdocumentation): Delete mocklisp support.
7201
7202         * data.c (wrong_type_argument): Delete mocklisp support.
7203
7204         * config.h.in: Delete mocklisp support.
7205
7206         * callint.c (Fcall_interactively): Delete mocklisp support.
7207
7208         * emacs.c (main_1): Delete mocklisp initialization.
7209
7210         * symsinit.h: Delete mocklisp.c decls.
7211
7212         * Makefile.in.in: Delete mocklisp stuffs.
7213
7214 Thu May 29 03:00:16 1997  Kyle Jones  <kyle@crystal.wonderworks.com>
7215
7216         * frame.c (change_frame_size_1):
7217           Drop code that returns immediately if the old frame
7218           size is equal to the new.
7219           Leave the minibuffer height the same if the frame has
7220           been initialized, and the minibuffer height is tall
7221           enough to display at least one line of text in the default
7222           font, and the old minibuffer height is a multiple of the
7223           default font height.  This should cause the minibuffer
7224           height to be recomputed on font changes but not for
7225           other frame size changes, which seems reasonable.
7226
7227 1997-05-26  Steven L Baur  <steve@altair.xemacs.org>
7228
7229         * event-stream.c (Frecent_keys): Take optional parameter to
7230         indicate how many keystrokes to return.
7231         (Frecent_keys_ring_size): New function returns the maximum number
7232         of events `recent-keys' can return.
7233         (Fset_recent_keys_ring_size): New function.  Modifies the above.
7234
7235         From Hrvoje Niksic <hniksic@srce.hr>
7236
7237         * event-stream.c: New variable recent_keys_ring_size replacing a
7238         hard-coded macro.
7239
7240 1997-05-23  Steven L Baur  <steve@altair.xemacs.org>
7241         From Hrvoje Niksic <hniksic@srce.hr>
7242
7243         * sysdep.c: Correction of subprocess support when compiling
7244         without ttys.
7245
7246 1997-05-21  Steven L Baur  <steve@altair.xemacs.org>
7247
7248         * editfns.c (format-time-string): Update DOCstring.  Make time
7249         parameter optional.
7250
7251 Wed May 21 11:58:17 1997  Kyle Jones  <kyle@crystal.wonderworks.com>
7252
7253         * insdel.c (signal_first_change):
7254           record the current buffer for the unwind instead of the
7255           buffer that's about to become the current buffer.
7256
7257 Tue May 20 23:23:39 1997  Steven L Baur  <steve@altair.xemacs.org>
7258
7259         * frame.c: Correct spelling typo in docstring.
7260
7261 Mon May 19 03:40:46 1997  Kyle Jones  <kyle@crystal.WonderWorks.COM>
7262
7263         * redisplay.c: (window_line_number)
7264           don't prefer buffer point value over window point
7265           value unless window, frame, device and console are
7266           all selected.
7267
7268         * redisplay.c: (redisplay_window)
7269           don't prefer buffer point value over window point
7270           value unless window, frame, device and console are
7271           all selected.
7272
7273         * redisplay.c: (create_text_block)
7274           don't prefer buffer point value over window point
7275           value unless window, frame, device and console are
7276           all selected.
7277
7278 Sun May 18 13:03:50 1997  Steven L Baur  <steve@altair.xemacs.org>
7279
7280         * Makefile.in.in (distclean): remove xemacs-version.h.
7281
7282 Sun May 11 13:38:46 1997  Kyle Jones  <kyle@crystal.WonderWorks.COM>
7283
7284         * frame.c (change_frame_size_1):
7285           return without doing anything if the frame has benn
7286           initialized and the new frame size is same as the
7287           current frame size.
7288
7289 Sat May 17 19:35:48 1997  Steven L Baur  <steve@altair.xemacs.org>
7290
7291         * device-tty.c (tty_asynch_device_change): Make
7292         `no-redraw-on-reenter' work.  Patch from Hrvoje Niksic.
7293
7294 Sat May 17 23:39:03 1997  Hrvoje Niksic  <hniksic@srce.hr>
7295
7296         * frame-tty.c: Support multiple frames.
7297
7298         * redisplay.c (decode_mode_spec): New coding `%N'.
7299
7300 Sun May 11 23:36:08 1997  Steven L Baur  <steve@altair.xemacs.org>
7301
7302         * buffer.c: Rename Vdelete_auto_save_files to coding standards.
7303
7304         * frame.c: Rename Vallow_deletion_of_last_visible_frame to coding
7305         standards.
7306
7307 Thu May  8 19:10:03 1997  Steven L Baur  <steve@altair.xemacs.org>
7308
7309         * frame.c: Change internal type of
7310         `allow-deletion-of-last-visible-frame' to boolean.
7311
7312         * buffer.c: Change internal type of `delete-auto-save-files' to
7313         boolean.
7314
7315 Sat May  3 15:28:56 1997  Steven L Baur  <steve@altair.xemacs.org>
7316
7317         * redisplay.c: `column-number-start-at-one' is a user customizable
7318         variable.
7319
7320         * event-stream.c (vars_of_event_stream): `focus-follows-mouse' is
7321         a user customizable variable.
7322
7323         * cmds.c (vars_of_cmds): `signal-error-on-buffer-boundary' is a
7324         user customizable variable.
7325
7326         * lread.c (parse_integer): Fix incorrect upper bounds on loop.
7327
7328 Thu May  1 18:59:20 1997  Steven L Baur  <steve@altair.xemacs.org>
7329
7330         * glyphs-x.c (Fmake_subwindow): Update error message.
7331
7332 Wed Apr 30 18:07:18 1997  Steven L Baur  <steve@altair.xemacs.org>
7333
7334         * lread.c: New variable featurep.
7335         (read1): Add processing for #- and #+.
7336         (read_list_conser): Handle case where a feature test has removed a
7337         portion of the input stream.
7338         (vars_of_lread): New feature `xemacs'.
7339
7340         * fns.c (Ffeaturep): Remove function when using #-, #+ feature
7341         reader syntax.
7342
7343         * Makefile.in.in (lisp): Put features.elc in the dump list.
7344
7345 Thu May  1 05:24:25 1997  Hrvoje Niksic  <hniksic@srce.hr>
7346
7347         * buffer.c (Fmake_indirect_buffer): Don't pretend it's there.
7348
7349 Fri Apr 25 10:53:07 1997  Steven L Baur  <steve@altair.xemacs.org>
7350
7351         * glyphs-x.c: libpng already includes setjmp.h, so don't attempt
7352         to include it twice.
7353
7354 Thu Apr 24 09:14:13 1997  Steven L Baur  <steve@altair.xemacs.org>
7355
7356         * balloon-x.c (vars_of_balloon_x): Don't override advertised and
7357         supported balloon-help.
7358
7359 Tue Apr 22 11:54:02 1997  Steven L Baur  <steve@altair.xemacs.org>
7360
7361         * emacs.c (main_1): Add syms_of_balloon_x and guard with
7362         HAVE_X_WINDOWS.
7363         (main_1): Add vars_of_balloon_x and guard with HAVE_X_WINDOWS.
7364
7365         * process.c (get_process): This function can be passed a BUFFER as
7366         a parameter.
7367
7368 Tue Apr 22 01:32:00 1997  Kyle Jones  <kyle@crystal.WonderWorks.COM>
7369
7370         * menubar-x.c (pre_activate_hook):
7371           set in_menu_callback around call to call to
7372           menu_item_descriptor_to_widget_value.
7373
7374         * event-stream.c (Fnext_event):
7375           signal error if in_menu_callback non-nil to avoid
7376           reentering the menubar code and causing a crash later.
7377
7378         * cmdloop.c (command_loop_3):
7379           signal error if in_menu_callback non-nil to avoid
7380           inflooping calling Fnext_event, which will signal an
7381           error if the situation is not caught earlier.
7382
7383 Tue Apr 22 08:22:22 1997  Hrvoje Niksic  <hniksic@srce.hr>
7384
7385         * balloon-x.c, balloon_help.c, balloon_help.h: Modified to conform
7386         to XEmacs coding standards.
7387
7388 Thu Apr 17 17:16:34 1997  Steven L Baur  <steve@altair.xemacs.org>
7389
7390         * balloon-x.c: New file from Douglas Keller.
7391
7392         * balloon_help.c: New file from Douglas Keller.
7393
7394         * balloon_help.h: New file from Douglas Keller.
7395
7396 Sun Apr 13 09:56:54 1997  Steven L Baur  <steve@altair.xemacs.org>
7397
7398         * emacs.c (shut_down_emacs): Advertise using send-pr as the
7399         mechanism for submitting a bug report.
7400
7401         * Makefile.in.in: Handle pathological case of mis-autodetected
7402         TOOLTALK.
7403
7404 Sun Apr 13 11:33:34 1997  David Moore  <dmoore@ucsd.edu>
7405
7406         * regex.c (re_search_2): Prevent incorrect matching and infinite
7407         loop with \\` and MULE.
7408
7409 Sat Apr 12 05:57:51 1997  Steven L Baur  <steve@altair.xemacs.org>
7410
7411         * Makefile.in.in (lisp): Dump cus-start.elc with XEmacs.
7412
7413         * event-Xt.c (x_to_emacs_keysym): Allow for dead keys.  (Patch
7414         from Joachim Schnitter).
7415
7416         * Makefile.in.in: Allow native sound for BSD/I.
7417
7418         * linuxplay.c: Rename global sndbuf to linuxplay_sndbuf.
7419         Make sndbuf, mix_fd, audio_vol, audio_fd, audio_dev non-static to
7420         avoid dump time lossage.
7421         (sndcnv8U_2mono): Rename global sndbuf to linuxplay_sndbuf.
7422         (sndcnv8S_2mono): Ditto.
7423         (sndcnv2monounsigned): Ditto.
7424         (sndcnv2unsigned): Ditto.
7425         (sndcnvULaw_2mono): Ditto.
7426         (sndcnv16_2monoLE): Ditto.
7427         (sndcnv16_2monoBE): Ditto.
7428         (sndcnv2byteLE): Ditto.
7429         (sndcnv2byteBE): Ditto.
7430         (sndcnv2monobyteLE): Ditto.
7431         (sndcnv2monobyteBE): Ditto.
7432         (linux_play_data_or_file): Ditto.
7433         (linux_play_data_or_file): Ditto.
7434         (linux_play_data_or_file): Ditto.
7435
7436 Sat Apr 12 01:59:14 1997  Kyle Jones  <kyle_jones@WonderWorks.COM>
7437
7438         * glyphs-x.c, glyphs.c, glyphs.h: Added domain parameter to all
7439           image *_instantiate functions so that the domsin is available to
7440           specifier lookups in the various instantiator functions.  Passed
7441           domain argument to extract_xpm_color_names for the
7442           Fspecifier_instance call.
7443
7444 Fri Apr 11 20:02:40 1997  Steven L Baur  <steve@altair.xemacs.org>
7445
7446         * glyphs-x.c (extract_xpm_color_names): Add checking to handle
7447         case for when XEmacs is in initialization.
7448
7449         * events.c (Fevent_type): Remove handling for dead_event.
7450         (Fevent_properties): Remove handling for dead_event.
7451
7452 Thu Apr 10 20:41:53 1997  David Moore  <dmoore@ucsd.edu>
7453
7454         * ntproc.c (sys_spawnve): Clean up GC protection.
7455
7456         * fileio.c (Ffile_executable_p): Clean up GC protection.
7457
7458 Thu Apr 10 12:48:49 1997  Steven L Baur  <steve@altair.xemacs.org>
7459
7460         * glyphs.c: Undo duplicate declaration of display_table.
7461
7462         * glyphs.h: Back out name change of autodetect to
7463         automatic_conversion.
7464
7465         * glyphs.c: Back out name change of autodetect to
7466         automatic_conversion.
7467
7468         * glyphs-x.c (image_instantiator_format_create_glyphs_x): Back out
7469         name change of autodetect to automatic_conversion.
7470
7471         * events.c (Fevent_properties): Do something sensible for
7472         dead_event and empty_event.
7473
7474         * general.c: Restore autodetect symbol.
7475
7476         * emacsfns.h: Declare new symbol Qempty.
7477
7478         * general.c: Add symbol to identify empty events.
7479
7480         * events.c (Fevent_type): Don't abort() when presented with an
7481         empty_event or a dead_event.
7482
7483 Mon Apr  7 18:12:26 1997  David Moore  <dmoore@ucsd.edu>
7484
7485         * xmu.c: Renamed local `initialized' variable to `hex_initialized'
7486         and don't assign to static, as some compilers crash.
7487         (initHexTable): Use it.
7488         (XmuReadBitmapData): Use it.
7489
7490 Sun Apr  6 18:03:47 1997  David Moore  <dmoore@ucsd.edu>
7491
7492         * fileio.c (Fexpand_file_name): Clean up GC protection.
7493
7494         * dired.c (Fdirectory_files): Clean up GC protection.
7495
7496         * insdel.c (signal_after_change): Don't run after_change_functions
7497         on special Vprin1_to_string_buffer.
7498         (signal_before_change): Ditto for before_change_functions.
7499
7500 Fri Apr  4 14:41:17 1997  David Moore  <dmoore@ucsd.edu>
7501
7502         * buffer.c (Fkill_buffer): Don't kill special
7503         Vprin1_to_string_buffer.
7504
7505 Mon Apr  7 19:13:40 1997  Steven L Baur  <steve@altair.xemacs.org>
7506
7507         * Makefile.in.in (xemacs-version.h): Added to rename main_1 to
7508         something reflecting the XEmacs version in use (for lusers
7509         reporting crashes who forget to include the version number).
7510
7511         * toolbar.c (specifier_vars_of_toolbar): Strip HAVE_NEXTSTEP.
7512
7513         * sound.c: Strip HAVE_NEXTSTEP.
7514
7515         * redisplay.c (init_redisplay): Strip HAVE_NEXTSTEP.
7516
7517         * faces.c: Strip HAVE_NEXTSTEP.
7518         (update_EmacsFrame): Ditto.
7519
7520         * events.c (event_equal): Strip HAVE_NEXTSTEP.
7521         (event_hash): Ditto.
7522         (format_event_object): Ditto.
7523
7524         * event-stream.c (init_event_stream): Strip HAVE_NEXTSTEP.
7525
7526         * emacs.c (main_1): Strip HAVE_NEXTSTEP.
7527         Attempt hack to change name of main_1 to something reflecting the
7528         current version for lusers who don't include version numbers with
7529         stack backtraces.
7530
7531         * device.c: Strip HAVE_NEXTSTEP.
7532
7533         * console.c (Fconsole_type): Remove reference to unimplemented ns
7534         windows type.
7535
7536 Sun Apr  6 08:08:33 1997  Steven L Baur  <steve@altair.xemacs.org>
7537
7538         * frame.h: Strip NeXTStep stuff.
7539
7540         * device.h: Strip NeXTStep stuff.
7541
7542         * console.h: More NeXTStep trimming.
7543
7544         * console-x.h: Strip Epoch stuff.
7545
7546         * symsinit.h (init_sunpro): Strip vms/Epoch stuff.
7547
7548         * events.h (union magic_data): Strip NeXTStep stuff.
7549
7550         * console.h: Strip NeXTStep stuff.
7551
7552         * config.h.in: Strip unimplemented NeXTStep/Epoch stuff out.
7553
7554         * Makefile.in.in: Remove unused NeXTStep support.  It's all in the
7555         cvs attic if someone wishes to revive it.
7556         (epoch.o): Remove last vestiges of non-existent epoch support.
7557
7558 Sat Apr  5 17:16:49 1997  Steven L Baur  <steve@altair.xemacs.org>
7559
7560         * fns.c: Correct DOC string to not equate integers and
7561         characters.
7562
7563 Thu Apr  3 08:01:50 1997  Steve Carney  <carney@gvc.dec.com>
7564
7565         * s/decosf4.0-static.h: New file.
7566
7567 Tue Apr  1 12:22:32 1997  Steven L Baur  <steve@altair.xemacs.org>
7568
7569         * config.h.in: MAIL_USE_POP, KERBEROS, HESIOD -- new parameters to
7570         deal with upgraded movemail.c.
7571
7572 Fri Mar 28 19:25:22 1997  Steven L Baur  <steve@altair.xemacs.org>
7573
7574         * inline.c: Restore this blasphemous file.
7575
7576         * Makefile.in.in (inline.o): Restore the bletcherous
7577         inline.c.
7578
7579 Tue Mar 25 11:36:08 1997  David Moore  <dmoore@ucsd.edu>
7580
7581         * fileio.c (barf_or_query_if_file_exists): GC fixes.
7582         (Ffile_readable_p): ditto.
7583         (Ffile_writable_p): ditto.
7584         (Ffile_symlink_p): ditto.
7585         (Ffile_accessible_directory_p): ditto.
7586
7587         * sound.c (Fplay_sound_file): Fix up gc problems with file
7588         handlers.
7589
7590         * buffer.c (Fkill_buffer): Fix up buffer killing problems with
7591         file handlers.
7592
7593         * sysdep.c (sys_subshell): Fix up gc problems with file handlers.
7594
7595         * callproc.c (Fcall_process_internal): Fix up gc problems with
7596         file handlers.
7597 Tue Mar 25 17:16:14 1997  Steven L Baur  <steve@altair.xemacs.org>
7598
7599         * ralloc.c (MHASH): Make 64bit Alpha happier.
7600
7601 Tue Mar 25 11:36:08 1997  David Moore  <dmoore@ucsd.edu>
7602
7603         * fileio.c (auto_save_expand_name_error): New function.
7604         (auto_save_expand_name): Ditto.
7605         (Fdo_auto_save): Protect against an error in Fexpand_file_name
7606         from kicking us inappropriately out of auto-save.
7607
7608 Mon Mar 24 21:50:13 1997  Steven L Baur  <steve@altair.xemacs.org>
7609
7610         * s/linux.h (GETPGRP_NEEDS_ARG): Define if compiling with glibc
7611         2.1 (suggested by Andreas Jaeger).
7612
7613 Mon Mar 24 12:40:56 1997  David Moore  <dmoore@ucsd.edu>
7614
7615         * profile.c: Fixed some comments about GC status of functions.
7616
7617         * profile.c (inside_profiling): New variable to lock the
7618         profiling table.
7619         (sigprof_handler): Check it.
7620         (Fget_profiling_info): Set it.
7621         (mark_profiling_info): Set it.
7622         (Fclear_profiling_info): Set it.
7623
7624         * eval.c (PUSH_BACKTRACE): New macro.
7625         (POP_BACKTRACE): Ditto.
7626
7627         * eval.c (Fcommand_execute): Use them and fix problem with
7628         backtrace_list build ordering requirements for profiling code.
7629         (Feval): Ditto.
7630         (funcall_recording_as): Ditto.
7631
7632 Fri Mar 21 20:19:09 1997  Steven L Baur  <steve@altair.xemacs.org>
7633
7634         * Makefile.in.in: strip inline.o.
7635
7636 Fri Mar 21 18:54:04 1997  David Moore  <dmoore@ucsd.edu>
7637
7638         * fileio.c (call2_check_string_or_nil): New function.
7639         (Ffile_name_directory): Use it.
7640         (Fsubstitute_in_file_name): Use it.
7641
7642         * fileio.c (Fexpand_file_name): GC protect against file handlers.
7643         (Fdelete_file): ditto
7644         (Ffile_writable_p): ditto
7645         (Ffile_directory_p): ditto
7646         (Ffile_regular_p): ditto
7647         (Fset_file_modes): ditto
7648         (Ffile_newer_than_file_p): ditto
7649         (Fset_visited_file_modtime): ditto
7650
7651         *fileio.c (Ffile_truename): Unnecessary GC protection.
7652         (Fdelete_directory): Fix broken caller-must-GC-protect call.
7653
7654         * filelock.c (lock_file): New comments warning that this function
7655         may kill the current buffer.
7656         (unlock_file): ditto
7657         (Flock_buffer): ditto
7658         (Funlock_buffer): ditto
7659         (unlock_buffer): ditto
7660
7661         * filelock.c (unlock_all_files): GC protect against unlock_file
7662         killing random buffers.
7663
7664         * buffer.c (Fkill_buffer): GC protect against unlock_file killing
7665         the buffer.
7666
7667         * insdel.c (prepare_to_modify_buffer): GC protect against
7668         lock_file() killing the buffer.
7669
7670 Fri Mar 21 19:11:15 1997  Steven L Baur  <steve@altair.xemacs.org>
7671
7672         * mule-coding.c (vars_of_mule_coding): Add
7673         enable-multibyte-characters for MULE compatibility.
7674
7675 Thu Mar 20 13:25:26 1997  Steven L Baur  <steve@altair.xemacs.org>
7676
7677         * glyphs-x.c: Implement a dummy function to insert a fake EOI
7678         marker if called.  Based on code from William Perry.
7679
7680 Wed Mar 19 10:49:05 1997  Steven L Baur  <steve@altair.xemacs.org>
7681
7682         * menubar-x.c (pre_activate_callback): Attempt to avoid recursive
7683         expansion of submenus via :filter expansion.
7684
7685         * glyphs-x.c (x_print_image_instance): Move define of
7686         HAVE_SUBWINDOWS to glyphs-x.h.
7687         (our_skip_input_data): Implement with some error checking based on
7688         patch by Dominic Froud.
7689
7690         * glyphs-x.h (HAVE_SUBWINDOWS): Define to keep inline.c from
7691         barfing.
7692
7693 Tue Mar 18 11:15:23 1997  Steven L Baur  <steve@altair.xemacs.org>
7694
7695         * glyphs-x.c: Strip unimplemented subwindows code.
7696
7697 Mon Mar 17 15:40:12 1997  David Moore  <dmoore@ucsd.edu>
7698
7699         * glyphs-x.c (our_own_dgif_slurp_from_gif2x11_c): Only get the
7700         first image out of a multi-image or animated gif.
7701
7702 Mon Mar 17 15:27:26 1997  Steven L Baur  <steve@altair.xemacs.org>
7703
7704         * Makefile.in.in (xemacs): Invert sense of test for successful
7705         completion of XEmacs dump.
7706
7707 Sat Mar 15 14:21:39 1997  David Moore  <dmoore@ucsd.edu>
7708
7709         * fileio.c (Fdo_auto_save): Protect against file handlers which
7710         may kill the buffer being saved or otherwise modify Vbuffer_alist.
7711
7712 Sat Mar 15 15:32:51 1997  Steven L Baur  <steve@altair.xemacs.org>
7713
7714         * Makefile.in.in (lisp): Add auto-customize.elc.
7715
7716 Fri Mar 14 19:10:37 1997  David Moore  <dmoore@ucsd.edu>
7717
7718         * extents.c (extent_changed_for_redisplay): New parameter.
7719         (extent_changed_for_redisplay): Notify redisplay if invisible text
7720         has become visible.
7721         (extent_maybe_changed_for_redisplay): New parameter.
7722         (extent_attach): Use it.
7723         (extent_detach): Use it.
7724         (Fset_extent_parent): Use it.
7725         (set_extent_invisible): Use visibility change parameter.
7726         (Fset_extent_face): Ditto.
7727         (Fset_extent_mouse_face): Ditto.
7728         (set_extent_glyph): Ditto.
7729         (do_highlight): Ditto.
7730
7731 Thu Mar 13 10:40:37 1997  Steven L Baur  <steve@altair.xemacs.org>
7732
7733         * s/sunos4-1-4-shr.h: New file.
7734
7735         * s/sunos4-1-4.h: New file.
7736
7737         * s/sunos4-1.h (BROKEN_SIGIO): Define.
7738
7739 Wed Mar 12 14:29:40 1997  Steven L Baur  <steve@altair.xemacs.org>
7740
7741         * emacs.c (fatal_error_signal): (mostly) useless check on
7742         /usr/proc/bin/pstack removed.
7743
7744         * s/bsdos3.h: New file for BSDI 3.0.
7745
7746         * editfns.c (Fchar_equal): Correct DOC string.
7747         (Fchar_Equal): (char=) CL Case sensitve comparison added.
7748
7749         * data.c (Fcharacterp): Make DOC string less confrontational.
7750
7751 Mon Mar 10 23:51:04 1997  Martin Buchholz  <mrb@eng.sun.com>
7752
7753         * input-method-motif.c (XIM_init_frame): Fix XIM crash on some
7754         versions of X11R6 XIM.
7755
7756 Sun Mar  9 21:46:53 1997  Tomasz J. Cholewo  <t.cholewo@ieee.org>
7757
7758         * minibuf.c (regexp_ignore_completion_p): Reverse meaning of
7759         completion-regexp-list.
7760
7761 Thu Mar  6 19:15:29 1997  Steven L Baur  <steve@altair.xemacs.org>
7762
7763         * data.c (eq_with_ebola_notice): Unobfuscate Ebola warning!!!
7764         message.
7765
7766 Wed Mar  5 16:11:22 1997  Steven L Baur  <steve@altair.xemacs.org>
7767
7768         * process.c (get_internet_address): Put upper bounds on attempting
7769         to get system name (similar to nearly identical processing in
7770         sysdep.c.
7771
7772 Tue Mar  4 17:30:48 1997  Steven L Baur  <steve@altair.xemacs.org>
7773
7774         * puresize.h (PURESIZE): *Must* use angle brackets for
7775         puresize_adjust.h or build will lose with --srcdir.
7776
7777         * alloc.c (report_pure_usage): Adjust error message printed when
7778         too low on PURESIZE.
7779
7780         * Makefile.in.in: Move site-packages.
7781         Add vpath correction for puresize_adjust.h.
7782
7783 Mon Mar  3 20:37:54 1997  Steven L Baur  <steve@altair.xemacs.org>
7784
7785         * Makefile.in.in (lisp): Remove custom-xmas.elc.
7786
7787 Sat Mar  1 01:20:39 1997  Steven L Baur  <steve@altair.xemacs.org>
7788
7789         * doc.c (weird_doc): Don't print `duplicate' messages as they are
7790         almost always due to symbols that are both autoloaded and dumped.
7791
7792         * data.c (syms_of_data): char-int and int-char -> char-to-int and
7793         int-to-char.
7794
7795 Thu Feb 27 21:48:32 1997  Steven L Baur  <steve@altair.xemacs.org>
7796
7797         * Makefile.in.in (xemacs): Loop when dumping until SATISFIED.
7798
7799         * lstream.c (signal_simple_internal_error): Remove the abort().
7800
7801         * alloc.c (Fpurecopy): Make it work for byte compiled functions.
7802         (Fgarbage_collect): Disable garbage collection if we're dumping
7803         XEmacs and we've overflowed purespace.
7804
7805 Thu Feb 27 14:14:53 1997  Darrell Kindred  <dkindred@cmu.edu>
7806
7807         * event-Xt.c (change_frame_visibility): New function.
7808         (handle_map_event): Use it.
7809         (emacs_Xt_handle_magic_event): Correction of handling of
7810         VisibilityNotify.
7811
7812 Thu Feb 27 14:12:57 1997  Steven L Baur  <steve@altair.xemacs.org>
7813
7814         * frame-x.c (x_frame_visible_p): Reverse previous change.
7815
7816 Sun Mar  2 14:01:32 1997  David Moore  <dmoore@ucsd.edu>
7817
7818         * regex.c (re_search_2): Properly handle crossing the buffer gap
7819         when doing a backwards search under MULE.
7820
7821 Wed Feb 26 10:24:40 1997  Steven L Baur  <steve@altair.xemacs.org>
7822
7823         * Makefile.in.in: make-docfile takes a "-i" parameter to pass
7824         site-loaded lisp files.
7825
7826         * alloc.c (report_pure_usage): Adjust restart message.
7827
7828 Tue Feb 25 10:58:12 1997  Steven L Baur  <steve@altair.xemacs.org>
7829
7830         * Makefile.in.in: Add PURESIZE.h to special treatment in vpath.
7831
7832         * alloc.c (PURESIZE_h): New function.
7833         (report_pure_usage): Use it.  If PURESIZE is not the right amount,
7834         use the correct value.
7835
7836         * puresize.h: Use dynamic computation of PURESIZE.
7837
7838         * PURESIZE.h: New file.
7839
7840         * fns.c (Frandom): Fix docstring.
7841
7842 Mon Feb 24 17:35:05 1997  Jonathan Edwards  <edwards@intranet.com>
7843
7844         * process.c (record_exited_processes): Fix obvious typo in
7845         checking for SIGCLD.
7846
7847 Sun Feb 23 01:45:49 1997  Martin Buchholz  <mrb@eng.sun.com>
7848
7849         * scrollbar.c (update_scrollbar_instance): Fix for
7850         all-hail-xemacs scrollbar drag bug.
7851
7852         * scrollbar.c (Fscrollbar_to_bottom): Now calls Frecenter(-3)
7853         as end-of-buffer does, instead of hostile Frecenter(0).  Makes
7854         C-button-1 on down-arrow friendlier.
7855
7856 Sun Feb 23 16:56:17 1997  David Hobley  <david@spook-le0.cia.com.au>
7857         Initial MS Windows NT support.
7858         * unexnt.c: New file.
7859
7860         * ntproc.c: New file.
7861
7862         * ntheap.h: New file.
7863
7864         * ntheap.c: New file.
7865
7866         * nt.h: New file.
7867
7868         * nt.c: New file.
7869
7870 Sun Feb 23 15:56:58 1997  Steven L Baur  <steve@altair.xemacs.org>
7871
7872         * floatfns.c (_GNU_SOURCE): Define if compiling with glibc 2.
7873
7874         * gmalloc.c: Guard __getpagesize definition against glibc 2.
7875
7876 Sat Feb 22 17:12:47 1997  Steven L Baur  <steve@altair.xemacs.org>
7877
7878         * Makefile.in.in (lisp): Snarf docstrings from new file
7879         itimer-autosave.elc.
7880
7881 Fri Feb 21 18:21:32 1997  Jan Vroonhof  <vroonhof@math.ethz.ch>
7882
7883         * event-Xt.c (emacs_Xt_handle_magic_event): Correction for frame
7884         freezing bug.
7885
7886 Wed Feb 19 12:54:32 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
7887
7888         * buffer.c (Fbuffer_disable_undo): Default to current buffer.
7889
7890 Tue Feb 18 12:37:28 1997  Steven L Baur  <steve@altair.xemacs.org>
7891
7892         * Makefile.in.in (lisp): Dump new file custom-xmas.elc.
7893
7894 Mon Feb 17 11:29:07 1997  Steven L Baur  <steve@altair.xemacs.org>
7895
7896         * print.c (Ferror_message_string): New function, ported from Emacs
7897         19.34.
7898         (print_error_message): Ditto.
7899
7900         * extents.c (verify_extent_mapper): Experimental deletion of code
7901         to allow deletion of read-only extents.
7902
7903         * symbols.c (hash_string): Replace algorithm with one given in
7904         Aho, Sethi & Ullman.
7905
7906 Sun Feb 16 14:53:58 1997  Steven L Baur  <steve@altair.xemacs.org>
7907
7908         * keymap.c (lookup_keys): Wrong sense in test.
7909
7910         * Makefile.in.in: Don't dump font.elc.
7911
7912 Sat Feb 15 02:30:51 1997  Steven L Baur  <steve@altair.xemacs.org>
7913
7914         * cmds.c: Define new symbol signal-error-on-buffer-boundary.
7915         (Fforward_char): Use it.
7916         (Fbackward_char): Use it.
7917
7918         * window.c (Fscroll_up): Use it.
7919         (Fscroll_down): Use it.
7920
7921         * keymap.c (syms_of_keymap): define mouse-[123] and
7922         down-mouse-[123] pseudo-keysym aliases for Emacs compatibility.
7923
7924 Thu Feb 13 21:28:35 1997  Steven L Baur  <steve@altair.xemacs.org>
7925
7926         * Makefile.in.in: Don't dump tm with XEmacs under any
7927         circumstances.
7928
7929         * puresize.h: Remove extra SunPro puresize for MULE+tm.
7930
7931 Sun Feb  9 04:40:36 1997  Axel Seibert  <aseibert@cybernet-ag.net>
7932
7933         * emacs.c (main_1): Fix NeXT malloc initialization.
7934
7935 Fri Feb  7 11:36:56 1997  Steven L Baur  <steve@altair.xemacs.org>
7936
7937         * mule-coding.c (Fdecode_coding_region): Make explicit call to
7938         `barf_if_buffer_read_only'.
7939         (Fencode_coding_region): Ditto.
7940
7941 Thu Feb  6 22:39:39 1997  Steven L Baur  <steve@altair.xemacs.org>
7942
7943         * extents.c (syms_of_extents): Remove references to replicating
7944         extents.
7945
7946         * extents.h (struct extent): Remove references to replicating
7947         extents.
7948
7949 Thu Feb  6 01:11:43 1997  Jareth Hein  <jhod@po.iijnet.or.jp>
7950
7951         * mule-coding.c (ENCODE_SJIS): Correct typo.
7952
7953 Thu Feb  6 01:10:22 1997  Steven L Baur  <steve@altair.xemacs.org>
7954
7955         * frame.c (delete_frame_internal): Protect against deletion of
7956         frames with living popup children.
7957
7958 Wed Feb  5 17:13:17 1997  David Moore  <dmoore@UCSD.EDU>
7959
7960         * emacs.c (main_1): Try to avoid collisions against potentially
7961         incompatible system mallocs.
7962
7963 Mon Feb  3 23:04:41 1997  Joel Peterson  <tarzan@aosi.com>
7964
7965         * redisplay.c: Activate face/charset redisplay caching.
7966
7967 Mon Feb  3 22:01:09 1997  Kyle Jones  <kyle_jones@wonderworks.com>
7968
7969         * eval.c (do_debug_on_exit): Don't restore old value of
7970         debug_on_next_call improperly.
7971
7972 Fri Jan 31 10:28:47 1997  David Byers  <davby@ida.liu.se>
7973
7974         * frame.c (frame_matches_frametype): Fix next-window when the next
7975         window is on another frame.
7976
7977 Thu Jan 30 20:25:00 1997  Steven L Baur  <steve@altair.xemacs.org>
7978
7979         * syntax.c (scan_sexps_forward): Change test on targetdepth to
7980         match Emacs 19.34.
7981
7982 Wed Jan 29 22:11:53 1997  James LewisMoss <dres@scsn.net>
7983
7984         * gmalloc.c: Corrections for namespace collision with Linux libc
7985         malloc.
7986
7987 Mon Jan 27 21:46:53 1997  Tomasz J. Cholewo  <tjchol01@mecca.spd.louisville.edu>
7988
7989         * fileio.c (Fwrite_region_internal): pack lockname to write-region
7990         handler.
7991
7992 Mon Jan 27 04:50:50 1997  David Moore <dmoore@UCSD.EDU>
7993
7994         * gmalloc.c (malloc): Guard against incompatible system mallocs
7995         with conflicting symbols.
7996
7997 Sun Jan 26 12:27:04 1997  Steven L Baur  <steve@altair.xemacs.org>
7998
7999         * redisplay.c (add_emchar_rune): Back out optimization change of
8000         caching last_charset.
8001
8002 Sun Jan 26 09:10:45 1997  Hrvoje Niksic <hniksic@srce.hr>
8003
8004         * s/decosf4-0.h: Digital Unix 4.0 has a realpath, but it's buggy.
8005         And I *do* mean buggy.
8006
8007 Thu Jan 23 10:41:19 1997  Steven L. Baur  <steve@altair.xemacs.org>
8008
8009         * puresize.h: Increase SUNPRO usage to reflect tm & cc-mode.
8010         Decrease BASE_PURESIZE and increase MULE_PURESIZE_EXTRA.
8011
8012 Wed Jan 22 21:09:52 1997  Steven L Baur  <steve@altair.xemacs.org>
8013         * puresize.h (BASE_PURESIZE): Tighten up.
8014
8015         * scrollbar.c (scrollbar-page-up): Add Athena3d to Lucid/Motif
8016         code.
8017         (scrollbar-page-down): Ditto.
8018
8019         * scrollbar-x.c (x_create_scrollbar_instance): Add Athena3d to
8020         Lucid/Motif code.
8021         (x_update_vertical_scrollbar_callback): Ditto.
8022         (x_update_horizontal_scrollbar_callback): Add Athena3d to Lucid
8023         special case code.
8024
8025         * scrollbar-x.h (struct x_scrollbar_data): Add start drag position
8026         for Athena3d.
8027
8028         * redisplay-output.c (redisplay_update_line): A vain attempt to
8029         get the Athena vertical thumb adjusted after drag.
8030
8031         * EmacsFrame.c: Default to lower/right with Athena3d libraries.
8032
8033 Wed Jan 22 18:38:52 1997  Ian Wells  <I.Wells@tarragon-et.co.uk>
8034
8035         * m/aviion.h: Remove definition of m88k.
8036
8037         * s/dgux5-4r4.h: New file.
8038
8039 Wed Jan 22 18:32:49 1997  Steven L Baur  <steve@altair.xemacs.org>
8040
8041         * buffer.h: Put proper typecasts on calls to alloca().
8042
8043 Tue Jan 21 22:25:23 1997  Steven L. Baur  <steve@altair.xemacs.org>
8044
8045         * config.h.in: Add LWLIB_USES_ATHENA symbol
8046
8047         * Makefile.in.in (TOOLKIT_LIBS): It is possible to have both
8048         Athena and Motif in the same link.
8049
8050 Tue Jan 21 20:43:41 1997  Hrvoje Niksic  <hniksic@srce.hr>
8051
8052         * redisplay-tty.c (tty_ring_bell): Don't ring tty bell if the
8053         volume is set to 0.
8054
8055 Tue Jan 21 20:38:58 1997  Axel Seibert  <aseibert@cybernet-ag.net>
8056
8057         * s/nextstep.h (signal_handler_t): define as int.
8058
8059 Mon Jan 20 21:12:57 1997  Martin Buchholz  <mrb@eng.sun.com>
8060
8061         * event-Xt.c (emacs_Xt_handle_magic_event):
8062         (frame-totally-visible-p) sometimes incorrectly returned nil.
8063
8064 Thu Jan 16 17:24:29 1997  Joel Peterson  <tarzan@aosi.com>
8065
8066         * menubar-x.c (pre_activate_callback): Correctly handle buffer
8067         local variables in :included clauses.
8068         (compute_menubar_data): Ditto.
8069
8070 Wed Jan 15 21:44:53 1997  Joel Peterson  <tarzan@aosi.com>
8071
8072         * redisplay.c (add_emchar_rune): Enable last_charset display
8073         optimization.
8074
8075 Wed Jan 15 19:06:27 1997  David Moore  <dmoore@UCSD.EDU>
8076
8077         * event-stream.c (Faccept_process_output): Avoid checking an
8078         uninitialized variable.
8079
8080 Wed Jan 15 14:14:24 1997  Steven L Baur  <steve@altair.xemacs.org>
8081
8082         * regex.c: Modify values of re_max_failures and MAX_FAILURE_ITEMS
8083         to match Emacs 19.34.
8084
8085 Mon Jan 13 00:36:01 1997  Martin Buchholz  <mrb@eng.sun.com>
8086
8087         * sysdep.c (sys_execvp): Fix when compiled with
8088         --const-is-losing=no.  Old code could crash if argv contained
8089         non-ascii characters and the execvp failed and then caller
8090         examined argv (for error message, for example).
8091
8092 Sun Jan 12 17:22:24 1997  Steven L Baur  <steve@altair.xemacs.org>
8093
8094         * Makefile.in.in: TM .elcs moved to SUNPRO_LISP only.
8095
8096 Fri Jan 10 20:21:47 1997  Ben Wing  <ben@666.com>
8097
8098         * minibuf.c (Ftry_completion): Don't crash if not given a proper
8099         obarray.
8100
8101 Fri Jan 10 09:49:44 1997  Ted Phelps  <phelps@dstc.edu.au>
8102
8103         * objects-x.c (x_initialize_font_instance): Hardcode 'n' for
8104         default font width.
8105
8106 Mon Jan  6 15:16:46 1997  Carsten Leonhardt  <leo@arioch.tng.oche.de>
8107
8108         * Makefile.in.in: Linking with canna requires -lRKC.
8109
8110 Mon Jan  6 12:22:57 1997  Frederic Poncin  <fp@info.ucl.ac.be>
8111
8112         * gmalloc.c: Don't declare __sbrk on SparcLinux.
8113
8114 Sun Jan  5 18:04:47 1997  Soren Dayton  <csdayton@cs.uchicago.edu>
8115
8116         * Makefile.in.in: IRIX6 can use sgiplay.c too.
8117
8118 Sat Jan  4 12:15:16 1997  Steven L Baur  <steve@altair.xemacs.org>
8119
8120         * toolbar.c (specifier_vars_of_toolbar): Clean up fallback
8121         specifiers so XEmacs can be built without tty support.
8122
8123         * console-stream.c: Moved function bodies of
8124         semi_canonicalize_console_connection,
8125         canonicalize_console_connection,
8126         semi_canonicalize_device_connection, and
8127         canonicalize_device_connection into this file from console-tty.c.
8128         Moved variable Vstdio_str into this file.
8129
8130         * console-tty.c: See above.
8131
8132 Fri Jan  3 18:07:11 1997  Axel Seibert  <aseibert@cybernet-ag.net>
8133
8134         * m/next.h: Cleanup accumulated cruft.
8135
8136         * s/nextstep.h: Remove useless #undef REL_ALLOC/HAVE_MMAP.
8137
8138         * syssignal.h: Don't typedef SIGTYPE on NeXT.
8139
8140 Fri Jan  3 12:06:44 1997  Michael Sperber  <sperber@informatik.uni-tuebingen.de>
8141
8142         * m/ibmrs6000.inp: Added various get.* symbols.
8143
8144 Sun Dec 29 20:16:08 1996  Steven L Baur  <steve@altair.xemacs.org>
8145
8146         * m/next.h: Remove signal_handler_t #define.
8147
8148         * s/nextstep.h: Remove signal_handler_t #define.
8149
8150 Fri Dec 27 21:13:33 1996  Martin Buchholz  <mrb@Eng.Sun.COM>
8151
8152         * event-Xt.c (x_to_emacs_keysym): Corrections to SUNOS_GCC_LO_BUG.
8153
8154 Mon Dec 23 11:37:16 1996  Martin Buchholz  <mrb@Eng.Sun.COM>
8155
8156         * fns.c (Ffillarray): Fix for (fillarray #*10 0)
8157
8158 Mon Dec 23 10:27:14 1996  Steven L Baur  <steve@altair.xemacs.org>
8159
8160         * bitmaps.h: Change to unsigned char.
8161
8162         * frame-x.c (x_cde_transfer_callback): Typecast fix.
8163
8164         * keymap.c (define_key_check_and_coerce_keysym): Typecast fix.
8165
8166 Fri Dec 20 19:21:56 1996  Steven L Baur  <steve@altair.xemacs.org>
8167
8168         * Makefile.in.in (lisp): Remove cc-mode as a dumped package.
8169
8170         * keymap.c (define_key_check_and_coerce_keysym): Make obsolete
8171         binding of kp_.* not lose.
8172
8173         * bitmaps.h: Add left & right arrows to show extended lines.
8174
8175 Fri Dec 20 15:32:53 1996  David Moore  <dmoore@UCSD.EDU>
8176
8177         * event-stream.c (event_stream_wakeup_pending_p): New function.
8178         (Faccept_process_output): Fix timeout handling race conditions.
8179         (Fsleep_for): Ditto.
8180         (Fsit_for): Ditto.
8181
8182 Thu Dec 19 22:25:26 1996  Steve Carney  <carney@gvc.dec.com>
8183
8184         * cmds.c (Fbeginning_of_line): Adjust for 64 bit machines.
8185
8186 Thu Dec 19 00:44:10 1996  Bart Robinson  <lomew@cs.utah.edu>
8187
8188         * syssignal.h: The declaration of SIGTYPE shouldn't be protected
8189         by HAVE_SIGPROCMASK.
8190
8191 Wed Dec 18 20:40:21 1996  Martin Buchholz  <mrb@eng.sun.com>
8192
8193         * dgif_lib.c: Miscellaneous cleanup, including removing signed
8194         bitfields.
8195
8196         * mule-charset.h: Change charset names.
8197
8198         * mule-coding.c (struct iso2022_decoder): Uniform unsigned bitfields.
8199         Change charset names.
8200
8201         * mule-charset.c: Change charset names.
8202
8203         * mule-canna.c: Change charset names.
8204
8205         * EmacsShell-sub.c: Ansify and reformat.
8206
8207         * console-tty.h (struct tty_console): Uniform unsigned bitfields.
8208
8209         * glyphs-x.c: Ansify.
8210
8211         * specifier.c: Use lisp_fn_t.
8212
8213         * EmacsShell.c: Ansify.
8214
8215         * vm-limit.c: Ansify.
8216
8217         * emacsfns.h: Use lisp_fn_t.
8218
8219         * lstream.c (struct filedesc_stream): Unsigned int bitfields.
8220
8221         * xselect.c (hack_motif_clipboard_selection): Change charset name.
8222         (Fx_store_cutbuffer_internal): Change charset name.
8223
8224         * ralloc.c: Ansify and clean up.
8225
8226         * frame.h (struct frame): Uniform unsigned bit fields.
8227
8228         * event-Xt.c: Documentation change.
8229
8230         * lisp.h: Introduce lisp_fn_t.
8231         Remove SunPro C compiler warning message workaround.
8232
8233         * xmu.c: Ansify.
8234
8235         * doprnt.c (struct printf_spec): Use unsigned bitfields.
8236
8237         * fileio.c: various code formatting changes.
8238
8239         * eval.c: reorganize primitive funcalls.
8240
8241         * config.h.in (NeedFunctionPrototypes): Force slightly better type
8242         checking in X header files.
8243
8244         * Makefile.in.in: #undef i386, move mime-setup.elc?.
8245
8246         * s/sunos4-0-shr.h: Documentation change.
8247
8248         * s/sol2.h (__EXTENSIONS__): Add.
8249         Include <setjmp.h> under certain conditions.
8250
8251 Mon Dec 16 19:13:10 1996  Steven L Baur  <steve@altair.xemacs.org>
8252
8253         * lstream.c (Lstream_pseudo_close): Return status on error.
8254         (Lstream_close): Ditto.  (Fixes disk full-no error on write bug).
8255
8256 Sat Dec 14 16:54:52 1996  Steven L Baur  <steve@altair.xemacs.org>
8257
8258         * glyphs-x.c (jpeg_instantiate): Use file I/O for JPEG loading
8259         because the in-core code is broken.
8260
8261 Fri Dec 13 16:43:45 1996  Steven L Baur  <steve@altair.xemacs.org>
8262
8263         * device-x.c (x_init_device): Don't make nonexistent X server the
8264         default when running on a tty.
8265
8266         * event-Xt.c (x_to_emacs_keysym): Rename kp_.* keysyms to be kp-\1.
8267
8268         * redisplay-tty.c (keys): Rename kp_.* keynames to kp-\1.
8269
8270 Fri Dec 13 14:48:42 1996  Michael Sperber  <sperber@informatik.uni-tuebingen.de>
8271
8272         * lread.c (Fload_internal): Change arity of call to
8273         file-name-handlers.
8274
8275         * fileio.c (Finsert_file_contents_internal): Ditto.
8276
8277 Thu Dec 12 16:55:34 1996  Lars Magne Ingebrigtsen  <larsi@ifi.uio.no>
8278
8279         * cmds.c (Fpoint_at_eol, Fpoint_at_bol): New functions.
8280         (Fend_of_line, Fbeginning_of_line): Use them.
8281
8282 Tue Dec 10 11:17:32 1996  Shane Holder  <holder@mordor.rsn.hp.com>
8283
8284         * s/hpux9shxr4.h: hpux9shr.h -> hpux9-shr.h
8285
8286         * s/hpux10.h: hpux9shr.h -> hpux9-shr.h
8287
8288 Sat Dec  7 18:29:34 1996  Steven L Baur  <steve@altair.xemacs.org>
8289
8290         * puresize.h (BASE_PURESIZE): Bumped up PURESIZE by 10k.
8291
8292 Sat Dec  7 16:26:34 1996  Martin Buchholz  <mrb@Eng.Sun.COM>
8293
8294         * config.h.in: configure for POSIX getcwd if available.
8295
8296 Sat Dec  7 15:48:39 1996  Steven L Baur  <steve@altair.xemacs.org>
8297
8298         * s/sunos4-1-shr.h: Renamed from sunos4-1shr.h.
8299
8300         * s/sunos4-1-3-shr.h: Renamed from sunos4-1-3shr.h.
8301
8302         * s/sunos4-1-2-shr.h: Renamed from sunos4-1-2-shr.h.
8303
8304         * s/sunos4-0-shr.h: Renamed from sunos4-0shr.h.
8305
8306         * s/hpux9-shr.h: Renamed from hpux9shr.h.
8307
8308         * s/hpux8-shr.h: Renamed from hpux8shr.h.
8309
8310         * s/hpux10-shr.h: Renamed from hpux10shr.h.
8311
8312 Wed Dec  4 23:38:03 1996  Steven L Baur  <steve@altair.xemacs.org>
8313
8314         * redisplay.c: Allow column numbers in modeline to start from 1.