ChangeLog.6 183 KB
Newer Older
Dave Love's avatar
#  
Dave Love committed
1 2 3 4 5 6 7 8 9 10
1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* Version 19.33 released.

1996-08-10  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* s/sco5.h (POSIX_SIGNALS): Don't define it, #undef instead.
	(NO_SOCKETS_IN_FILE_SYSTEM): Definition deleted.
	(sigblock): New definition.

11
1996-08-10  Marcus G. Daniels  <marcus@sayre.sysc.pdx.edu>
Dave Love's avatar
#  
Dave Love committed
12 13 14 15 16

	* m/sequent-ptx.h (LOAD_AVE_TYPE, FSCALE, LOAD_AVE_CVT):
	Undef them before defining.

	* s/ptx4.h: Fix include file name.
Juanma Barranquero's avatar
Juanma Barranquero committed
17
	(NO_FILIO_H): Move definition.
Dave Love's avatar
#  
Dave Love committed
18 19 20 21 22 23 24 25 26

1996-08-09  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* m/alpha.h [__ELF__] (UNEXEC): Use unexelf1.c.

1996-08-09  David Mosberger-Tang  <davidm@azstarnet.com>

	* unexelf1.c: New file, copied from unexelf.c.
	[__alpha__]: Include <sym.h> to get COFF debugging
Juanma Barranquero's avatar
Juanma Barranquero committed
27
	info declarations for .mdebug section.
Dave Love's avatar
#  
Dave Love committed
28 29 30
	[__GNU_LIBRARY__ - 0 >= 6]: Include <link.h>.
	[notdef ElfW]: Define backwards compatible ElfW macro.
	(unexec) [__alpha__]: Add code to update Alpha COFF symbol table
Juanma Barranquero's avatar
Juanma Barranquero committed
31
	(.mdebug section).
Dave Love's avatar
#  
Dave Love committed
32
	(unexec) [__alpha__]: Work around binutils-2.7 bug: for Alpha ELF
Juanma Barranquero's avatar
Juanma Barranquero committed
33 34
	sometimes unneeded data relocs do not get elided properly which
	results in reloc entries that contain all zeroes.
Dave Love's avatar
#  
Dave Love committed
35 36 37

	* m/alpha.h [__ELF__ && __GNUC__] (C_SWITCH_MACHINE): Add -fno-common.
	(TEXT_START, DATA_START, DATA_SEG_BITS, UNEXEC): Define only if
Juanma Barranquero's avatar
Juanma Barranquero committed
38
	__ELF__ is not defined.
Dave Love's avatar
#  
Dave Love committed
39 40
	(LINUX_SBRK_BUG): Define only if LINUX and __GNU_LIBRARY__ < 6.
	(NO_TERMIO): Always define this.  No Alpha system should need
Juanma Barranquero's avatar
Juanma Barranquero committed
41
	termio.
Dave Love's avatar
#  
Dave Love committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55
	(COFF, DATA_END): Define only if __ELF__ is not defined.

1996-08-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* s/usg5-4.h: Don't include filio.h if NO_FILIO_H.

	* s/ptx4.h: New file.

	* config.in (GETTIMEOFDAY_ONE_ARGUMENT): Conditionalize on
	HAVE_GETTIMEOFDAY.

1996-08-07  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* xmenu.c (xmenu_show): Set dummy.state.
Juanma Barranquero's avatar
Juanma Barranquero committed
56
	Set dummy.button appropriately.
Dave Love's avatar
#  
Dave Love committed
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
	(popup_get_selection) [USE_MOTIF]: Set event.xbutton.button.

	* s/osf1.h (LD_SWITCH_SYSTEM): New definition.

1996-08-06  Paul Eggert  <eggert@twinsun.com>

	* editfns.c (set_time_zone_rule): Don't put a string literal
	"TZ=..." in environ.

1996-08-05  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* minibuf.c (Fread_from_minibuffer): Make position 0 in the initial
	input mean the beginning.

1996-08-04  Eli Zaretskii  <eliz@is.elta.co.il>

	* callproc.c (Fcall_process_region) [DOS_NT]: Avoid downcasing
	the `X' characters in the template passed to `mktemp'.

1996-08-02  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* widget.c (EmacsFrameSetCharSize): Call do_pending_window_change.

1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* Version 19.32 released.

	* s/hpux10.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
	Override to add /usr/contrib directories.

1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* xterm.c (XTread_socket): Delete the code to pass menu bar keys
	to the toolkit alone.
	(XTread_socket): Don't fail to pass button events to toolkit.

1996-07-29  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* xterm.c (XTread_socket): Pass keys in menu bar to toolkit alone
	only for Motif.

	* xdisp.c (prepare_menu_bars): Conditionalize previous change.

1996-07-27  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* filelock.c (lock_file_owner_name): Always initialize the_pw.

	* xterm.c (XTread_socket): Fixing previous change:
	Clear last_mouse_press_frame on non-menu-bar ButtonPress.
	Always use last_mouse_press_frame as frame for ButtonRelease.
	But ignore the event if frame's output_data.x is null.
	Save the ButtonRelease only if USE_MOTIF.
	(last_mouse_press_frame): This is now a Lisp object.
	(syms_of_xterm): Initialize and staticpro it.

	* xmenu.c (pending_menu_activation): Don't initialize.  Not static.
	(set_frame_menubar): If no saved_menu_event yet, set deep_p.
	Don't clear pending_menu_activation here.

	* xmenu.c (Fx_popup_dialog): Don't fail to initialize WINDOW.

	* xdisp.c (prepare_menu_bars): Clear pending_menu_activation.
119

Dave Love's avatar
#  
Dave Love committed
120 121 122 123 124 125 126 127 128
	* print.c: When printing into a buffer, generate all the text
	first, then insert it all at once.
	(print_buffer): New variable.
	(print_buffer_size, print_buffer_pos): New variables.
	(PRINTPREPARE): Allocate print_buffer.
	(PRINTFINISH): Free print_buffer after inserting its contents.
	(printchar, strout): Output into print_buffer.
	(print_string): If printcharfun is nil, use strout.

129
1996-07-26  Marcus G. Daniels  <marcus@sayre.sysc.pdx.edu>
Dave Love's avatar
#  
Dave Love committed
130 131 132 133 134 135 136 137 138

	* xmenu.c (pending_menu_activation): New variable.
	(x_activate_menubar): Don't call set_frame_menubar for
	ButtonRelease events.  Instead, set pending_menu_activation.
	(set_frame_menubar): If pending_menu_activation, set deep_p.

	* xterm.c (last_mouse_press_frame): New variable.
	(XTread_socket): Store a saved_button_event for ButtonRelease.

139
1996-07-25  Marcus G. Daniels  <marcus@sayre.sysc.pdx.edu>
Dave Love's avatar
#  
Dave Love committed
140 141 142 143 144 145 146 147

	* xmenu.c (set_frame_menubar): Use -1 for call_data
	in the deep_p = 0 case.

1996-07-24  Geoff Voelker  <voelker@joker.cs.washington.edu>

	* ntinevt.c (win32_read_socket): Never block reading from input queue.

148
1996-07-24  Marcus G. Daniels  <marcus@sayre.sysc.pdx.edu>
Dave Love's avatar
#  
Dave Love committed
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192

	* editfns.c (Fencode_time): Assign to tm.tm_gmtoff for NEXTSTEP,
	since timezone environment variable is ignored.

1996-07-23  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* buffer.c (buffer_permanent_local_flags): New variable.
	(init_buffer_once): Initialize it.
	(reset_buffer_local_variables): New argument PERMANENT_TOO.
	Callers changed.  Now declared static.

	* s/irix6-0.h [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.

	* m/mips.h, m/iris4.h, m/iris5d.h (LIBS_MACHINE) [__GNUC__ and ABIN32]:
	Define as empty.

1996-07-23  Paul Eggert  <eggert@twinsun.com>

	* editfns.c (Fdecode_time, difftm): Work even if tm_year represents
	negative years; this is possible with 64-bit time_t values.

1996-07-20  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* fileio.c (check_writable): Use euidaccess, not eaccess.

1996-07-20  Erik Naggum  <erik@naggum.no>

	* intervals.c (balance_intervals_internal): Recurse directly.

1996-07-19  Eli Zaretskii  <eliz@is.elta.co.il>

	* unexec.c (copy_text_and_data) [DJGPP >= 2]: Switch off two bits
	in `_crt0_startup_flags' so they don't go into the dumped Emacs.
	Restore the value of `_crt0_startup_flags' after .text and .data
	were dumped.

1996-07-19  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* s/irix5-0.h (_BSD_SIGNALS): Define.
	* s/irix6-0.h (SA_RESTART): Add #undef.

1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>

	* w32term.c (w32_read_socket): Need to erase background
Juanma Barranquero's avatar
Juanma Barranquero committed
193
	immediately before repainting exposed region.
Dave Love's avatar
#  
Dave Love committed
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241

	* makefile.nt (DOC, clean): Use OBJDIR macro.

1996-07-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* xfns.c (Fx_create_frame): Do xlwmenu hack only if USE_LUCID.

	* m/alpha.h, unexelf.c: Undo Jul 15 changes.
	* config.in, data.c, keyboard.c, process.c: Undo Jul 15 changes.
	* cm.h, sysdep.c, terminfo.c: Undo Jul 15 and Jul 16 changes.

1996-07-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* cm.h, terminfo.c, sysdep.c: Test HAVE_TERMIOS rather than the
	automatically-generated HAVE_TERMIOS_H, in case <termios.h> is
	present but unusable.

1996-07-16  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* fns.c (Fy_or_n_p): Pass 3rd arg to Flookup_key.

	* s/hpux10.h (LIBS_TERMCAP): New definition.

1996-07-15  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* window.c (struct save_window_data, struct saved_window): First
	placeholder member is EMACS_INT, not int.

	* print.c (print): Fix args in strout calls.

	* xterm.h (struct x_output): Member saved_button_event replaced by
	saved_menu_event.
	* xmenu.c (x_activate_menubar): Allow any event, not just ButtonPress.
	* xterm.c (SET_SAVED_MENU_EVENT): New macro.
	(SET_SAVED_BUTTON_EVENT, SET_SAVED_KEY_EVENT): New macros.
	(XTread_socket): Defer key events as well as button presses.

	* frame.c (Qmouse_leave_buffer_hook): Delete redundant definition.
	(syms_of_frame_1): Delete the duplicate assignment and staticpro.
	* lisp.h (Qmouse_leave_buffer_hook, Qfont): Declare here.
	* floatfns.c (Qarith_error): Delete redundant definition.
	* xfns.c (Qfont): Delete redundant definition.
	(syms_of_xfns): Delete the duplicate assignment and staticpro.
	* w32fns.c (Qfont): Delete redundant definition.
	(syms_of_win32fns): Delete the duplicate assignment and staticpro.
	* xfns.c (xlwmenu_default_font): Declare, but don't define.
	* xselect.c (last_event_timestamp): Declare, but don't define.

242
1996-07-15  David Mosberger-Tang  <davidm@AZStarNet.com>
Dave Love's avatar
#  
Dave Love committed
243 244 245 246 247 248 249 250 251 252

	* m/alpha.h (TEXT_START, DATA_START, DATA_SEG_BITS, UNEXEC, DATA_END):
	Omit these definitions if ELF.
	(LINUX_SBRK_BUG): Omit this if using a recent GNU library.
	[__ELF__] (C_SWITCH_MACHINE): Define.
	(NO_TERMIO): Define this unconditionally.
	(COFF): Omit this if ELF.
	* config.in (HAVE_TERMIOS_H): Add #undef.
	* cm.h [HAVE_TERMIOS_H]: Declare ospeed as speed_t.
	* sysdep.c [HAVE_TERMIOS_H]: Likewise.
Juanma Barranquero's avatar
Juanma Barranquero committed
253
	* dispnew.c: Don't declare ospeed; cm.h already did it.
Dave Love's avatar
#  
Dave Love committed
254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302
	* terminfo.c: Use <config.h>.
	[HAVE_TERMIOS_H]: Declare ospeed as speed_t.
	[USG]: Include <string.h>.
	* data.c (arith_error): Don't reinstall sig handler if POSIX_SIGNALS.
	* keyboard.c (input_available_signal, interrupt_signal): Likewise.
	* process.c (create_process_1, sigchld_handler): Likewise.
	* unexelf.c: Add 64-bit ELF and Alpha/ELF support.

1996-07-13  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* search.c (Fmatch_data): If no matching done yet, return Qnil.

1996-07-13  Paul Eggert  <eggert@twinsun.com>

	* vmstime.c (sys_gmtime): Don't assume year < 2000.

1996-07-13  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* process.c (wait_reading_process_input) [hpux]: Workaround for
	annoying messages.

1996-07-12  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* indent.c (Fvertical_motion): Doc fix.

1996-07-11  Andrew Innes  <andrewi@harlequin.co.uk>

	* w32fns.c (win32_wnd_proc): Handle WM_ERASEBKGND and
	WM_PALETTECHANGED messages inline (as they should be).

	* w32term.c (w32_read_socket): Remove unused WM_ERASEBKGND code.
	No need to erase background now on (delayed) WM_PAINT.  Move
	WM_PALETTECHANGED processing to raw input thread.

1996-07-11  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* keyboard.c (menu_bar_item): Skip menu-bar equiv keys data
	to get just the keymap.

	* s/irix5-0.h [__GNUC__] (C_DEBUG_SWITCH): New definition.

1996-07-11  David Mosberger-Tang  <davidm@AZStarNet.com>

	* mem-limits.h (lim_data): Make this an unsigned long.

1996-07-11  Bill Mann  <dvmann@dvncr.praxisint.com>

	* s/usg5-4-3.h: New file.

303
1996-07-11  Marcus G. Daniels  <marcus@sayre.sysc.pdx.edu>
Dave Love's avatar
#  
Dave Love committed
304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393

	* xterm.c (XTread_socket): Add #ifdef for previous change.

1996-07-11  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* buffer.c (syms_of_buffer): Doc fix.

1996-07-08  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

	* mem-limits.h [_LIBC]: Use weak_extern instead of weak_symbol for
	__data_start.

1996-07-07  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* s/gnu.h: Enable use of ncurses library cleanly.

1996-07-07  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* xterm.c: Undo previous change.
	(XTread_socket): Better way to avoid sending toolkit-specific
	events to Emacs.

1996-07-07  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* xmenu.c (popup_get_selection): For a ButtonRelease on the proper
	display, don't queue it, and always deactivate the menu.

1996-07-07  Eli Zaretskii  <eliz@is.elta.co.il>

	* msdos.c (IT_menu_display): Display control characters as ^X.
	(XMenuAddPane, XMenuAddSelection): Adjust menu width for control
	characters (displayed as ^X).

	* dired.c (file_name_completion): Set `stat' flags to avoid
	computing expensive fields in struct stat (makes filename
	completion much faster).

	* fileio.c (Fcopy_file): Use st_ino under DJGPP v2 and later to
	prevent copying file into itself.
	(check_executable): DJGPP v2 `stat' doesn't need to be augmented
	in case of executable files.
	(Ffile_modes): Use `stat' results as is in DJGPP v2 and later.

1996-07-04  Eli Zaretskii  <eliz@is.elta.co.il>

	* msdos.c (dostounix_filename): On caseless filesystems, downcase
	the filename.
	(unixtodos_filename): Downcase the drive letter.
	(init_environment): Downcase the pathnames in the environment only
	when running on caseless filesystems.

1996-07-03  Andrew Innes  <andrewi@harlequin.co.uk>

	* nt.c (normalize_filename): Always lower-case drive letters, even
	on systems that preserve case in filenames.

	* fileio.c (DRIVE_LETTER) [WINDOWSNT]: Lower-case drive letters.

1996-07-05  Andrew Innes  <andrewi@harlequin.co.uk>

	* w32term.c (x_set_mouse_pixel_position): Adjust coords by frame
	position.
	(x_set_mouse_position): Call x_set_mouse_pixel_position.

1996-07-05  Andrew Innes  <andrewi@harlequin.co.uk>

	* nt.c (sys_rename): Do not delete newname if only changing case.
	On Windows 95, use our version of mktemp (not the MSVC version)
	and give the temp name a long extension to ensure the final rename
	works as expected.

1996-07-03  Eli Zaretskii  <eliz@is.elta.co.il>

	* callproc.c (Fcall_process) [MSDOS]: Initialize fd[0]; unlink
	`tempfile' in case of errors.
	(Fcall_process): When fd_error is negative,
	don't close fd[0] if it's same as filefd.

1996-07-03  Eli Zaretskii  <eliz@is.elta.co.il>

	* callproc.c (Fcall_process) [MSDOS]: Make the `tempfile'
	parameter passed to `report_file_error' be a Lisp string.
	(Fcall_process): If stderr is redirected to NULL_DEVICE, make
	`report_file_error' print the name of device.  Make the arguments
	a cons cell.

1996-07-06  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* indent.c (Fvertical_motion): Doc fix.

394
1996-07-03  Marcus G. Daniels  <marcus@sayre.sysc.pdx.edu>
Dave Love's avatar
#  
Dave Love committed
395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709

	* xterm.c (XTread_socket): Use lw_tookit_related_event_p to
	avoid sending toolkit-specific events to Emacs.

1996-07-01  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* m/alpha.h (HAVE_X11R4, HAVE_X11R5): Definitions deleted
	since xterm.h and config.h should take care of them.

	* xselect.c (x_clear_frame_selections): Don't call
	redisplay_preserve_echo_area here.

1996-06-30  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* systty.h: Delete spurious period from last change.

1996-07-01  Eli Zaretskii  <eliz@is.elta.co.il>

	* fileio.c (DRIVE_LETTER) [MSDOS]: Lower-case drive letters.

	* msdos.c (msdos_downcase_filename): Always lower-case drive
	letters, even on systems that preserve case in filenames.

1996-06-29  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* s/sol2-5.h (LIB_MOTIF): Fix typo.

	* emacs.c (main): Add `GNU Emacs' to the response to --version.

	* xfns.c (Fx_create_frame): Gcpro parms, parent, and name.

	* systty.h (GETPGRP_NO_ARG): Always define it, if __GNU_LIBRARY__.

1996-06-28  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* frame.c (make_frame_without_minibuffer): GCPRO the frame f.

	* config.in (AMPERSAND_FULL_NAME): Defined by default.

	* s/sol2-5.h (LIB_MOTIF): New definition.

	* emacs.c (standard_args): Delete `-rn' option.

	* .gdbinit: Add `dir ../lwlib'.

	* print.c (print): Obey Vprint_length for vectors, bitvectors.

	* fileio.c (check_executable): Use euidaccess, not eaccess.

	* config.in (HAVE_EUIDACCESS): This replaces HAVE_EACCESS.

	* xterm.h: Don't define HAVE_X11R5 here.

	* config.in (HAVE_X11R5): Add #undef.

	* unexhp9k800.c (unexec): Cast result of sbrk.
	(run_time_remap): Cat arg to brk.

1996-06-27  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_connection_closed): Call clear_waiting_for_input.

	* keyboard.c (modify_event_symbol): Add properly to *symbol_table.

1996-06-26  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_connection_closed): Add newline when printing error
	message on stderr.
	(XTread_socket, Xatom_wm_save_yourself clause):
	Don't call XSetCommand if f is 0.
	(x_error_quitter): Delete newline from sprintf string.

	* xdisp.c (redisplay_internal): Use last_had_star to decide
	whether to update the mode line to update the star.
	(update_menu_bar): Likewise.
	Also, don't set w->update_mode_line for frames that use
	set_frame_menubar.
	(redisplay_internal, mark_window_display_accurate):
	Set last_had_star.

	* window.h (struct window): New field, last_had_star.

1996-06-25  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_connection_signal): Just return after calling `signal'.
	(X_CONNECTION_LOCK_FLAG): Definition deleted.
	(x_connection_signal_dpyinfo): Variable deleted.
	(x_connection_signal_1): Function deleted.
	(x_connection_close_if_hung): Function deleted.

	* indent.c (Fmove_to_column): Go after invis chars at the goal column.

1996-06-24  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_connection_closed): If waiting_for_input,
	call quit_throw_to_read_char.

1996-06-24  Paul Eggert  <eggert@twinsun.com>

	* unexelf.c (unexec): Round up section header offset to bss alignment
	before deciding whether it's after the bss section.

1996-06-23  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* xfns.c (x_real_positions): Don't call x_uncatch_errors twice.

	* indent.c (current_column_1): Add declaration.

1996-06-22  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* indent.c: Make current-column, move-to-column and current-indentation
	handle invisible chars (both text properties and overlays).
	(skip_invisible): New function.
	(Fmove_to_column): Use skip_invisible.  Get rid of `retry' label.
	(compute_motion): Use skip_invisible.
	(current_column_1): New function.
	(current_column): Use current_column_1 if might have invisible text.

	* data.c (Fdefalias): Doc fix.

	* s/gnu-linux.h (LD_SWITCH_SYSTEM): Just one definition.
	Don't use prefix-args here because Makefile.in
	does that when necessary.

1996-06-21  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* s/sco5.h: New file.

	* s/gnu-linux.h: Renamed from lignux.h.
	(SYSTEM_TYPE): Changed to gnu/linux.

	* callproc.c (Fcall_process): Fix previous change.

	* xterm.c (x_iconify_frame): If frame is invisible,
	explicitly mark it as iconified.

	* keyboard.c (kbd_buffer_get_event): Don't call x_activate_menubar
	for a deleted frame.

1996-06-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* s/sol2-4.h (LD_SWITCH_SYSTEM): Use no space after -L and -R.

1996-06-18  Nico Francois  <nico.francois@scala.nl>

	* w32fns.c (Vwin32_alt_is_meta): New variable.
	(win32_get_modifiers): Map Alt to alt_modifier if required.
	(syms_of_win32fns): DEFVAR new variable.

	* ntinevt.c (Vwin32_alt_is_meta): Declared.
	(win32_kbd_mods_to_emacs): Map Alt to alt_modifier if required.

1996-06-16  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* callproc.c (Fcall_process): Handle t or nil as STDERR_FILE.

	* s/hpux10.h (HPUX10): New macro.

1996-06-14  Andrew Innes  <andrewi@harlequin.co.uk>

	* w32fns.c (win32_wnd_proc): No need to forward WM_ERASEBKGND to
	main thread.

	* w32term.c (w32_read_socket): Erase update rect on WM_PAINT, so
	no need to process WM_ERASEBKGND.

1996-06-13  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* xmenu.c (Qmenu_alias): New variable.
	(syms_of_xmenu): Initialize it.
	(menu_item_equiv_key): Check this property on the definition.

	* fileio.c (Fexpand_file_name): When simplifying /foo/..,
	keep the initial slash.

	* s/hpux10.h (LIBS_SYSTEM): Two new definitions (and #undef first).

1996-06-12  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* emacs.c (main): For SIGHUP, use sigblock and sigunblock,
	not sigblockx and sigunblockx.

	* buffer.c (Fkill_buffer): Doc fix.

1996-06-12  Andrew Innes  <andrewi@harlequin.co.uk>

	* ntproc.c (restrict_dos_process): Variable deleted.
	(sys_spawnve): Restrict DOS processes on NT as well.

	* nt.c: Delete restrict_dos_process.

1996-06-12  Andrew Innes  <andrewi@harlequin.co.uk>

	* nt.c (restrict_dos_process): Renamed from can_run_dos_process.
	(init_ntproc): Refer to restrict_dos_process.

	* ntproc.c (restrict_dos_process): Renamed from can_run_dos_process.
	(sys_spawnve): Refer to restrict_dos_process.

1996-06-12  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* syssignal.h (sigunblockx): Use sigunblock.

1996-06-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input): Move the O_NONBLOCK and
	O_NDELAY conditionals out of the EWOULDBLOCK conditional.

1996-06-10  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* keymap.c (Fset_keymap_parent): Return early if KEYMAP already has
	the proper parent.

	* s/lignux.h [__ELF__] (LD_SWITCH_SYSTEM): Define it.

	* frame.c (Fmake_terminal_frame): Test MSDOS, not __MSDOS__.

	* xdisp.c (redisplay_internal): Use FRAME_WINDOW_P.
	(decode_mode_spec): Likewise.

	* minibuf.c (choose_minibuf_frame): Eliminate
	MSDOS-non-MULTI_FRAME conditional.

	* dispnew.c (change_frame_size, remake_frame_glyphs):
	Use FRAME_WINDOW_P.

	* msdos.c (check_x): Fix error message.

1996-06-09  Eli Zaretskii  <eliz@is.elta.co.il>

	* xfaces.c (init_frame_faces): Build faces for an MSDOS frame
	like for X frame.
	(Fmake_face_internal): Call `ensure_face_ready' for MSDOS frames.
	(Fset_face_attribute_internal): Support face attributes for MSDOS
	frames.

	* xdisp.c (redisplay_internal): Use `Vterminal_frame' and other
	termcap frame code on MSDOS as well.
	(display_text_line) [HAVE_FACES]: Support faces on MSDOS.
	(decode_mode_spec): Return frame name on MSDOS like for termcap
	frames.

	* window.c (Fset_window_configuration) [HAVE_WINDOW_SYSTEM]: Call
	`x_set_menu_bar_lines' on MSDOS as well.

	* msdos.h (check_x): Macro definition deleted.
	(DisplayWidth): Use `selected_frame'.
	(DisplayHeight): Use `selected_frame'.
	(x_mouse_leave): Remove; it's not used.

	* msdos.c (x_set_menu_bar_lines): New function, copied from xfns.c.
	(IT_set_frame_parameters): Use selected_frame instead of
	the_only_frame.
	(internal_terminal_init): Use selected_frame instead of the_only_frame.
	(check_x): New function, replacing macro in msdos.h.
	(XMenuActivate): Use selected_frame instead of
	the_only_frame.  Don't let the title for the "Buffers" popup
	include a number when it is split into several menus.

	* minibuf.c (choose_minibuf_frame): Support multiple frames on MSDOS.

	* frame.h (FRAME_MSDOS_P): A new macro for MSDOS frames.

	* frame.c (Qpc): New variable.
	(syms_of_frame_1): Define and staticpro it.
	(Fframep): Support MSDOS frames.
	(make_terminal_frame, Fmake_terminal_frame): Support MSDOS frames.
	(Fset_mouse_position, Fset_mouse_pixel_position): Support MSDOS frames.
	(Fframe_parameters, Fmodify_frame_parameters): Support MSDOS frames.

	* dosfns.c (Fset_mouse_position): Remove the DOS-specific
	definition (it's defined on `frame.c').
	(syms_of_dosfns): Remove defsubr of `Fset_mouse_position'.

	* dispnew.c (Fredraw_frame, remake_frame_glyphs)
	(direct_output_for_insert, change_frame_size): Support MSDOS frames.

1996-06-10  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* keymap.c (fix_submap_inheritance): If parent_entry is not a keymap,
	use nil instead.

	* alloc.c (mark_object): Do set ARRAY_MARK_FLAG for bool-vectors.

1996-06-10  Andrew Innes  <andrewi@harlequin.co.uk>

	* w32fns.c (x_to_win32_font): Allow any quality fonts.

1996-06-09  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* keyboard.c (read_char): Use unsigned to compare against
	the size of Vkeyboard_translate_table.
	Check size for char-table too.

	* s/freebsd.h (DONT_REOPEN_PTY): New definition.

	* process.c (create_process): Add DONT_OPEN_PTY conditional.

1996-06-07  Andrew Innes  <andrewi@harlequin.co.uk>

	* nt.c (init_environment): Read PRELOAD_WINSOCK from registry if
	not set in environment.

	(winsock_inuse) [HAVE_SOCKETS]: New variable.
	(have_winsock) [HAVE_SOCKETS]: Obsolete variable removed.

	(term_winsock) [HAVE_SOCKETS]: Only unload winsock library if there
	are no active sockets still open, and if the cleanup function
	succeeds.  Return TRUE if winsock is unloaded.

	(init_winsock) [HAVE_SOCKETS]: Load winsock if not already loaded,
	and return TRUE if winsock support is available.  Unload winsock
	immediately if new parameter load_now is false.  Check that
	WSAStartup supports the winsock version we requested.

Juanma Barranquero's avatar
Juanma Barranquero committed
710 711 712 713
	(set_errno, check_errno, sys_socket, sys_bind, sys_connect)
	(sys_htons, sys_ntohs, sys_inet_addr, sys_gethostname)
	(sys_gethostbyname, sys_getservbyname, sys_close, sys_read)
	(sys_write) [HAVE_SOCKETS]: Check winsock_lib instead of
Dave Love's avatar
#  
Dave Love committed
714 715 716 717 718 719 720
	have_winsock to determine if winsock support is available.

	(sys_socket, sys_close) [HAVE_SOCKETS]: Count sockets in use.

	(init_ntproc) [HAVE_SOCKETS]: Only load winsock library on startup
	if PRELOAD_WINSOCK is set in environment (or registry).

Juanma Barranquero's avatar
Juanma Barranquero committed
721 722
	* ntproc.c (Fwin32_has_winsock,	Fwin32_unload_winsock)
	[HAVE_SOCKETS]: New functions.
Dave Love's avatar
#  
Dave Love committed
723 724 725 726 727
	(syms_of_ntproc) [HAVE_SOCKETS]: defsubr them.

	* process.c (Fopen_network_stream) [WINDOWSNT]: Ensure Windows
	socket library is loaded if available.

728
1996-06-07  Marcus G. Daniels  <marcus@sayre.sysc.pdx.edu>
Dave Love's avatar
#  
Dave Love committed
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777

	* xterm.c (XTread_socket): Use XtAppNextEvent when using
	toolkit configurations.

1996-06-07  Andrew Innes  <andrewi@harlequin.co.uk>

	* nt.c (sys_mktemp): Complete rewrite.

1996-06-07  Andrew Innes  <andrewi@harlequin.co.uk>

	* ntproc.c (sys_kill): Don't try to terminate a DOS process.

1996-06-06  Andrew Innes  <andrewi@harlequin.co.uk>

	* fileio.c (Ffile_name_directory) [WINDOWSNT]: Remove previous
	change, which was incorrect and isn't strictly required.

1996-06-06  Eli Zaretskii  <eliz@is.elta.co.il>

	* xfaces.c (Fset_face_attribute_internal) [MSDOS]: Don't mask
	bright color bit in background colors.

	* msdos.c (bright_bg): New function, enables bright background colors.
	(dos_set_window_size): Move code to `bright_bg'.
	(IT_set_terminal_modes): Enable bright background colors.
	(IT_set_frame_parameters): Don't mask bright color bit in
	background colors.  Record colors on `termscript' file.
	(internal_terminal_init): Enable bright background colors.  Fix
	default colors setting from $EMACSCOLORS.

1996-06-07  Geoff Voelker  <voelker@joker.cs.washington.edu>

	* w32fns.c (sync_modifiers): New function.
	(w32_wnd_proc): Synchronize modifiers on each key down.

1996-06-06  Andrew Innes  <andrewi@harlequin.co.uk>

	* nt.c (init_winsock): Dynamically link to SetHandleInformation.
	(sys_socket): If possible, use SetHandleInformation to make socket
	handle non-inheritable to avoid a bug in NT.

1996-06-05  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* keymap.c (Fkeymap_parent, Fset_keymap_parent): New functions.
	(fix_submap_inheritance): New function.
	(access_keymap): Use fix_submap_inheritance.

1996-06-05  Paul Eggert  <eggert@twinsun.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
778
	* editfns.c (set_time_zone_rule):
Dave Love's avatar
#  
Dave Love committed
779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835
	Work around localtime cache bug in SunOS 4.1.3_U1 and SunOS 4.1.4.

1996-06-04  Geoff Voelker  <voelker@joker.cs.washington.edu>

	* w32term.c (w32_read_socket): If the dead key was produced using
	AltGr and has a valid AltGr scan code, it's a valid key and
	should not be discarded.

1996-06-03  Kim Storm  <storm@olicom.dk>

	* ntproc.c (Vwin32_downcase_file_names): New variable.
	(syms_of_win32fns): DEFVAR it.

	* fileio.c (DRIVE_LETTER): [DOS_NT] New macro.
	(expand_file_name): Apply DRIVE_LETTER macro to drive names.

	* nt.c (normalize_filename): New function.
	(dostounix_filename, unixtodos_filename): Use it.
	(readdir): Convert upper case file names to lower case
	if win32-downcase-file-names is non-nil.

1996-05-31  Andrew Innes  <andrewi@harlequin.co.uk>

	* fileio.c (Fexpand_file_name) [WINDOWSNT]: Don't strip trailing /
	when newdir is just "//".
	(Ffile_name_directory) [WINDOWSNT]: Return Qnil if filename is a
	partial UNC name such as "//foo".

1996-05-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* xmenu.c (single_submenu): Handle non-keymap lists like symbols.

	* w32fns.c (reset_modifiers): Only clear a modifier if the
	modifier key has been detected to have been released since
	Emacs lost focus.
	(win32_wnd_proc): Have Windows translate VK_NUMLOCK and
	VK_SCROLL key downs; don't reset the modifier state when
	Emacs loses focus.

1996-05-30  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* buffer.c (Fpop_to_buffer): Doc fix.

	* window.c (Fdisplay_buffer): Doc fix.

1996-05-27  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* s/sol2.h (LIBS_SYSTEM): Define this.

1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* Version 19.31 released.

1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* m/sparc.h [__linux__] (A_TEXT_OFFSET, A_TEXT_SEEK): Don't define.

836
1996-05-24  Marcus G. Daniels  <marcus@sayre.sysc.pdx.edu>
Dave Love's avatar
#  
Dave Love committed
837 838 839 840 841

	* xterm.c [SOLARIS2]: Include string.h.

1996-05-24  Andrew Innes  <andrewi@harlequin.co.uk>

Juanma Barranquero's avatar
Juanma Barranquero committed
842
	* w32fns.c (Vwin32_mouse_move_interval): New lisp variable.
Dave Love's avatar
#  
Dave Love committed
843 844 845 846 847 848
	(syms_of_win32fns): Add Vwin32_mouse_move_interval to syms.
	(saved_mouse_msg): Renamed to saved_mouse_button_msg.
	(timer_id): Renamed to mouse_button_timer.
	(saved_mouse_move_msg, mouse_move_timer): New variables.
	(win_msg_worker): Delete WM_TIMER code.
	(win32_wnd_proc): Handle WM_TIMER events here. Use separate timers
Juanma Barranquero's avatar
Juanma Barranquero committed
849
	for mouse down and mouse move (including scroll bar drag) events.
Dave Love's avatar
#  
Dave Love committed
850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940
	Add new handling code for WM_VSCROLL and WM_MOUSEMOVE events.
	Only filter WM_MOUSEMOVE events when a button is held down.
	Always pass on message to DefWindowProc after calling
	TranslateMessage.  Reset keyboard modifiers when losing focus.

	* w32term.c (x_scroll_bar_handle_click): Repaint scroll bar handle
	when drag is finished.

1996-05-23  Geoff Voelker  <voelker@joker.cs.washington.edu>

	* w32fns.c (win32_wnd_proc): When passing modifier keystrokes back
	to Windows, invoke TranslateMessage on them.
	(reset_modifiers): Don't reset Window's keyboard state.

1996-05-23  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* lread.c (init_lread): Init Vload_file_name to Qnil.

1996-05-21  Geoff Voelker  <voelker@joker.cs.washington.edu>

	* w32fns.c (modifier_set): Check toggle state of CapsLock even
	if modifiers are not being recorded.

1996-05-21  Andrew Innes  <andrewi@harlequin.co.uk>

	* nt.c (get_volume_info): Always update *pPath correctly, even if
	UNC header is incomplete.

1996-05-21  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* indent.c (compute_motion): When calling Fget_char_property,
	don't pass window if window is displaying the wrong buffer.

	* dispnew.c (init_display) [HAVE_LIBNCURSES]: If X, call tgetent.

	* keyboard.c (Fexecute_extended_command): Don't look for
	a key binding if executing a kbd macro.

	* print.c (Fprin1_to_string): Preserve Vdeactivate_mark.

	* systty.h [__GNU_LIBRARY__]: #include <sys/ioctl.h>.

	* cmds.c (internal_self_insert): Don't return 2 for auto-fill
	unless the auto_fill_function returns non-nil.

1996-05-17  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* nt.h (struct _child_process): New member is_dos_process.
	* nt.c (_sys_read_ahead): Handle sleep here.
	(sys_read): Not here.
	(init_ntproc): Initialize can_run_dos_process, dos_process_running.
	* ntproc.c (Vwin32_pipe_read_delay): New var.
	(can_run_dos_process, dos_process_running): New vars.
	(win32_is_dos_binary): New function.
	(reap_subprocess, sys_spawnve): Use them.
	(syms_of_ntproc): Defvar and initialize Vwin32_pipe_read_delay.

	* xdisp.c (display_menu_bar) [HAVE_NTGUI]: Enable the display of
	menus in --no-window mode on NT.

1996-05-17  Geoff Voelker  <voelker@cs.washington.edu>

	* w32term.c (w32_read_socket): Mask out lower 4 bits of wParam
	for WM_SYSCOMMAND messages.

1996-05-15  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* makefile.nt: Fix typo in previous patch.

	* callproc.c (Fcall_process): Don't close the same fd twice.

1996-05-15  Kim Storm  <storm@olicom.dk>

	* nt.c (sys_read): Introduce a small delay before reading from
	a pipe or socket to allow more data to be buffered; otherwise,
	process output is read one byte at a time on fast machines
	(which is slow).

1996-05-14  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* w32select.c (QCLIPBOARD): New symbol.
	(Fx_selection_exists_p): New function.
	(syms_of_win32select): Initialize/staticpro and defsubr them.

1996-05-13  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* makefile.nt (w32*.obj): Fix deps.

1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>

	* eval.c (Fsignal) [HAVE_WINDOW_SYSTEM]: Changed from
Juanma Barranquero's avatar
Juanma Barranquero committed
941
	HAVE_X_WINDOWS, so that TOTALLY_UNBLOCK_INPUT is called on Windows.
Dave Love's avatar
#  
Dave Love committed
942 943 944 945 946 947

	* w32fns.c (win32_wnd_proc): Reenable quit_char detection.

1996-05-13  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* w32menu.c: Include buffer.h.
Juanma Barranquero's avatar
Juanma Barranquero committed
948
	(set_frame_menubar): Make sure input is unblocked
Dave Love's avatar
#  
Dave Love committed
949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081
	when we call create_menu_items.
	Switch temporarily to proper buffer, bind inhibit-quit to t,
	and run the same hooks as in smenu.c.
	(syms_of_win32menu): Initialize and staticpro Qdebug_on_next_call.

	* w32term.c (note_mouse_movement): Upwards mouse movement
	recognition corrected.

1996-05-12  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* callproc.c (Fcall_process): Fix previous change (now !MSDOS only).

1996-05-12  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* macros.c (Fstart_kbd_macro): Add missing xrealloc arg.

1996-05-12  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* Makefile.in (MSDOS_SUPPORT): Use full name disp-table.elc.

1996-05-12  Eli Zaretskii  <eliz@is.elta.co.il>

	* dosfns.c (init_dosfns) [DJGPP >= 2]: Make `opendir' preserve
	filename case (under Windows 95) and find hidden files.

	* msdos.c (Fmsdos_downcase_filename): Don't change the argument,
	return a copy.

1996-05-11  Eli Zaretskii  <eliz@is.elta.co.il>

	* msdos.c (msdos_downcase_filename): New function to convert case
	in filenames.
	(Fmsdos_downcase_filename): New function.
	(syms_of_msdos): Defsubr it.

	* s/msdos.h (FILE_SYSTEM_CASE): Call Fmsdos_downcase_filename
	instead of Fdowncase.

1996-05-11  Geoff Voelker  <voelker@cs.washington.edu>

	* s/windowsnt.h (SYSTEM_PURESIZE_EXTRA): Macro defined.

1996-05-11  Andrew Innes  <andrewi@harlequin.co.uk>

	* w32term.c (x_scroll_bar_set_handle): Always use start
	in calling SetScrollPos.
	(x_scroll_bar_handle_click): In line up/down cases, don't alter y.
	Don't call x_scroll_bar_set_handle.

	* nt.c (map_win32_filename): If not a fat volume, cvt name to dos.

1996-05-11  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* ntheap.c (allocate_heap): Clean up conditional.

1996-05-11  Geoff Voelker  <voelker@cs.washington.edu>

	* ntheap.c (allocate_heap): Bump heap base up to 27MB to
	satisfy Windows 95.

1996-05-10  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* callproc.c (Fcall_process): Close fd_error if successful.

1996-05-10  Geoff Voelker  <voelker@cs.washington.edu>

	* w32fns.c (win32_wnd_proc): Disable setting of Vquit_flag
	at this point.

1996-05-10  Andrew Innes  <andrewi@harlequin.co.uk>

	* w32fns.c (win_msg_worker): Use post_msg.
	(win32_wnd_proc): Don't abort if button_state & this, just return.
	Use post_msg instead of my_post_msg in some places.
	(win32_to_x_font): Major rewrite.
	(struct enumfont_t): New element logfont.
	(enum_font_cb2): Add special code for TRUETYPE_FONTTYPE.
	(Fx_list_fonts): Call x_to_win32_font.

	* w32term.c (x_scroll_bar_move): Call my_show_window.
	(x_scroll_bar_clear): Likewise.

	* ntterm.c (prev_console_mode): New variable.
	(unset_kbd): Use prev_console_mode.
	(reset_kbd): Set prev_console_mode.  Call Fset_input_mode.

	* emacs.c (main) [WINDOWSNT]: Call syms_of_ntproc.

	* ntproc.c (Vwin32_quote_process_args): New variable.
	(sys_spawnve): If Vwin32_quote_process_args, quote the args.
	(syms_of_ntproc): Set up Lisp variable.

1996-05-10  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* xterm.c (x_connection_signal_1): Call x_connection_closed properly.

1996-05-08  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* msdos.c (syms_of_msdos): Fix typo.

1996-05-07  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* termhooks.h (enum scroll_bar_part): Delete extra comma.

1996-05-06  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* msdos.c (Fmsdos_long_file_names): New function.
	(syms_of_msdos): Defsubr it.

	* s/msdos.h (GMALLOC_INHIBIT_VALLOC): Defined.

	* casetab.c (set_case_table): Set upcase_table, case_canon_table
	and case_eqv_table in the buffer.

	* casefiddle.c (casify_region, casify_object):
	If case table has been changed, call Fset_case_table.

1996-05-04  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* editfns.c (Fencode_time): Accept MANY args, so as to cope
	with the value of decode-time.

1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>

	* keyboard.c (Qup, Qdown): New variables.
	(syms_of_keyboard): Initialize and staticpro.
	(scroll_bar_parts): Add Qup and Qdown.
	(make_lispy_event) [WINDOWSNT]: Handle win32_scroll_bar_click.

	* termhooks.h (enum scroll_bar_part): New alternatives
	scroll_bar_up_arrow, scroll_bar_down_arrow.
	(win32_scroll_bar_click): New enum constant.

Kim F. Storm's avatar
Kim F. Storm committed
1082
1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
Dave Love's avatar
#  
Dave Love committed
1083 1084 1085 1086 1087 1088 1089 1090

	* makefile.nt (SUBSYSTEM) [NTGUI]: Remove conditional.
	(LINK_FLAGS): Explicitly set base address, and stack and heap sizes.
	(nt.obj): Add dependency to nt.h.

	* nt.c (nt_ctime): Function renamed to sys_ctime.

	Undefine macros for shadowed CRT functions.
Juanma Barranquero's avatar
Juanma Barranquero committed
1091 1092
	(nt_stat, get_unassigned_drive_letter, is_toplevel_share_name)
	(stat_toplevel_share): Functions deleted.
Dave Love's avatar
#  
Dave Love committed
1093 1094

	Include sys/socket.h and
Juanma Barranquero's avatar
Juanma Barranquero committed
1095
	undefine macros for shadowed socket functions.
Dave Love's avatar
#  
Dave Love committed
1096 1097 1098 1099 1100 1101 1102 1103

	(getwd): Return NULL if GetCurrentDirectory fails.

	(gethostname) [!HAVE_SOCKETS]: Replace with winsock version.

	(nt_sleep): Renamed to sys_sleep.

	(rename): Renamed to sys_rename. Always rename to a temporary name
Juanma Barranquero's avatar
Juanma Barranquero committed
1104
	first on Windows 95.  Unlink new name first if necessary.
Dave Love's avatar
#  
Dave Love committed
1105 1106 1107 1108 1109

	(dir_finding): Variable deleted.
	(dir_is_fat, dir_pathname): New variables.

	(openddir): Fail if dir_find_handle is in use. Save directory name
Juanma Barranquero's avatar
Juanma Barranquero committed
1110
	in dir_pathname, and set dir_is_fat appropriately.
Dave Love's avatar
#  
Dave Love committed
1111 1112
	(closedir, readdir): Use dir_find_handle in place of dir_finding.
	(readdir): Copy directory name from dir_pathname on first
Juanma Barranquero's avatar
Juanma Barranquero committed
1113 1114
	call. Use IS_DIRECTORY_SEP instead of IS_ANY_SEP.  Force filename
	to be lower case on FAT volumes.
Dave Love's avatar
#  
Dave Love committed
1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133

	(getpwuid): Move struct passwd initialization to init_user_info,
	return information for current user if uid matches.

	(getuid, geteuid): Return uid determined by init_user_info.
	(getgid, getegid): New functions.

	(getpwnam): Ignore case when comparing name.
	(init_user_info): New function.  Determine user name and id from
	NT security calls if possible, otherwise try Windows networking
	calls before falling back to hard-coded defaults.  Ensure HOME and
	SHELL environment variables are set.

	(unixtodos_filename): New function.

	(REG_ROOT): Trailing backslash removed.

	(init_environment): Call init_user_info.

Juanma Barranquero's avatar
Juanma Barranquero committed
1134 1135
	(get_inode_and_device_vals, pipe_with_inherited_out)
	(pipe_with_inherited_in): Functions deleted.
Dave Love's avatar
#  
Dave Love committed
1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149

	(prepare_standard_handles, reset_standard_handles): Moved to
	ntproc.c and simplified to match other changes (all handles are
	already non-inheritable).

	(get_emacs_configuration): Detect Windows flavour (Windows 95 or
	NT) at run-time.  Change OS name for Windows 95 to be "win95".

	(fd_info): New variable. Array of extra info for file descriptors
	needed for pipe/socket support.

	(utc_base_ft, utc_base, init): New internal variables used for
	implementing stat.

Juanma Barranquero's avatar
Juanma Barranquero committed
1150 1151
	(get_volume_info, is_fat_volume, map_win32_filename, convert_time)
	(convert_from_time_t, hashval, generate_inode_val): New
Dave Love's avatar
#  
Dave Love committed
1152 1153
	internal support functions for shadowed C library functions.

Juanma Barranquero's avatar
Juanma Barranquero committed
1154 1155
	(sys_access, sys_chdir, sys_chmod, sys_link, sys_mkdir)
	(sys_mktemp, sys_rmdir, sys_unlink): Call map_win32_filename
Dave Love's avatar
#  
Dave Love committed
1156 1157 1158
	before calling shadowed C library function.

	(sys_fopen, sys_open): Map file names, and ensure file handle is
Juanma Barranquero's avatar
Juanma Barranquero committed
1159
	non-inheritable.
Dave Love's avatar
#  
Dave Love committed
1160

Juanma Barranquero's avatar
Juanma Barranquero committed
1161
	(stat): Replace buggy library function.  Fake reasonable i-node
Dave Love's avatar
#  
Dave Love committed
1162 1163 1164 1165
	values by hashing the canonical file name, and use uid/gid values
	determined by init_user_info.

	(term_winsock, init_winsock, set_errno, check_errno)
Juanma Barranquero's avatar
Juanma Barranquero committed
1166 1167 1168
	[HAVE_SOCKETS]: New internal socket support functions (plus
	associated variables) required to support dynamic linking to
	Windows socket library.
Dave Love's avatar
#  
Dave Love committed
1169

Juanma Barranquero's avatar
Juanma Barranquero committed
1170 1171 1172 1173
	(sys_socket, sys_bind, sys_connect, sys_htons, sys_ntohs)
	(sys_inet_addr, sys_gethostname, sys_gethostbyname)
	(sys_getservbyname) [HAVE_SOCKETS]: New functions to provide
	dynamically loaded interface to Windows socket library.
Dave Love's avatar
#  
Dave Love committed
1174 1175 1176 1177 1178 1179 1180 1181

	(sys_close, sys_dup, sys_dup2, sys_read, sys_write): New wrappers
	for C library functions to handle sockets and pipes.

	(sys_pipe): Make pipe handles non-inheritable, and set binary mode
	as required.

	(_sys_read_ahead): New internal support function for pipe/socket
Juanma Barranquero's avatar
Juanma Barranquero committed
1182
	support in sys_select.
Dave Love's avatar
#  
Dave Love committed
1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248

	(term_ntproc): New function.
	(init_ntproc): New function to initialise socket support and make
	initial std handles non-inheritable.  Also ensure stdin, stdout
	and stderr have valid handles so that pipes and sockets can't
	inadvertently use fd 0, 1, or 2.

	* nt.h: Check to see if already included.
	(fd_set, filedesc): New structures.
	(child_process, MAX_CHILDREN, CHILD_ACTIVE): Definitions moved
	from ntproc.c.
	(FD_SET, FD_CLR, FD_ISSET, FD_ZERO): Operate on fd_set structures.
	(SELECT_TYPE): New macro.
	New child process status enumeration.
	(FILE_READ, FILE_WRITE, FILE_BINARY, FILE_PIPE, FILE_SOCKET):
	New macros.
	(fd_info, new_child, delete_child): Declared.

	* ntheap.c: Include lisp.h.
	(allocate_heap): Use VALBITS to determine size of heap.
	(allocate_heap) [WINDOWS95]: Conditional code removed.
	(sbrk): Use VALMASK instead of an unsigned integer mask.

	* ntinevt.c (win32_kdb_patch_key): Initialize isdead.
	(key_event) [HAVE_NTGUI]: Use Windows key code.

	* ntproc.c: Include config.h after CRT headers. Include fcntl.h.
	(child_process, MAX_CHILDREN, CHILD_ACTIVE): Moved to nt.h.
	(DebugPrint): New macro.
	(new_child): Create input event structures for child processes.
	(delete_child): New function.
	(reader_thread): Return nonzero upon failure.  Use _sys_read_ahead.
	(create_child): Add child_process and parent PID arguments.
	Don't create input event or thread structures here.
	Fixup Windows 95 negative process IDs.
	(register_child): Don't set consumed event; instead, set thread
	status so that select will release it.
	(remove_child): Renamed to reap_process.  Only free resources
	of synchronous children.
	(win32_wait): Renamed to sys_wait.  Sanity check to make sure
	handle to subprocess exists.  Don't reclaim thread resources here.
	(win32_spawnve): Renamed to sys_spawnve.
	Check for proper wait mode first thing.
	Convert command name to DOS format.
	Quote whitespace and quotes in arguments to subprocess.
	Use alloca instead of malloc.
	If max subprocesses, return EAGAIN in hopes of another completing.
	(sys_select): Add support for socket input.  Remove dead code.
	Check input from children fairly.
	(sys_select) [HAVE_TIMEVAL]: Remove conditional check and code.
	(win32_kill_process): Renamed to sys_kill.  Use OpenProcess
	to terminate process.
	(prepate_standard_handles, reset_standard_handles): Moved here
	from nt.c.

	* ntterm.c (reset_kbd): Try to use interrupt input.

	* unexnt.c (WinMain): Function removed.
	(_start) [HAVE_NTGUI]: Don't invoke WinMain, but do set up
	WinMain args as crt0.c would.

	* w32fns.c (quit_char, Vwin32_enable_italics, Vwin32_enable_palette):
	New variables.
	(syms_of_win32fns): Set up new lisp variables.

	(Fwin32_rgb): Dead procedure removed.
Juanma Barranquero's avatar
Juanma Barranquero committed
1249 1250
	(Fwin32_define_rgb_color, Fwin32_load_color_file, win32_map_color)
	(win32_regenerate_palette, win32_unmap_color): New functions.
Dave Love's avatar
#  
Dave Love committed
1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274
	(syms_of_w32fns): Set up new lisp functions.
	(define_color): Use palettes.  Simulate use of PALETTE_RGB to
	use closest color instead of dithering.
	(map_mode): Function removed.
	(WIN32_COLOR, SET_WIN32_COLOR): New macros.

	(win32_init_class): Don't set CS_OWNDC in the WNDCLASS style.
	(win32_createwindow): Invoke ShowWindow to discard defaults
	from parent.
	(win32_wnd_proc): Use separate critical sections appropriately.
	Handle palette change, show window, and set window position messages.
	Record WINDOWPLACEMENT structure length.
	Detect quit_char.
	(Fx_create_frame): Set scrollbar width to be the system standard.

	(Ffocus_frame, Funfocus_frame): Functions now do nothing.

	(x_to_win32_weight, win32_to_x_weight): Handle "heavy", "extrabold",
	"light", "extralight", and "thin" fonts.
	(x_to_win32_charset, win32_to_x_charset): New functions.
	(win32_to_x_font): Use new height units.  Use win32_to_x_charset.
	(x_to_win32_font): Use x_to_win32_charset.  Support Win32 font names
	in addition to X font names.

Juanma Barranquero's avatar
Juanma Barranquero committed
1275 1276
	(win32_load_font, Fx_list_fonts, Fx_display_color_cells)
	(Fx_display_mm_height, Fx_display_mm_width): Use GetDC directly.
Dave Love's avatar
#  
Dave Love committed
1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302

	(Fx_open_connection): Support external color mapping files.

	(win32_abort): Map abort button to abort, retry to debug, and
	ignore to continue.

	* w32reg.c (REG_ROOT): Remove trailing backslash.

	* w32select.c (Fwin32_set_clipboard_data, Fwin32_get_clipboard_data):
	Calculate exact size of clipboard string with CRs removed or inserted.

	* w32term.c (Vwindow_system): Declared.
	(win32_fill_rect, dumpglyphs, do_line_dance, x_draw_box):
	Use Get/ReleaseFrameDC.

	(pixel_to_glyph_coords): Support tty mode.
	(w32_read_socket): Explicitly use FALSE.
	Handle WM_PALLETTECHANGED event.
	(parse_button): Handle mouse button emulation.

	(my_show_window, my_set_window_pos): New functions.
	(x_set_offset, x_set_window_size, x_raise_frame, x_lower_frame):
	Use my_set_window_pos.
	(x_make_frame_visible, x_iconify_frame): Use my_show_window.

	(x_draw_box): Don't trim right and bottom.
Juanma Barranquero's avatar
Juanma Barranquero committed
1303
	(x_make_frame_visible): Don't invoke SetForegroundWindow.
Dave Love's avatar
#  
Dave Love committed
1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338

	(win32_term_init): Use GetDC directly.  Initialize palette
	and win32_num_mouse_buttons.
	(win32_update_begin): Regenerate palette if necessary.
	(x_delete_display): Free palette.

	(win32_initialize) [ATTACH_THREADS]: Only AttachThreadInput if
	conditional is defined.

	* w32term.h (struct win32_palette_entry): New structure.
	(win32_display_info): New fields has_palette, p_colors_in_use,
	n_colors_in_use, h_palette.
	(win32_output): New field h_old_palette.
	(WM_EMACS_SETWINDOWPOS): New macro.
	(WM_EMACS_DESTROY_WINDOW): Value redefined.
	(win32_window_pos): New structure.
	(GetFrameDC, ReleaseFrameDC): Functions declared.

	(my_get_dc): Macro undefined.
	(map_mode): Function declaration removed.
	(enter_crit, leave_crit): Function declarations changed to macros.

	* w32xfns.c: Include frame.h.
	(hEvent): Renamed to h_input_available.
	(init_crit, delete_crit, get_next_msg, post_msg):
	Use h_input_available.
	(GetFrameDC, ReleaseFrameDC): New functions.
	(leave_crit): Function removed.

	* s/windowsnt.h: Include string.h.
	(HAVE_FREXP, HAVE_FMOD): Macros removed.
	(struct timeval, struct timezone, gettimeofday): Declarations removed.
	(HAVE_SOCKETS, MAIL_USE_POP, MAIL_USE_SYSTEM_LOCK): Macros defined.
	(DIRECTORY_SEP): Use Vdirectory_sep_char.
	(EXEC_SUFFIXES): Add .cmd to list of suffixes.
Juanma Barranquero's avatar
Juanma Barranquero committed
1339 1340 1341 1342 1343 1344 1345
	(HAVE_SYS_TIMEB_H, HAVE_SYS_TIME_H, HAVE_UNISTD_H, STDC_HEADERS)
	(TIME_WITH_SYS_TIME, HAVE_GETTIMEOFDAY, HAVE_CLOSEDIR)
	(HAVE_LONG_FILE_NAMES, HAVE_BCOPY, HAVE_BCMP, HAVE_LOGB, HAVE_FREXP)
	(HAVE_FMOD, HAVE_FTIME, HAVE_MKTIME, HAVE_H_ERRNO): New macros.
	(access, chdir, chmod, close, creat, ctime, dup, dup2, fopen)
	(link, mkdir, mktemp, open, pipe, read, rename, rmdir, select)
	(sleep, unlink, write, spawnve, wait, kill, signal):
Dave Love's avatar
#  
Dave Love committed
1346 1347 1348
	Macros redefined from win32_* to sys_*.
	[__STDC__]: Define when including direct.h, io.h, stdio.h.
	(struct nt_stat): Definition removed.
Juanma Barranquero's avatar
Juanma Barranquero committed
1349 1350
	(stat, st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid)
	(st_rdev, st_size, st_atime, st_mtime, st_ctime): Macros undefined.
Dave Love's avatar
#  
Dave Love committed
1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391

	* s/windows95.h: File removed.

1996-05-02  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* keyboard.c (Fthis_single_command_keys): New function.
	(syms_of_keyboard): defsubr it.
	(this_single_command_key_start): New variable.
	(add_command_key): Reduce this_single_command_key_start if nec.
	(command_loop_1): Clear this_single_command_key_start if nec.
	(Fread_key_sequence, Fexecute_extended_command): Likewise.
	(read_key_sequence): Set this_single_command_key_start.
	(command_loop_1): Clear echo area while inhibit-quit is still t.

1996-05-01  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* keyboard.c (Fevent_convert_list): Never treat last elt as modifier.

	* buffer.c (add_overlay_mod_hooklist): Fix call to bcopy.

	* insdel.c (signal_after_change): Correct the arg to
	report_overlay_modification.

	* s/sol2-4.h (C_SWITCH_X_SYSTEM): Definition moved from sol2.h.

	* s/sol2.h (C_SWITCH_X_SYSTEM): Definition moved to sol2-4.h.

1996-05-01  Eli Zaretskii  <eliz@is.elta.co.il>

	* msdos.c (dos_get_modifiers): Restore missing comment terminator.
	(getdefdir): Rewrite to call `_fixpath' instead of `intdos'.
	(run_msdos_command) [DJGPP > 1]: Work around some MSDOS
	command-line restrictions by running shell commands via `system'
	instead of `spawnve'.

	* fileio.c (Fexpand_file_name) [DOS_NT]: Correct the `if' clause
	to compile on all platforms.

1996-04-30  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* xterm.c [USE_X_TOOLKIT]: Include X11/Shell.h.
Juanma Barranquero's avatar
Juanma Barranquero committed
1392
	(x_wm_set_icon_pixmap) [USE_X_TOOLKIT]: Tell widget the new pixmap.
Dave Love's avatar
#  
Dave Love committed
1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430

1996-04-29  Andrew Innes  <andrewi@harlequin.co.uk>

	* fileio.c (Fexpand_file_name) [DOS_NT]: Keep dir sep following ~
	or ~user, but don't collapse the newdir prefix in that case.

1996-04-26  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* keyboard.c (make_lispy_event): FRAME_MENU_BAR_ITEMS now has
	four elements per item.  Add a separate slot for the hpos.
	(menu_bar_items): Likewise.
	(menu_bar_item): Initialize the hpos slot to 0.

	* xdisp.c (display_menu_bar): FRAME_MENU_BAR_ITEMS now has
	four elements per item.
	(update_menu_bar): If we update FRAME_MENU_BAR_ITEMS,
	also set w->update_mode_line.

	* xmenu.c (set_frame_menubar): FRAME_MENU_BAR_ITEMS now has
	four elements per item.

	* w32menu.c (get_frame_menubar_event, set_frame_menubar):
	FRAME_MENU_BAR_ITEMS now has four elements per item.

	* fileio.c (Fexpand_file_name, Ffile_name_absolute_p): Doc fixes.
	(Ffile_exists_p, Ffile_executable_p, Ffile_readable_p)
	(Ffile_writable_p, Ffile_directory_p, Ffile_regular_p)
	(Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p)
	(expand_and_dir_to_file): Rename abspath to absname.

1996-04-26  Andrew Innes  <andrewi@harlequin.co.uk>

	* fileio.c (Fexpand_file_name) [!DOS_NT]: Fix incorrect expansion of
	"/foo/../bar" -> "//bar".  Delete relpath variable.

	* fileio.c (CORRECT_DIR_SEPS) [DOS_NT]: New macro.
	(IS_DRIVE) [DOS_NT]: Added separate definitions for DOS and NT.
	(Ffile_name_directory) [DOS_NT]: Simplify code to match change in
Juanma Barranquero's avatar
Juanma Barranquero committed
1431
	getdefdir in msdos.c.  Ignore embedded colons.  Correct dir seps.
Dave Love's avatar
#  
Dave Love committed
1432 1433 1434 1435 1436 1437 1438
	(Ffile_name_nondirectory) [DOS_NT]: Ignore embedded colons.
	Correct IS_ANY_SEP to IS_DIRECTORY_SEP.
	(file_name_as_directory) [DOS_NT]: Correct dir seps.
	Correct IS_ANY_SEP to IS_DIRECTORY_SEP.
	(directory_file_name) [DOS_NT]: Correct dir seps.
	(Fmake_temp_name) [DOS_NT]: Correct dir seps.
	(Fexpand_file_name) [DOS_NT]: Remove relpath, tmp and
Juanma Barranquero's avatar
Juanma Barranquero committed
1439 1440 1441
	defdir variables; init drive to 0.
	Correctly detect when default_directory is absolute.
	Be strict when looking for MSDOS drive specifier; defer calling
Dave Love's avatar
#  
Dave Love committed
1442
	getdefdir.  Ignore drive specifier if name now has UNC prefix.
Juanma Barranquero's avatar
Juanma Barranquero committed
1443 1444 1445 1446 1447 1448 1449 1450 1451 1452
	Correctly recognise if name is not absolute when trying simple
	method to expand; return original string if possible.
	Skip dir sep after ~ or ~user.
	Use getpwnam instead of HOME for ~user on NT.
	Handle error return from getdefdir.
	Correctly detect if newdir is absolute before using default_directory.
	Handle case where newdir is not absolute - expand relative to
	current working dir if necessary (instead of calling getdisk
	later).  Only keep UNC prefix if nm starts with dir sep.
	Replace kludgy handling of drive spec in newdir.  Correct dir seps.
Dave Love's avatar
#  
Dave Love committed
1453
	(Fsubstitute_in_file_name) [DOS_NT]: Correct dir seps for NT as
Juanma Barranquero's avatar
Juanma Barranquero committed
1454 1455
	well.  Merge equivalent #ifdef APOLLO and WINDOWSNT cases.  Ignore
	embedded colons and be strict about drive specs.
Dave Love's avatar
#  
Dave Love committed
1456 1457 1458 1459
	(Fcopy_file) [DOS_NT]: Do dev/inode check on NT.
	(Ffile_name_absolute_p) [DOS_NT]: Be strict about drive specs.
	(check_executable) [DOS_NT]: Test st_mode on NT.
	(Ffile_readable_p) [DOS_NT]: Use access instead of open on NT.
Juanma Barranquero's avatar
Juanma Barranquero committed
1460
	(Ffile_modes) [DOS_NT]: Don't embellish st_mode value on NT.
Dave Love's avatar
#  
Dave Love committed
1461 1462 1463 1464
	(Fread_file_name) [DOS_NT]: Correct dir seps in HOME.
	(syms_of_fileio): Add Vdirectory_sep_char.

	* msdos.c (getdefdir): Include drive letter and colon when
Juanma Barranquero's avatar
Juanma Barranquero committed
1465
	constructing default directory for drive.
Dave Love's avatar
#  
Dave Love committed
1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576

1996-04-26  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* xterm.c (x_scroll_bar_clear): Do nothing if frame now has no
	scroll bars.

	* xfns.c (x_window) [! USE_X_TOOLKIT]: Initialize wm_hints.icon_pixmap.

1996-04-26  Andrew Innes  <andrewi@harlequin.co.uk>

	* callproc.c (Fcall_process) [WINDOWSNT]: Remove conditional NT code.
	(Fcall_process_region) [DOSNT]: Canonicalize slashes in filename.
	(child_setup) [WINDOWSNT]: Decrease handles array by one.

	* dired.c (Ffile_attributes) [WINDOWSNT]: Remove conditional NT code.

	* emacs.c (main) [WINDOWSNT]: Invoke init_ntproc.
	(shut_down_emacs) [WINDOWSNT]: Invoke term_ntproc.

	* lisp.h [WINDOWS_NT]: Declare Vdirectory_sep_char.

	* lread.c (close_load_descs) [WINDOWS_NT]: Don't actually do anything.

	* process.c (Fopen_network_stream): Set process infd to inch.
	(create_process, read_process_output, Fsignal_process) [WINDOWSNT]:
	Remove conditional NT code.

	* syssignal.h (EMACS_KILLPG) [WINDOWSNT]: Invoke kill instead of
	win32_kill_process.

	* term.c (FRAME_TERMCAP_P) [WINDOWSNT && !HAVE_NTGUI]: Remove
	conditional for HAVE_NTGUI.

1996-04-25  Eli Zaretskii  <eliz@is.elta.co.il>

	* msdos.c (getdefdir) [DJGPP > 1]: Use 32-bit ESI to pass buffer
	address to `intdos' instead of SI which can be 16-bit.

1996-04-25  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* lread.c (read_escape): Detect READCHAR reporting eof.

	* editfns.c (save_excursion_restore): Add gcpros.

	* unexelf.c (unexec): Add conditional for SOLARIS_POWERPC.

	* fileio.c (syms_of_fileio): Doc fix.

1996-04-24  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* xfns.c (Fx_list_fonts) [BROKEN_XLISTFONTSWITHINFO]:
	Free the font, and the fontinfo too if we don't want it.

	* xterm.c (x_connection_signal): Call sigunblock properly.

1996-04-23  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* dispnew.c: Include blockinput.h.
	(change_frame_size_1): Block input around the real work.

	* Makefile.in (dispnew.o): Depend on blockinput.h.

1996-04-21  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input, both definitions):
	If wait_for_cell, don't call timer_check, and use
	detect_input_pending instead of detect_input_pending_run_timers.

	* frame.c (Fframe_parameters, both definitions):
	Get sizes from FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH if they are nonzero.

1996-04-20  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* indent.c (compute_motion): Pass window to Fget_char_property.

1996-04-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keyboard.c (read_key_sequence):
	Fix confusion between key and new_key.

1996-04-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keyboard.c (syms_of_keyboard): Doc fix.

1996-04-17  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xterm.h (STANDARD_EVENT_SET): Remove PointerNotifyHintMask.
	* widget.c (EmacsFrameRealize): Use STANDARD_EVENT_SET.
	* xterm.c (note_mouse_movement): Don't call XQueryPointer.
	(x_scroll_bar_note_movement): Don't call XQueryPointer.

	* xterm.c (x_new_font): Intern FONT just once for finding full name.

	* xterm.h (CHECK_X_FRAME): Macro deleted.

1996-04-16  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xdisp.c (decode_mode_spec): For %F, use explicit name or `Emacs'.
	(decode_mode_spec): Use frame F, not selected frame.
	On termcap frames, implicit names are ok.

1996-04-16  Andrew Innes  <andrewi@harlequin.co.uk>

	* w32term.c (w32_read_socket): Initialize frame_or_window field.
	(x_make_frame_visible): Don't call SetForegroundWindow
	after x_set_offset.
	(win32_initialize): Call AttachThreadInput at the end.

	* w32fns.c (defined_color): Map color to nearest in default palette.
	(win32_wnd_proc): Special handling for WM_CLOSE.

1577
1996-04-16  Kim Storm  <storm@olicom.dk>
Dave Love's avatar
#  
Dave Love committed
1578 1579 1580

	* msdos.c (check_timer): Removed; use gettime instead.
	(sys_select): Call __dpmi_yield while waiting for input to
Glenn Morris's avatar
Glenn Morris committed
1581
	improve multitasking behavior.
Dave Love's avatar
#  
Dave Love committed
1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645
	Do not check timer when no timeout.

1996-04-16  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* buffer.c (syms_of_buffer): Doc fix.

1996-04-15  Eli Zaretskii  <eliz@is.elta.co.il>

	* process.c (wait_reading_process_input) [!subprocesses]:
	Get rid of the loop around the detect_input_pending call.

1996-04-14  Eli Zaretskii  <eliz@is.elta.co.il>

	* process.c (wait_reading_process_input) [!subprocesses]: Handle
	the case of READ_KBD being a cons cell.  Retry the timer check
	after a timer fired.  (All of these make this definition
	consistent with the one that supports async subprocesses.)

1996-04-13  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input, both definitions):
	Use plain detect_input_pending just before the select call.
	(wait_reading_process_input) [subprocesses]:
	Get rid of the loop around the detect_input_pending call.

	* editfns.c (Fcompare_buffer_substrings): Fix dumb bug handling
	buffer name as second arg.

	* xfns.c (x_set_frame_parameters): Get height and width from
	FRAME_NEW_WIDTH and FRAME_NEW_HEIGHT if nonzero.

1996-04-12  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* emacs.c (main) [MSDOS]: Always call tzset, not init__gettimeofday.

	* editfns.c (Fformat_time_string): Doc fix.

1996-04-11  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keyboard.c (read_char): Use detect_input_pending_run_timers
	before redisplay, not detect_input_pending.
	(readable_events): Don't touch timers at all if DO_TIMERS_NOW is 0.
	(timer_check): Always run timers directly.
	Bind inhibit-quit to t here.

	* process.c (wait_reading_process_input, both definitions):
	Don't call detect_input_pending; use detect_input_pending_run_timers.

1996-04-11  Erik Naggum  <erik@naggum.no>

	* emacs.c (standard_args): Synchronize with startup.el.

1996-04-11  Eli Zaretskii  <eliz@is.elta.co.il>

	* msdos.c: Include signal.h.
	(__write) [DJGPP == 2.0]: New function, avoids
	calling `malloc' while writing to a text file, so that buffer
	text being written won't be relocated.
	(abort) [DJGPP > 1]: Generate traceback, to identify the abort
	cause.

	* emacs.c (main) [DJGPP v2]: Make standard streams use binary mode.
	Call `tzset' instead of `init_gettimeofday'.

1646
	* fileio.c [MSDOS]: If DJGPP version 3, include fcntl.h and string.h.
Dave Love's avatar
#  
Dave Love committed
1647

1648
	* lread.c [MSDOS]: If DJGPP version 3, include unistd.h.
Dave Love's avatar
#  
Dave Love committed
1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663
	Include msdos.h somewhat earlier.  For X_OK.

	* unexec.c [DJGPP v2]: Include fcntl.h.
	(copy_text_and_data) [DJGPP v2]: Momentarily restore
	the hardware exceptions table before dumping it.

	* sysdep.c [DJGPP]: Declare `etext' and `start'.
	(wait_for_termination) [DJGPP]: Do not wait for child on MS-DOS.
	(sys_subshell): Ignore signals while sub-shell runs.

	* sysdep.c [DJGPP v2] (etext, start): Declared.
	(wait_for_termination) [DJGPP v2]: Just exit.

	* s/msdos.h (DATA_START, TEXT_START, TEXT_END, _NAIVE_DOS_REGS)
	(POSIX_SIGNALS): Define if DJGPP v2.
Juanma Barranquero's avatar
Juanma Barranquero committed
1664
	(LIBS_SYSTEM, chdir, NO_MODE_T, TEXT_START, NO_MATHERR)
Dave Love's avatar
#  
Dave Love committed
1665 1666
	(LOCALTIME_CACHE, tzset): Don't define if DJGPP v2.

1667
	* msdos.c [MSDOS]: If DJGPP version 3, include fcntl.h.
Dave Love's avatar
#  
Dave Love committed
1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678
	(_crt0_startup_flags): Initialize to work
	correctly both with and without GNU `malloc' and `ralloc'.
	(internal_terminal_init): Use only 3 bits when setting background
	colors.
	(init_environment): Call tzset, not init_gettimeofday.
	(ctrl_break_vector, ctrl_break_regs): Don't define if DJGPP v2.
	(ctrl_break_func, install_ctrl_break_check): Don't define if DJGPP v2.
	(dos_ttraw) [DJGPP v2]: Don't call install_ctrl_break_check.
	Call setmode at the end and exit.
	(dos_ttcooked) [DJGPP v2]: Call setmode at the end and exit.
	(gethostname, gettimeofday): Don't define if DJGPP v2.
Juanma Barranquero's avatar
Juanma Barranquero committed
1679
	(alarm, fork, kill, nicr, pause, sigsetask): Don't define if DJGPP v2.
Dave Love's avatar
#  
Dave Love committed
1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696

1996-04-11  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xdisp.c (redisplay_window): Move w->start marker before
	running window-scroll-functions (in scroll_step case).

1996-04-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* syswait.h: Remove `|| defined (LINUX)' from #if condition.

	* s/lignux.h: Define HAVE_WAIT_HEADER.

1996-04-11  Geoff Voelker  <voelker@cs.washington.edu>

	* w32fns.c (win32_color_map): Use PALETTERGB instead of RGB.

	* w32term.h (BLACK_PIX_DEFAULT, WHITE_PIX_DEFAULT): Use PALETTERGB
Juanma Barranquero's avatar
Juanma Barranquero committed
1697
	instead of RGB.
Dave Love's avatar
#  
Dave Love committed
1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810

1996-04-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* term.c (calculate_ins_del_char_costs): Use proper frame's width.

	* frame.c (make_frame_without_minibuffer): Don't change the
	mini_window's buffer if it already displays a minibuffer.

	* xfns.c (Fx_list_fonts): Handle X protocol errors.

1996-04-09  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* minibuf.c (read_minibuf): GCPRO ambient_dir.

1996-04-08  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* frame.c (Fset_frame_size): Do call Fset_frame_size
	if size is specified and there is a pending size change already.

	* xfns.c (x_set_frame_parameters): Do call Fset_frame_size
	if size is specified and there is a pending size change already.

	* xterm.c: Include locale.h if HAVE_SETLOCALE.
	(x_term_init): Restore LC_TIME as well as LC_NUMERIC.

1996-04-08  Miles Bader  <miles@gnu.ai.mit.edu>

	* s/gnu.h (HAVE_PTYS): #undef removed.

1996-04-08  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* config.in (HAVE_LIBNCURSES): Renamed from HAVE_NCURSES.
	* s/lignux.h: Test HAVE_LIBNCURSES, not HAVE_NCURSES.

1996-04-06  Richard Stallman  <rms@lucy.gnu.ai.mit.edu>

	* dispnew.c (sit_for): Call swallow_events.

1996-04-05  Richard Stallman  <rms@lucy.gnu.ai.mit.edu>

	* s/lignux.h [HAVE_NCURSES] (LIBS_TERMCAP): New definition.

	* alloc.c (garbage_collection_messages): New variable.
	(syms_of_alloc): Set up Lisp variable.
	(Fgarbage_collect): Variable controls whether to display messages.

	* lread.c: Include locale.h.
	(init_lread): Specify LC_NUMERIC locale.
	* xterm.c (x_term_init): Respecify LC_NUMERIC locale.

	* config.in (HAVE_SETLOCALE): Add #undef.

1996-04-04  Richard Stallman  <rms@lucy.gnu.ai.mit.edu>

	* ralloc.c (r_alloc_check): Don't check alignment of h->start.

	* minibuf.c (read_minibuf): Rearrange operations, mainly putting
	the read_minibuf_unwind setup and the associated variable changes
	together after saving the frame configuration.

1996-04-03  Richard Stallman  <rms@lucy.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input): Don't call
	wait_reading_process_input_1 if time_limit is -1.

1996-04-02  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xterm.c (x_destroy_window): Do call XCloseIM if X11R6.

1996-04-01  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* emacs.c (main): Initialize displayname.

1996-03-30  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* s/lignux.h (TERMINFO): Do define (if HAVE_NCURSES).

1996-03-29  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xterm.c (x_destroy_window) [SOLARIS2]: Don't free the IC or IM.

1996-03-28  Geoff Voelker  <voelker@cs.washington.edu>

	* nt.c (rename): New function.

1996-03-28  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* fileio.c (Frename_file) [WINDOWSNT]: Remove conditional code.

	* keyboard.c (last_timer_event): New variable.
	(timer_check): Set that variable.

1996-03-28  Erik Naggum  <erik@naggum.no>

	* dispnew.c (make_frame_glyphs): Zero the correct number of bytes.

	* widget.c (EmacsFrameResize): We may be called from an interrupt,
	so delay the resize operation.

1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>

	* makefile.nt: Change uses of del to $(DEL).

1996-03-27  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xterm.c (x_connection_closed): Don't check _Xdebug.

1996-03-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xterm.c (XTread_socket, MapNotify case):
	Call record_asynch_buffer_change only if >1 frames.

	* s/lignux.h: Renamed from s/linux.h.
Juanma Barranquero's avatar
Juanma Barranquero committed
1811
	(SYSTEM_TYPE): Changed to "lignux".
Dave Love's avatar
#  
Dave Love committed
1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858

	* process.c (wait_reading_process_input_1): New (empty) function.
	(wait_reading_process_input): Call wait_reading_process_input_1.
	If timer_check runs some timers, retry it.

1996-03-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* Makefile.in (xfns.o, xmenu.o, widget.o): Depend on ../lwlib/lwlib.h.

	* callproc.c (Fcall_process, child_setup): If BSD_PGRPS, call
	setpgrp the BSD way even on USG.

	* s/linux.h (setpgrp): New macro.
	(BSD_PGRPS): Defined.

1996-03-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* callint.c (Fcall_interactively): In `c' case, use message_nolog
	instead of message1_nolog.

1996-03-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* config.in (HAVE_LINUX_VERSION_H): Renamed from HAVE_VERSION_H.
	* s/linux.h: Test HAVE_LINUX_VERSION_H, not HAVE_VERSION_H.

1996-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* process.c (wait_reading_process_input): Eliminate bogus test
	that was trying to check read_kbd and failing.

1996-03-17  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xfns.c (X_I18N_INHIBITED): New macro--define this
	instead of undefining HAVE_X_I18N.
	(x_window) [HAVE_X_I18N]: Set FRAME_XIM.
	[X_I18N_INHIBITED]: Set FRAME_XIM and FRAME_XIC to 0.

	* xterm.c (x_destroy_window) [HAVE_X_I18N]: Free xic and xim of frame.

	* xterm.h (struct x_output): New member xim.
	(FRAME_XIM): New macro.

1996-03-16  Geoff Voelker  <voelker@cs.washington.edu>

	* unexnt.c (WinMain): Allocate a console for stdout
	and stderr if necessary.

Juanma Barranquero's avatar
Juanma Barranquero committed
1859 1860
	* w32fns.c (Vwin32_pass_alt_to_system)
	(Vwin32_pass_optional_keys_to_system): New variables.
Dave Love's avatar
#  
Dave Love committed
1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908
	(reset_modifiers, map_keypad_keys): New functions.
	(win32_wnd_proc): Fixup keypad function keys.
	Handle the three new keys on Windows keyboards.
	Reset internal keyboard modifier state upon window focus.

	* w32term.h (VK_NUMPAD_*, VK_LWIN, VK_RWIN, VK_APPS):
	Define virtual keys for the numpad functions and the three
	new keys on Windows keyboards.

1996-03-14  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* s/aix3-2.h (X11R5_INHIBIT_I18N): Definition moved here.
	* s/aix3-2-5.h (X11R5_INHIBIT_I18N): Definition moved to aix3-2.h.

	* s/irix5-2.h (NEED_LIBW): Defined.

1996-03-13  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>

	* widget.c (update_from_various_frame_slots)
	(update_various_frame_slots): Take account of menubar_height.

	* s/linux.h (LINUX_SIGIO_DOES_WORK): Define only if HAVE_VERSION_H.

	* config.in (HAVE_VERSION_H): Add #undef.

1996-03-11  Eli Zaretskii  <eliz@is.elta.co.il>

	* process.c (wait_reading_process_input) [! subprocesses]: Run
	timers and redisplay if they were run, like the code for systems
	which support subprocesses does.

1996-03-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* s/linux.h (TERMINFO): Don't define this.

	* process.c [!subprocesses] (wait_reading_process_input):
	Port the timer changes from the other wait_reading_process_input.

1996-03-09  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xterm.c (x_calc_absolute_position): Don't explicitly subtract
	the external menu bar height--PIXEL_HEIGHT (f) includes that.

1996-03-08  Bill Mann  <dvmann@dvaix19.praxisint.com>

	* m/ibmrs6000.h (LD_SWITCH_MACHINE): Undo previous change--
	define this unconditionally.
	(LD_SWITCH_SITE): New conditional definition.
Juanma Barranquero's avatar
Juanma Barranquero committed
1909
	For gcc 2.7.x, use /bin/ld instead of collect2.
Dave Love's avatar
#  
Dave Love committed
1910 1911 1912 1913 1914 1915 1916

1996-03-07  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* emacs.c (main) [! HAVE_NTGUI]: Don't call syms_of_xmenu.

1996-03-07  Bill Mann  <dvmann@dvaix19.praxisint.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1917
	* unexaix.c (write_segment, copy_sym): Increase blocking from
Dave Love's avatar
#  
Dave Love committed
1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932
	128 to 4k bytes.
	(adjust_lnnoptrs): Handle include file names, mostly for dbx.
	(unrelocate_symbols): Remove some unnecessary tests.

1996-03-07  Eli Zaretskii  <eliz@is.elta.co.il>

	* Makefile.in (MSDOS_OBJ): Remove xmenu.o.

	* msdos.c (check_timer): Remove code for dos-display-time.
	(syms_of_msdos): Delete dos-display-time Lisp var.

1996-03-07  Bill Mann  <dvmann@dvaix19.praxisint.com>

	* unexaix.c: Handle both AIX 3.2 and 4.1 bind output.
	(make_hdr): Handle data_start being non-zero for 4.1.  Padding
Juanma Barranquero's avatar
Juanma Barranquero committed
1933 1934 1935
	sections are omitted in 4.1, but padding bytes can still be
	present.  Calculate bias directly from first real section
	following bss.
Dave Love's avatar
#  
Dave Love committed
1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996
	(copy_text_and_data): Correct data section starting point for 4.1.
	(adjust_lnnoptrs): Adjust line number pointers correctly for both
	3.2 and 4.1, based on published IBM documentation.
	(unrelocate_symbols): Compute and subtract relocation offsets for
	text and data sections.  Handle data_start being non-zero for 4.1.
	Skip unnecessary writes.

1996-03-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* sysdep.c (init_sys_modes): Clear INLCR like ICRNL.

	* widget.c (pixel_to_char_size): Cast args to int.

1996-03-05  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* alloc.c (struct string_block_head): Change to match string_block.

1996-03-05  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input):
	Redisplay after timer_check if timers were actually run.

	* keyboard.c (timers_run): New variable, incremented when a timer is
	run directly.
	(timer_check, swallow_events): Increment timers_run.
	(swallow_events): Redisplay if get_input_pending has run timers.
	(detect_input_pending_run_timers): New arg DO_DISPLAY.

	* dispnew.c (sit_for): Pass DISPLAY to detect_input_pending_run_timers.

	* process.c (wait_reading_process_input):
	Pass DO_DISPLAY to detect_input_pending_run_timers.

1996-03-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* process.c (Fopen_network_stream):
	Set immediate_quit around gethostbyname.

	* dispnew.c (sit_for): Use detect_input_pending_run_timers.

	* xfns.c [AIX] [HAVE_X11R5] (XIMStatusNothing): Definition deleted.

	* config.in (HAVE_NCURSES): Add #undef.
	* s/linux.h (TERMINFO): Define, if HAVE_NCURSES.

1996-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* data.c (Fkill_local_variable): Call find_symbol_value directly,
	not via Fsymbol_value, to avoid getting void-variable error.

1996-03-03  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xterm.c (x_connection_closed): Don't unblock input until the end.

	* s/linux.h (LINUX_SIGIO_DOES_WORK): Maybe define, based on Linux vers.
	[LINUX_SIGIO_DOES_WORK]: Don't undef SIGIO, SIGPOLL, SIGPOLL.
	Do define INTERRUPT_INPUT.

	* keyboard.c (init_keyboard): Initialize timer_idleness_start_time.

	* Makefile.in (obj): Add xmenu.o.
Juanma Barranquero's avatar
Juanma Barranquero committed
1997
	(XOBJ): Delete xmenu.o.
Dave Love's avatar
#  
Dave Love committed
1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047
	* emacs.c (main): Always call syms_of_xmenu.
	* xmenu.c: Put most of file into HAVE_MENUS conditional.
	(Fx_popup_menu): Put parts into HAVE_MENUS conditionals.

	* process.c (wait_reading_process_input):
	Use getpid when generating SIGIO.

	* keyboard.c (reinvoke_input_signal): Use getpid.

1996-03-02  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keyboard.c (input_poll_signal): Use start_polling
	after first incrementing poll_suppress_count.

1996-03-01  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xterm.c [X_CONNECTION_LOCK_FLAG] (abort, exit): New definitions.

	* keymap.c (Fuse_global_map, Fuse_local_map):
	Don't call record_asynch_buffer_change.

1996-02-28  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* s/aix3-2.h: Avoid the #pragma alloca on AIX 4.

	* s/aix4-1.h (REL_ALLOC): #undef deleted.

1996-02-27  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xfns.c [AIX] [HAVE_X11R5] (XIMStatusNothing): Defined.

	* keyboard.c (timer_check): Walk down both timer lists in parallel.

1996-02-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keyboard.c (Fcommand_execute): New arg SPECIAL.
	All callers changed.

	* xterm.c (X_CONNECTION_LOCK_FLAG): New macro.
	(x_connection_close_if_hung): New subroutine, at the end of the file.
	Include X11/Xlibint.h only for this function.
	#undef bcopy, bzero, bcmp, min, max first.
	Define malloc and free to avoid type conflicts.
	(x_connection_signal): Use x_connection_close_if_hung.

	* doprnt.c (doprnt1): Move cast to unsigned inside a shift.

1996-02-26  enami tsugutomo  <enami@ba2.so-net.or.jp>

	* xdisp.c (redisplay_window): Pass preserve_echo_area as a missing
Juanma Barranquero's avatar
Juanma Barranquero committed
2048
	second argument of redisplay_windows.
Dave Love's avatar
#  
Dave Love committed
2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129