ChangeLog.3 605 KB
Newer Older
Dave Love's avatar
#  
Dave Love committed
1 2 3 4 5 6 7 8 9
1993-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* Version 19.10 released.

1993-05-29  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* keyboard.c (read_key_sequence): If we changed buffers during
	read_char, go to replay_sequence.

Sam Steingold's avatar
Sam Steingold committed
10
	* frame.c (Ficonify_frame, Fmake_frame_invisible):
Dave Love's avatar
#  
Dave Love committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
	Select some other frame.  Move minibuffer off this frame.

	* frame.c (Fhandle_switch_frame): Don't call Ffocus_frame.
	(Fredirect_frame_focus): Call Ffocus_frame here.

	* xterm.c (x_bitmap_icon): Don't free icon_bitmap;
	create it if it hasn't been created before.

	* xterm.c (XTread_socket): For UnmapNotify, if frame was visible,
	mark it now as iconified.
	(x_make_frame_invisible): If async_iconic, work does need to be done.
	Don't let this frame stay highlighted.
	(x_iconify_frame): Don't let this frame stay highlighted.

	* s/usg5-4-2.h (sigsetmask): #undef this.

	* sysdep.c (sys_signal): Use 0, not NULL, to set sa_flags.

1993-05-29  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* linux.h (C_OPTIMIZE_SWITCH): Set this to the empty string;
	configure guesses just fine.

	* tekXD88.h: New file, from Kaveh Ghazi.

	* systty.h (CDISABLE): #undef it before re-#defining it.

	* sysdep.c (sys_siglist): Comment out #endif trailer.
	* xmenu.c (TRUE, FALSE): Same.
	* xterm.c (dumprectangle): Same.

	* emacs.c: Don't include termios.h directly--let systty.h do it.

1993-05-29  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xfaces.c [HPUX]: Include time.h and define __TIMEVAL__.

	* emacs.c (shut_down_emacs): Maybe close X connection.  New arg NO_X.
	(Fkill_emacs): Don't close it here.  Pass new arg.
	(fatal_error_signal): Pass new arg.
	* xterm.c (x_connection_closed): Pass new arg.

	* xdisp.c (syms_of_xdisp): Make highlight-nonselected-windows Lisp var.
	(display_text_line): Obey it.
	(display_text_line): Really check for just the selected window.

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

	* keyboard.c (menu_bar_items): Save Vinhibit_quit by hand
	instead of using specbind.
	(menu_bar_items): Call Fnreverse before restoring Vinhibit_quit.

	* s/hpux8.h (OLDXMENU_OPTIONS): Add quotations.

	* m/ibmrt.h (C_SWITCH_MACHINE): Define only if not __GNUC__.
	(HAVE_FTIME): Defined.
	(EMACS_BITMAP_FILES): Defined.

	* xfns.c (Fx_close_current_connection): Clear x_current_display.
	* xterm.c (XTring_bell): Do nothing if x_current_connection is 0.

	* buffer.c (reset_buffer): Clear mark_active field here.
	(reset_buffer_local_variables): Not here.
	(Fswitch_to_buffer, Fpop_to_buffer): Return the buffer.
	(Fmove_overlay): Fix data types in last change.

	* sysdep.c (gettimeofday): Don't store in *tzp if tzp is 0.

	* process.c (MAXDESC): Get it from FD_SETSIZE if that exists.

Sam Steingold's avatar
Sam Steingold committed
81
	* s/sco4.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF):
Dave Love's avatar
#  
Dave Love committed
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 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
	Redefined.
	(SIGNALS_VIA_CHARACTERS): Defined.
	[HAVE_SOCKETS] (HAVE_GETTIMEOFDAY): Defined.
	(MAIL_PROGRAM_NAME): Defined (two alternate definitions).

	* xfns.c (Fx_list_fonts): Use CHECK_LIVE_FRAME on the frame arg.

1993-05-28  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* s/hpux8.h (LIBX11_SYSTEM): Defined.

	* ymakefile: Replace config.h as dep with $(config_h).
	(really-oldXMenu): Use two make vars to pass values
	of C_SWITCH_... within doublequotes.

	* xfns.c (x_figure_window_size): Never set PPosition or PSize.

	* keymap.c (syms_of_keymap): Create global_map 256 slots long.
	* cmds.c (keys_of_cmds): Predefined 0240-0376 as self-insert.

	* xterm.c (XTread_socket, case KeyPress) [HPUX]:
	Recognize the extended function keys.

	* buffer.c (Fgenerate_new_buffer_name): New arg IGNORE.
	(Frename_buffer): Pass new arg.

1993-05-28  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* keyboard.c (menu_bar_items): Bind Qinhibit_quit to Qt while we
	call the keymap accessors; this gets called during redisplay.

	* ymakefile (alloca.o): Call $(CC), not cc.

	* s/linux.h (SIGNALS_VIA_CHARACTERS): Try this out for a bit.

	* buffer.c (Fmove_overlay): If the overlay is changing buffers,
	do a thorough redisplay.

	* xfns.c (x_set_frame_parameters): Use the first
	position/size parameter we find, not the last.

	* s/hpux8.h: Don't define HAVE_RANDOM.

	* config.h.in (UNEXEC_SRC): New macro, set by the configure
	script.
	* ymakefile (UNEXEC_SRC): Give it a default value here, and make
	UNEXEC depend on it.

	* ymakefile (lispdir): Set this in terms of ${srcdir}.

1993-05-27  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* dispnew.c (Fsleep_for): Don't return without waiting when SEC is 0.

	* emacs.c (syms_of_emacs) [CANNOT_DUMP]: Don't defsubr Sdump_emacs*.

	* alloc.c (mark_object): Add debugging code to check for ptr clobbered.

1993-05-27  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* Version 19.9 released.

1993-05-27  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* keyboard.c (read_char): Correct previous change.

1993-05-27  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* systty.h: Always terminate comments, to avoid confusion.

	* xfns.c: Make resource manager work correctly even when
	Vinvocation_name has periods and asterisks in it.
	(Vxrdb_name): New variable.
	(Fx_get_resource): Use it instead of Vinvocation_name.
	(Fx_open_connection): Initialize it to a copy of Vinvocation_name,
	with the dots and stars replaced by hyphens.
	(syms_of_xfns): staticpro it here.

	* xfns.c (Fx_get_resource): Use the proper format string when the
	attribute has been specified.

1993-05-27  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xfns.c (x_get_resource_string): New function.

	* ymakefile (ALL_CFLAGS): Put CFLAGS last.

1993-05-26  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

Juanma Barranquero's avatar
Juanma Barranquero committed
171
	* s/sol2.h (SOLARIS_BROKEN_ACCESS): Don't define this.
Dave Love's avatar
#  
Dave Love committed
172 173 174 175 176 177 178 179 180 181 182 183

	* s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if
	we're using GCC - that's an XLC switch.

	* s/aix3-2.h (LIBS_SYSTEM): Put -LIM -Liconv here.

	* systty.h (HAVE_LTCHARS, HAVE_TCHARS): New macros; define them if
	we have those structures, but *don't* define them if we have
	TERMIOS, whose functions take care of those parameters; that
	screws up AIX.
	(struct emacs_tty): Test those symbols, instead of the ioctl
	commands.
Juanma Barranquero's avatar
Juanma Barranquero committed
184 185
	* sysdep.c (emacs_get_tty, emacs_set_tty, new_ltchars, new_tchars)
	(init_sys_modes): Same.
Dave Love's avatar
#  
Dave Love committed
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204

	* config.h.in (HAVE_RENAME): Include an #undef for this, so
	configure will have something to edit.

1993-05-26  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* window.c (window_loop, case GET_LRU_WINDOW):
	Get frame's width properly.

	* xselect.c (x_get_local_selection): If no conversion function
	exists for the requested type, just return nil.

	* s/linux.h (HAVE_TCATTR): Defined.

	* sysdep.c [HAVE_SOCKETS]: Include socket.h, netdb.h.
	(get_system_name) [HAVE_SOCKETS]: Use gethostbyname.

1993-05-26  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

Juanma Barranquero's avatar
Juanma Barranquero committed
205 206
	* s/hpux8.h (LIB_X11_LIB, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM)
	(LD_SWITCH_SYSTEM, OLDXMENU_OPTIONS): Add X11R5 directories to the
Dave Love's avatar
#  
Dave Love committed
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 242 243 244 245 246 247 248 249 250 251 252 253 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
	search paths in these lists; they shouldn't do any harm if they
	don't have X11R5.

	* s/aix3-2.h (C_SWITCH_SYSTEM): Don't #define this if we're using
	GCC.

1993-05-26  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xrdb.c (magic_searchpath_decoder): Fix typos.

	* xdisp.c (display_text_line): Don't call compute_char_face
	for a non-X frame.

	* xfns.c (Fx_rebind_key, Fx_rebind_keys): X10 definitions deleted.
	(syms_of_xfns): Install them only if X11.

	* ralloc.c (r_alloc_sbrk): Declare already_available as long, not SIZE.

	* xfns.c (x_set_cursor_type): If arg not recognized, use box cursor.

	* s/hpux8.h (LD_SWITCH_SYSTEM) [__GNUC__]: Pass -a archive to ld.
	(HAVE_RANDOM): Defined.

	* s/hpux.h (rand, srand): Definitions deleted.

	* keyboard.c (Fcurrent_input_mode): Fix the call to Flist.
	(make_lispy_event): Fix off-by-1 error with hpos in menu bar.

	* s/sunos4-1-3.h: New file.

	* ymakefile (XOBJ) [!HAVE_X_MENU]: Add xfaces.o.

	* s/irix4-0.h (SIGNALS_VIA_CHARACTERS): Defined.

	* xterm.c (x_wm_set_size_hint): Don't set hints for max size.

1993-05-25  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* m/ibmrs6000.h (LIBS_MACHINE): Add -lIM and -liconv.
	(HAVE_GETTIMEOFDAY): Deleted.

	* sysdep.c (wait_for_termination): Don't use the BSD alternative
	for LINUX.  Use the UNIPLUS alternative.

	* keyboard.c (read_char): If kbd_buffer_get_event returns nil,
	redisplay and retry.
	(kbd_buffer_get_event): If event is handled here, return nil.
	(swallow_events): New function.
	* process.c (wait_reading_process_input): Call that.

	* ralloc.c (POINTER): Always use char *.

	* s/sol2.h (C_SWITCH_X_SYSTEM): Deleted.
	(LD_SWITCH_SYSTEM): Delete the -L option, leave just -R.

	* m/symmetry.h (PTY_TTY_NAME_SPRINTF, PTY_NAME_SPRINTF):
	Use pty_name, not ptyname.

	* syntax.c (Fforward_comment): Arg is a Lisp_Object.
	Convert it to an int.

	* ymakefile (alloca.o): Get alloca.c and alloca.s from ${srcdir}.

	* floatfns.c (logb): Don't declare if hpux.

	* syntax.c (Fforward_comment): Always set point.

	* s/dgux.h, s/hpux.h, s/esix.h (HAVE_GETTIMEOFDAY): Deleted.

	* s/irix4-0.h (C_ALLOCA, alloca): Definitions deleted.
	[!NOT_C_CODE]: Include alloca.h.
	(NEED_SIOCTL): #undef this.

	* xterm.h (PIXEL_TO_CHAR_COL, PIXEL_TO_CHAR_ROW):
	Fix mismatch in arg names.

	* xfns.c (Fx_open_connection): Set xrm_option correctly.

1993-05-25  David J. MacKenzie  (djm@wiki.eng.umd.edu)

	* xfns.c (x_figure_window_size): Make the default frame coords (0,0).

1993-05-25  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* Version 19.8 released.

1993-05-25  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* xfns.c: Clear out the old face stuff.
Juanma Barranquero's avatar
Juanma Barranquero committed
296 297
	(x_face_table, n_faces, x_set_face, x_set_glyph, Fx_set_face_font)
	(Fx_set_face, Fx_get_face): Removed.
Dave Love's avatar
#  
Dave Love committed
298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314
	(syms_of_xfns): Remove defsubr for Fx_set_face.

	Arrange for font names to get fully resolved - no wildcards.
	* xfns.c (x_set_frame_parameters): Store the value in the frame
	parameter alist before we call the setter function, so the setter
	function can touch up the value if it chooses.
	(x_set_foreground_color, x_set_background_color): Call
	recompute_basic_faces, so their GC's will reflect the changes.
	(x_new_font): Add extern declaration - this returns a Lisp_Object
	now, the fully resolved font name.
	(x_set_font): Accept the fully resolved name from x_new_font, and
	put it in the frame's parameter alist.  Call recompute_basic_faces.
	* xterm.c (x_new_font): Return the fully resolved font name, Qnil
	(if no match), or Qt (match, but unacceptable metrics).
	* xterm.c (x_new_font): Don't call init_frame_faces.

	* xterm.h: New section for declarations for xfaces.c.
Juanma Barranquero's avatar
Juanma Barranquero committed
315 316 317
	(init_frame_faces, free_frame_faces, intern_face)
	(face_name_id_number, same_size_fonts, recompute_basic_faces)
	(compute_char_face, compute_glyph_face): Declare these here.
Dave Love's avatar
#  
Dave Love committed
318 319 320 321 322 323 324 325 326 327
	* xfaces.c (same_size_fonts): We can now remove this extern
	declaration.
	* xfns.c (face_name_id_number): Likewise.
	* xterm.c (intern_face): Likewise.

	* xterm.c (dumpglyphs): Remember that the default faces can have
	null fonts, too.

	* xfns.c (Fx_list_fonts): Remember that FACE may not have a font
	specified.  Don't specify 30000 as the maximum limit on the number
Juanma Barranquero's avatar
Juanma Barranquero committed
328
	of fonts returned - 2000 is more reasonable.
Dave Love's avatar
#  
Dave Love committed
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 394 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

	* xfaces.c (build_face, unload_font, free_frame_faces): Don't
	forget to block input while making X calls.

	Treat faces as structures specifying modifications to the frame's
	parameters, rather than things which need to specify a complete
	set of parameters by themselves.
	* xfaces.c (init_frame_faces): Don't set up the two frame display
	faces by querying the GC - just leave all their fields blank, and
	call recompute_basic_faces, letting build_face do the work of
	consulting the frame when necessary.
	(recompute_basic_faces): New function.
	(compute_base_faces): New function for obtaining the "identity"
	for compute_char_face and compute_glyph_face.
	(compute_char_face, compute_glyph_face): Call it, instead of copying
	FRAME_DEFAULT_FACE.
	* xfns.c (x_make_gc): No need to call init_frame_faces here.

	* xfaces.c (intern_frame_face): This can be static.

	* dispextern.h (struct face): New field - `copy', to help us with
	resource allocation.
	* xfaces.c (free_frame_faces): Do free the first two faces; don't
	free anything from a face that's a copy.
	(intern_frame_face): Mark every face we intern as a copy; its
	resources are actually a combination of the real faces.
	(Fset_face_attribute_internal): No need to check if we're trying
	to free one of the frame's GC's; they never enter into the
	picture.

	* casetab.c: Fix formatting, so as not to confuse etags.

	* xfns.c (Fx_list_fonts): New function.
	(face_name_id_number): Add extern declaration for this.
	* xfaces.c (face_name_id_number): Make this externally visible,
	and make the FRAME argument a FRAME_PTR, not a Lisp_Object.
	(compute_char_face): Call face_name_id_number properly.

	* xfaces.c (unload_color): Don't free the pixel for now.

	* xfaces.c (merge_faces): You can't tell if a font is a
	character-cell font or not by testing whether or not it has a
	per_char table.  They all do.
	* xterm.c (x_new_font): Same deal.
	* xfns.c (Fx_list_fonts): Same deal.

	* m/iris4d.h: Dyke out the section which specifies how to get the
	load average.

	* paths.h (PATH_INFO): New path, to edited by the configuration
	process.
	* callproc.c (Vconfigure_info_directory): New variable, used
	internally by build process.
	(syms_of_callproc): DEFVAR it and initialize it.

	* keyboard.c (Fcurrent_input_mode): Use XFASTINT to build the last
	element of the return value, not XSETINT.

1993-05-24  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	Changes for OSF/1:
	* mem-limits.h [__osf__ && (__mips || mips)]: #include
	<sys/time.h> and <sys/resource.h>.
	(get_lim_data): OSF wants a definition like BSD4_2's.
	* s/osf1.h: #include "bsd4-3.h", not "s-bsd4-3.h".

	* ymakefile (LIBX): Put LD_SWITCH_X_SITE before the libraries, so
	it actually has an effect.

	Some makes can't handle form feed characters in their makefiles.
	* s/usg5-3.h: Remove form feed.
	* s/template.h, m/template.h: Remove form feeds.

	* xfns.c (select_visual): Include the screen number in the
	template of things XGetVisualInfo must match.

1993-05-24  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* s/dgux.h (NO_GET_LOAD_AVG): Test _M88KBCS_TARGET, not __GNUC__.

	* xterm.c (XTread_socket, ConfigureNotify case):
	Convert from parent window, not Emacs window.
	(XTread_socket): Handle ReparentNotify events.

	* m/i860.h: New file.

	* keyboard.c (lispy_function_keys): Add kp-numlock.  Fix kp-backspace.

1993-05-24  Thorsten Ohl  (ohl@chico.harvard.edu)

	* m/next.h (C_SWITCH_MACHINE): Definition deleted.

	* lread.c: Don't #undef NULL.

1993-05-24  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

425
	* buffer.c (Fmake_overlay): Put beg and end in the right order.
Dave Love's avatar
#  
Dave Love committed
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
	(Fmove_overlay): If beg and end are markers, make sure they're in
	the right buffer.

1993-05-24  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* keyboard.c (modify_event_symbol): If a name_table elt is null,
	generate a name to use.  Don't crash.

	* fileio.c (Fread_file_name): If input is empty, do return the default
	even if !insert_default_directory.

	* xterm.c (XTread_socket): For ConfigureNotify event,
	translate coordinates if send_event field is false
	provided the x-coord value is not large.

1993-05-24  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* s/irix4-0.h (NO_MATHERR): Defined.
	* floatfns.c [NO_MATHERR]: Undef HAVE_MATHERR.

1993-05-24  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* fileio.c (Ffile_writable_p): Pass XSTRING (foo)->data to
	ro_fsys, not XSTRING (foo).

	* xterm.c (x_new_font): Reject fonts with varying spacing.  We
	don't support them yet.
	* xfns.c (x_set_font): Report the error message properly.

	* xfns.c (Fx_parse_geometry): No need to call check_x here; it
	doesn't interact with the server at all, and we need it in order
	to create our first frame.

1993-05-24  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* s/linux.h (HAVE_SETSID): Defined.
	(HAVE_SOCKETS): Defined.

	* process.c (create_process): Ignore retval from TIOCSTTY.
	(sys_siglist) [LINUX]: Don't even declare it.

1993-05-24  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* syssignal.h (sys_signal): Declare the second argument to have
	type signal_handler_t.  We're told this is necessary for Linux.

1993-05-24  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* s/dgux.h (NO_GET_LOAD_AVG): Define, if __GNUC__.

1993-05-23  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* s/hpux8.h (NO_SIOCTL_H): Defined.

1993-05-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* s/linux.h (HAVE_DUP2, HAVE_ALLOCA_H): Deleted.

1993-05-23  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* syssignal.h: Don't #include <signal.h>
	* alloc.c: #include <signal.h>, but before "config.h".

1993-05-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xfaces.c (Fset_face_attribute_internal): Don't call unload_font
	for the frame's own font.

	* xfns.c (check_x): New function.
	Call it in almost every Lisp function in this file.
	(x_set_menu_bar_lines_1): Pass both args in recursive call.

1993-05-23  Paul Eggert  (eggert@twinsun.com)

	* editfns.c (Fcurrent_time_zone): Make `am' an int, not long.

1993-05-23  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	Changes for SGI from Matthew J Brown <mjb@doc.ic.ac.uk>.
	* m/iris4d.h, m/iris5d.h: Don't use the --cckr CC switch if we're
	using GCC.
	* m/iris4d.h (NEED_SIOCTL): Move this to...
	* s/irix3-3.h (NEED_SIOCTL): ... here; apparently it's not
	necessary in irix4-0.h.
	* s/irix4-0.h: Remove declaration of getpty; apparently Irix 4.0
	already declares this elsewhere.
	(PTY_TTY_NAME_SPRINTF): #undef this before re-#defining it.
	* m/ibmps2-aix.h, m/pfa50.h, s/hpux.h, s/isc2-2.h, s/linux.h,
Juanma Barranquero's avatar
Juanma Barranquero committed
514
	* s/sco4.h, s/usg5-4.h: Remove HAVE_RENAME; configure guesses that now.
Dave Love's avatar
#  
Dave Love committed
515 516 517 518 519 520 521 522 523 524

	* config.h.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Change the
	#defines to #undef's, so ../configure knows it should tweak them.

	* xterm.c (x_scroll_bar_report_motion): Set *TIME whether or not
	the mouse is over a scroll bar.

	* xfaces.c (Fset_face_attribute_internal): Don't free the frame's
	normal_gc or reverse_gc.

Juanma Barranquero's avatar
Juanma Barranquero committed
525
	* keyboard.c (make_lispy_movement): Deal properly with mouse
Dave Love's avatar
#  
Dave Love committed
526 527 528 529 530 531 532 533 534 535 536 537 538
	motion outside of all windows.

	* lisp.h (GLYPH_FACE): Remember that the face portion of a glyph
	can be 24 bits, not just eight.

1993-05-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xterm.c: Move signal.h and stdio.h before config.h.

	* editfns.c (Fcurrent_time_zone): Assign gmt, instead of init.

1993-05-22  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

Juanma Barranquero's avatar
Juanma Barranquero committed
539
	* Version 19.7 released.
Dave Love's avatar
#  
Dave Love committed
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

	* Makefile.in (SUBMAKEFLAGS): Add CFLAGS to the list.

	* puresize.h [not HAVE_X_WINDOWS] (PURESIZE): Make this 185k,
	not 196k.  We're actually using ~180k.

	* editfns.c: #include <sys/types.h>, to get time_t for Eggert's
	changes.

1993-05-22  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* ymakefile (FRAME_SUPPORT): Add mouse.elc, select.elc, scroll-bar.elc.

	* xdisp.c (display_text_line): Highlight in any frame's sel window.

	* keyboard.c (modifier_names): Update to match *_modifier in termhooks.

1993-05-22  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar;
	that feature requires more support to work correctly.

	* keyboard.c (make_ctrl_char): New function.
	(read_char): Call it.
	(kbd_buffer_store_event): Call it to see if the new character is
	the quit or stop character.
	(make_lispy_event): Call it.

1993-05-21  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xfns.c (x_window_to_frame): Use XGCTYPE.

1993-05-21  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* process.c (Fopen_network_stream): Deal with older systems, which
	only have the h_addr field in their struct hostent.

	* systty.h [SYSV_PTYS]: #include <sys/types.h>.  Francesco
578
	Potortì <pot@fly.CNUCE.CNR.IT> says it's necessary on his
Dave Love's avatar
#  
Dave Love committed
579 580 581 582 583 584 585 586 587 588 589 590
	machine, and it should be harmless.

1993-05-21  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* sysdep.c (wait_for_termination): Copy code from 18.59
	(but sans BSD4_1 alternatives).

1993-05-21  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* ymakefile (alloca.o): #define malloc and free to be xmalloc and
	xfree on the command line of this compilation.

Juanma Barranquero's avatar
Juanma Barranquero committed
591
	* s/sco4.h (TIME_WITH_SYS_TIME): This is no longer needed.
Dave Love's avatar
#  
Dave Love committed
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

	* s/linux.h: Remove copyright notices by Michael K. Johnson and
	Rik Faith.  They have both sent in papers now which make their
	changes public domain.

	* sysdep.c (sys_suspend): Set synch_process_alive, so that
	wait_for_termination has something to wait for.

1993-05-21  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xdisp.c (display_text_line): Highlight only in selected window.

	* xfns.c (syms_of_xfns): Don't make Lisp vars
	x-mode-pointer-shape and x-nontext-pointer-shape.

1993-05-20  Ian Lance Taylor  (ian@cygnus.com)

	* s/sco4.h (SCO): Don't define (no longer needed).
	(HAVE_SYS_TIME_H): Don't define (set by configure).
	(TIME_WITH_SYS_TIME): Define.

1993-05-20  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* dispnew.c (preserve_other_columns): Remember to multiply the
	size argument to bcopy by the size of a glyph.

1993-05-20  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* keyboard.c (read_key_sequence): Reexamine this_command
	after pre-command-hook runs.

	* xterm.c (x_find_modifier_meanings): If some keys are meta and alt,
	make them just meta, not alt.

1993-05-19  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	Some time-handling patches from Paul Eggert:
	* editfns.c (Fcurrent_time_zone): Take an optional argument specifying
	what (absolute) time should be used to determine the current time zone.
	Yield just offset and name of time zone, including DST correction.
	Yield time zone offset in seconds, not minutes.
	(lisp_time_argument, difftm): New functions.
	(Fcurrent_time_string): Use lisp_time_argument.
	* systime.h (EMACS_CURRENT_TIME_ZONE, EMACS_GET_TZ_OFFSET,
	EMACS_GET_TZ_NAMES): Remove.
	* config.h.in: Add HAVE_TM_ZONE.

	Some more changes from Michael K. Johnson for Linux.
	* s/template.h: Mention that you should #define HAVE_TERMIO or
	HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred.
	* systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of
	tcsetpgrp to *pgid; it's just a status value.
	* config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux
	systems using XFree386, and perhaps is inappropriate in general.
	* m/intel386.h: #undefine the integer size macros, since the Linux
	<values.h> file #defines them itself.
	* mem-limits.h (get_lim_data): Linux has the ulimit call; if it
	fails, fall back on ULIMIT_BREAK_VALUE.
	* process.c: Linux needs the WAITTYPE, etc. definitions.
	* unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type;
	no need to use SYSV names.
	* s/linux.h: New file.

	Some changes from Michael K. Johnson for Linux.
	* sysdep.c (sys_siglist): Don't define this if HAVE_SYS_SIGLIST is
	#defined.  That lets the system provide it, if it has it.
	* syssignal.h (sigmask): Only define this if <signal.h> hasn't
	given us a definition already.
	* syssignal.h (sys_sigpause): Fix argument in prototype.
	* sysdep.c (init_signals): The masks are called empty_mask and
	full_mask, not signal_empty_mask and signal_full_mask.
	(signal_handler_t): Moved ....
	* syssignal.h: ... to here.
	* systty.h (EMACS_SET_TTY_PGRP): Call tcsetpgrp with the correct
	arguments.
	* emacs.c (main): Don't try to establish signal handlers for
	SIGBUS and SIGSYS unless they're actually #defined.

	* systty.h [HAVE_TERMIO, __DGUX]: #include <sys/ioctl.h>.

	* xdisp.c (redisplay_window): Compute the scrollbar start and end
	properly.

1993-05-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* keyboard.c (Fcurrent_input_mode): Return META as 3-way flag.

1993-05-19  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* fileio.c (Ffind_file_name_handler): Check that FILENAME is a
	string.

	* process.c (wait_reading_process_input): Undo change of April
	29th, since that re-introduces the race condition the comments are
	warning about.  Call clear_waiting_for_input before calling
	status_notify, though.

	* process.c (wait_reading_process_input): Don't forget to call
	clear_waiting_for_input when we exit the loop because process
	input has arrived.

Juanma Barranquero's avatar
Juanma Barranquero committed
693
	Changes for Silicon Graphics Iris 5D.
Dave Love's avatar
#  
Dave Love committed
694
	* unexelfsgi.c: New file; like unexelf.c, but tolerates program
Sam Steingold's avatar
Sam Steingold committed
695
	segments above BSS.
Dave Love's avatar
#  
Dave Love committed
696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 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 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795
	* m/iris5d.h: New file.
	* s/irix5-0.h: New file.
	* process.c [__sgi] (allocate_pty): Give up immediately if pty is
	inaccessible.

1993-05-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* keyboard.c (follow_key): Check char in range before UPPERCASEP.

1993-05-18  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xfns.c (x_set_menu_bar_lines): Fix typo in last change.

	* keyboard.c (make_lispy_event): Controlify lower case letters too.

1993-05-18  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* xdisp.c (display_text_line): If the newline (or C-m, in
	selective-display) has a non-default face, apply that face to the
	remainder of the line, so that the fill occupies the entire line.

	* xterm.c (x_new_font): Tell the frame display faces about the
	newly chosen font.

	Make sure that all the display faces use fonts of the
	same dimensions as the default face, so as not to confuse the rest
	of the redisplay code.
	* xfaces.c (same_size_fonts): New function.
	(merge_faces): Only merge in a new font from the FROM face if it
	is the same size as the font in the TO face.

	* xfns.c (x_set_menu_bar_lines): Minibuffer-only frames can't have
	menu bars.

	* keyboard.c (read_key_sequence): Don't lay down an unwind_protect
	to restore the original buffer until we actually get a mouse click.

	* window.c (window-dedicated-p): Doc fix.

1993-05-18  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xterm.c (XTread_socket): Turn off ControlMask for XLookupString.
	* keyboard.c (make_lispy_event): Controlify here.

1993-05-17  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* xdisp.c (redisplay_window): Make the scrollbar reflect the
	extent of the visible region, not the whole buffer.

	* xfaces.c (free_frame_faces): Don't free the resources from the
	first two faces.

	* lisp.h (malloc, realloc): Declare these to return void *, to
	avoid conflicts with ANSI header files.

	* sysdep.c (reset_sys_modes): Test the return value of
	EMACS_SET_TTY properly.
	* systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Document the return
	values.

1993-05-16  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* config.h.in (STDC_HEADERS, TIME_WITH_SYS_TIME,
	CRAY_STACKSEG_END, STACK_DIRECTION): Add #undef clauses for these,
	since otherwise the autoconf tests in configure.in won't do us
	much good.

1993-05-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* buffer.c (overlays_at): New arg EXTEND.
	(Foverlays_at, Fnext_overlay_change): Pass 1.
	* xfaces.c (compute_char_face): Pass 0.
	Try first with small overlay_vec, then use a big enough one.

	* lread.c (syms_of_lread): Make Vcurrent_load_list ordinary Lisp var.
	Set up Qcurrent_load_list.
	(readevalloop): Specbind Qcurrent_load_list instead of ad-hoc saving.
	(build_load_history): Do nothing when loading pure files.

	* xterm.c (dumpglyphs): Create a temporary merged gc
	when cursor falls on char with non-default face.

	* xterm.h (x_display): New field cursor_foreground_pixel.
	* xfns.c (x_set_cursor_color): Set cursor_foreground_pixel.

	* casefiddle.c (casify_region): Remove mistaken arg to record_change.

1993-05-15  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* xfaces.c (Fset_face_attribute_internal): Jolt redisplay, so it
	knows something has changed.

	* xfaces.c (unload_color): Don't try to unload the standard black
	or white pixel.

	More changes from David Mackenzie.
	* ymakefile (emacs): No need to edit srcdir into a lisp file and
	then load it; we can just take advantage of the PATH_DUMPLOADSEARCH.
	(crt0.o): Remember that crt0.c is in ${srcdir}.

Juanma Barranquero's avatar
Juanma Barranquero committed
796
	Install David Mackenzie's patches to make ${srcdir} work.
Dave Love's avatar
#  
Dave Love committed
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
	* Makefile.in (srcdir, VPATH): Get this value from the top-level
	Makefile.
	(xmakefile): Use ${srcdir} to find the files from which we produce
	xmakefile.  Edit the values for srcdir and VPATH into xmakefile.
	* ymakefile (srcdir, VPATH): New definitions for the Makefile
	to edit.
	(ALL_CFLAGS): Remove `-Is' and `-Im'; add `-I${srcdir}', and
	`-I.'.
	(emacs): Adjust dumping commands to deal with a separate source
	directory.
	(${etc}DOC): Pass `-d ${srcdir}' to make-docfile, to tell it where
	to find the source files.
	(prefix-args): Find the source code in ${srcdir}.

	* process.c (wait_reading_process_input): If we're running
	Solaris, it's not necessary to check if we should redeliver SIGIO,
	according to David Mackenzie.
	* s/sol2.h: #include "usg5-4.h", and #define const.

	* systime.h: Borrow CPP sequence from getdate.y to include the
	proper combination of <time.h> and <sys/time.h>.

1993-05-15  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* window.h (struct window): New slot region_showing.
	* xdisp.c (mark_window_display_accurate): Set region_showing fields.
	(redisplay_window): Update region_showing field.
	(display_text_line): Set region_showing to t if will show one.

	* xselect.c (Fx_selection_exists_p): Handle nil, t as SELECTION arg.
	Don't die if SELECTION is not recognized.

	* dispnew.c (direct_output_forward_char): Just give up
	if region is being highlighted.

	* xdisp.c (redisplay, redisplay_window): Don't use the cursor-motion
	special-case code if the region is or was highlighted.
Sam Steingold's avatar
Sam Steingold committed
834

Dave Love's avatar
#  
Dave Love committed
835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862
	* xfaces.c (compute_char_face): New args REGION_BEG, REGION_END.
	Don't sort if noverlays is 0 or 1.

	* dispnew.c (direct_output_for_insert): Pass those args.
	* xdisp.c (display_text_line): Pass those args,
	describing the region if the mark is transient and active.

1993-05-14  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* buffer.c (Fmove_overlay): If the overlay is in no buffer and the
	BUFFER argument has been omitted, put it in the current buffer,
	for symmetry with move-marker.

	* buffer.c (Fdelete_overlay): Make the overlay's markers point
	nowhere, not at 1.  Do this after calling redisplay_region, so
	that code knows what section has changed.

1993-05-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xdisp.c (display_menu_bar): Update FRAME_MENU_BAR_ITEMS here.
	* keyboard.c (command_loop_1): Don't do it here.

	* keymap.c (access_keymap): Handle any length vector.
	(store_in_keymap): Likewise.
	(Fcopy_keymap): Likewise.

1993-05-14  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

Juanma Barranquero's avatar
Juanma Barranquero committed
863 864
	* buffer.c (Foverlay_start, Foverlay_end, Foverlay_buffer)
	(Foverlay_properties): Functions moved here from subr.el.
Dave Love's avatar
#  
Dave Love committed
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

1993-05-13  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* xfaces.c (compute_char_face): When merging the overlays,
	traverse sortvec, not overlay_vec; the latter isn't the one we
	sorted.

	* xterm.c (dumpglyphs): Give the cursor higher priority than the
	face specified by the glyph under it.

	* xterm.c (dumpglyphs): Move the underline up a row.  I dislike
	the way X addresses pixels.  Quickdraw is much nicer.

	* xfaces.c (intern_face): If the face has a GC, but it's not the
	default or modeline face, abort.  Nothing but those two faces
	should have a GC *and* be passed to intern_face.
	(compute_char_face, compute_glyph_face): After copying
	the frame's default face into face, to use as a base case for
	calculation, set the `gc' member to zero; that way we don't have
	things lying around that look like display faces but aren't.

	* xfaces.c (intern_frame_face): When copying the new face into the
	frame's face array, remember that the number of bytes to copy is
	sizeof (*new_face), not sizeof (new_face).

	* xfaces.c (compute_char_face): Assume that W is displaying the
	current buffer.  Abort if it isn't.

	* lisp.h (Lisp_Overlay): New tag.
	(OVERLAYP): New predicate.
	(CHECK_OVERLAY): New type-checker.
	(Qoverlayp): New extern declaration.
	* buffer.c (Foverlayp): New function.
	(Qoverlayp): New atom.
	(overlays_at, recenter_overlay_lists): Abort if we encounter an
	invalid overlay.
	(syms_of_buffer): defsubr Soverlayp; initialize Qoverlayp.
	(Fdelete_overlay): Set the overlay's markers to point nowhere.
Paul Eggert's avatar
Paul Eggert committed
903
	Use CHECK_OVERLAY instead of signaling a special error.
Dave Love's avatar
#  
Dave Love committed
904
	(Fmove_overlay, Foverlay_put): Use CHECK_OVERLAY instead of
Paul Eggert's avatar
Paul Eggert committed
905
	signaling a special error.
Dave Love's avatar
#  
Dave Love committed
906 907 908 909 910 911 912 913 914 915 916 917
	(Foverlay_get): Use CHECK_OVERLAY.
	* fns.c (internal_equal): Define this for overlays.
	* buffer.h (OVERLAY_VALID): Define in terms of OVERLAYP.
	* print.c (print): Give overlays their own print syntax.
	* alloc.c (mark_object): Treat overlays like conses.

	* lisp.h (FLOATP): Define this appropriately when LISP_FLOAT_TYPE
	is not defined.

	* buffer.c (Foverlay_get): Return Qnil if the requested property
	is missing from the property list.

Juanma Barranquero's avatar
Juanma Barranquero committed
918
	The text property routines can now modify buffers other
Dave Love's avatar
#  
Dave Love committed
919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936
	than the current one.
	* insdel.c (modify_region): New argument BUFFER.  Select that
	buffer while we prepare for the modification, and switch back when
	we're done.
	* textprop.c (add_properties, remove_properties): Pass
	the buffer being modified as the first argument to modify_region.
	* editfns.c (Fsubst_char_in_region, Ftranslate_region): Pass the
	current_buffer as the first argument to modify_region.
	* casefiddle.c (casify_region): Same.

	* dispnew.c (direct_output_for_insert): Compute the face of the
	character we're inserting properly.

	* xterm.c (dumpglyphs): Pass the proper arguments to intern_face.

	* xterm.c (dumpglyphs): Don't increment left twice.

	* intervals.c (set_point): Check for point out of bounds before
Sam Steingold's avatar
Sam Steingold committed
937
	checking for an empty interval tree.
Dave Love's avatar
#  
Dave Love committed
938 939 940 941 942 943 944 945 946 947 948

	* cmds.c (Fforward_char): Check proposed new position, and then
	set point, instead of setting point to a potentially invalid
	position.

	* lread.c, data.c: If STDC_HEADERS is #defined, include <stdlib.h>
	to get the extern declarations for atof.  That's where it is in
	POSIX.

1993-05-12  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

Juanma Barranquero's avatar
Juanma Barranquero committed
949
	* ymakefile (xfaces.o): Add window.h to the dependencies.
Dave Love's avatar
#  
Dave Love committed
950 951 952 953 954 955 956 957 958 959 960 961 962 963

	* xfaces.c (intern_frame_face): Exchange order of arguments, to
	make callers correct.

	* xfaces.c (compute_char_face): Notice the next property change
	location correctly.

	* xfaces.c (face_name_id_number): Return 0 (the default face) if
	the name is undefined.

	* xfaces.c (Fset_face_attribute_internal): Do nothing unless FRAME
	is an X frame.

	* xdisp.c (copy_rope, copy_part_of_rope): Add face argument.
964
	(display_text_line): Initialize current_face to zero.  Apply it
Dave Love's avatar
#  
Dave Love committed
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
	to characters as we write them to the display matrix.
	(display_string): Pass the new argument to copy_rope.

	* xdisp.c (display_text_line): Handle the locations of face
	changes properly.

	* textprop.c (Fnext_single_property_change,
	Fprevious_single_property_change): Pass arguments to textget in
	the right order.

	* ymakefile (xfns.o): Remove duplication of buffer.h in dependencies.

	* ymakefile ($(OLDXMENU)): Remove extraneous call to `rm'.

1993-05-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* keymap.c (Faccessible_keymaps): Use whatever size the vector has.
	(Fwhere_is_internal): Likewise.
	(describe_vector): Likewise.
	(current_minor_maps): Call Findirect_function, so symbols
	can be used in place of actual maps.

	* xdisp.c (display_text_line): Use break; to exit loop at eol.
	Duplicate the short MAKE_GLYPH loop after the main loop.
	If no display table, do obey selective_display_ellipses.
	(copy_part_of_rope): Arg FROM is now Lisp_Object *.

	* xfaces.c: Do include window.h.
	(compute_char_face): Supply third arg of Fget_text_property.

	* keyboard.c (make_lispy_event): Don't set shift modifier for C-^.

	* callproc.c (child_setup): Omit duplicates from new env array.

1993-05-10  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

Juanma Barranquero's avatar
Juanma Barranquero committed
1001 1002 1003
	* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
	filesystem being ro, since Solaris 2.1 doesn't.
	(file-writable-p): Call ro_fsys.
Dave Love's avatar
#  
Dave Love committed
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 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127
	* s/sol2.h (SOLARIS_BROKEN_ACCESS): Define this.

	* systime.h: Use the strategy from getdate.y to include the proper
	combination of <time.h> and <sys/time.h>.

	* xfns.c (Fx_create_frame): Use an XLFD name for the default font,
	instead of "9x15" or whatever it was.

	* xdisp.c (display_text_line): Make face-handling code conditional
	on HAVE_X_WINDOWS macro.  Perhaps this isn't the best approach,
	but it'll do for now.

	* xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE
	macro here; that's x-specific.  Just don't pass the second
	argument.
	* xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument;
	use F's default face.

1993-05-09  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* xfaces.c (Fmake_face_internal): Do nothing for non-X frames.

	* dispextern.h (struct face): Add cached_index member.
	* xfaces.c (get_cached_face): Use it to avoid unnecessary
	searches of face_vector.

	* xfaces.c (intern_face): Renamed from get_display_face.

	* xfns.c (x_make_gc): After building the GC's for the frame, call
	init_frame_faces to set up the first two faces.
	* xfaces.c (init_frame_faces): Don't just try to copy the default
	and mode line faces from some other random frame; instead, consult
	the normal_gc and reverse_gc members of the frame, and build the
	faces based on their parameters.

	Adjust the face computation functions to return frame face ID's,
	not pointers to display faces; since we call these functions
	during display construction, we don't want the display faces yet.
	* xfaces.c (intern_frame_face): New function.
	(compute_char_face, compute_glyph_face): Apply intern_frame_face
	to the computed face, and return the frame face's ID, instead of
	calling intern_face and returning a pointer to a display frame.

	* xfaces.c: Describe the facial data structures.  It took me a
	while to figure them out; perhaps this will save someone else the
	trouble.

	Arrange to tell redisplay about changes in overlays.
	* xdisp.c (redisplay_region): New function.
	* buffer.c (Fmove_overlay): Call redisplay_region on the areas the
	overlay has enclosed or left.
	(Fdelete_overlay): Call redisplay_region on the area the overlay
	used to occupy.
	(Foverlay_put): Call redisplay_region on the area the overlay now
	occupies; we may have put a face property on it.

	* buffer.c (Fmove_overlay): Doc fix.

	* xdisp.c (redisplay): If we're doing a thorough redisplay (all
	windows on all frames involved), go ahead and flush the GC cache -
	call clear_face_vector.

	* xdisp.c (display_text_line): Apply faces to characters
	according to overlays and text properties; use
	compute_char_face and compute_glyph_face to figure out what
	face to use, and where a new face starts.
	* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
	which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
	we're implementing the glyph table properly.  If we're not using
	the default or mode line face, call intern_face to find a display
	face for the frame face selected by the glyph code.  Implement
	underlining.  Remove the `font' argument; we have to derive this
	from the frame and face anyway.  Change all callers.
	* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.

	* xterm.c (x_destroy_window): Call free_frame_faces.

	The GNU coding standards specify that CFLAGS should be left for
	users to set.
	* ymakefile (ALL_CFLAGS): Set this to the long string of
	compilation switches, not CFLAGS.  Changed all uses.
	(CFLAGS): Make this default to just -g.
	(.c.o): Define new default rule, to make sure that the right flags
	get to the compilations.

1993-05-09  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* keyboard.c (read_char): Exit kbd macro if Vexecuting_macro is t.

	* pwd.h: File deleted.

1993-05-08  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
	used by any configuration right now, but he's trying to make it
	work.
	#include "sunos4-1.h" instead of "bsd4-2.h".
	(O_NDELAY): Don't define this.
	(SYSTEM_MALLOC): Don't define this, either.
	(LD_SWITCH_SYSTEM): Remove the definition for this.

	* Makefile.in (DEFS): Remove this; we have configure build a
	config.h file directly, instead of having lots of -D flags.

	* Makefile.in (CFLAGS): Don't make this carry DEFS from the
	configure script; the coding standards say that CFLAGS should be
	left for the user to tweak.

1993-05-08  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* keyboard.c (do_mouse_tracking): Now static.

	* xmenu.c (Fx_popup_menu): Add a vector of prefix keys for the panes.
	(keymap_panes): Allocate that vector.
	(single_keymap_panes): Fill in that vector.
	(xmenu_show): Return a list of events, not just one event.

	* keyboard.c (read_char_menu_prompt): Expect Fx_popup_menu
	to return a list of events.  Don't lose any of them.

	* xfns.c (Fx_get_mouse_event, Fx_mouse_events): Code deleted.
	* window.c (Vmouse_event): Var deleted.
	(syms_of_window): Don't make it a Lisp var.

Juanma Barranquero's avatar
Juanma Barranquero committed
1128 1129
	* keyboard.c (read_avail_input, Fset_input_mode): Make
	meta_key a three-value variable to support 8-bit input.
Dave Love's avatar
#  
Dave Love committed
1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193

1993-05-07  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* ymakefile [__GNUC__ && __GNUC__ > 1] (LIB_GCC): Set this even if
	LINKER is #defined.

	* ymakefile ($(OLDXMENU)): Remove the link before we re-create it;
	not all versions of ln have the `-f' flag.  Use the LN_S variable,
	inherited from src/Makefile.

	* Makefile.in (LN_S): New variable, edited by top Makefile.
	(SUBMAKEFILE): New variable, containing all flags to pass to
	recursive makes.

	* config.h.in: Adjust this for use by autoconf's AC_CONFIG_HEADER,
	instead of AC_OUTPUT.

	* xfaces.c (get_display_face): Use face_eql instead of writing it out.

1993-05-06  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* keymap.c (Fwhere_is_internal): If FIRSTONLY is non-nil, avoid
	returning a non-ascii key sequence unless FIRSTONLY is the symbol
	`non-ascii'.

	* config.h.in: Remove mention of GLYPH datatype; that shouldn't be
	a user option.
	* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.

1993-05-06  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xfns.c (x_get_arg): Call Fintern, not intern.

	* systime.h [SCO]: Include time.h.
	* s/sco4.h: New file.

	* ymakefile (LIBXMENU): Delete -loldX.

	* emacs.c (main): Handle -display like -d.

1993-05-05  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* s/template.h: Explain the relative significance of the SIGIO and
	INTERRUPT_INPUT macros.

	* ymakefile (buffer.o, insdel.o): Note that these files also
	depend on blockinput.h.

	* blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is
	defined everywhere this file is #included; merge the two
	definitions for defined (SIGIO) and ! defined (SIGIO) into one,
	which calls reinvoke_input_signal if interrupt_input_pending is
	set.
	* keyboard.c (reinvoke_input_signal): New function.

1993-05-04  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* window.c (Fdisplay_buffer): Add space to prompt.

1993-05-04  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* keyboard.c (syms_of_keyboard): Doc fix for
	extra-keyboard-modifiers.

Juanma Barranquero's avatar
Juanma Barranquero committed
1194 1195
	* lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT, CHAR_CTL)
	(CHAR_META): Shift these all up one bit, back to where they were.
Dave Love's avatar
#  
Dave Love committed
1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212

1993-05-02  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* keymap.c (Fdefine_prefix_command): Doc fix.

	* ymakefile (C_DEBUG_SWITCH): Undo April 10 change.

1993-05-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* keyboard.c (Fsuspend_emacs): Doc fix.

1993-04-30  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* data.c (Ffset): Refuse to set the function value of t or nil.

1993-04-29  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

Juanma Barranquero's avatar
Juanma Barranquero committed
1213
	Implement extra_keyboard_modifiers properly.
Dave Love's avatar
#  
Dave Love committed
1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231
	* keyboard.c (syms_of_keyboard): Doc fix for
	extra-keyboard-modifiers; use the same modifier bits as we do for
	characters.
	(read_char): Apply all the modifiers in extra_keyboard_modifiers
	to the input characters, so you can get hyper, super, and the rest
	of the gang.
	* xterm.c (x_emacs_to_x_modifiers): New function.
	(x_convert_modifiers): Renamed to x_x_to_emacs_modifiers, for
	consistency.  Callers changed.
	(XTread_socket): Apply x_emacs_to_x_modifiers to
	extra_keyboard_modifiers before setting the state member of the
	event; this will get all the modifiers on ASCII characters.

	* xterm.c (x_text_icon): Don't call XSetIconName; it should be
	unnecessary, and perhaps it's killing the icon pixmap.

	* lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in
	case we need them.
Juanma Barranquero's avatar
Juanma Barranquero committed
1232 1233
	* termhooks.h (alt_modifier, super_modifier, hyper_modifier)
	(shift_modifier, ctrl_modifier, meta_modifier): Define these in
Dave Love's avatar
#  
Dave Love committed
1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286
	terms of the CHAR_mumble macros, to avoid having the same thing
	defined in two places.

	* keyboard.c (kbd_buffer_get_event): Don't generate switch-frame
	events if they'd only switch to the frame already selected.  This
	avoids lots of extra switch-frame events when using a separate
	minibuffer.

1993-04-29  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* keyboard.c (Fthis_command_keys): Doc fix.

	* process.c (wait_reading_process_input): Move the status_notify
	call before the set_waiting_for_input call.

	* fileio.c (Fexpand_file_name): Undo last change--too risky for now.

	* data.c (Fdefine_function): New function (same code as Fdefalias).

1993-04-28  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)

	* eval.c (do_autoload): Fixed the bug in the autoload-saving code.

1993-04-28  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* keyboard.c (Fcurrent_input_mode): New function.

1993-04-27  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)

	* eval.c (un_autoload): Don't try to save old autoload forms when
	we load something in.  Something about the code now conditioned
	out by UNLOAD was screwing up ordinary autoloads, notably of
	picture.el.  When I figure out what, I'll fix and re-enable this
	code.

1993-04-27  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* buffer.c (syms_of_buffer): Doc fix for buffer-display-table.

	* systime.h: Doc fix.
	(EMACS_SET_USECS): Remember that a `usec' is a microsecond, not a
	millisecond.  What's three orders of magnitude between friends?
	* dispnew.c (Fsit_for, Fsleep_for): Remember to multiply the
	`milliseconds' argument by 1000 to get microseconds.

1993-04-26  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* fileio.c (Fexpand_file_name):
	Don't remove trailing / from NEWDIR if just "/".

1993-04-26  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h,
Juanma Barranquero's avatar
Juanma Barranquero committed
1287
	* m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by
Dave Love's avatar
#  
Dave Love committed
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307
	configure script.
	* s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed;
	derived by configure script.

	Arrange for Fy_or_n_p to put off switch-frame events.
	* lread.c (read_filtered_char): New function, which contains the
	code which used to be in Fread_char, Fread_event, and
	Fread_char_exclusive; there was a lot of common code.
	(Fread_char, Fread_event, Fread_char_exclusive): Rewrite in terms
	of read_filtered_char.
	* lisp.h (read_filtered_char): Declare this extern here.
	* fns.c (Fy_or_n_p): Call read_filtered_char, arranging to delay
	switch-frame events.

	* keyboard.c (read_key_sequence): Let the `modifiers' variable in
	the code which deals with KEY being unbound be an int, not a
	Lisp_Object.

	* config.h.in (getenv): Don't test THIS_IS_YMAKEFILE to see if we
	should exclude the getenv declaration; instead, test NOT_C_CODE.
1308
	Per suggestion from Francesco Potortì.
Dave Love's avatar
#  
Dave Love committed
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 1339 1340 1341 1342 1343 1344
	* ymakefile (NOT_C_CODE): Define this; it's true, and useful.

	* dispnew.c (Fsleep_for, Fsit_for): Allow SECONDS to be a
	floating point value.

1993-04-26  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)

	* sysdep.c (read_pending_input):
	Fix the garbaged-modifiers bug under System Vs previous
	to r4.

1993-04-25  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Move these into
	functions in sysdep.c.
	* sysdep.c (emacs_get_tty, emacs_set_tty): Here they are.

	* sysdep.c (emacs_set_tty): Call tcsetattr over and over again
	until it does all of what we ask it to, or returns an error.

	* search.c (Freplace_match): Arrange for markers sitting at the
	beginning or end of the original text to float to the
	corresponding position in the replacement text.

1993-04-25  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)

	* window.c (Fset-window-buffer):
	Set horizontal-scrolling on a window to zero when
	we connect it to a new buffer.

	* buffer.c: Doc fix.

1993-04-24  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	Make the modifier manipulation functions more robust.  The old way
	caused a bug once, and probably would again.
Juanma Barranquero's avatar
Juanma Barranquero committed
1345 1346
	* termhooks.h (alt_modifier, super_modifier, hyper_modifier)
	(shift_modifier, ctrl_modifier, meta_modifier): Shift these all
Dave Love's avatar
#  
Dave Love committed
1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372
	down one bit in value, to avoid sign extension problems.
	* lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
	* keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
	what our table of modifier names can handle.
	(apply_modifiers): Don't abort if you see extra modifier bits,
	just remove them.

1993-04-23  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)

	* data.c (Fdefine_function):
	Changed name back to Fdefalias, so we get things
	in a known-good state.

	* buffer.h (BUF_NARROWED, NARROWED):
	New macros to test whether a region
	restriction has narrowed the buffer.

1993-04-17  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* systime.h: Comment fixes.

	* data.c (Fdefine_function): New function.

	* lisp.h (LOADHIST_ATTACH): New macro.
	(Vcurrent_load_list, Vload_history): Vars declared.

Juanma Barranquero's avatar
Juanma Barranquero committed
1373
	* eval.c (defun, defmacro, defvar, defconst):
Dave Love's avatar
#  
Dave Love committed
1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 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 1431
	Attach symbol argument to the list of globals for the input source.
	(do_autoload): Save the old autoloads, in case we ever unload.

	* fns.c (provide, require): Put appropriately-marked
	conses in the current-globals list.

	* lread.c (readevalloop):
	New argument is the source file name (or nil if none).
	All calls changed.  Do the two-step
	necessary to call build_load_history with the correct current-globals
	list for the current recursion.
	(build_load_history): New function.
	(eval_region, eval_buffer): Call readevalloop with new arg.
	(load_history): New variable.

1993-04-16  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)

	* lread.c (readevalloop): New argument is the source file name (or
	nil if none).  All calls changed.  Do the two-step
	necessary to call build_load_history with the correct current-globals
	list for the current recursion.
	(build_load_history): New function.
	(Feval_region, Feval_buffer): Call readevalloop with new arg.
	(Vload_history): New variable.

	* fns.c (Fprovide, Frequire): Put appropriately-marked
	conses in the current-globals list.

	* eval.c (Fdefun, Fdefmacro, Fdefvar, Fdefconst):
	Attach symbol argument to the list of globals for the input source.
	(do_autoload): Save the old autoloads, in case we ever unload.

	* data.c (Fdefine_function): New function.

1993-04-16  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* fileio.c (Fmake_symbolic_link): If a file already exists under
	the link's filename, delete the file which the link
	would replace, not the file the link would point at.

	* config.h.in (volatile): Don't define this to be the empty string
	if some file has #defined HAVE_VOLATILE.

	* emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and
	':' elsewhere, just have it default to ':' if not #defined, and
	#define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
	* s/vms.h (SEPCHAR): #define this to be ','.
	* s/template.h (SEPCHAR): Mention this.

1993-04-13  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* s/vms.h (xfree): #define this to emacs_xfree, to avoid case
	conflict with XFree; on VMS, external symbols are case-insensitive.

	* s/usg5-4.h (HAVE_GETTIMEOFDAY): Deleted; ../configure figures
	that out now.

	Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:
Juanma Barranquero's avatar
Juanma Barranquero committed
1432
	* s/mach2.h: Copied from the Emacs 18.59 distribution.
Dave Love's avatar
#  
Dave Love committed
1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454
	Don't define NO_REMAP, define START_FILES as
	`pre-crt0.o' instead.  Define LIB_MATH as `-lm', to override the
	default `-lm -lc' (there is no libc on the NeXT).
	* ymakefile (STARTFILES): Allow config.h to set this value even if
	ORDINARY_LINK is defined.
	* unexnext.c: Fix subdirectories for the machine dependent include
	files for NeXTStep 3.0; #include <mach/mach.h> and
	<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
	(getsectbyname): Remove prototype for this; the system #include
	files take care of that.
	(malloc_cookie): New variable.
	(unexec_doit): Set malloc_cookie to the result returned by
	malloc_freezedry.
	* emacs.c (main): Declare malloc_cookie to be extern, so that we can
	get the value set when we dumped and pass it to malloc_jumpstart.
	* systime.h: The NeXT has a timezone function.

1993-04-12  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* ymakefile ($(OLDXMENU)): Remove $(OLDXMENU) before trying to
	link in a new version.

Juanma Barranquero's avatar
Juanma Barranquero committed
1455 1456
	* lisp.h (Qrange_error, Qdomain_error, Qsingularity_error)
	(Qoverflow_error, Qunderflow_error): Add extern to these declarations.
Dave Love's avatar
#  
Dave Love committed
1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474

1993-04-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xfaces.c: Don't include Xmu/Drawing.h.

1993-04-10  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* Makefile.in (xmakefile): Recognize the -O option with a numeric
	optimization level.

	* ymakefile (C_DEBUG_SWITCH): If we're using version 2 of GCC or
	higher, use -O99 instead of plain -O.

1993-04-09  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* keyboard.c (command_loop_1): Rebuild menu bar if
	update_mode_lines is set.

Juanma Barranquero's avatar
Juanma Barranquero committed
1475
	long_to_cons and cons_to_long are generally useful things; they're
Dave Love's avatar
#  
Dave Love committed
1476 1477
	needed whether or not X is defined.
	* xselect.c (long_to_cons, cons_to_long): Moved from here...
Juanma Barranquero's avatar
Juanma Barranquero committed
1478 1479
	* data.c (long_to_cons, cons_to_long): ... to here.
	* lisp.h (long_to_cons, cons_to_long): Add extern declaration.
Dave Love's avatar
#  
Dave Love committed
1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502

	* xmenu.c (Qmenu_enable): Definition moved...
	(syms_of_xmenu): ... along with initialization ...
	* keyboard.c (Qmenu_enable): ... to here ...
	(syms_of_keyboard): ... and here.

	* keyboard.c (kbd_buffer_get_event): If we get a selection clear
	or selection request event, but we were compiled without the
	window-system-specific code to handle it, abort.  Don't try to
	call a function which doesn't exist.

	* keyboard.c (make_lispy_event): In the code which processes mouse
	clicks, declare f to be a FRAME_PTR, not a struct frame *; this
	works when MULTI_FRAME is not #defined.

	* xfaces.c (sort_overlays): Define this to be static, as declared.

	* callproc.c (relocate_fd): Make messages string literals, not
	initialized arrays.

	* alloc.c (__malloc_hook, __realloc_hook, __free_hook): Declare
	these extern, not static.  (!)

Juanma Barranquero's avatar
Juanma Barranquero committed
1503 1504
	* alloc.c (__malloc_hook, old_malloc_hook, __realloc_hook)
	(old_realloc_hook): Declare that the functions these point to return
Dave Love's avatar
#  
Dave Love committed
1505 1506
	void *, not void.

Juanma Barranquero's avatar
Juanma Barranquero committed
1507
	Adjust for autoconf merger.
Dave Love's avatar
#  
Dave Love committed
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 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596
	* config.h.in: Add extra line to top, in case autoconf gets fixed
	and decides not to add Makefile-style comments to the top of the
	files it generates which we are forced to lop off.
	Indicate that the boolean macros here get their definitions via
	the DEFS Makefile variable.
	Adjust the operating system and machine #includes to use
	autoload's @cookies@.
	(RETSIGTYPE): Give this a default value.
	(SIGTYPE): Set this from RETSIGTYPE.
	(LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Get values via @cookies@.
	* Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
	(xmakefile): Pass CFLAGS to ${CPP}.

	* buffer.c (Fmake_overlay, Fmove_overlay): New optional BUFFER
	arguments.
	(recenter_overlay_lists): New argument BUF, to use instead of the
	current buffer.
	(Foverlay_recenter): Pass the appropriate arguments to
	recenter_overlay_lists.

	* buffer.c (Fdelete_overlay): Don't assume that overlay is in the
	current buffer.  Don't forget to declare the argument a Lisp_Object.

	* dispnew.c (getenv): Extern declaration deleted; this is done in
	config.h.

	* Makefile.in (tagsfiles): Remove external-lisp from this list of
	files; we're not distributing it, so the normal build process
	shouldn't depend on it.

	* dispnew.c (init_display): Compare the return value of getenv to
	zero before setting display_arg, instead of just using the pointer
	as a truth value.

1993-04-08  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xdisp.c (message, message1): If noninteractive and
	cursor_in_echo_area, don't print a newline at end of message.

	* fns.c (Fy_or_n_p): Echo the answer just once, at exit.

	* keyboard.c (echo_dash): Do nothing if echoptr is 0.

	* buffer.c (Fkill_all_local_variables): Store each var's current value
	in the buffer's alist entry, before reverting to the default value.

1993-04-07  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* keyboard.c (apply_modifiers): Fix typo in sanity check.

	* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
	Remove `extern' keywords - these are the definitions.

1993-04-07  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* blockinput.h (UNBLOCK_INPUT): Fix typo.
	(interrupt_input_blocked): Make this signed int.

	* search.c (search_buffer): Fix typo in previous change.

	* insdel.c, buffer.c: Include blockinput.h.

	* xterm.c: Fix typo in comment delimiter.

1993-04-07  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
	of defining LINKER to use cc.
	* s/aix3-1.h (LINKER): Don't use cc for linking command if we're
	using GCC.
	* s/aix3-2.h (SYSTEM_MALLOC): Undefine this.

	* xterm.c (updating_frame): Declare this extern instead of static,
	so it's the same variable as the updating_frame in term.c.
	(XTupdate_begin, XTupdate_end): Don't bother to set
	updating_frame; the term.c functions take care of that for us.

1993-04-05  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* s/vms.h (EXEC_SUFFIXES): Add definition for this.

1993-03-31  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* xfaces.c: Doc fixes.

	Put interrupt input blocking in a separate file from xterm.h.
	This isn't specific to X, and it allows us to avoid #including
	xterm.h in files that don't really have anything to do with X.
	* blockinput.h: New file.
Juanma Barranquero's avatar
Juanma Barranquero committed
1597 1598
	* xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT)
	(UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
Dave Love's avatar
#  
Dave Love committed
1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617
	(x_input_blocked, x_pending_input): Deleted; there are analogs
	in blockinput.h called interrupt_input_blocked and
	interrupt_input_pending.
	* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
	New variables, used by the macros in blockinput.h.
	* xterm.c: #include blockinput.h.
	(x_input_blocked, x_pending_input): Deleted.
	(XTread_socket): Test and set interrupt_input_blocked and
	interrupt_input_pending instead of the old variables.
	* alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c:
	#include blockinput.h.
	* eval.c: #include blockinput.h instead of xterm.h.
	* keyboard.c: #include blockinput.h.
	(input_poll_signal): Just test
	interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and
	x_input_blocked.

	Block the processing of interrupt input while we're manipulating the
	malloc heap.
Juanma Barranquero's avatar
Juanma Barranquero committed
1618
	* alloc.c (xfree): New function, to make it easy to free things safely.
Dave Love's avatar
#  
Dave Love committed
1619 1620 1621 1622 1623 1624 1625
	(xmalloc, xrealloc): Block X input while doing the deed.
	(VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
	instead of free.
	(uninterrupt_malloc): New function, to install input-blocking
	hooks into the GNU malloc routines.
	* emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
	on startup.
Juanma Barranquero's avatar
Juanma Barranquero committed
1626 1627
	* alloc.c (make_interval, make_float, Fcons, Fmake_vector)
	(Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
Dave Love's avatar
#  
Dave Love committed
1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639
	Use xmalloc instead of malloc; don't bother to check if out of
	memory here.
	(Fgarbage_collect): Call xrealloc instead of realloc.
	* buffer.c: Use xmalloc and xfree instead of malloc and free;
	don't bother to check if out of memory here.
	(Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around
	calls to ralloc routines.
	* insdel.c: Same.
	* lisp.h (xfree): New extern declaration.
	* xfaces.c (xfree): Don't #define this to be free; use the
	definition in alloc.c.
	* dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
Juanma Barranquero's avatar
Juanma Barranquero committed
1640
	* xmenu.c, xterm.c: Use xfree instead of free.
Dave Love's avatar
#  
Dave Love committed
1641 1642 1643 1644 1645 1646 1647 1648
	* hftctl.c: Use xfree and xmalloc instead of free and malloc.
	* keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
	and malloc.
	* search.c: Since the regexp routines can malloc, BLOCK_INPUT
	while runing them.  #include blockinput.h.
	* sysdep.c: #include blockinput.h.  Call xfree and xmalloc instead
	of free and malloc.  BLOCK_INPUT around routines which we know
	will call malloc.
Sam Steingold's avatar
Sam Steingold committed
1649

Juanma Barranquero's avatar
Juanma Barranquero committed
1650 1651
	* ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o)
	(xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
Dave Love's avatar
#  
Dave Love committed
1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 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
	these depend on blockinput.h.

	* keyboard.c (parse_modifiers, apply_modifiers): Make sure we're
	not trying to create modifier masks using integers which are
	unrepresentable as lisp values.

1993-03-30  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	New macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of the
	equivalent of /dev/null, and the suffixes used by executable
	files.  This is simple, and helps people porting Emacs to other
	operating systems.
	* process.h (NULL_DEVICE): Give this a default value.
	* process.c (Fstart_process): Pass EXEC_SUFFIXES to openp.
	(Fprocess_send_eof): Use NULL_DEVICE instead of "/dev/null".
	* callproc.c (Fcall_process): Pass EXEC_SUFFIXES to openp.
	Use NULL_DEVICE instead of "/dev/null".
	* s/vms.h (NULL_DEVICE): #define this.

	Rename int-to-string to number-to-string, since it can handle
	floating-point as well as integer arguments.  subr.el defines the
	former as an alias for the latter.
	* data.c (Fnumber_to_string): Renamed from Fint_to_string.
	(wrong_type_argument): Adjust caller.
	(syms_of_data): Adjust defsubr.
	* fns.c (concat): Adjust caller.
	* lisp.h (Fnumber_to_string): Adjust extern declaration.
	* mocklisp.c (Finsert_string): Adjust caller.
	* process.c (status_message): Adjust caller.

1993-03-28  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)

	* systty.h [NO_PTY_H]: Don't include pty.h.

	* m/delta88k.h [USG5_4]: Alternate defining of LIBS_SYSTEM,
	LIBX11_SYSTEM, HAVE_RANDOM, BSTRING.
	(NO_PTY_H): Defined.

	* fileio.c (Fwrite_region): Don't fail to set visit_file.

	* keyboard.c (command_loop_1): Clear force_start of selected_window
	after reading each key sequence.
	(read_char): Clear Vquit_flag when we return C-g for it.

	* fileio.c (Fexpand_file_name): Default DEFALT at beginning,
	before expanding it.  But avoid unneeded or infinite recursive expand.

1993-03-26  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)

	* editfns.c (Fchar_equal): Don't ignore high bits of character.

	* fileio.c (Fwrite_region): Set visit_file after expanding file arg.
	Also expand VISIT arg if specified.

	* frame.c (make_frame): Init face_alist field.

1993-03-25  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* xselect.c (SELECTION_QUANTUM): Don't use XMaxRequestSize on R3;
	access the display structure directly.

1993-03-25  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)

	* ymakefile (xfns.o): Depend on buffer.h.

	* buffer.h (struct buffer): Field `fieldlist' deleted.

	* search.c (Freplace_match): Clean up criterion about converting case.
	If old text has any capitalized words, capitalize new text.

	* xfaces.c: New file.

	* ymakefile (XOBJ): Add xfaces.o.
	(xfaces.o): New target.
	* emacs.c (main): Call syms_of_xfaces.

	* buffer.h (OVERLAY_START, OVERLAY_END, OVERLAY_VALID): New macros.
	(OVERLAY_POSITION): Likewise.
	(searchbuf): Decl deleted--doesn't belong here.
	Delete include of regex.h for VMS.
	* dired.c (searchbuf): Declare here.

	* frame.h (struct frame): New field face_alist.
	* alloc.c (mark_object): Mark face_alist of a frame.

	* ymakefile (xselect.o): Depend on dispextern.h.

	* xterm.h (FRAME_FACES, FRAME_N_FACES, FRAME_DEFAULT_FACE)
	(FRAME_MODE_LINE_FACE): New macros.
	(struct x_display): New fields faces, n_faces.

	* dispextern.h (struct face): New fields pixmap_h, pixmap_w.
	Field `font' is now a pointer.

	* fns.c (Fy_or_n_p): Ensure cursor_in_echo_area = 0 when quit.

1993-03-24  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* dispnew.c (getenv): Add extern declaration.

	* ymakefile (really-oldXMenu): Pass C_SWITCH_SITE and
	C_SWITCH_SYSTEM to the inferior make as separate flags, instead of
	passing just C_SWITCH_SITE as CFLAGS.

	* keymap.c (Fkeymapp): Doc fix.

	* xterm.h (x_focus_frame): Add extern keyword to declaration.

	* xterm.c [VMS]: Don't #include <sys/termio.h> and <string.h>.
	* xfns.c [VMS]: Get the gray_bits from [.bitmaps]gray.xbm.
	* process.c [VMS] (DCL_PROMPT): Remove hack.
Juanma Barranquero's avatar
Juanma Barranquero committed
1763 1764
	(WIFSTOPPED, WIFSIGNALED, WIFEXITED, XRETCODE, WSTOPSIG)
	(WCOREDUMP, WTERMSIG): New dummy definitions.
Dave Love's avatar
#  
Dave Love committed
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
	(deactivate_process): Add missing semicolon.
	* dispnew.c (init_display): Get display name from environment
	properly on VMS as well as Unix.

1993-03-24  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)

	* buffer.c (init_buffer_once, reset_buffer):
	Delete last vestige of fieldlist slot.
	(Fregion_fields): Finally deleted.

	* keymap.c (push_key_description): Ignore bits above meta_modifier.

1993-03-23  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)

	* buffer.c (overlays_at, recenter_overlay_lists): New functions.
	(Fmake_overlay, Fdelete_overlay, Foverlay_get, Foverlay_put): Likewise.
	(Fmove_overlay, Foverlays_at, Fnext_overlay_change): Likewise.
	(Foverlay_lists, Foverlay_recenter): Likewise.

	* buffer.h (struct buffer): New fields overlay_center,
	overlays_before, overlays_after.

1993-03-23  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* config.h.in (HAVE_XFREE386): New flag, set by configure script.
	If it's set, #define LIBX11_SYSTEM and HAVE_RANDOM as appropriate
	for XFree386.
	* sysdep.c (random, srandom): Don't define these if HAVE_RANDOM is
	#defined.

	* config.h.in (C_SWITCH_X_SITE, LD_SWITCH_X_SITE): New flags.
	* ymakefile (C_SWITCH_X_SITE, LD_SWITCH_X_SITE): Provide default
	values.  Include C_SWITCH_X_SITE in CFLAGS, include
	LD_SWITCH_X_SITE in LIBX, and pass C_SWITCH_X_SITE to the make
	which builds the X Menu library.

1993-03-22  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* xfns.c (Fx_parse_geometry): Renamed from Fx_geometry.
	(Fx_color_defined_p): Renamed from Fx_defined_color.
	(syms_of_xfns): Adjusted.

1993-03-22  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)

1809
	* indent.c (current_column, Findent_to, position_indentation)
Dave Love's avatar
#  
Dave Love committed
1810 1811 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
	(Fmove_to_column, compute_motion): Allow tab_width up to 1000.

	* xdisp.c (display_string, display_text_line):
	Allow tab_width up to 1000.

	* keyboard.c (Fsuspend_emacs):
	Change suspend-hooks back to suspend-hook and make it a normal hook.

	* s/dgux.h: Decide automatically whether to use COFF or ELF.

1993-03-21  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* fns.c (Fy_or_n_p): Handle `recenter' response type.

	* s/dgux.h (HAVE_TERMIO, SIGNALS_VIA_CHARACTERS): Defined.

1993-03-21  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* frame.c (Fhandle_switch_frame): Renamed from Fselect_frame.
	Doc changed in anticipation of new purpose.
	(Fselect_frame): Just call Fhandle_switch_frame for now.

1993-03-21  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xdisp.c (decode_mode_spec): Handle `%l'.
	(display_count_lines): New function.
	(redisplay_window): Update base_line_number and base_line_pos fields.
	Always update mode line if it's an integer.
	* window.h (struct window):
	New fields base_line_number and base_line_pos.

	* window.c (Fselect_window): Use Fhandle_switch_frame.
	(Fset_window_configuration): Likewise.

1993-03-20  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

Juanma Barranquero's avatar
Juanma Barranquero committed
1846
	Use the `visibility' parameter to determine the initial state of
Dave Love's avatar
#  
Dave Love committed
1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 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 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946
	the frame, instead of the `iconic-startup' and
	`suppress-initial-map' parameters.
	* xfns.c (x_icon): Test the Qvisibility parameter against Qicon,
	instead of the Qiconic_startup against Qt.
	(x_create_frame): Test Qvisibility against Qnil and
	Qicon, instead of testing Qsuppress_initial_map and Qvisibility.
	(Qicon): New symbol.
	(Qiconic_startup, Qsuppress_initial_map): Removed.
	(syms_of_xfns): Adjusted appropriately.

	* xfns.c (x_set_visibility): Instead of interpreting only Qt as
	`make the frame visible' and everything else as `iconify the
	frame', interpret Qicon as `iconify the frame' and everything else
	as `make the frame visible.'

	* xfns.c (x_get_arg): When the type of the resource is `symbol',
	return `true' and `on' as Qt, and `false' and `off' as Qnil.

1993-03-20  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* emacs.c (init_cmdargs): Fix simple bug in previous change.

1993-03-20  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* dispnew.c (Fsleep_for): Make this take two arguments SECONDS and
	MILLISECONDS, which add, rather than a second argument which says
	"treat the first argument as milliseconds."
	(Fsit_for): Same thing.
	(Fsleep_for_milliseconds): Deleted; this can be done with Fsleep_for.

	* process.c (wait_reading_process_input): Doc fix.

	* systime.h (EMACS_HAS_USECS): #define this if HAVE_TIMEVAL is
	#defined.

	* dispnew.c (sit_for): Doc fix.

	* sysdep.c (reset_sys_modes): Fix usage of EMACS_SET_TTY.

	* callproc.c (child_setup): Make sure that in, out, and err are
	not less than three.
	(relocate_fd): New function.

	* xterm.c (x_term_init): If the X connection is already in file
	descriptor zero, don't dup it and close the old one.

	* s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
	Emacs 18.

	* xfns.c (Fx_open_connection): If we have X11R5, use
	XrmSetDatabase to set the display's database.  In older versions,
	just store the value into x_current_display->db.
	* xterm.h (HAVE_X11R5): Define this where appropriate.

	* frame.c (Fraise_frame, Flower_frame): Renamed from
	Fframe_to_front and Fframe_to_back.
	(syms_of_frame): Adjusted appropriately.

	* fileio.c (HAVE_FSYNC): Define, if appropriate.
	(Fwrite_region): Use HAVE_FSYNC.
	* s-aix3-2.h (HAVE_FSYNC): Define.

	* emacs.c (Finvocation_name): New function.
	(Vinvocation_name): New variable.
	(init_cmdargs): Set it.
	(syms_of_emacs): defsubr Finvocation_name, staticpro and
	initialize Vinvocation_name.
	* lisp.h (Vinvocation_name): New extern declaration.
	* xterm.c (invocation_name): Variable deleted; use
	Vinvocation_name now.
	(x_text_icon, x_term_init): Use Vinvocation_name now instead of
	invocation_name.
	(x_term_init): Don't initialize invocation_name.
	(syms_of_xterm): Don't initialize or staticpro invocation_name.
	* xfns.c (invocation_name): Remove extern declaration for this.
	[HAVE_X11] (Fx_get_resource): Use Vinvocation_name now instead of
	invocation_name.
	[not HAVE_X11] (Fx_get_default): Same.

1993-03-20  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)

	* xfns.c (Fx_display_color_p): Renamed from Fx_color_display_p.
	(syms_of_xfns): Use new name in defsubr.

1993-03-19  Eric S. Raymond  (eric@geech.gnu.ai.mit.edu)

	* Makefile.in (unlock, relock): New productions to assist with
	version control.

1993-03-19  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)

	* fileio.c (Fvisited_file_modtime): New function.
	(Fset_visited_file_modtime): Accept an argument specifying time value.
	If arg is nil, really use the filename handler.

	* xselect.c (cons_to_long, long_to_cons): No longer static.

1993-03-18  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)

	* frame.h (FOR_EACH_FRAME): Change the definition so that
Sam Steingold's avatar
Sam Steingold committed
1947
	FRAME_VAR is a lisp object.
Dave Love's avatar
#  
Dave Love committed
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 1997 1998 1999 2000 2001 2002 2003 2004 2005
	* dispnew.c (WINDOW_CHANGE_SIGNAL, do_pending_window_change):
	Adjusted appropriately.
	* xdisp.c (redisplay): Adjusted appropriately.

	* dispnew.c (Fredraw_frame): Give this appropriate definitions for
	MULTI_FRAME and non-MULTI_FRAME configurations.
	(Fredraw_display): Give this a non-MULTI_FRAME-dependent definition.

1993-03-18  Richard Stallman  (rms@geech.gnu.ai.mit.edu)

	* lisp.h (CHECK_LIVE_WINDOW): Use Qlive_window_p.

	* xfns.c (x_screen): Make this var file scope.
	(Fx_server_version): Use Fcons, not list3.

1993-03-17  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)

	* xterm.c (term_get_fkeys): Less klugey version of the last fix.

	* Makefile.in (versionclean): New production nukes binaries and
	DOC files, forcing a re-load, re-dump and re-makedoc.

1993-03-17  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* fileio.c: Doc fix.

1993-03-17  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* xterm.c (x_display_box_cursor, x_display_bar_cursor): Don't
	display the cursor on garbaged frames.

1993-03-17  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)

	* term.c (term_get_fkeys) Supply second args for all tgetstr calls.

1993-03-17  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* process.c (Fprocess_send_eof): Make sure proc is running.

	* s/irix4-0.h (_getpty): Declare this, not _get_pty.

1993-03-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xfns.c (Fx_server_vendor, Fx_server_version, Fx_display_pixel_width)
	(Fx_display_pixel_height, Fx_display_mm_width, Fx_display_mm_height)
	(Fx_display_screens, Fx_display_planes, Fx_display_color_cells)
	(Fx_display_visual_class, Fx_display_backing_store)
	(Fx_display_save_under): New functions.
	(x_screen_count, Vx_vendor, x_release, x_screen_height_mm)
	(x_screen_width_mm, Vx_backing_store, x_save_under, Vx_screen_visual)
	(x_visual_strings): Vars deleted.
	(Fx_open_connection): Don't init those vars.
	(syms_of_xfns): Set up new functions.
	Don't set up those vars as Lisp vars.
	Nor x-screen-width and x-screen-height.

1993-03-16  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

Juanma Barranquero's avatar
Juanma Barranquero committed
2006
	* cmds.c (overwrite_binary_mode): Deleted; this implements the
Dave Love's avatar
#  
Dave Love committed
2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019
	wrong feature.
	(Qoverwrite_mode_binary): New variable.
	(internal_self_insert): If current_buffer->overwrite_mode is
	`overwrite-mode-binary', do as overwrite_binary_mode used to.
	(syms_of_cmds): Remove defvar of overwrite_binary_mode; initialize
	Qoverwrite_mode_binary.
	* buffer.c (syms_of_buffer): Doc fix for overwrite_mode.
	* buffer.h (struct buffer): Doc fix.

	Rename `live-window-p' to `window-live-p', for consistency with
	`frame-live-p'.
	* window.c (Fwindow_live_p): Renamed from Flive_window_p.
	* lisp.h (CHECK_LIVE_WINDOW): Change to use Qwindow_live_p.
Juanma Barranquero's avatar
Juanma Barranquero committed
2020
	(Qwindow_live_p): Extern declaration renamed from Qlive_window_p.
Dave Love's avatar
#  
Dave Love committed
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 2048 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

1993-03-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xmenu.c (xmenu_show): Do BLOCK_INPUT; unblock just before returning.

	* xterm.h [SIGIO] (UNBLOCK_INPUT): Resignal if x_pending_input.

1993-03-15  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* frame.c (Fframe_height, Fframe_width): Fix doc strings to match
	those of the multi-frame versions in frame.el.  Accept an optional
	argument FRAME, also for consistency.

	* floatfns.c (logb): Add extern declaration for this.

	* floatfns.c (Flogb): Under SYSV, implement this using frexp.

1993-03-15  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* ymakefile (dispnew.o): Depend on termhooks.h.

	* xmenu.c (list_of_items): Allow strings among the alist items;
	they make nonselectable lines.

1993-03-14  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* dired.c (Fdirectory_files): Recompile MATCH (if specified) after
	expanding the file name and all; those might compile regexp of
	their own, and change searchbuf.

	* keyboard.h (internal_last_event_frame): This should be extern,
	dummy.

	* fns.c (Fy_or_n_p): Display the answer.

	Some VMS changes from Richard Levitte <levitte@e.kth.se>:
	* [VMS] systime.h: Include vmstime.h.  VMS has the timezone
	variable and the tzname array.
	* s/vms.h: VMS does have select.
	mth$dmod is the same as Unix's drem.
	Use the time functions in vmstime.c.
	No need to rename the malloc routines if we're using GNU malloc.
	PURESIZE needs to be 330000.
	* vmstime.c, vmstime.h: New files.
	* systty.h: Don't try to initialize extern declarations under VAX C.
	* vmspaths.h (PATH_LOADSEARCH): Include EMACS_LIBRARY:[LOCAL-LISP]
	in PATH_LOADSEARCH.
	(PATH_EXEC): Use EMACS_LIBRARY:[LIB-SRC] instead of [ETC].
	* sysdep.c [VMS] (init_sys_modes): Don't allocate process_ef.
	[VMS] (queue_kbd_input): Build events structure correctly.
	[VMS] (gethostname): New function.
	[VMS] (getwd): Don't get the PATH environment variable; that's
	dumb.  Call getcwd.

1993-03-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xdisp.c (display_menu_bar): Assume FRAME_MENU_BAR_ITEMS already set.
	Fill out line with spaces.
	Put explicit spaces between items.
	* keyboard.c (command_loop_1): Set FRAME_MENU_BAR_ITEMS here.

	* window.c (Fdelete_other_windows): Handle FRAME_MENU_BAR_LINES.

	* keyboard.c (menu_bar_items): Reverse the list when done.

	* xmenu.c (single_keymap_panes): When storing in ENABLES,
	check def before enabled.

	* ymakefile (really-oldXMenu): Renamed from ${oldXMenudir}$(OLDXMENU).
	Add @true.
	($(OLDXMENU)): Depend on really-oldXMenu.
	The idea is to make sure libXMenu11.a is always updated if nec.

	* keyboard.c (command_loop_1): Typo calling Qrecompute_lucid_menubar.
	(read_key_sequence): Likewise.  Also fix call to Vrun_hooks.

1993-03-13  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* ymakefile (YMF_PASS_LDFLAGS): Doc fix.

1993-03-13  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* print.c (PRINTPREPARE): Handle marker that points nowhere.

	* apollo.h (NO_X_DESTROY_DATABASE): Defined.

	* undo.c (record_property_change, record_delete, record_insert):
	Don't make boundary or touch last_undo_buffer if cur buf has no undo.

	* ymakefile [__GNUC__ > 1]: Delete the conditional for GCC 2.4.
	[__GNUC__ > 1] (LIB_GCC): Use -print-libgcc-file-name to find libgcc.a.
	(YMF_FIND_LIBGCC_A): Definitions and uses deleted.

1993-03-13  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)

	* s/usg5-4.h: Remove extraneous text after #undef LIB_X11_LIB.

1993-03-13  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xterm.c (Xatom_wm_change_state): Define here.
	* xfns.c (Xatom_wm_change_state): Just declare.
2122 2123 2124
	(Xatom_emacs_selection, Xatom_clipboard, Xatom_clipboard_selection)
	(Xatom_wm_change_state, Xatom_incremental, Xatom_multiple)
	(Xatom_targets, Xatom_timestamp, Xatom_delete, Xatom_insert_selection)
Dave Love's avatar
#  
Dave Love committed
2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169
	(Xatom_pair, Xatom_insert_property, Xatom_text): Decls deleted.
	(x_begin_selection_own): Decls deleted.
	(Fx_open_connection): Set up only the wm atoms here.
	Call Xatoms_of_xselect.

	* dispnew.c: Include termhooks.h.

	* frame.h (FRAMEP): Macro deleted.

	* xselect.c: Total rewrite, derived from Lucid's version.

	* keyboard.c (kbd_buffer_get_event): Handle selection_clear_event
	and selection_request_event events.

	* xterm.c (XTread_socket): Handle NEW_SELECTIONS alternative:
	queue events for SelectionRequest and SelectionClear;
	call functions for SelectionNotify and PropertyNotify.

	* termhooks.h (selection_request_event, selection_clear_event):
	New event kinds.

	* xterm.h (SELECTION_EVENT_DISPLAY): New macro.
	(SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
	(SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
	(SELECTION_EVENT_TIME): New macros.
	(struct selection_input_event): New structure.

	* process.c (wait_reading_process_input): New option to wait
	till a given cons cell has a non-nil car.
	Delete vipc conditionals.

1993-03-12  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

	* ymakefile (YMF_FIND_LIBGCC_A): New macro, to help GCC find
	libgcc.a even when -nostdlib is in effect.  Define it to be the
	empty string if nobody else establishes a value for it.
	(temacs): Include it in the list of flags passed to the linker.

	* ymakefile (LINKER): If we have GCC 2.4 or later, use the
	-nostartfiles option instead of -nostdlib.
	(LIBGCC): Under GCC 2.4 or later, define this to be the empty string.

1993-03-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* xmenu.c (xmenu_show): New arg enable_list.
2170
	(keymap_panes): New arg enables.
Dave Love's avatar
#  
Dave Love committed
2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186
	(single_keymap_panes): New arg enables.  Fill in its contents.
	(list_of_panes, list_of_items): New arg enables.  Fill in contents.
	(Fx_popup_menu): Pass enable and enable_list args.
	(single_keymap_panes): Set enable flag to -1 if cmd definition is nil.

	* lisp.h (INTEGERP, SYMBOLP, MARKERP, STRINGP, VECTORP): New macros.
	(COMPILEDP, BUFFERP, SUBRP, PROCESSP, FRAMEP, WINDOWP): New macros.
	(WINDOW_CONFIGURATIONP, FLOATP): New macros.

1993-03-12  Paul Eggert  (eggert@twinsun.com)

	* cmd.c (internal_self_insert): Check that tab_width does not
	exceed 20, to be consistent with indent.c and xdisp.c.

1993-03-12  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)

Juanma Barranquero's avatar
Juanma Barranquero committed
2187
	* term.c (CONDITIONAL_REASSIGN): Fixed reference to tigetstr.
Dave Love's avatar
#  
Dave Love committed
2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267