root/trunk/src/ChangeLog.6

Revision 4220, 183.0 kB (checked in by miyoshi, 6 months ago)

Sync up with Emacs22.2.

  • Property svn:eol-style set to native
Line 
1 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2
3         * Version 19.33 released.
4
5 1996-08-10  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6
7         * s/sco5.h (POSIX_SIGNALS): Don't define it, #undef instead.
8         (NO_SOCKETS_IN_FILE_SYSTEM): Definition deleted.
9         (sigblock): New definition.
10
11 1996-08-10  Marcus Daniels  <marcus@sayre.sysc.pdx.edu>
12
13         * m/sequent-ptx.h (LOAD_AVE_TYPE, FSCALE, LOAD_AVE_CVT):
14         Undef them before defining.
15
16         * s/ptx4.h: Fix include file name.
17         (NO_FILIO_H): Move definition.
18
19 1996-08-09  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
20
21         * m/alpha.h [__ELF__] (UNEXEC): Use unexelf1.c.
22
23 1996-08-09  David Mosberger-Tang  <davidm@azstarnet.com>
24
25         * unexelf1.c: New file, copied from unexelf.c.
26         [__alpha__]: Include <sym.h> to get COFF debugging
27         info declarations for .mdebug section.
28         [__GNU_LIBRARY__ - 0 >= 6]: Include <link.h>.
29         [notdef ElfW]: Define backwards compatible ElfW macro.
30         (unexec) [__alpha__]: Add code to update Alpha COFF symbol table
31         (.mdebug section).
32         (unexec) [__alpha__]: Work around binutils-2.7 bug: for Alpha ELF
33         sometimes unneeded data relocs do not get elided properly which
34         results in reloc entries that contain all zeroes.
35
36         * m/alpha.h [__ELF__ && __GNUC__] (C_SWITCH_MACHINE): Add -fno-common.
37         (TEXT_START, DATA_START, DATA_SEG_BITS, UNEXEC): Define only if
38         __ELF__ is not defined.
39         (LINUX_SBRK_BUG): Define only if LINUX and __GNU_LIBRARY__ < 6.
40         (NO_TERMIO): Always define this.  No Alpha system should need
41         termio.
42         (COFF, DATA_END): Define only if __ELF__ is not defined.
43
44 1996-08-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
45
46         * s/usg5-4.h: Don't include filio.h if NO_FILIO_H.
47
48         * s/ptx4.h: New file.
49
50         * config.in (GETTIMEOFDAY_ONE_ARGUMENT): Conditionalize on
51         HAVE_GETTIMEOFDAY.
52
53 1996-08-07  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
54
55         * xmenu.c (xmenu_show): Set dummy.state.
56         Set dummy.button appropriately.
57         (popup_get_selection) [USE_MOTIF]: Set event.xbutton.button.
58
59         * s/osf1.h (LD_SWITCH_SYSTEM): New definition.
60
61 1996-08-06  Paul Eggert  <eggert@twinsun.com>
62
63         * editfns.c (set_time_zone_rule): Don't put a string literal
64         "TZ=..." in environ.
65
66 1996-08-05  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
67
68         * minibuf.c (Fread_from_minibuffer): Make position 0 in the initial
69         input mean the beginning.
70
71 1996-08-04  Eli Zaretskii  <eliz@is.elta.co.il>
72
73         * callproc.c (Fcall_process_region) [DOS_NT]: Avoid downcasing
74         the `X' characters in the template passed to `mktemp'.
75
76 1996-08-02  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
77
78         * widget.c (EmacsFrameSetCharSize): Call do_pending_window_change.
79
80 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
81
82         * Version 19.32 released.
83
84         * s/hpux10.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
85         Override to add /usr/contrib directories.
86
87 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
88
89         * xterm.c (XTread_socket): Delete the code to pass menu bar keys
90         to the toolkit alone.
91         (XTread_socket): Don't fail to pass button events to toolkit.
92
93 1996-07-29  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
94
95         * xterm.c (XTread_socket): Pass keys in menu bar to toolkit alone
96         only for Motif.
97
98         * xdisp.c (prepare_menu_bars): Conditionalize previous change.
99
100 1996-07-27  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
101
102         * filelock.c (lock_file_owner_name): Always initialize the_pw.
103
104         * xterm.c (XTread_socket): Fixing previous change:
105         Clear last_mouse_press_frame on non-menu-bar ButtonPress.
106         Always use last_mouse_press_frame as frame for ButtonRelease.
107         But ignore the event if frame's output_data.x is null.
108         Save the ButtonRelease only if USE_MOTIF.
109         (last_mouse_press_frame): This is now a Lisp object.
110         (syms_of_xterm): Initialize and staticpro it.
111
112         * xmenu.c (pending_menu_activation): Don't initialize.  Not static.
113         (set_frame_menubar): If no saved_menu_event yet, set deep_p.
114         Don't clear pending_menu_activation here.
115
116         * xmenu.c (Fx_popup_dialog): Don't fail to initialize WINDOW.
117
118         * xdisp.c (prepare_menu_bars): Clear pending_menu_activation.
119
120         * print.c: When printing into a buffer, generate all the text
121         first, then insert it all at once.
122         (print_buffer): New variable.
123         (print_buffer_size, print_buffer_pos): New variables.
124         (PRINTPREPARE): Allocate print_buffer.
125         (PRINTFINISH): Free print_buffer after inserting its contents.
126         (printchar, strout): Output into print_buffer.
127         (print_string): If printcharfun is nil, use strout.
128
129 1996-07-26  Marcus Daniels  <marcus@sayre.sysc.pdx.edu>
130
131         * xmenu.c (pending_menu_activation): New variable.
132         (x_activate_menubar): Don't call set_frame_menubar for
133         ButtonRelease events.  Instead, set pending_menu_activation.
134         (set_frame_menubar): If pending_menu_activation, set deep_p.
135
136         * xterm.c (last_mouse_press_frame): New variable.
137         (XTread_socket): Store a saved_button_event for ButtonRelease.
138
139 1996-07-25  Marcus Daniels  <marcus@sayre.sysc.pdx.edu>
140
141         * xmenu.c (set_frame_menubar): Use -1 for call_data
142         in the deep_p = 0 case.
143
144 1996-07-24  Geoff Voelker  <voelker@joker.cs.washington.edu>
145
146         * ntinevt.c (win32_read_socket): Never block reading from input queue.
147
148 1996-07-24  Marcus Daniels  <marcus@sayre.sysc.pdx.edu>
149
150         * editfns.c (Fencode_time): Assign to tm.tm_gmtoff for NEXTSTEP,
151         since timezone environment variable is ignored.
152
153 1996-07-23  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
154
155         * buffer.c (buffer_permanent_local_flags): New variable.
156         (init_buffer_once): Initialize it.
157         (reset_buffer_local_variables): New argument PERMANENT_TOO.
158         Callers changed.  Now declared static.
159
160         * s/irix6-0.h [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
161
162         * m/mips.h, m/iris4.h, m/iris5d.h (LIBS_MACHINE) [__GNUC__ and ABIN32]:
163         Define as empty.
164
165 1996-07-23  Paul Eggert  <eggert@twinsun.com>
166
167         * editfns.c (Fdecode_time, difftm): Work even if tm_year represents
168         negative years; this is possible with 64-bit time_t values.
169
170 1996-07-20  Karl Heuer  <kwzh@gnu.ai.mit.edu>
171
172         * fileio.c (check_writable): Use euidaccess, not eaccess.
173
174 1996-07-20  Erik Naggum  <erik@naggum.no>
175
176         * intervals.c (balance_intervals_internal): Recurse directly.
177
178 1996-07-19  Eli Zaretskii  <eliz@is.elta.co.il>
179
180         * unexec.c (copy_text_and_data) [DJGPP >= 2]: Switch off two bits
181         in `_crt0_startup_flags' so they don't go into the dumped Emacs.
182         Restore the value of `_crt0_startup_flags' after .text and .data
183         were dumped.
184
185 1996-07-19  Karl Heuer  <kwzh@gnu.ai.mit.edu>
186
187         * s/irix5-0.h (_BSD_SIGNALS): Define.
188         * s/irix6-0.h (SA_RESTART): Add #undef.
189
190 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
191
192         * w32term.c (w32_read_socket): Need to erase background
193         immediately before repainting exposed region.
194
195         * makefile.nt (DOC, clean): Use OBJDIR macro.
196
197 1996-07-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
198
199         * xfns.c (Fx_create_frame): Do xlwmenu hack only if USE_LUCID.
200
201         * m/alpha.h, unexelf.c: Undo Jul 15 changes.
202         * config.in, data.c, keyboard.c, process.c: Undo Jul 15 changes.
203         * cm.h, sysdep.c, terminfo.c: Undo Jul 15 and Jul 16 changes.
204
205 1996-07-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
206
207         * cm.h, terminfo.c, sysdep.c: Test HAVE_TERMIOS rather than the
208         automatically-generated HAVE_TERMIOS_H, in case <termios.h> is
209         present but unusable.
210
211 1996-07-16  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
212
213         * fns.c (Fy_or_n_p): Pass 3rd arg to Flookup_key.
214
215         * s/hpux10.h (LIBS_TERMCAP): New definition.
216
217 1996-07-15  Karl Heuer  <kwzh@gnu.ai.mit.edu>
218
219         * window.c (struct save_window_data, struct saved_window): First
220         placeholder member is EMACS_INT, not int.
221
222         * print.c (print): Fix args in strout calls.
223
224         * xterm.h (struct x_output): Member saved_button_event replaced by
225         saved_menu_event.
226         * xmenu.c (x_activate_menubar): Allow any event, not just ButtonPress.
227         * xterm.c (SET_SAVED_MENU_EVENT): New macro.
228         (SET_SAVED_BUTTON_EVENT, SET_SAVED_KEY_EVENT): New macros.
229         (XTread_socket): Defer key events as well as button presses.
230
231         * frame.c (Qmouse_leave_buffer_hook): Delete redundant definition.
232         (syms_of_frame_1): Delete the duplicate assignment and staticpro.
233         * lisp.h (Qmouse_leave_buffer_hook, Qfont): Declare here.
234         * floatfns.c (Qarith_error): Delete redundant definition.
235         * xfns.c (Qfont): Delete redundant definition.
236         (syms_of_xfns): Delete the duplicate assignment and staticpro.
237         * w32fns.c (Qfont): Delete redundant definition.
238         (syms_of_win32fns): Delete the duplicate assignment and staticpro.
239         * xfns.c (xlwmenu_default_font): Declare, but don't define.
240         * xselect.c (last_event_timestamp): Declare, but don't define.
241
242 1996-07-15  David Mosberger-Tang  <davidm@AZStarNet.com>
243
244         * m/alpha.h (TEXT_START, DATA_START, DATA_SEG_BITS, UNEXEC, DATA_END):
245         Omit these definitions if ELF.
246         (LINUX_SBRK_BUG): Omit this if using a recent GNU library.
247         [__ELF__] (C_SWITCH_MACHINE): Define.
248         (NO_TERMIO): Define this unconditionally.
249         (COFF): Omit this if ELF.
250         * config.in (HAVE_TERMIOS_H): Add #undef.
251         * cm.h [HAVE_TERMIOS_H]: Declare ospeed as speed_t.
252         * sysdep.c [HAVE_TERMIOS_H]: Likewise.
253         * dispnew.c: Don't delare ospeed; cm.h already did it.
254         * terminfo.c: Use <config.h>.
255         [HAVE_TERMIOS_H]: Declare ospeed as speed_t.
256         [USG]: Include <string.h>.
257         * data.c (arith_error): Don't reinstall sig handler if POSIX_SIGNALS.
258         * keyboard.c (input_available_signal, interrupt_signal): Likewise.
259         * process.c (create_process_1, sigchld_handler): Likewise.
260         * unexelf.c: Add 64-bit ELF and Alpha/ELF support.
261
262 1996-07-13  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
263
264         * search.c (Fmatch_data): If no matching done yet, return Qnil.
265
266 1996-07-13  Paul Eggert  <eggert@twinsun.com>
267
268         * vmstime.c (sys_gmtime): Don't assume year < 2000.
269
270 1996-07-13  Karl Heuer  <kwzh@gnu.ai.mit.edu>
271
272         * process.c (wait_reading_process_input) [hpux]: Workaround for
273         annoying messages.
274
275 1996-07-12  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
276
277         * indent.c (Fvertical_motion): Doc fix.
278
279 1996-07-11  Andrew Innes  <andrewi@harlequin.co.uk>
280
281         * w32fns.c (win32_wnd_proc): Handle WM_ERASEBKGND and
282         WM_PALETTECHANGED messages inline (as they should be).
283
284         * w32term.c (w32_read_socket): Remove unused WM_ERASEBKGND code.
285         No need to erase background now on (delayed) WM_PAINT.  Move
286         WM_PALETTECHANGED processing to raw input thread.
287
288 1996-07-11  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
289
290         * keyboard.c (menu_bar_item): Skip menu-bar equiv keys data
291         to get just the keymap.
292
293         * s/irix5-0.h [__GNUC__] (C_DEBUG_SWITCH): New definition.
294
295 1996-07-11  David Mosberger-Tang  <davidm@AZStarNet.com>
296
297         * mem-limits.h (lim_data): Make this an unsigned long.
298
299 1996-07-11  Bill Mann  <dvmann@dvncr.praxisint.com>
300
301         * s/usg5-4-3.h: New file.
302
303 1996-07-11  Marcus Daniels  <marcus@sayre.sysc.pdx.edu>
304
305         * xterm.c (XTread_socket): Add #ifdef for previous change.
306
307 1996-07-11  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
308
309         * buffer.c (syms_of_buffer): Doc fix.
310
311 1996-07-08  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
312
313         * mem-limits.h [_LIBC]: Use weak_extern instead of weak_symbol for
314         __data_start.
315
316 1996-07-07  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>
317
318         * s/gnu.h: Enable use of ncurses library cleanly.
319
320 1996-07-07  Karl Heuer  <kwzh@gnu.ai.mit.edu>
321
322         * xterm.c: Undo previous change.
323         (XTread_socket): Better way to avoid sending toolkit-specific
324         events to Emacs.
325
326 1996-07-07  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
327
328         * xmenu.c (popup_get_selection): For a ButtonRelease on the proper
329         display, don't queue it, and always deactivate the menu.
330
331 1996-07-07  Eli Zaretskii  <eliz@is.elta.co.il>
332
333         * msdos.c (IT_menu_display): Display control characters as ^X.
334         (XMenuAddPane, XMenuAddSelection): Adjust menu width for control
335         characters (displayed as ^X).
336
337         * dired.c (file_name_completion): Set `stat' flags to avoid
338         computing expensive fields in struct stat (makes filename
339         completion much faster).
340
341         * fileio.c (Fcopy_file): Use st_ino under DJGPP v2 and later to
342         prevent copying file into itself.
343         (check_executable): DJGPP v2 `stat' doesn't need to be augmented
344         in case of executable files.
345         (Ffile_modes): Use `stat' results as is in DJGPP v2 and later.
346
347 1996-07-04  Eli Zaretskii  <eliz@is.elta.co.il>
348
349         * msdos.c (dostounix_filename): On caseless filesystems, downcase
350         the filename.
351         (unixtodos_filename): Downcase the drive letter.
352         (init_environment): Downcase the pathnames in the environment only
353         when running on caseless filesystems.
354
355 1996-07-03  Andrew Innes  <andrewi@harlequin.co.uk>
356
357         * nt.c (normalize_filename): Always lower-case drive letters, even
358         on systems that preserve case in filenames.
359
360         * fileio.c (DRIVE_LETTER) [WINDOWSNT]: Lower-case drive letters.
361
362 1996-07-05  Andrew Innes  <andrewi@harlequin.co.uk>
363
364         * w32term.c (x_set_mouse_pixel_position): Adjust coords by frame
365         position.
366         (x_set_mouse_position): Call x_set_mouse_pixel_position.
367
368 1996-07-05  Andrew Innes  <andrewi@harlequin.co.uk>
369
370         * nt.c (sys_rename): Do not delete newname if only changing case.
371         On Windows 95, use our version of mktemp (not the MSVC version)
372         and give the temp name a long extension to ensure the final rename
373         works as expected.
374
375 1996-07-03  Eli Zaretskii  <eliz@is.elta.co.il>
376
377         * callproc.c (Fcall_process) [MSDOS]: Initialize fd[0]; unlink
378         `tempfile' in case of errors.
379         (Fcall_process): When fd_error is negative,
380         don't close fd[0] if it's same as filefd.
381
382 1996-07-03  Eli Zaretskii  <eliz@is.elta.co.il>
383
384         * callproc.c (Fcall_process) [MSDOS]: Make the `tempfile'
385         parameter passed to `report_file_error' be a Lisp string.
386         (Fcall_process): If stderr is redirected to NULL_DEVICE, make
387         `report_file_error' print the name of device.  Make the arguments
388         a cons cell.
389
390 1996-07-06  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
391
392         * indent.c (Fvertical_motion): Doc fix.
393
394 1996-07-03  Marcus Daniels  <marcus@sayre.sysc.pdx.edu>
395
396         * xterm.c (XTread_socket): Use lw_tookit_related_event_p to
397         avoid sending toolkit-specific events to Emacs.
398
399 1996-07-01  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
400
401         * m/alpha.h (HAVE_X11R4, HAVE_X11R5): Definitions deleted
402         since xterm.h and config.h should take care of them.
403
404         * xselect.c (x_clear_frame_selections): Don't call
405         redisplay_preserve_echo_area here.
406
407 1996-06-30  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
408
409         * systty.h: Delete spurious period from last change.
410
411 1996-07-01  Eli Zaretskii  <eliz@is.elta.co.il>
412
413         * fileio.c (DRIVE_LETTER) [MSDOS]: Lower-case drive letters.
414
415         * msdos.c (msdos_downcase_filename): Always lower-case drive
416         letters, even on systems that preserve case in filenames.
417
418 1996-06-29  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
419
420         * s/sol2-5.h (LIB_MOTIF): Fix typo.
421
422         * emacs.c (main): Add `GNU Emacs' to the response to --version.
423
424         * xfns.c (Fx_create_frame): Gcpro parms, parent, and name.
425
426         * systty.h (GETPGRP_NO_ARG): Always define it, if __GNU_LIBRARY__.
427
428 1996-06-28  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
429
430         * frame.c (make_frame_without_minibuffer): GCPRO the frame f.
431
432         * config.in (AMPERSAND_FULL_NAME): Defined by default.
433
434         * s/sol2-5.h (LIB_MOTIF): New definition.
435
436         * emacs.c (standard_args): Delete `-rn' option.
437
438         * .gdbinit: Add `dir ../lwlib'.
439
440         * print.c (print): Obey Vprint_length for vectors, bitvectors.
441
442         * fileio.c (check_executable): Use euidaccess, not eaccess.
443
444         * config.in (HAVE_EUIDACCESS): This replaces HAVE_EACCESS.
445
446         * xterm.h: Don't define HAVE_X11R5 here.
447
448         * config.in (HAVE_X11R5): Add #undef.
449
450         * unexhp9k800.c (unexec): Cast result of sbrk.
451         (run_time_remap): Cat arg to brk.
452
453 1996-06-27  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
454
455         * xterm.c (x_connection_closed): Call clear_waiting_for_input.
456
457         * keyboard.c (modify_event_symbol): Add properly to *symbol_table.
458
459 1996-06-26  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
460
461         * xterm.c (x_connection_closed): Add newline when printing error
462         message on stderr.
463         (XTread_socket, Xatom_wm_save_yourself clause):
464         Don't call XSetCommand if f is 0.
465         (x_error_quitter): Delete newline from sprintf string.
466
467         * xdisp.c (redisplay_internal): Use last_had_star to decide
468         whether to update the mode line to update the star.
469         (update_menu_bar): Likewise.
470         Also, don't set w->update_mode_line for frames that use
471         set_frame_menubar.
472         (redisplay_internal, mark_window_display_accurate):
473         Set last_had_star.
474
475         * window.h (struct window): New field, last_had_star.
476
477 1996-06-25  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
478
479         * xterm.c (x_connection_signal): Just return after calling `signal'.
480         (X_CONNECTION_LOCK_FLAG): Definition deleted.
481         (x_connection_signal_dpyinfo): Variable deleted.
482         (x_connection_signal_1): Function deleted.
483         (x_connection_close_if_hung): Function deleted.
484
485         * indent.c (Fmove_to_column): Go after invis chars at the goal column.
486
487 1996-06-24  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
488
489         * xterm.c (x_connection_closed): If waiting_for_input,
490         call quit_throw_to_read_char.
491
492 1996-06-24  Paul Eggert  <eggert@twinsun.com>
493
494         * unexelf.c (unexec): Round up section header offset to bss alignment
495         before deciding whether it's after the bss section.
496
497 1996-06-23  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
498
499         * xfns.c (x_real_positions): Don't call x_uncatch_errors twice.
500
501         * indent.c (current_column_1): Add declaration.
502
503 1996-06-22  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
504
505         * indent.c: Make current-column, move-to-column and current-indentation
506         handle invisible chars (both text properties and overlays).
507         (skip_invisible): New function.
508         (Fmove_to_column): Use skip_invisible.  Get rid of `retry' label.
509         (compute_motion): Use skip_invisible.
510         (current_column_1): New function.
511         (current_column): Use current_column_1 if might have invisible text.
512
513         * data.c (Fdefalias): Doc fix.
514
515         * s/gnu-linux.h (LD_SWITCH_SYSTEM): Just one definition.
516         Don't use prefix-args here because Makefile.in
517         does that when necessary.
518
519 1996-06-21  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
520
521         * s/sco5.h: New file.
522
523         * s/gnu-linux.h: Renamed from lignux.h.
524         (SYSTEM_TYPE): Changed to gnu/linux.
525
526         * callproc.c (Fcall_process): Fix previous change.
527
528         * xterm.c (x_iconify_frame): If frame is invisible,
529         explicitly mark it as iconified.
530
531         * keyboard.c (kbd_buffer_get_event): Don't call x_activate_menubar
532         for a deleted frame.
533
534 1996-06-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
535
536         * s/sol2-4.h (LD_SWITCH_SYSTEM): Use no space after -L and -R.
537
538 1996-06-18  Nico Francois  <nico.francois@scala.nl>
539
540         * w32fns.c (Vwin32_alt_is_meta): New variable.
541         (win32_get_modifiers): Map Alt to alt_modifier if required.
542         (syms_of_win32fns): DEFVAR new variable.
543
544         * ntinevt.c (Vwin32_alt_is_meta): Declared.
545         (win32_kbd_mods_to_emacs): Map Alt to alt_modifier if required.
546
547 1996-06-16  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
548
549         * callproc.c (Fcall_process): Handle t or nil as STDERR_FILE.
550
551         * s/hpux10.h (HPUX10): New macro.
552
553 1996-06-14  Andrew Innes  <andrewi@harlequin.co.uk>
554
555         * w32fns.c (win32_wnd_proc): No need to forward WM_ERASEBKGND to
556         main thread.
557
558         * w32term.c (w32_read_socket): Erase update rect on WM_PAINT, so
559         no need to process WM_ERASEBKGND.
560
561 1996-06-13  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
562
563         * xmenu.c (Qmenu_alias): New variable.
564         (syms_of_xmenu): Initialize it.
565         (menu_item_equiv_key): Check this property on the definition.
566
567         * fileio.c (Fexpand_file_name): When simplifying /foo/..,
568         keep the initial slash.
569
570         * s/hpux10.h (LIBS_SYSTEM): Two new definitions (and #undef first).
571
572 1996-06-12  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
573
574         * emacs.c (main): For SIGHUP, use sigblock and sigunblock,
575         not sigblockx and sigunblockx.
576
577         * buffer.c (Fkill_buffer): Doc fix.
578
579 1996-06-12  Andrew Innes  <andrewi@harlequin.co.uk>
580
581         * ntproc.c (restrict_dos_process): Variable deleted.
582         (sys_spawnve): Restrict DOS processes on NT as well.
583
584         * nt.c: Delete restrict_dos_process.
585
586 1996-06-12  Andrew Innes  <andrewi@harlequin.co.uk>
587
588         * nt.c (restrict_dos_process): Renamed from can_run_dos_process.
589         (init_ntproc): Refer to restrict_dos_process.
590
591         * ntproc.c (restrict_dos_process): Renamed from can_run_dos_process.
592         (sys_spawnve): Refer to restrict_dos_process.
593
594 1996-06-12  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
595
596         * syssignal.h (sigunblockx): Use sigunblock.
597
598 1996-06-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
599
600         * process.c (wait_reading_process_input): Move the O_NONBLOCK and
601         O_NDELAY conditionals out of the EWOULDBLOCK conditional.
602
603 1996-06-10  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
604
605         * keymap.c (Fset_keymap_parent): Return early if KEYMAP already has
606         the proper parent.
607
608         * s/lignux.h [__ELF__] (LD_SWITCH_SYSTEM): Define it.
609
610         * frame.c (Fmake_terminal_frame): Test MSDOS, not __MSDOS__.
611
612         * xdisp.c (redisplay_internal): Use FRAME_WINDOW_P.
613         (decode_mode_spec): Likewise.
614
615         * minibuf.c (choose_minibuf_frame): Eliminate
616         MSDOS-non-MULTI_FRAME conditional.
617
618         * dispnew.c (change_frame_size, remake_frame_glyphs):
619         Use FRAME_WINDOW_P.
620
621         * msdos.c (check_x): Fix error message.
622
623 1996-06-09  Eli Zaretskii  <eliz@is.elta.co.il>
624
625         * xfaces.c (init_frame_faces): Build faces for an MSDOS frame
626         like for X frame.
627         (Fmake_face_internal): Call `ensure_face_ready' for MSDOS frames.
628         (Fset_face_attribute_internal): Support face attributes for MSDOS
629         frames.
630
631         * xdisp.c (redisplay_internal): Use `Vterminal_frame' and other
632         termcap frame code on MSDOS as well.
633         (display_text_line) [HAVE_FACES]: Support faces on MSDOS.
634         (decode_mode_spec): Return frame name on MSDOS like for termcap
635         frames.
636
637         * window.c (Fset_window_configuration) [HAVE_WINDOW_SYSTEM]: Call
638         `x_set_menu_bar_lines' on MSDOS as well.
639
640         * msdos.h (check_x): Macro definition deleted.
641         (DisplayWidth): Use `selected_frame'.
642         (DisplayHeight): Use `selected_frame'.
643         (x_mouse_leave): Remove; it's not used.
644
645         * msdos.c (x_set_menu_bar_lines): New function, copied from xfns.c.
646         (IT_set_frame_parameters): Use selected_frame instead of
647         the_only_frame.
648         (internal_terminal_init): Use selected_frame instead of the_only_frame.
649         (check_x): New function, replacing macro in msdos.h.
650         (XMenuActivate): Use selected_frame instead of
651         the_only_frame.  Don't let the title for the "Buffers" popup
652         include a number when it is split into several menus.
653
654         * minibuf.c (choose_minibuf_frame): Support multiple frames on MSDOS.
655
656         * frame.h (FRAME_MSDOS_P): A new macro for MSDOS frames.
657
658         * frame.c (Qpc): New variable.
659         (syms_of_frame_1): Define and staticpro it.
660         (Fframep): Support MSDOS frames.
661         (make_terminal_frame, Fmake_terminal_frame): Support MSDOS frames.
662         (Fset_mouse_position, Fset_mouse_pixel_position): Support MSDOS frames.
663         (Fframe_parameters, Fmodify_frame_parameters): Support MSDOS frames.
664
665         * dosfns.c (Fset_mouse_position): Remove the DOS-specific
666         definition (it's defined on `frame.c').
667         (syms_of_dosfns): Remove defsubr of `Fset_mouse_position'.
668
669         * dispnew.c (Fredraw_frame, remake_frame_glyphs)
670         (direct_output_for_insert, change_frame_size): Support MSDOS frames.
671
672 1996-06-10  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
673
674         * keymap.c (fix_submap_inheritance): If parent_entry is not a keymap,
675         use nil instead.
676
677         * alloc.c (mark_object): Do set ARRAY_MARK_FLAG for bool-vectors.
678
679 1996-06-10  Andrew Innes  <andrewi@harlequin.co.uk>
680
681         * w32fns.c (x_to_win32_font): Allow any quality fonts.
682
683 1996-06-09  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
684
685         * keyboard.c (read_char): Use unsigned to compare against
686         the size of Vkeyboard_translate_table.
687         Check size for char-table too.
688
689         * s/freebsd.h (DONT_REOPEN_PTY): New definition.
690
691         * process.c (create_process): Add DONT_OPEN_PTY conditional.
692
693 1996-06-07  Andrew Innes  <andrewi@harlequin.co.uk>
694
695         * nt.c (init_environment): Read PRELOAD_WINSOCK from registry if
696         not set in environment.
697
698         (winsock_inuse) [HAVE_SOCKETS]: New variable.
699         (have_winsock) [HAVE_SOCKETS]: Obsolete variable removed.
700
701         (term_winsock) [HAVE_SOCKETS]: Only unload winsock library if there
702         are no active sockets still open, and if the cleanup function
703         succeeds.  Return TRUE if winsock is unloaded.
704
705         (init_winsock) [HAVE_SOCKETS]: Load winsock if not already loaded,
706         and return TRUE if winsock support is available.  Unload winsock
707         immediately if new parameter load_now is false.  Check that
708         WSAStartup supports the winsock version we requested.
709
710         (set_errno, check_errno, sys_socket, sys_bind, sys_connect)
711         (sys_htons, sys_ntohs, sys_inet_addr, sys_gethostname)
712         (sys_gethostbyname, sys_getservbyname, sys_close, sys_read)
713         (sys_write) [HAVE_SOCKETS]: Check winsock_lib instead of
714         have_winsock to determine if winsock support is available.
715
716         (sys_socket, sys_close) [HAVE_SOCKETS]: Count sockets in use.
717
718         (init_ntproc) [HAVE_SOCKETS]: Only load winsock library on startup
719         if PRELOAD_WINSOCK is set in environment (or registry).
720
721         * ntproc.c (Fwin32_has_winsock, Fwin32_unload_winsock)
722         [HAVE_SOCKETS]: New functions.
723         (syms_of_ntproc) [HAVE_SOCKETS]: defsubr them.
724
725         * process.c (Fopen_network_stream) [WINDOWSNT]: Ensure Windows
726         socket library is loaded if available.
727
728 1996-06-07  Marcus Daniels  <marcus@sayre.sysc.pdx.edu>
729
730         * xterm.c (XTread_socket): Use XtAppNextEvent when using
731         toolkit configurations.
732
733 1996-06-07  Andrew Innes  <andrewi@harlequin.co.uk>
734
735         * nt.c (sys_mktemp): Complete rewrite.
736
737 1996-06-07  Andrew Innes  <andrewi@harlequin.co.uk>
738
739         * ntproc.c (sys_kill): Don't try to terminate a DOS process.
740
741 1996-06-06  Andrew Innes  <andrewi@harlequin.co.uk>
742
743         * fileio.c (Ffile_name_directory) [WINDOWSNT]: Remove previous
744         change, which was incorrect and isn't strictly required.
745
746 1996-06-06  Eli Zaretskii  <eliz@is.elta.co.il>
747
748         * xfaces.c (Fset_face_attribute_internal) [MSDOS]: Don't mask
749         bright color bit in background colors.
750
751         * msdos.c (bright_bg): New function, enables bright background colors.
752         (dos_set_window_size): Move code to `bright_bg'.
753         (IT_set_terminal_modes): Enable bright background colors.
754         (IT_set_frame_parameters): Don't mask bright color bit in
755         background colors.  Record colors on `termscript' file.
756         (internal_terminal_init): Enable bright background colors.  Fix
757         default colors setting from $EMACSCOLORS.
758
759 1996-06-07  Geoff Voelker  <voelker@joker.cs.washington.edu>
760
761         * w32fns.c (sync_modifiers): New function.
762         (w32_wnd_proc): Synchronize modifiers on each key down.
763
764 1996-06-06  Andrew Innes  <andrewi@harlequin.co.uk>
765
766         * nt.c (init_winsock): Dynamically link to SetHandleInformation.
767         (sys_socket): If possible, use SetHandleInformation to make socket
768         handle non-inheritable to avoid a bug in NT.
769
770 1996-06-05  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
771
772         * keymap.c (Fkeymap_parent, Fset_keymap_parent): New functions.
773         (fix_submap_inheritance): New function.
774         (access_keymap): Use fix_submap_inheritance.
775
776 1996-06-05  Paul Eggert  <eggert@twinsun.com>
777
778         * editfns.c (set_time_zone_rule):
779         Work around localtime cache bug in SunOS 4.1.3_U1 and SunOS 4.1.4.
780
781 1996-06-04  Geoff Voelker  <voelker@joker.cs.washington.edu>
782
783         * w32term.c (w32_read_socket): If the dead key was produced using
784         AltGr and has a valid AltGr scan code, it's a valid key and
785         should not be discarded.
786
787 1996-06-03  Kim Storm  <storm@olicom.dk>
788
789         * ntproc.c (Vwin32_downcase_file_names): New variable.
790         (syms_of_win32fns): DEFVAR it.
791
792         * fileio.c (DRIVE_LETTER): [DOS_NT] New macro.
793         (expand_file_name): Apply DRIVE_LETTER macro to drive names.
794
795         * nt.c (normalize_filename): New function.
796         (dostounix_filename, unixtodos_filename): Use it.
797         (readdir): Convert upper case file names to lower case
798         if win32-downcase-file-names is non-nil.
799
800 1996-05-31  Andrew Innes  <andrewi@harlequin.co.uk>
801
802         * fileio.c (Fexpand_file_name) [WINDOWSNT]: Don't strip trailing /
803         when newdir is just "//".
804         (Ffile_name_directory) [WINDOWSNT]: Return Qnil if filename is a
805         partial UNC name such as "//foo".
806
807 1996-05-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
808
809         * xmenu.c (single_submenu): Handle non-keymap lists like symbols.
810
811         * w32fns.c (reset_modifiers): Only clear a modifier if the
812         modifier key has been detected to have been released since
813         Emacs lost focus.
814         (win32_wnd_proc): Have Windows translate VK_NUMLOCK and
815         VK_SCROLL key downs; don't reset the modifier state when
816         Emacs loses focus.
817
818 1996-05-30  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
819
820         * buffer.c (Fpop_to_buffer): Doc fix.
821
822         * window.c (Fdisplay_buffer): Doc fix.
823
824 1996-05-27  Karl Heuer  <kwzh@gnu.ai.mit.edu>
825
826         * s/sol2.h (LIBS_SYSTEM): Define this.
827
828 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
829
830         * Version 19.31 released.
831
832 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
833
834         * m/sparc.h [__linux__] (A_TEXT_OFFSET, A_TEXT_SEEK): Don't define.
835
836 1996-05-24  Marcus Daniels  <marcus@sayre.sysc.pdx.edu>
837
838         * xterm.c [SOLARIS2]: Include string.h.
839
840 1996-05-24  Andrew Innes  <andrewi@harlequin.co.uk>
841
842         * w32fns.c (Vwin32_mouse_move_interval): New lisp variable.
843         (syms_of_win32fns): Add Vwin32_mouse_move_interval to syms.
844         (saved_mouse_msg): Renamed to saved_mouse_button_msg.
845         (timer_id): Renamed to mouse_button_timer.
846         (saved_mouse_move_msg, mouse_move_timer): New variables.
847         (win_msg_worker): Delete WM_TIMER code.
848         (win32_wnd_proc): Handle WM_TIMER events here. Use separate timers
849         for mouse down and mouse move (including scroll bar drag) events.
850         Add new handling code for WM_VSCROLL and WM_MOUSEMOVE events.
851         Only filter WM_MOUSEMOVE events when a button is held down.
852         Always pass on message to DefWindowProc after calling
853         TranslateMessage.  Reset keyboard modifiers when losing focus.
854
855         * w32term.c (x_scroll_bar_handle_click): Repaint scroll bar handle
856         when drag is finished.
857
858 1996-05-23  Geoff Voelker  <voelker@joker.cs.washington.edu>
859
860         * w32fns.c (win32_wnd_proc): When passing modifier keystrokes back
861         to Windows, invoke TranslateMessage on them.
862         (reset_modifiers): Don't reset Window's keyboard state.
863
864 1996-05-23  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
865
866         * lread.c (init_lread): Init Vload_file_name to Qnil.
867
868 1996-05-21  Geoff Voelker  <voelker@joker.cs.washington.edu>
869
870         * w32fns.c (modifier_set): Check toggle state of CapsLock even
871         if modifiers are not being recorded.
872
873 1996-05-21  Andrew Innes  <andrewi@harlequin.co.uk>
874
875         * nt.c (get_volume_info): Always update *pPath correctly, even if
876         UNC header is incomplete.
877
878 1996-05-21  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
879
880         * indent.c (compute_motion): When calling Fget_char_property,
881         don't pass window if window is displaying the wrong buffer.
882
883         * dispnew.c (init_display) [HAVE_LIBNCURSES]: If X, call tgetent.
884
885         * keyboard.c (Fexecute_extended_command): Don't look for
886         a key binding if executing a kbd macro.
887
888         * print.c (Fprin1_to_string): Preserve Vdeactivate_mark.
889
890         * systty.h [__GNU_LIBRARY__]: #include <sys/ioctl.h>.
891
892         * cmds.c (internal_self_insert): Don't return 2 for auto-fill
893         unless the auto_fill_function returns non-nil.
894
895 1996-05-17  Karl Heuer  <kwzh@gnu.ai.mit.edu>
896
897         * nt.h (struct _child_process): New member is_dos_process.
898         * nt.c (_sys_read_ahead): Handle sleep here.
899         (sys_read): Not here.
900         (init_ntproc): Initialize can_run_dos_process, dos_process_running.
901         * ntproc.c (Vwin32_pipe_read_delay): New var.
902         (can_run_dos_process, dos_process_running): New vars.
903         (win32_is_dos_binary): New function.
904         (reap_subprocess, sys_spawnve): Use them.
905         (syms_of_ntproc): Defvar and initialize Vwin32_pipe_read_delay.
906
907         * xdisp.c (display_menu_bar) [HAVE_NTGUI]: Enable the display of
908         menus in --no-window mode on NT.
909
910 1996-05-17  Geoff Voelker  <voelker@cs.washington.edu>
911
912         * w32term.c (w32_read_socket): Mask out lower 4 bits of wParam
913         for WM_SYSCOMMAND messages.
914
915 1996-05-15  Karl Heuer  <kwzh@gnu.ai.mit.edu>
916
917         * makefile.nt: Fix typo in previous patch.
918
919         * callproc.c (Fcall_process): Don't close the same fd twice.
920
921 1996-05-15  Kim Storm  <storm@olicom.dk>
922
923         * nt.c (sys_read): Introduce a small delay before reading from
924         a pipe or socket to allow more data to be buffered; otherwise,
925         process output is read one byte at a time on fast machines
926         (which is slow).
927
928 1996-05-14  Karl Heuer  <kwzh@gnu.ai.mit.edu>
929
930         * w32select.c (QCLIPBOARD): New symbol.
931         (Fx_selection_exists_p): New function.
932         (syms_of_win32select): Initialize/staticpro and defsubr them.
933
934 1996-05-13  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
935
936         * makefile.nt (w32*.obj): Fix deps.
937
938 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
939
940         * eval.c (Fsignal) [HAVE_WINDOW_SYSTEM]: Changed from
941         HAVE_X_WINDOWS, so that TOTALLY_UNBLOCK_INPUT is called on Windows.
942
943         * w32fns.c (win32_wnd_proc): Reenable quit_char detection.
944
945 1996-05-13  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
946
947         * w32menu.c: Include buffer.h.
948         (set_frame_menubar): Make sure input is unblocked
949         when we call create_menu_items.
950         Switch temporarily to proper buffer, bind inhibit-quit to t,
951         and run the same hooks as in smenu.c.
952         (syms_of_win32menu): Initialize and staticpro Qdebug_on_next_call.
953
954         * w32term.c (note_mouse_movement): Upwards mouse movement
955         recognition corrected.
956
957 1996-05-12  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
958
959         * callproc.c (Fcall_process): Fix previous change (now !MSDOS only).
960
961 1996-05-12  Karl Heuer  <kwzh@gnu.ai.mit.edu>
962
963         * macros.c (Fstart_kbd_macro): Add missing xrealloc arg.
964
965 1996-05-12  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
966
967         * Makefile.in (MSDOS_SUPPORT): Use full name disp-table.elc.
968
969 1996-05-12  Eli Zaretskii  <eliz@is.elta.co.il>
970
971         * dosfns.c (init_dosfns) [DJGPP >= 2]: Make `opendir' preserve
972         filename case (under Windows 95) and find hidden files.
973
974         * msdos.c (Fmsdos_downcase_filename): Don't change the argument,
975         return a copy.
976
977 1996-05-11  Eli Zaretskii  <eliz@is.elta.co.il>
978
979         * msdos.c (msdos_downcase_filename): New function to convert case
980         in filenames.
981         (Fmsdos_downcase_filename): New function.
982         (syms_of_msdos): Defsubr it.
983
984         * s/msdos.h (FILE_SYSTEM_CASE): Call Fmsdos_downcase_filename
985         instead of Fdowncase.
986
987 1996-05-11  Geoff Voelker  <voelker@cs.washington.edu>
988
989         * s/windowsnt.h (SYSTEM_PURESIZE_EXTRA): Macro defined.
990
991 1996-05-11  Andrew Innes  <andrewi@harlequin.co.uk>
992
993         * w32term.c (x_scroll_bar_set_handle): Always use start
994         in calling SetScrollPos.
995         (x_scroll_bar_handle_click): In line up/down cases, don't alter y.
996         Don't call x_scroll_bar_set_handle.
997
998         * nt.c (map_win32_filename): If not a fat volume, cvt name to dos.
999
1000 1996-05-11  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
1001
1002         * ntheap.c (allocate_heap): Clean up conditional.
1003
1004 1996-05-11  Geoff Voelker  <voelker@cs.washington.edu>
1005
1006         * ntheap.c (allocate_heap): Bump heap base up to 27MB to
1007         satisfy Windows 95.
1008
1009 1996-05-10  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
1010
1011         * callproc.c (Fcall_process): Close fd_error if successful.
1012
1013 1996-05-10  Geoff Voelker  <voelker@cs.washington.edu>
1014
1015         * w32fns.c (win32_wnd_proc): Disable setting of Vquit_flag
1016         at this point.
1017
1018 1996-05-10  Andrew Innes  <andrewi@harlequin.co.uk>
1019
1020         * w32fns.c (win_msg_worker): Use post_msg.
1021         (win32_wnd_proc): Don't abort if button_state & this, just return.
1022         Use post_msg instead of my_post_msg in some places.
1023         (win32_to_x_font): Major rewrite.
1024         (struct enumfont_t): New element logfont.
1025         (enum_font_cb2): Add special code for TRUETYPE_FONTTYPE.
1026         (Fx_list_fonts): Call x_to_win32_font.
1027
1028         * w32term.c (x_scroll_bar_move): Call my_show_window.
1029         (x_scroll_bar_clear): Likewise.
1030
1031         * ntterm.c (prev_console_mode): New variable.
1032         (unset_kbd): Use prev_console_mode.
1033         (reset_kbd): Set prev_console_mode.  Call Fset_input_mode.
1034
1035         * emacs.c (main) [WINDOWSNT]: Call syms_of_ntproc.
1036
1037         * ntproc.c (Vwin32_quote_process_args): New variable.
1038         (sys_spawnve): If Vwin32_quote_process_args, quote the args.
1039         (syms_of_ntproc): Set up Lisp variable.
1040
1041 1996-05-10  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
1042
1043         * xterm.c (x_connection_signal_1): Call x_connection_closed properly.
1044
1045 1996-05-08  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
1046
1047         * msdos.c (syms_of_msdos): Fix typo.
1048
1049 1996-05-07  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
1050
1051         * termhooks.h (enum scroll_bar_part): Delete extra comma.
1052
1053 1996-05-06  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
1054
1055         * msdos.c (Fmsdos_long_file_names): New function.
1056         (syms_of_msdos): Defsubr it.
1057
1058         * s/msdos.h (GMALLOC_INHIBIT_VALLOC): Defined.
1059
1060         * casetab.c (set_case_table): Set upcase_table, case_canon_table
1061         and case_eqv_table in the buffer.
1062
1063         * casefiddle.c (casify_region, casify_object):
1064         If case table has been changed, call Fset_case_table.
1065
1066 1996-05-04  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
1067
1068         * editfns.c (Fencode_time): Accept MANY args, so as to cope
1069         with the value of decode-time.
1070
1071 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
1072
1073         * keyboard.c (Qup, Qdown): New variables.
1074         (syms_of_keyboard): Initialize and staticpro.
1075         (scroll_bar_parts): Add Qup and Qdown.
1076         (make_lispy_event) [WINDOWSNT]: Handle win32_scroll_bar_click.
1077
1078         * termhooks.h (enum scroll_bar_part): New alternatives
1079         scroll_bar_up_arrow, scroll_bar_down_arrow.
1080         (win32_scroll_bar_click): New enum constant.
1081
1082 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
1083
1084         * makefile.nt (SUBSYSTEM) [NTGUI]: Remove conditional.
1085         (LINK_FLAGS): Explicitly set base address, and stack and heap sizes.
1086         (nt.obj): Add dependency to nt.h.
1087
1088         * nt.c (nt_ctime): Function renamed to sys_ctime.
1089
1090         Undefine macros for shadowed CRT functions.
1091         (nt_stat, get_unassigned_drive_letter, is_toplevel_share_name)
1092         (stat_toplevel_share): Functions deleted.
1093
1094         Include sys/socket.h and
1095         undefine macros for shadowed socket functions.
1096
1097         (getwd): Return NULL if GetCurrentDirectory fails.
1098
1099         (gethostname) [!HAVE_SOCKETS]: Replace with winsock version.
1100
1101         (nt_sleep): Renamed to sys_sleep.
1102
1103         (rename): Renamed to sys_rename. Always rename to a temporary name
1104         first on Windows 95.  Unlink new name first if necessary.
1105
1106         (dir_finding): Variable deleted.
1107         (dir_is_fat, dir_pathname): New variables.
1108
1109         (openddir): Fail if dir_find_handle is in use. Save directory name
1110         in dir_pathname, and set dir_is_fat appropriately.
1111         (closedir, readdir): Use dir_find_handle in place of dir_finding.
1112         (readdir): Copy directory name from dir_pathname on first
1113         call. Use IS_DIRECTORY_SEP instead of IS_ANY_SEP.  Force filename
1114         to be lower case on FAT volumes.
1115
1116         (getpwuid): Move struct passwd initialization to init_user_info,
1117         return information for current user if uid ma