XEmacs / nt / ChangeLog

1998-06-08  Kirill M. Katsnelson  <>

	* config.h: Undefined DONT_ENCAPSULATE.
	Defined ENCAPSULATE_* for fopem, open, rename and mkdir.
	Removed MS-DOS code remains.

1998-06-03  Rick Rankin  <>

	* Makefile.cygwin: created to compile runemacs.c. This should
	probably have a, but...

	* runemacs.c: modified to check to see if xemacs is a symbolic
	link when compiled under Cygwin.

1998-05-31  Kirill M. Katsnelson  <>

	* xemacs.mak: Added lib-src/wakeup.exe

1998-05-30  Kirill M. Katsnelson  <>

	* xemacs.mak: Added rules for hexl.exe, movemail.exe, mmencode.exe
	sorted-doc.exe, etags.exe

1998-05-30  Kirill M. Katsnelson  <>

	* xemacs.mak: Support building InfoDock, with INFODOCK=1 macro
	in the command line.

1998-05-26  Kirill M. Katsnelson  <>

	* inc/sys/dir.h: Removed #ifndef WINDOWSNT around the code which
	should be compiled in (sic!).
	Removed 'extern' before function prototypes.

1998-05-20  Kirill M. Katsnelson  <>

	* xemacs.mak: Unified -nologo compiler switch handling and lib-src 
	programs build (only make-docfile currently, adding other tools

1998-05-23  Kirill M. Katsnelson  <>

	* xemacs.mak: Added HAVE_DIALOGS macro, and dialog-*.* files to
	docfile creation and compilation.
	Defaulted HAVE_MSW to 1.
	Changed lib-src references to be relative to $(XEMACS)/, not ../

1998-05-16  Kirill M. Katsnelson  <>

	* xemacs.mak: Removed inline.{c,obj}. It did buy nothing.

1998-05-15  Kirill M. Katsnelson  <>

	* xemacs.mak: Comment out dialog.{c,obj} from build.

1998-05-11  Jonathan Harris  <>

	* nt/config.h:
	Unconditionally define new HAVE_DRAGNDROP.

1998-05-10  Kirill M. Katsnelson  <>

	* xemacs.mak: Added dragdrop.{c,obj}

1998-05-08  Kirill M. Katsnelson  <>

	* config.h (enum_field): Redefine to be unsigned int.

1998-05-07  Kirill M. Katsnelson  <>

	* xemacs.mak: Really honor minimal tagbits, indexed lrecord and
	union type.

1998-05-03  Kirill M. Katsnelson  <>

	* inc/sys/socket.h: Removed encapsulating definitions for Winsock

1998-05-04  Kirill M. Katsnelson  <>

	* xemacs.mak: Defined PATH_PROGNAME and	PATH_VERSION C macros.
	Make _DEBUG defined only when DEBUG_XEMACS.

1998-04-26  Kirill M. Katsnelson  <>

	* xemacs.mak: Added glyphs-eimage.{c,obj}

1998-04-20  Kirill M. Katsnelson  <>

	* xemacs.mak: Support "Don't panic, I will restart make" exit code.
	Extra checks for externally specified X{PM,11}_DIR.
	Proper quoting to allow spaces in these paths.
	Conduct all config checks at once.
	New option VERBOSECC. When non-zero, C compiler echoes its
	commands. When zero, only name of the file being compiled is
	echoed. Default is 0 (do not echo).

1998-04-17  Jonathan Harris <>

	* README: Documented new msvc build procedure, including XPM

	* xemacs.mak: Added XPM and TOOLBARS support for native msvc

	* xpm.mak: New file
	Makefile for building xpm library under msvc. Hopefully this
	will be part of future xpm distributions.

1998-04-10  Kirill M. Katsnelson  <>

	* config.h: Do not USE_ASSERTION when DEBUG_XEMACS is not

	* xemacs.mak: Added new file process-nt.c

1998-04-07  Kirill M. Katsnelson  <>

	* xemacs.mak: Added build options which can be defined in nmake
	command line (defaults are parentheses):
	HAVE_MSW=0/1	(0)	Build with native GUI
	HAVE_X=0/1	(0)	Build with X-Windows
				** At least one must be defined
	X11_DIR=path	()	Path to the root dir of X11R6 installation
				** Must be defined when HAVE_X=1
	HAVE_MULE=0/1	(0)	Compile in MULE
	HAVE_MSW_C_DIRED=0/1(1)	Compile in fast dired
	PATH_PACKAGEPATH=path	Package search path
	DEBUG_XEMACS=0/1 (1)	Compile with symbols, assertions and
				extra debugging checks
	GUNG_HO=0/1 (none)	When specified, overrides the above two.
	: Added output of a configuration report
	: Added copyright notice.
	: Deleted remains of ImageMagick.
	(distclean): Do not use mskedepend
	(install): echo "Not yet implmented".

1998-04-05  Kirill M. Katsnelson  <>

	* config.h (enum_field): Borrow new definition from

1998-04-01  Kirill M. Katsnelson  <>

	* config.h: Patial sync-up with


	* xemacs.mak: Adds glyphs-msw.c and imgproc.c and reflects
	alterations to package_path in nt/xemacs.mak.

1998-03-24  Kirill M. Katsnelson  <>

	* xemacs.mak (dump-xemacs): Replaced use of `touch' with `echo'.

1998-03-20  Kirill M. Katsnelson  <>

	* xemacs.mak: Removed all references to deleted dgif_lib.{c,obj},
	gif_err.{c,obj} and gifalloc.{c,obj}. New image support is not
	compiled in yet.

1998-03-19  Kirill M. Katsnelson  <>

	* xemacs.mak: HAVE_FILE_CODING removed: it is no longer an option, 
	since file I/O depends on it, and defined unconditioanlly in
	Added -nologo switch to different tools here and there.
	Suppressed some irrelevant make output.

1998-02-28  Kirill M. Katsnelson  <>

	* xemacs.mak: Defined HAVE_FILE_CODING variable, an equivalent of
	--with-file-coding configure option. Default is yes.

1998-03-13  Kirill M. Katsnelson  <>

	* xemacs.mak (update-elc): Copy Installation.el to $(LISP)

	* Installation.el: New file, copied by xemacs.mak during build.

Fri Feb 20 21:22:34 1998  Darryl Okahata  <>

	* xemacs.mak: Added entry for src/dired-msw.c.  Use of the
	  dired-in-C enhancements is optional, and is determined by
	  HAVE_MSW_C_DIRED.  See comments in xemacs.mak.

1998-02-18  Kirill M. Katsnelson  <>

	* xemacs.mak: Fixed lost docstrings

1998-01-28  Jonathon Harris  <>

	* xemacs.mak: Updated accordingly.
	Creates the MSVC browse info immediately after the link.

1997-12-29  Kirill M. Katsnelson  <>

	* config.h: Suppressed MSVC warning 'relational' : signed/unsigned

	* config.h: INLINE defined to __inline for MSVC compilers >= 2.x

1997-12-26  Kirill M. Katsnelson  <>

	* xemacs.mak: added menubar-msw.c, menubar.c

	* xemacs.mak: scrollabrs and menubars are rearranged properly
	  under different ifdef'd secions, so for example menubar.obj goes
	  to always compiled section, and menubar-msw.obj is built only when

	* xemacs.mak: Compiler warning flag definition moved to a macro
	  CPP_WARN_FLAGS. Redefined from -w to -W3 (Doh!).

1997-12-11  David Hobley <>

        * Added support for auto generation of puresize-adjust.h
	  in xemacs.mak. Also created new file puresize-adjust.h to copy
 	  into src on initial build.

Mon December 08 1997

	* xemacs.mak: added profile.c, removed event-unixod.c
	* xemacs.mak: removed dangerous defines _IX_86, _X86_,
	* config.h: removed #define HAVE_UNIXOID_EVENT_LOOP

Thu December 04 1997
	* xemacs.mak: Define DEBUG_XEMACS when compiling with debug.

Tue November 29 12:29:33 1997 davidh

	* xemacs.mak and config.h updated to provide ability to
	  specify DEBUG mode from the xemacs.mak file.

Mon December 01 1997 jhar

	* msw-init.el: Provide default bindings for cut, paste, copy and undo

	* event-msw.c, event-msw.h, frame-msw.c, msw-proc.c:
	  - Implemeted simple emacs_mswindows_event_pending_p().
	  - Fixed deleting frames.
	  - Rewrote timeout code, eliminating "!NILP(rest)" bug.
	  - Special processing for 'Ctrl-@' keystroke.
	  - Support for some new keysyms.
Mon December 01 1997 jhar

	* xemacs.mak:
	  - Automatically copy changed include files from \nt to \src.
	  - Corrected some DOC_SRC* lists.
Tue November 18 21:45:06 1997 davidh

	* xemacs.mak updated to remove dependency on startup.elc
	  HAVE_IMAGEMAGICK added for X build.

Thu September 25 23:06:44 1997 davidh

	* xemacs.mak updated to make the build as simple as typing
	  nmake -f xemacs.mak. Also support for native gui included 
	  which should mean the w32 directory is no longer required.

	* config.h synced with from 20.3-b2

	* synced in changes to support native gui.

Thu September 25 23:06:44 1997 davidh

	* August Hill provided a patch to xemacs.mak to greatly simplify
	  the build - the DOC file gets created correctly. 

Tue September 22 23:06:44 1997 davidh

	* August Hill provided some more patches - to expand ~ correctly
          and to correctly deal with drive letters in the path.

	* emacs.c patched to call init_ntproc()

Tue July 15 19:32:21 1997 davidh

        * August Hill provided some more patches to make things better
          - there is a workaround for dired to make the ^M's disappear
          - a patch to fix shell-command

Tue July 08 22:01:36 1997 davidh

        * #ifdef'd call to vfork and replaced with spawn as per GNU Emacs;
          as a result, removed /force - XEmacs now links normally.

Thu June 31 21:16:21 1997 davidh

	* nt/TODO created.

	* nt/X11.patch created to help with the X build.
	* August Hill provided:
 	  a patch to fix the _WRETCODE undefined symbol,
	  a patch to fix a problem with dired

	  and generally helped clarify the build instructions.

 	* Synced with 20.3b10 (Athens).

	* Made DIRECTORY_SEP be '\\'. Until I can change all code to
          use the macro, I decided this would be easiest.

	* Modified src/fileio.c to only open files in O_BINARY. This
	  causes files to be opened and written without automatically 
	  writing ^M 's to the end of each line. MULE ought to sort this
          in theory, but I am less than convinced.

	* Updated the nt/README to provide a little more help.

Thu May 29 23:11:21 1997 davidh

	* Synced with 20.3b2.

	* Removed nt/README.src, nt/src.m.windowsnt.h nt/src.s.windowsnt.h.

	* Updated README from marcpa.

	* Added example and site.def files for X.

	* Added sed.exe into nt/.

	* Modified nt/xemacs.mak to pass correct flags to lwlib compile.

	* Added extra .elc files to ensure make-docfile gets all symbols.

	* Modified balloon_help.c to compile (#if'd max definition)

	* Modified src/event-Xt.c so as not to add signal_event_pipe to
          be selected on - this is a hack until I can work out a better
          way. Thanks to Ben Wing for help on this.

Thu Mar 27 20:56:21 1997  marcpa  (marcpa at MARCPA)

	* Synced with 20.1b9.

Sun Mar 16 00:32:15 1997  marcpa  (marcpa at MARCPA)

	* lisp/eterm/README.term is truncated: is it just me (because
	I'm on NT) or everyone else sees this ?
	Answer: it is because it contains a ^Z embedded in it, therefore
	it needs to be inserted in binary mode in CVS.

Thu Mar 13 00:19:25 1997  marcpa  (marcpa at MARCPA)

	* At end of compilation, there are some unresolved symbols: 

link.exe @C:\TEMP\nma00115.
sysdep.obj : error LNK2001: unresolved external symbol _vfork
../src/temacs.exe : warning LNK4088: image being generated due to /FORCE
option; image may not run

Wed Mar 12 23:18:53 1997  marcpa  (marcpa at MARCPA)

	* Need to copy the nt/inc directory David originally submitted or
	NT code won't compile.

	* Need to copy nt/{config.h,paths.h,ad2c.sed,xemacs.mak} in src.

	* Had to modify XEmacs sources here and there : see the diffs
	between NT_FIRST_COMPILE and V20_1_beta9.

	* Needed to patch X11R6.3 sources: (include/x11/Xmd.h:155) BOOL is
	already defined by Windows and is a long, while X wants it to be
	an unsigned char.

--- Xmd.h~	Thu Jun 08 23:20:40 1995
+++ Xmd.h	Sun Mar 16 13:09:10 1997
@@ -150,8 +150,9 @@
 typedef CARD16		BITS16;
 typedef CARD8		BYTE;
+#ifndef WIN32
 typedef CARD8           BOOL;

	* cpp.exe not used: cl.exe from VC++4.2 seems to handle everything


Compilation with nmake -f xemacs.mak.

Using X11R6.3 for NT.

Work started with 20.1b2.

Local Variables:
mode: change-log