Fix brainos.
[emacs.git] / nt / ChangeLog
blob66e1ea154386e3831b21c4d8c6f5bd5ec907f673
1 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
3         * configure.bat: If their fc.exe returns a meaningful exit status,
4         don't overwrite src/config.h and src/epaths.h with identical
5         copies.
7         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
8         changes.  Add a pointer to another site with detailed configure
9         and build instructions.  Suggest to look at config.log when
10         configure fails.  Add MinGW Make 3.80 to the list of successful
11         combinations.
13         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
14         "-mcpu=i686".
16         * configure.bat: Update copyright years.
17         Delete config.log before doing anything else.
18         Write additional diagnostics to config.log in case of failures to
19         compile test programs, including the failed test program itself.
20         Add a test for support of -mtune=pentium4 switch to GCC; if it is
21         supported, set up MCPU_FLAG variable on the various Makefiles to
22         use that switch during compilations.  (This avoids GCC warning
23         about -mcpu being deprecated.)
25 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
27         * addsection.c (copy_executable_and_add_section): Pass non-zero
28         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
29         environment.  Print section names with %.8s.
30         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
31         only if non-zero.  All callers changed.
33 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
35         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
36         `const void *', for consistency with Posix.
38 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
40         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
42 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
44         * INSTALL: Add more pointers to ports of Unix tools to Windows,
45         and to the Emacs Wiki (which contains building instructions for
46         Windows).  Reword image library instructions and remove obsolete
47         incompatibility information.
49 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
51         * config.nt (HAVE_PWD_H): Undef.
53 2004-06-07  Juanma Barranquero  <lektu@terra.es>
55         * INSTALL: Clarify paragraph about compatibility between image
56         libraries and builds of Emacs with several compilers.
58 2004-06-06  Juanma Barranquero  <lektu@terra.es>
60         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
61         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
62         calling non-existent cmdproxy.exe on boostrappings after a
63         previous install followed by realclean.
65         * nmake.defs: Add quote in comment to resync font-locking.
67 2004-06-04  Juanma Barranquero  <lektu@terra.es>
69         * INSTALL: Reword the section on image support.  Add reference to
70         GnuWin32.  Mention problems when mixing binaries from different
71         compilers.
73 2004-05-06  Jason Rumney  <jasonr@gnu.org>
75         * configure.bat: Use -mno-cygwin to check for image libraries
76         when needed.
78 2004-05-03  Jason Rumney  <jasonr@gnu.org>
80         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
81         * makefile.def: Remove.
83         * nmake.defs (SYS_LDFLAGS): Add -nologo.
85         * makefile.w32-in (info-gmake, info-nmake): New targets.
86         (info): Use them.
88 2004-04-23  Juanma Barranquero  <lektu@terra.es>
90         * nmake.defs:
91         * gmake.defs:
92         * makefile.w32-in:
93         * makefile.def:
94         * makefile.nt: Add "-*- makefile -*-" mode tag.
96 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
98         * runemacs.c (WinMain): Let Emacs environment default to parent.
100 2004-03-11  Jason Rumney  <jasonr@gnu.org>
102         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
104 2004-03-10  Juanma Barranquero  <lektu@terra.es>
106         * makefile.w32-in (install): Don't try to copy
107         ../lib-src/fns-*.el, as it isn't used anymore.
109 2004-01-28  Peter Runestig  <peter@runestig.com>
111         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
113 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
115         * .cvsignore: Add `.arch-inventory'.
117 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
119         * inc/grp.h: New file.
121 2003-09-03  Peter Runestig  <peter@runestig.com>
123         * configure.bat: Create ``makefile'' in directories man, lispref
124         and lispintro.
126         * makefile.w32-in (force-info, info): New targets.
128         * envadd.bat: New file.
130         * multi-install-info.bat: New file.
132 2003-06-27  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
134         * config.nt (my_strftime): New define.
136 2003-02-01  Jason Rumney  <jasonr@gnu.org>
138         * configure.bat: Automatically detect libXpm.
139         Suppress compiler output when testing for image libraries.
140         Give names of un-found libraries in messages.
142 2003-01-31  Juanma Barranquero  <lektu@terra.es>
144         * configure.bat: Automatically detect giflib and tifflib.
146 2003-01-29  Jason Rumney  <jasonr@gnu.org>
148         * gmake.defs (CURDIR): Disable cygpath kludge.
150 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
152         * configure.bat: Avoid endless loop when configuring without image
153         support.
155 2003-01-26  Jason Rumney  <jasonr@gnu.org>
157         * configure.bat: Automatically detect jpeglib.
159 2003-01-25  Jason Rumney  <jasonr@gnu.org>
161         * configure.bat: Automatically detect libpng.
163 2003-01-21  Jason Rumney  <jasonr@gnu.org>
165         * icons/hand.cur: New file.
167 2003-01-21  David Ponce  <david@dponce.com>
169         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
171 2003-01-15  Andrew Innes  <andrewi@gnu.org>
173         * gmake.defs (CURDIR): Convert to native Windows format (with
174         forward slashes), to support building with Cygwin builds of make.
176 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
178         * nmake.defs:
179         * gmake.defs: Made changes so that Emacs would link with
180         WinMM.lib.  This change was required for my addition of a Windows
181         compatible implementation of play-sound-internal.
183 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
185         * emacs.rc: Version updated to 21.3.50.
187 2002-06-13  Jason Rumney  <jasonr@gnu.org>
189         * addpm.c (env_vars): Remove EMACSLOCKDIR.
191         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
192         (maybe-bootstrap-SH): New targets.
193         (all): Depend on maybe-bootstrap.
195 2002-05-03  Jason Rumney  <jasonr@gnu.org>
197         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
198         (sys_getpeername, fcntl): Declare as wrappers.
200 2002-04-10  Juanma Barranquero  <lektu@terra.es>
202         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
203         after compiling .el files.
205 2002-03-20  Jason Rumney  <jasonr@gnu.org>
207         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
208         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
210 2002-03-19  Kim F. Storm  <storm@cua.dk>
212         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
213         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
214         (HAVE_SYS_UN_H): Undef.
215         From David Ponce <dponce@voila.fr>.
217 2002-03-13  Jason Rumney  <jasonr@gnu.org>
219         * config.nt (STRFTIME_NO_POSIX2): Define.
221 2002-02-18  Jason Rumney  <jasonr@gnu.org>
223         * emacs.rc: Define VS_VERSION_INFO if not already.
224         Update version info.
226 2002-01-04  Andrew Innes  <andrewi@gnu.org>
228         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
229         pick up relevant bits of the Windows API definitions.
231         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
232         pick up relevant bits of the Windows API definitions.
234 2001-12-14  Andrew Innes  <andrewi@gnu.org>
236         * makefile.w32-in (bootstrap): Build addsection program before
237         bootstrap (required for post-processing temacs.exe).
239 2001-12-08  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
241         * COPYING: New file.
243 2001-12-03  Andrew Innes  <andrewi@gnu.org>
245         * makefile.w32-in (bootstrap-nmake):
246         (bootstrap-gmake): Extend bootstrap process to first do
247         bootstrap-clean in lisp dir and rebuild the DOC file.
248         (bootstrap): Do a "normal" make after the bootstrap work.
250 2001-11-20  Jason Rumney  <jasonr@gnu.org>
252         * INSTALL: Update table of versions of make that are suitable
253         for building Emacs, based on recent feedback.
255         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
257 2001-11-19  Andrew Innes  <andrewi@gnu.org>
259         * ftime-nostartup.bat: New file.
261         * ftime.bat: Don't include libc.lib for profiling - the profiler
262         corrupts part of memcpy.
264 2001-11-17  Jason Rumney  <jasonr@gnu.org>
266         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
267         expansion.  From Juanma Barranquero <lektu@terra.es>.
269 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
271         * (Version 21.1 released.)
273 2001-10-12  Andrew Innes  <andrewi@gnu.org>
275         * inc/pwd.h (uid_t, gid_t): New typedefs.
277 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
279         * Branch for 21.1.
281 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
283         * README: Update the address of the mailing list and subscription
284         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
286 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
288         * INSTALL: Suggest to avoid using WinZip.
290         * configure.bat: Make sure ../site-lisp exists; create if necessary.
292 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
294         * INSTALL: Mention that "make install" can be "nmake install".
296 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
298         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
299         since some versions of `mkdir' don't automatically create parent
300         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
302 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
304         * subdirs.el: New file.
306         * configure.bat: Copy subdirs.el to the site-lisp directory.
308         * makefile.w32-in (install): Copy subdirs.el to the installation
309         directory.
311 2001-06-20  Jason Rumney  <jasonr@gnu.org>
313         * runemacs.c (WinMain): Add quotes around command in case of spaces.
315 2001-06-01  Andrew Innes  <andrewi@gnu.org>
317         * gmake.defs (sh_output): Don't use $(warning ...) to output
318         messages, since that is not supported by GNU make 3.77.
320 2001-05-24  Jason Rumney  <jasonr@gnu.org>
322         * INSTALL: Clarify that building with MSVC requires nmake.
324 2001-05-17  Andrew Innes  <andrewi@gnu.org>
326         * gmake.defs (NEW_CYGWIN): Output message about spurious error
327         message that is to be ignored.
329 2001-05-13  Andrew Innes  <andrewi@gnu.org>
331         * TODO: Remove file, since it is completely out of date.
333         * README: Add copyright notice.
335         * INSTALL: Add copyright notice.
337 2001-04-18  Andrew Innes  <andrewi@gnu.org>
339         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
340         the environment.
342         * gmake.defs (SETLOADPATH): Remove definition.
343         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
344         environment.
346 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
348         * configure.bat: Make the checkw32api* labels be distinct in the
349         first 8 characters.
351 2001-03-17  Andrew Innes  <andrewi@gnu.org>
353         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
354         escaped quotes.
356         * gmake.defs (DEBUG_LINK): New macro.
357         (LINK_FLAGS): Use it.
359         * nmake.defs (DEBUG_LINK): New macro.
360         (LINK_FLAGS): Use it.
362 2001-03-06  Andrew Innes  <andrewi@gnu.org>
364         * INSTALL: Add --ldflags to configure line for building with
365         recent versions of Cygwin GCC.
367 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
369         * configure.bat: Use correct options when compiling a test program
370         with Cygwin.  From David Ponce <dponce@voila.fr>.
372 2001-02-24  Andrew Innes  <andrewi@gnu.org>
374         * _emacs: Remove obsolete file.
376         * emacs.bat.in: Remove obsolete file.
378         * debug.bat.in: Remove obsolete file.
380         * inc/sys/socket.h: Add copyright notice.
382         * paths.h: Add copyright notice.
384         * makefile.nt: Update copyright notice.
386         * makefile.def: Update copyright notice.
388         * configure.bat: Update copyright notice.
390         * nmake.defs: Add copyright notice.
392         * gmake.defs: Add copyright notice.
394         * makefile.w32-in: Add copyright notice.
396 2001-02-05  Andrew Innes  <andrewi@gnu.org>
398         * nmake.defs (THISDIR): New definition.
400         * gmake.defs (THISDIR): New definition.
402 2001-02-03  Andrew Innes  <andrewi@gnu.org>
404         * configure.bat: Leave a space before >> only when there is a
405         preceding digit.  Add a comment about the importance of this.
407         * README: Replace outdated information.
409         * INSTALL (Trouble-shooting): Add note about need to specify extra
410         compiler flags with recent Cygwin ports of gcc.
412 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
414         * configure.bat: Use "rm -f" instead of "del /f", as the latter
415         is not supported by Windows 9X's COMMAND.COM.
417 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
419         * configure.bat: Make sure redirection is preceeded by a blank, to
420         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
421         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
423 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
425         * INSTALL: Copy the table of tested combinations of development
426         tools from confuigure.bat.  Add suggestion to install Bash on
427         Windows 9X.
429         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
430         lisp/Makefile.in instead.  Use "rm -f" where more than one file
431         needs to be deleted, since command.com in Windows 9X doesn't grok
432         more than one argument.
434 2001-01-24  Andrew Innes  <andrewi@gnu.org>
436         * makefile.w32-in (cleanall-other-dirs-nmake):
437         (cleanall-other-dirs-gmake): New targets.
438         (cleanall): Invoke them.
440 2001-01-19  Andrew Innes  <andrewi@gnu.org>
442         * addpm.c (env_vars): Add a version-independent site-lisp
443         directory to EMACSLOADPATH, after the version dependent one.
445 2001-01-06  Andrew Innes  <andrewi@gnu.org>
447         * README: Update info about compilers.
449         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
450         select correct rule for invoking make in another directory.  Amend
451         rules accordingly.
452         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
454         * nmake.defs (EMACS_ICON_PATH): Delete definition.
455         (COMPILER_TEMP_FILES): New definition.
456         (MAKETYPE): New definition.
458         * gmake.defs (EMACS_ICON_PATH): Delete definition.
459         (COMPILER_TEMP_FILES): New definition.
460         (MAKETYPE): New definition.
462         * makefile.def (EMACS_ICON_PATH): Delete definition.
464         * configure.bat: Be careful not to add trailing spaces when
465         outputting to config.settings.
467 2001-01-02  Andrew Innes  <andrewi@gnu.org>
469         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
470         than the function.
472 2000-12-17  Andrew Innes  <andrewi@gnu.org>
474         * makefile.w32-in (install): Copy directories to the correct
475         places.
476         (real_install): Remove obsolete target.
478 2000-12-06  Andrew Innes  <andrewi@gnu.org>
480         * nmake.defs (CURDIR): New define.
481         (INSTALL_DIR): Use it.
483         * gmake.defs (NEW_CYGWIN): New define.
484         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
485         so we need to adjust how we escape embedded quotes.
486         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
487         relative to $(CURDIR).
489 2000-11-25  Jason Rumney  <jasonr@gnu.org>
491         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
493 2000-10-17  Andrew Innes  <andrewi@gnu.org>
495         * makefile.w32-in (recompile): New target to recompile lisp
496         directory.
497         (recompile-CMD, recompile-SH): New support targets.
499 2000-09-24  Jason Rumney  <jasonr@gnu.org>
501         * config.nt (NO_RETURN): Define it.
503 2000-09-17  Andrew Innes  <andrewi@gnu.org>
505         * gmake.defs: Revert to Unix line endings.
507         * nmake.defs: Revert to Unix line endings.
509 2000-09-16  Andrew Innes  <andrewi@gnu.org>
511         * gmake.defs (SETLOADPATH): Change definition to work from any
512         subdirectory.
514 2000-09-14  Andrew Innes  <andrewi@gnu.org>
516         * makefile.w32-in: Revert to Unix line endings.
518 2000-09-14  Andrew Innes  <andrewi@gnu.org>
520         * INSTALL: Add note about expected error messages when configure
521         is run.
523         * configure.bat: Simplify the generation of makefiles (don't need
524         to generate various top-level targets that invoke make in other
525         directories).
527         * gmake.defs (SHELLTYPE): New define.
528         (SETLOADPATH): New define.
530         * nmake.defs (SHELLTYPE): New define.
532         * makefile.w32-in: Standardize indentation somewhat.
533         Add bootstrap support.
534         Pass $(MFLAGS) when invoking make recursively.
535         Add shell-specific variants of top-level targets that invoke make
536         recursively in other directories, and add necessary computed
537         dependencies.
539 2000-09-03  Andrew Innes  <andrewi@gnu.org>
541         * makefile.w32-in: Change to DOS line endings.
543         * configure.bat: Change to DOS line endings.
545         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
546         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
548         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
549         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
551         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
552         -D_ANONYMOUS_STRUCT on compile line.
553         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
554         (ARCH_CFLAGS): Change optimization flags to -O2.
555         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
556         (ARGQUOTE, DQUOTE): New defines.
558         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
559         -D_ANONYMOUS_STRUCT on compile line.
560         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
561         (ARGQUOTE, DQUOTE): New defines.
563 2000-08-22  Andrew Innes  <andrewi@gnu.org>
565         * configure.bat: New file.
567         * gmake.defs: New file.
569         * nmake.defs: New file.
571         * makefile.w32-in: New file.
573         * INSTALL: Rewrite to match new configure process.
575         * config.nt [WINDOWSNT]: Don't declare getenv.
576         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
578         * addpm.c (main): Accept /q to mean install based on addpm's
579         location without asking.  Remove reference to emacs.bat which is
580         now obsolete.
582         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
584         * paths.h: Use forward slash as directory separator in all path
585         definitions.
586         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
588         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
590         * runemacs.c: Remove WIN32 define.
592         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
593         not defined.
595         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
596         (fd_set): Define to new name, after including winsock.h, so we can
597         provide our own implementation.
599 2000-07-05  Andrew Innes  <andrewi@gnu.org>
601         * ebuild.bat: Add support for specifying make arguments.
603         * makefile.nt: Add support for `bootstrap' and related targets.
605 2000-06-11  Jason Rumney  <jasonr@gnu.org>
607         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
609 2000-02-06  Andrew Innes  <andrewi@gnu.org>
611         * inc/sys/time.h: Add inclusion protection.
613         * makefile.def (SYS_LDFLAGS): Add -nologo.
615 1999-11-22  Andrew Innes  <andrewi@gnu.org>
617         * install.bat: Pass on command line arguments to make.
619         * makefile.nt (fast_install): Bring commands up-to-date, and fix
620         typo.
622 1999-11-21  Andrew Innes  <andrewi@gnu.org>
624         * makefile.nt (all): Build leim if present.
625         (install): Install leim if present.
626         (clean): Clean leim if present.
628         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
629         definition.
631         * emacs.bat.in (EMACSLOADPATH): Include leim.
633 1999-07-12  Richard Stallman  <rms@gnu.org>
635         * Version 20.4 released.
637 1999-06-16  Andrew Innes  <andrewi@gnu.org>
639         * emacs.rc: Use an icon with a transparent background, to be in
640         keeping with other applications.
642 1999-06-03  Andrew Innes  <andrewi@gnu.org>
644         * preprep.c: Fix typo.
646 1999-05-02  Andrew Innes  <andrewi@gnu.org>
648         * config.h: Remove obsolete file.
650         * preprep.c (copy_executable_and_move_sections): Ifdef out a
651         couple of unused switch cases that aren't defined on all
652         platforms.
654         * ftime.bat: Add another variation of the profile command, which
655         only profiles extended commands.
657 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
659         * cmdproxy.c (main): Fix parens.
661 1999-03-25  Andrew Innes  <andrewi@gnu.org>
663         * cmdproxy.c (main): Call GetShortPathName to normalize program
664         names for comparison.
666 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
668         * makefile.def: Compile multiple .c files when possible.
669         Use BLD instead of assuming i386.
670         * makefile.nt: Remove common multiple file compilation commands.
672 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
674         * cmdproxy.c (main): Add missing parens.
676 1999-02-20  Andrew Innes  <andrewi@gnu.org>
678         * preprep.c: New program to allow dumped image to be profiled.
680         * makefile.nt (preprep): New target.
681         (ALL): Build it.
683         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
685         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
686         Change prep options to profile libc functions and skip the startup
687         code.
689 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
691         * makefile.nt: Create installation directory as first step.
693 1999-01-31  Andrew Innes  <andrewi@gnu.org>
695         * addsection.c: (ROUND_UP_DST_AND_ZERO): Renamed from
696         ROUND_UP_DST.  Zeroes the alignment slop.
697         (copy_executable_and_add_section): Update the
698         SizeOfHeaders field properly.
700 1999-01-27  Andrew Innes  <andrewi@gnu.org>
702         * makefile.nt: Do make version comparison as strings.
704 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
706         * runemacs.c (WinMain): Pass explicit environment block to
707         CreateProcess, to work around a bug in Windows 95/98.
709 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
711         * icons: New directory with Davenport's icons.
712         * icons/sink.ico: Renamed from emacs.ico.
714         * makefile.nt (install, fast_install): Install Windows icons
715         into etc/icons.
717         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
719 1999-01-17  Andrew Innes  <andrewi@gnu.org>
721         * makefile.nt: (ALL): List top-level targets.
722         (addsection): New top-level target.
723         (install): Copy fns-*.el to bin directory.
725         * addsection.c: New program to add static heap section to
726         temacs.exe after linking, in support of new unexec method.
728 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
730         * cmdproxy.c (spawn): Pass directory for child as parameter.
731         (main): Save startup directory to give to spawn, then change
732         directory to location of .exe in order not to prevent startup
733         directory from being deleted.
735 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
737         * makefile.nt: Do string comparision of _NMAKE_VER.
739 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
741         * config.nt (LOCALTIME_CACHE): Define.
743 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
745         * install.bat: Convert to DOS format.
747 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
749         * cmdproxy.c (main): Set environment size only when running
750         command.com.
752 1998-11-03  Theodore Jump  <tjump@tertius.com>
754         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
755         (DEL_TREE): Use rd instead of rmdir.
756         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
757         * makefile.nt: Compile multiple source files when possible.
759 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
761         * cmdproxy.c (main): Treat command line options as case-insensitive.
763 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
765         * Version 20.3 released.
767 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
769         * addpm.c (main): Explicitly check result of message box for OK.
771 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
773         * inc/sys/file.h (D_OK): Define new macro.
775 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
777         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
779 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
781         * emacs.rc (VS_VERSION_INFO): Define.
783 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
785         * makefile.nt (emacs.bat, debug.bat): Create them in the
786         installation directory.
788 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
790         * ddeclient.c: New file.  (Support program for performing limited
791         interprocess communication on Windows.)
793         * makefile.nt: Build ddeclient.
795         * cmdproxy.c (main): Only set environment size for real shell, and
796         provide extra directory argument, when running on Windows 95.
798 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
800         * cmdproxy.c (fail): Exit with a negative return value.
801         (spawn): Return subprocess return code as an argument.
802         Explicitly copy environment block.
803         (main): Update to use return value argument with spawn.
804         Retry if spawn failed when a subshell was not tried.
806         * config.nt: Include new macros from src/config.in.
807         (GNU_MALLOC, REL_ALLOC): Define.
808         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
809         (RE_TRANSLATE): Use char_table_translate.
811         * makefile.def (CP_DIR): Preserve attributes.
813         * makefile.nt (clean): Delete patch generated files, optimized
814         build directory.
816 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
818         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
820 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
822         * Version 20.2 released.
824 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
826         * Version 20.1 released.
828 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
830         * debug.bat.in: New file.
831         * makefile.nt (debug.bat): New target.
833 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
835         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
836         Quote group name.  Allow different icons to be specified.
838         * cmdproxy.c (get_env_size): New function.
839         (spawn): Explicitly pass in environment when creating subprocess.
840         (main): Cleaup error messages.
841         Specify dynamically sized environment block for real shell.
842         Pass on unhandled switches to real shell.
843         Quote program name.
845         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
846         directory.
847         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
849         * runemacs.c (WinMain): Allow Emacs process to be started with
850         high or low priority.
852         * emacs.bat.in: Remove OS dependent operations.
854 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
856         * addpm.c (env_vars): No longer set INFOPATH.
858         * cmdproxy.c (get_next_token): Null terminate token returned.
860         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
862 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
864         * addpm.c (env_vars): Set SHELL to cmdproxy.
865         (main): Initialize idDde to 0.
866         Determine emacs_path from module file name.
867         Prompt for install.
869         * makefile.def (MSVCNT11): Conditionally define it.
870         (BASE_LIBS): Do not use oldnames.lib.
871         (SYS_LDFLAGS): Use pdb files.
872         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
873         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
874         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
876         * makefile.nt (ALL): Build cmdproxy.
877         (cmdproxy): New target.
878         (install): Install cmdproxy.
880         * ftime.bat, debug.bat, cmdproxy.c: New files.
882 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
884         * inc/sys/socket.h: (shutdown): Define.
885         (sys_shutdown): Export.
887 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
889         * config.nt (RE_TRANSLATE): Copy definition from config.in.
891 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
893         * config.nt: Update file comments.
894         Update undefs added/removed in src/config.in.
896 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
898         * makefil.def, emacs.bat: Use windows95 and windowsnt instead
899         of win95 and winnt, respectively.
901 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
903         * makefile.nt (real_install): Create site-lisp in installation dir.
904         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
905         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
907 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
909         * Version 19.33 released.
911 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
913         * runemacs.c (WinMain): Put a space between the binary and its args.
915 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
917         * Version 19.32 released.
919 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
921         * makefile.nt (clean): Use OBJDIR macro.
923 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
925         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
926         Not defined by default.
927         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
928         (WinMain): Convert backslashes to slashes in env var values.
930         * addpm.c (env_vars): Use slashes, not backslashes.
932 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
934         * Version 19.31 released.
936 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
938         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
939         undo settings afterwards.
941 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
943         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
944         environment variable.
946 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
948         * install.bat: Allow for optimized build.
949         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
950         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
952 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
954         * addpm.c (REG_ROOT): Don't use a trailing backslash.
955         (env_vars): Rename field emacs_path to emacs_dir.
956         (main): Add link to runemacs instead of emacs.
958         * install.bat: Check if INSTALL_DIR is passed as an argument.
960         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
962         * makefile.nt: Build and install runemacs.exe.
964         * runemacs.c: New file.
966         * config.w95: File removed.
968         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
969         inc/sys/socket.h, inc/sys/time.h: New header files.
971         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
973 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
975         * makefile.def (DEL): Defined.
976         (DEL_TREE) [win95]: Defined.
977         (SYS_LDFLAGS): Set executable versions to 3.10.
979         * makefile.nt: Change uses of del to $(DEL).
981 1996-01-17  Erik Naggum  <erik@naggum.no>
983         * All files: Update FSF's address in comment preamble.
985 1996-01-03  George V. Reilly  <georger@microcrafts.com>
987         * emacs.ico: Now the proverbial kitchen sink icon.
989 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
991         * Version 19.30 released.
993 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
995         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
997         * makefile.nt (install, fast_install, real_install, clean):
998         Don't use switches to del not supported by Win95.
1000 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
1002         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
1003         (install, fast_install): Change same-dir test to create test file in
1004         installation tree and thereby support read-only shares.
1005         (clean): Remove .pdb files.
1007         * makefile.def (NTGUI): New macro.
1008         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
1010         * config.nt, config.w95: Update to latest src/config.in.
1012         * addpm.c (env_vars): New variable.
1013         (add_registry): New procedure.
1014         (main): Use values of configuration environment variables from
1015         the registry if defined, the process environment otherwise.
1017 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
1019         * Version 19.29 released.
1021         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
1023 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
1025         * makefile.nt: Define .c to .obj suffix rule.
1026         (addpm.obj): Compile directly, use CFLAGS.
1027         (addpm.exe): Link from addpm.obj.
1029         * makefile.def (MSVCNT11): Defined.
1030         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
1031         (CFLAGS_COMMON): Defined.
1032         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
1034 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
1036         * emacs.bat.in: Renamed from emacs.bat.
1037         (emacs_dir): Renamed from emacs_path.
1038         Definition removed.
1040         * addpm.c: New file.
1041         * makefile.nt (ALL,addpm,addpm.exe,addpm.obj): Defined.
1042         (all): Depend upon $(BLD) and $(ALL).
1043         (install): Depend upon emacs.bat.
1044         Create program item for Emacs.
1045         (clean): Delete obj.
1046         (emacs.bat): Defined.
1047         * makefile.def (EMACS_ICON_PATH,ADDPM): Defined.
1049 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
1051         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
1052         Add carriage returns; necessary for batch files on Win95.
1054 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
1056         * config.w95: Created.
1057         * config.h: Changed to config.nt.
1059         * makefile.nt (SUBDIRS): Commented out.
1060         (all,install,clean): Expand for-loops.
1061         (BUILD_CMD,INSTALL_CMD,CLEAN_CMD): Defined.
1063         * makefile.def (SYS_LIB_DIR,SYS_INC_DIR): Undefined.
1064         (ARCH): New definition.
1065         (CPU,CONFIG_H,OS_TYPE): Defined.
1066         (INCLUDE,LIB): Checked if valid.
1067         (ntwin32.mak): Included.
1068         (AR,CC,LINK): New definition.
1069         (ADVAPI32,libc,BASE_LIBS): Defined.
1070         (SYS_LDFLAGS): New definition.
1071         Update comments and preprocessor conditionals.
1073         * emacs.bat (SHELL): Conditionally defined.
1074         (HOME): Conditionally defined.
1075         (emacs_path,HOME): Update comments.
1076         Turn off all echo.
1078 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
1080         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
1081         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
1082         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
1083         inc/sys/param.h: Removed carriage-returns.
1085 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
1087         * makefile.def (CVTRES): Defined.
1089         * emacs.ico, emacs.rc: New files by Kevin Gallo.
1091 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
1093         * src: Remove directory.
1095         * src\config.h, src\paths.h: Moved to parent dir, src removed.
1097 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
1099         * makefile.def (INSTALL_DIR): Changed to generic directory.
1101         * emacs.bat: Added arguments when emacs.exe invoked.
1103         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
1105 1994-12-13  voelker  <voelker@cs.washington.edu>
1107         * makefile.def (CC): In configuration section.
1108         (COMPAT_LIB): Defined.
1110 1994-11-01  voelker  <voelker@cs.washington.edu>
1112         * src/paths.h: New file.
1114         * src/config.h: New file.
1116         * inc/pwd.h: New file.
1118         * inc/sys/dir.h: New file.
1120         * inc/sys/file.h: New file.
1122         * inc/sys/ioctl.h: New file.
1124         * inc/sys/param.h: New file.
1126         * todo: New file.
1128         * README: New file.
1130         * makefile.nt: New file.
1132         * makefile.def: New file.
1134         * install.cmd: New file.
1136         * INSTALL: New file.
1138         * fast-install.cmd: New file.
1140         * emacs.cmd: New file.
1142         * ebuild.cmd: New file.
1144         * _emacs: New file.
1146 ;; Local Variables:
1147 ;; coding: iso-2022-7bit
1148 ;; End:
1150     Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001
1151         Free Software Foundation, Inc.
1152   Copying and distribution of this file, with or without modification,
1153   are permitted provided the copyright notice and this notice are preserved.
1155 ;;; arch-tag: b3d2c29c-04a0-45d0-b52d-57354711c414