view msdos/ChangeLog @ 51207:7e176ef34c10

Make (many) trivial substitutions for renamed and new macros in dispextern.h, frame.h and window.h. (make_window): Initialize new members left_margin_cols, right_margin_cols, left_fringe_width, right_fringe_width, fringes_outside_margins, scroll_bar_width, and vertical_scroll_bar_type. (coordinates_in_window): Adapted to new fringe/margin positions and per-window fringes and scroll-bars. Fix bug related to incorrectly adjusting coordinates by frame's internal_border_width (the effect normally negible since the internal_border_width is typically 0 or 1 pixel, but very noticeable for an internal_border_width of e.g. 25 pixels). Upon successful return (other than ON_NOTHING), the coordinates are now always properly converted to window relative for the given display element. (window_from_coordinates): Add new parameters wx and wy to return the window relative x and y position in the returned window and part. A null arg means, don't return the position. All callers changed. (adjust_window_margins): New function which may reduce the width of the display margins if a window's text area is too small after resizing or splitting windows. (size_window): Fix bug that did not account for display margin widths when checking the minimum width of a window; use adjust_window_margins. (set_window_buffer): Call Fset_window_fringes and Fset_window_scroll_bars to setup per-window elements. Add new arg KEEP_MARGINS_P. Non-nil means to keep window's existing display margin, fringe widths, and scroll bar settings (e.g. after splitting a window or resizing the frame). All callers changed. (Fset_window_buffer): New arg KEEP_MARGINS. All callers changed. (Fsplit_window): Duplicate original window's display margin, fringe, and scroll-bar settings; then call Fset_window_buffer with KEEP_MARGINS non-nil. This fixes a bug which caused a split window to only preserve the display margins in one of the windows. When splitting horisontally, call adjust_window_margins on both windows to ensure that the text area of the new windows is non too narrow. This fixes a bug which could cause emacs to trap if the width of the split window was less than the width of the display margins. (window_box_text_cols): Renamed from window_internal_width. All uses changed. Adapt to per-window fringes and scroll bars. Fix bug that caused vertical separator to be subtracted also on window frames. Fix another bug that did not reduce the returned value by the columns used for display margins. (window_scroll_line_based): Fix bug related to scrolling too much when display margins are present (implicitly fixed by the fix to window_box_text_cols). (scroll_left, scroll_right): Fix bug related to scrolling too far by default when display margins are present (implicitly fixed by the fix to window_box_text_cols). (struct saved_window): Rename members left to left_col, top to top_line, width to total_cols, height to total_lines, orig_top to orig_top_line, orig_height to orig_total_lines. All uses changed. New members left_margin_cols, right_margin_cols, left_fringe_width, right_fringe_width, fringes_outside_margins, scroll_bar_width, and vertical_scroll_bar_type for saving per-window display elements. (Fset_window_configuration): Restore display margins, fringes, and scroll bar settings. This fixes a bug which caused display margins to be discarded when saving and restoring a window configuration. (save_window_save): Save display margins, fringes, and scroll bar settings. This fixes a bug which caused display margins to be discarded when saving and restoring a window configuration. (Fset_window_margins): Do nothing if display margins are not really changed. Otherwise, call adjust_window_margins to ensure the text area doesn't get too narrow. This fixes a bug which could cause emacs to trap if setting display margins wider than the width of the window. (Fset_window_fringes): New defun to allow user to specifically set this window's fringe widths and position vs. display margins. (Fwindow_fringes): New defun to return window's actual fringe settings. (Fset_window_scroll_bars): New defun to allow user to specifically set this window's scroll bar width and position. (Fwindow_scroll_bars): New defun to return window's actual scroll bar settings. (compare_window_configurations): Also compare display margins, fringes, and scroll bar settings. (syms_of_window): Defsubr new defuns for fringe and scroll bars.
author Kim F. Storm <storm@cua.dk>
date Sat, 24 May 2003 22:07:51 +0000
parents 23a1cea22d13
children 3b849346bc51 d7ddb3e565de
line wrap: on
line source

2002-04-16  Eli Zaretskii  <eliz@is.elta.co.il>

	* sed2v2.inp: New file.

	* sed2.inp: Remove DJGPP v2.x stuff.

2002-03-27  Eli Zaretskii  <eliz@is.elta.co.il>

	* sedlisp.inp <bootstrap-clean>: Make sure all *.el files have
	Unix EOLs, to avoid overflowing pure storage while bootstrapping.

2002-03-20  Eli Zaretskii  <eliz@is.elta.co.il>

	* mainmake.v2 (bootstrap-lisp-1, bootstrap-lisp, bootstrap-src)
	(bootstrap-clean-before, bootstrap-clean-after): Return to the
	top-level directory after sub-make.
	(bootstrap-lisp): Pass an absolute file name as value of ${lisp}.

	* sed1v2.inp: Fix editing of the rule for ${libsrc}make-docfile.

2002-03-09  Eli Zaretskii  <eliz@is.elta.co.il>

	Add support for bootstraping Emacs:

	* sed1v2.inp: Edit the bootstrap-* targets.  Fix the mostlyclean
	target.

	* mainmake.v2 (maybe_bootstrap, bootstrap, bootstrap-lisp-1)
	(bootstrap-lisp, bootstrap-src, bootstrap-clean-before)
	(bootstrap-clean-after): New targets.
	(all): Depend on maybe_bootstrap.

2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>

	* sed1v2.inp: Delete _gdbinit in distclean target.

2001-12-09  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

	* COPYING: Moved back.

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

	* sed2.inp (HAVE_VFORK): Don't define: the fragment in sysdep.c
	which needed it is gone.

2001-11-29  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

	* COPYING: Removed.

2001-11-24  Eli Zaretskii  <eliz@is.elta.co.il>

	* mainmake.v2 (lispintro): New target.
	(all): Add lispintro.

	* sed6.inp (SHELL): Comment away, for lispintro.

2001-11-10  Eli Zaretskii  <eliz@is.elta.co.il>

	* sed6.inp (texinputdir): Add, for the lispref directory.

	* mainmake.v2 (all): Add lispref.
	(man lispref): Add lispref.

2001-10-20  Gerd Moellmann  <gerd@gnu.org>

	* (Version 21.1 released.)

2001-10-05  Gerd Moellmann  <gerd@gnu.org>

	* Branch for 21.1.

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

	* mainmake.v2 (install): Create site-lisp/subdirs.el if it is not
	already there.

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

	* sed2.inp: Ifdef away the test for !HAVE_MKTIME, to avoid parse
	error in "gcc -E -traditional" with GCC 3.0.

2001-04-02  Eli Zaretskii  <eliz@is.elta.co.il>

	* sedleim.inp (srcdir=): Edit @srcdir@ into an absolute file name
	of the leim subdirectory, so that EMACSLOADPATH doesn't break when
	titdic-convert chdirs into leim/quail.

2001-03-30  Eli Zaretskii  <eliz@is.elta.co.il>

	* sedleim.inp: Adapt to changes in leim/Makefile.in's $(TIT)
	target.

2001-03-01  Eli Zaretskii  <eliz@is.elta.co.il>

	* README: New file.

	* sed1.inp: Add copyright.
	* sed1v2.inp: Add copyright.
	* sed2.inp: Add copyright.
	* sed2x.inp: Add copyright.
	* sed3.inp: Add copyright.
	* sed3v2.inp: Add copyright.
	* sed4.inp: Add copyright.
	* sed5x.inp: Add copyright.
	* sed6.inp: Add copyright.
	* sedleim.inp: Add copyright.
	* sedlisp.inp: Add copyright.

2001-02-20  Eli Zaretskii  <eliz@is.elta.co.il>

	* mainmake.v2, mainmake: Add copyright.

2000-11-22  Eli Zaretskii  <eliz@is.elta.co.il>

	* sed2.inp (NSIG) [__DJGPP__ == 2 && __DJGPP_MINOR__ == 1]:
	Define; it is undefined in DJGPP v2.01.

2000-11-13  Eli Zaretskii  <eliz@is.elta.co.il>

	* sed2.inp (HAVE_MKSTEMP): Define.

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

	* sedleim.inp (RUN-EMACS): Remove EMACSLOADPATH setting as part of
	the command; use Make's "export EMACSLOADPATH=" instead.  Remove
	the handling of `command` expansion, leim/Makefile.in doesn't use
	that anymore.

2000-08-29  Eli Zaretskii  <eliz@is.elta.co.il>

	* sed2.inp (HAVE_INDEX, HAVE_RINDEX): Define.

2000-08-22  Eli Zaretskii  <eliz@is.elta.co.il>

	* mainmake.v2 (TAGS): Don't use [a-zA-Z]*, as it causes wildcard
	expansion to become case-sensitive and return all file names in
	upper case on plain DOS.

2000-08-05  Eli Zaretskii  <eliz@is.elta.co.il>

	* mainmake.v2 (src): Put gdb.tmp after -a, since djecho's -a
	switch requires an argument.

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

	* mainmake.v2 (src): Make the rule faster by using a single djecho
	command instead of multiple redir invocations.
	(install): Speed up by using a command.com's for loop.

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

	* sed3v2.inp: Define ALLOCA to an empty string.

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

	* sed1v2.inp: Put getloadavg.o into LIBOBJS, not GETLOADAVG_LIBS.

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

	* sed1v2.inp: Set LIBSOUND to an empty string.

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

	* sed2.inp: Define HAVE_STRUCT_TIMEZONE in src/config.h.

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

	* sed1v2.inp: Set GETLOADAVG_LIBS to getloadavg.o in src/Makefile.

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

	* sedlisp.inp (srcdir): Edit this variable.

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

	* sedlisp.inp: New file.

2000-05-18  Eli Zaretskii  <eliz@is.elta.co.il>

	* sed6.inp: Changes to allow "make foo.dvi" on DJGPP platforms:
	(ENVADD): Redefine as empty, to avoid requiring a Unixy shell.
	(TEXINPUTS): Use semi-colon; export explicitly.
	(MAKEINFO): Export explicitly.

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

	* mainmake.v2 (install): Install ebrowse.exe.

2000-04-14  Dave Love  <fx@gnu.org>

	* sed1v2.inp, sed1.inp: Add LIBS, LIBOBJS.

2000-03-13  Eli Zaretskii  <eliz@is.elta.co.il>

	* sed2.inp: Add PROTOTYPES and POINTER_TYPE, per the new
	config.in.

2000-01-27  Eli Zaretskii  <eliz@is.elta.co.il>

	* sed2.inp (HAVE_SETITIMER): Define.

1999-11-18  Eli Zaretskii  <eliz@is.elta.co.il>

	* sed2.inp (HAVE_TM_GMTOFF, HAVE_MBLEN): Define.

	* sed1v2.inp: Convert "LC_ALL=C ./temacs" to MS-DOS equivalent.

1999-07-29  Eli Zaretskii  <eliz@gnu.org>

	* sedleim.inp (SHELL, MAKESHELL): Use /xyzzy/command as the shell.

1999-07-12  Richard Stallman  <rms@gnu.org>

	* Version 20.4 released.

1999-07-01  Eli Zaretskii  <eliz@gnu.org>

	* mainmake.v2 (SHELL, MAKESHELL): Don't use /dos/command, it can
	invoke an incompatible version of COMAMND.COM.

1999-05-19  Eli Zaretskii  <eliz@gnu.org>

	* sed1v2.inp: Use -gcoff instead of -g in CFLAGS, for those who
	have GCC configured by default to use stabs, which unexec.c
	doesn't currently support.

1999-01-14  Eli Zaretskii  <eliz@gnu.org>

	* mainmake.v2 (install): Use update instead of sed to install fns.el.

1999-01-11  Eli Zaretskii  <eliz@gnu.org>

	* mainmake.v2 (install): Install fns.el in ../bin, since Emacs
	looks for it in exec-directory.

1999-01-07  Eli Zaretskii  <eliz@gnu.org>

	* sedleim.inp: New file, for configuring the leim directory.

	* mainmake.v2 (src): Build files in leim if leim/Makefile exists.
	(clean): Add clean in leim.

1998-11-08  Eli Zaretskii  <eliz@mescaline.gnu.org>

	* mainmake.v2 (SHELL, MAKESHELL): Don't use `override'.

1998-10-20  Eli Zaretskii  <eliz@mescaline.gnu.org>

	* mainmake.v2: Forcibly set SHELL and MAKESHELL to force Make to
	use COMMAND.COM as the shell.

1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>

	* Version 20.3 released.

1998-05-04  Eli Zaretskii  <eliz@mescaline.gnu.org>

	* mainmake.v2 (TAGS tags): Fix file name wildcards in lisp
	directory.

1998-04-13  Eli Zaretskii  <eliz@delysid.gnu.org>

	* mainmake.v2 (src): Replace topdir with top_srcdir in commands
	which generate gdb.ini.

1998-04-12  Eli Zaretskii  <eliz@delysid.gnu.org>

	* mainmake.v2 (version): Determine emacs-version from
	lisp/version.el.  Pass it to sub-Make's.

1998-04-05  Eli Zaretskii  <eliz@is.elta.co.il>

	* sed3v2.inp: When installing ${version},
	do it replacing @version@.

	* mainmake.v2 (version): Compute the version from lisp/version.el
	and pass to sub-Make's.  Pass top_srcdir to sub-Make's.

1997-11-20  Eli Zaretskii  <eliz@is.elta.co.il>

	* sed6.inp: New file, configures the man directory for MSDOS.

	* mainmake.v2 (man): New target to build the manual.
	(all): Add the man dependency.
	(install): Change bin\\nul to bin\nul.

1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* Version 20.2 released.

1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>

	* Version 20.1 released.

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

	* sed1v2.inp: Enlarge the stack size of temacs to 100KB.

1997-08-13  Eli Zaretskii  <eliz@psilocin.gnu.ai.mit.edu>

	* sed2.inp: (EMACS_CONFIGURATION): Set to i386-pc-msdosdjgpp.

1997-08-10 +03  Eli Zaretskii  <eliz@is.elta.co.il>

	* sed1v2.inp (CPPFLAGS, LDFLAGS): Edit to empty.

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

	* sed2.inp (HAVE_LOGB, HAVE_FREXP, HAVE_FMOD, HAVE_RINT)
	(HAVE_CBRT, HAVE_FPATHCONF, HAVE_SETRLIMIT): Defined.

	* sed1.inp, sed1v2.inp: Remove `stamp-oldxmenu' dependency, so
	MSDOS users won't need `touch' installed.

	* mainmake.v2 (TAGS, tags): Include new lisp subdirectories.

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

	* Version 19.33 released.

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

	* is_exec.c: Renamed from is-exec.c.

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

	* Version 19.32 released.

	* is-exec.c, sigaction.c: New files.

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

	* mainmake.v2 (TAGS): Make sure bin/etags.exe is current.  Make
	the rules always generate TAGS.

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

	* sed2.inp: Don't undef MULTI_FRAME.

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

	* Version 19.31 released.

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

	* sed1.inp: Replace `make-docfile' with `make-doc.exe'.  In case
	src/Makefile needs to rebuild `make-doc.exe', use one command per line.
	Undo the previous change.

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

	* sed1.inp: Change make-docfile to make-doc.exe in a second place.

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

	* mainmake.v2 (src): Create a file with sed commands instead of using
	a long sed command line (some versions of Sed don't handle that).
	(gdb): Merged back into src, undoing April 13 change.
	(install): Do use if statements, but not a loop.

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

	* mainmake.v2 (gdb): New target, broken out of src.
	(install): Use simple explicit copy commands, not a loop.

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

	* sed2.inp: Under DJGPP v2, use <sys/config.h> instead of most of
	config.h.in.

	* sed1v2.inp, sed3v2.inp, mainmake.v2: New files.

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

	* sed2.inp (LOCALTIME_CACHE, HAVE_TZSET): Define these.

1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* Version 19.30 released.

1995-11-21  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* sed3.inp: Alter test-distrib to test-dis.

1995-11-03  Karl Heuer  <kwzh@gnu.ai.mit.edu>

	* mainmake (install): Don't mv make-doc.exe into ../bin/.

1995-10-11  Kim Storm  <kfstorm@wombat.gnu.ai.mit.edu>

	* sed1.inp: Call make-doc.exe instead of make-docfile.

1995-06-08  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* sed2.inp: Define STDC_HEADERS.
	Undefine MULTI_FRAME, until somebody fixes msdos.h and msdos.c.

1995-01-20  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* sed3.inp: Fix sed append command to behave as intended.

1995-01-20  Morten Welinder  <terra@diku.dk>

	* sed3.inp: Delete mysterious dot.  Add comment to protect blank
	line at end of file.  Make sure make-docfile is compiled.

1995-01-10  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* sed3.inp: Use coff2exe on make-docfile.
	* sed1.inp: Not go32, which has problems with long arg lists.

1994-10-17  Morten Welinder  <terra@mole.gnu.ai.mit.edu>

	* sed1.inp: Handle "\t#"-style comments.
	(obj): Don't add any files -- now done in src/makefile.in.in
	(temacs): Don't depend on prefix-args.
	(DOC): Reflect makefile changes regarding two-batch run.

	* sed2.inp: Add comments showing how to use the system malloc.
	(EMACS_CONFIG_OPTIONS): Set though not useful.
	(HAVE_MKTIME): Define.

	* mainmake (clean): Add target.

	* sed1x.inp, sed2x.inp, sed5x.inp: New files for X configuration.


1994-07-14  Morten Welinder  (terra@diku.dk)

	* sed2.inp (HAVE_STRERROR): Define.

1994-07-08  Morten Welinder  (terra@diku.dk)

	* sed1.inp, sed2.inp: Use "m/intel386" instead of "m/dos386.h".

1994-06-01  Morten Welinder  (terra@diku.dk)

	* sed4.inp: New file for configuring src/paths.h.

1994-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)

	* Version 19.25 released.

1994-05-22  Morten Welinder  (terra@diku.dk)

	* sed1.inp: Adding dos-fns.elc to the set of lisp files was moved
	to src/makefile.in.in.

1994-05-20  Morten Welinder  (terra@tyr.diku.dk)

	* sed2.inp: Reflect change from CONFIGURATION to EMACS_CONFIGURATION.
	Also set it to correct three-part value.

1994-05-16  Morten Welinder  (terra@tyr.diku.dk)

	* Version 19.23 released.

	* sed1.inp: Don't use `+' in regexps as different stream
	editors interpret them differently.  Use `*' instead.

1994-05-12  Morten Welinder  (terra@diku.dk)

	* mainmake (install): Set the minimum stack (for running under
	DPMI) to 512K.  Avoid using wildcard for matching one file.

1994-05-08  Morten Welinder  (terra@diku.dk)

	* sed3.inp: Don't pass version to [ce]tags.

1994-04-30  Morten Welinder  (terra@diku.dk)

	* sed1.inp: don't comment out the inc-vers run as that
	does not exist anymore.
	Don't reset DEBUG_MOLE as that no longer is used.
	Identify the file being patched as src/...
	* sed2.inp: Identify the file being patched as src/...
	* sed3.inp: We don't have to have the version number in here
	anymore.  Instead we patch the way it is passed from make to
	the C compiler.

1994-04-29  Morten Welinder  (terra@diku.dk)

	* sed1.inp: Set CFLAGS=-O2, not -g.  Handle the new
	M_FILE, S_FILE, and SET_MAKE defines.  Get rid of ^Ms.

	* sed2.inp: We have bcmp.  Configuration is "msdos".
	Get rid of ^Ms.

	* sed3.inp: Set CFLAGS=-O2, not -g.  Correct for
	new configuration regarding utilities not to compile.
	Fix version number.  Get rid of ^Ms.

1994-01-08  Morten Welinder  (terra@diku.dk)

	* sed3.inp: improve make-compatibility by not using drive
	specifications and by not specifying an explicit shell.

1994-01-07  Morten Welinder  (terra@diku.dk)

	* sed1.inp: Incorporate the actions of patch1.
	* patch1: File deleted.

1993-01-05  Morten Welinder  (terra@diku.dk)

	* mainmake: New file, makefile for the main directory.

	* patch1: New file.  Context diff to turn src/makefile.in into
	a msdos version called makefile.

	* emacs.pif: New file, program information file for Emacs under
	Windows.  (This file contains non-printable characters.)

	* emacs.ico: New file, icon for Emacs under Windows.  It's so ugly
	that someone is bound to create a better.  Mail uuencoded icons
	to terra@diku.dk, but be prepared to sign a copyright disclaimer.
	(This file contains non-printable characters.)

	* sed3.inp: New file for changing lib-src/makefile.in into
	lib-src/makefile.

	* sed2.inp: New file for changing src/config.h-in into src/config.h

	* sed1.inp: New file for changing src/makefile.in.in into src/makefile

;; Local Variables:
;; coding: iso-2022-7bit-unix
;; End:

    Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001
	Free Software Foundation, Inc.
  Copying and distribution of this file, with or without modification,
  are permitted provided the copyright notice and this notice are preserved.