(Fforward_comment): Use type int for `from' and `from_byte'.
[emacs.git] / nt / ChangeLog
blob96594144135504ecd7e1f08b7afe4d9c3897b4b3
1 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
3         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
4         known to work.
6 2006-03-12  Jason Rumney  <jasonr@gnu.org>
8         * addpm.c (add_registry): Don't change the registry unless keys
9         already exist from a previous version.
11         * makefile.w32-in (install): Use -q when invoking addpm.
13         * addpm.c (main): Accept -q as alternative for /q.
15 2006-03-11  Jason Rumney  <jasonr@gnu.org>
17         * runemacs.c (WinMain): Set screen buffer to 80x25.
19 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
21         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
22         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
24 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
26         * INSTALL: Add explanation of how to debug with GDB starting from
27         the Emacs Abort dialog.
29 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
31         * emacs.rc: Use new icons.
33 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
35         * emacs21.ico: Renamed from emacs.ico.
36         * emacs.ico: New icons from Andrew Zhilin
37         <andrew_zhilin@yahoo.com>.
39 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
41         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
43 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
45         * .cvsignore: Add `obj' and `oo' for in-place installations.
47 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
49         * config.nt: (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
51 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
53         * configure.bat: Don't create lisp/Makefile.unix.
55 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
57         * .cvsignore: Add `makefile' and `config.log'.
59 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
61         Merge gnulib getopt implementation into Emacs.
63         * inc/gettext.h: Remove; no longer needed now that
64         lib-src/gettext.h exists.
66 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
68         * configure.bat: Finish config.log with a line that indicates that
69         the configure step was successful.
71 2005-07-04  Lute Kamstra  <lute@gnu.org>
73         Update FSF's address in GPL notices.
75 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
77         * configure.bat: If their fc.exe returns a meaningful exit status,
78         don't overwrite src/config.h and src/epaths.h with identical
79         copies.
81         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
82         changes.  Add a pointer to another site with detailed configure
83         and build instructions.  Suggest to look at config.log when
84         configure fails.  Add MinGW Make 3.80 to the list of successful
85         combinations.
87         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
88         "-mcpu=i686".
90         * configure.bat: Update copyright years.
91         Delete config.log before doing anything else.
92         Write additional diagnostics to config.log in case of failures to
93         compile test programs, including the failed test program itself.
94         Add a test for support of -mtune=pentium4 switch to GCC; if it is
95         supported, set up MCPU_FLAG variable on the various Makefiles to
96         use that switch during compilations.  (This avoids GCC warning
97         about -mcpu being deprecated.)
99 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
101         * addsection.c (copy_executable_and_add_section): Pass non-zero
102         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
103         environment.  Print section names with %.8s.
104         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
105         only if non-zero.  All callers changed.
107 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
109         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
110         `const void *', for consistency with Posix.
112 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
114         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
116 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
118         * INSTALL: Add more pointers to ports of Unix tools to Windows,
119         and to the Emacs Wiki (which contains building instructions for
120         Windows).  Reword image library instructions and remove obsolete
121         incompatibility information.
123 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
125         * config.nt (HAVE_PWD_H): Undef.
127 2004-06-07  Juanma Barranquero  <lektu@terra.es>
129         * INSTALL: Clarify paragraph about compatibility between image
130         libraries and builds of Emacs with several compilers.
132 2004-06-06  Juanma Barranquero  <lektu@terra.es>
134         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
135         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
136         calling non-existent cmdproxy.exe on boostrappings after a
137         previous install followed by realclean.
139         * nmake.defs: Add quote in comment to resync font-locking.
141 2004-06-04  Juanma Barranquero  <lektu@terra.es>
143         * INSTALL: Reword the section on image support.  Add reference to
144         GnuWin32.  Mention problems when mixing binaries from different
145         compilers.
147 2004-05-06  Jason Rumney  <jasonr@gnu.org>
149         * configure.bat: Use -mno-cygwin to check for image libraries
150         when needed.
152 2004-05-03  Jason Rumney  <jasonr@gnu.org>
154         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
155         * makefile.def: Remove.
157         * nmake.defs (SYS_LDFLAGS): Add -nologo.
159         * makefile.w32-in (info-gmake, info-nmake): New targets.
160         (info): Use them.
162 2004-04-23  Juanma Barranquero  <lektu@terra.es>
164         * nmake.defs:
165         * gmake.defs:
166         * makefile.w32-in:
167         * makefile.def:
168         * makefile.nt: Add "-*- makefile -*-" mode tag.
170 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
172         * runemacs.c (WinMain): Let Emacs environment default to parent.
174 2004-03-11  Jason Rumney  <jasonr@gnu.org>
176         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
178 2004-03-10  Juanma Barranquero  <lektu@terra.es>
180         * makefile.w32-in (install): Don't try to copy
181         ../lib-src/fns-*.el, as it isn't used anymore.
183 2004-01-28  Peter Runestig  <peter@runestig.com>
185         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
187 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
189         * .cvsignore: Add `.arch-inventory'.
191 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
193         * inc/grp.h: New file.
195 2003-09-03  Peter Runestig  <peter@runestig.com>
197         * configure.bat: Create ``makefile'' in directories man, lispref
198         and lispintro.
200         * makefile.w32-in (force-info, info): New targets.
202         * envadd.bat: New file.
204         * multi-install-info.bat: New file.
206 2003-06-27  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
208         * config.nt (my_strftime): New define.
210 2003-02-01  Jason Rumney  <jasonr@gnu.org>
212         * configure.bat: Automatically detect libXpm.
213         Suppress compiler output when testing for image libraries.
214         Give names of un-found libraries in messages.
216 2003-01-31  Juanma Barranquero  <lektu@terra.es>
218         * configure.bat: Automatically detect giflib and tifflib.
220 2003-01-29  Jason Rumney  <jasonr@gnu.org>
222         * gmake.defs (CURDIR): Disable cygpath kludge.
224 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
226         * configure.bat: Avoid endless loop when configuring without image
227         support.
229 2003-01-26  Jason Rumney  <jasonr@gnu.org>
231         * configure.bat: Automatically detect jpeglib.
233 2003-01-25  Jason Rumney  <jasonr@gnu.org>
235         * configure.bat: Automatically detect libpng.
237 2003-01-21  Jason Rumney  <jasonr@gnu.org>
239         * icons/hand.cur: New file.
241 2003-01-21  David Ponce  <david@dponce.com>
243         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
245 2003-01-15  Andrew Innes  <andrewi@gnu.org>
247         * gmake.defs (CURDIR): Convert to native Windows format (with
248         forward slashes), to support building with Cygwin builds of make.
250 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
252         * nmake.defs:
253         * gmake.defs: Made changes so that Emacs would link with
254         WinMM.lib.  This change was required for my addition of a Windows
255         compatible implementation of play-sound-internal.
257 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
259         * emacs.rc: Version updated to 21.3.50.
261 2002-06-13  Jason Rumney  <jasonr@gnu.org>
263         * addpm.c (env_vars): Remove EMACSLOCKDIR.
265         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
266         (maybe-bootstrap-SH): New targets.
267         (all): Depend on maybe-bootstrap.
269 2002-05-03  Jason Rumney  <jasonr@gnu.org>
271         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
272         (sys_getpeername, fcntl): Declare as wrappers.
274 2002-04-10  Juanma Barranquero  <lektu@terra.es>
276         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
277         after compiling .el files.
279 2002-03-20  Jason Rumney  <jasonr@gnu.org>
281         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
282         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
284 2002-03-19  Kim F. Storm  <storm@cua.dk>
286         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
287         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
288         (HAVE_SYS_UN_H): Undef.
289         From David Ponce <dponce@voila.fr>.
291 2002-03-13  Jason Rumney  <jasonr@gnu.org>
293         * config.nt (STRFTIME_NO_POSIX2): Define.
295 2002-02-18  Jason Rumney  <jasonr@gnu.org>
297         * emacs.rc: Define VS_VERSION_INFO if not already.
298         Update version info.
300 2002-01-04  Andrew Innes  <andrewi@gnu.org>
302         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
303         pick up relevant bits of the Windows API definitions.
305         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
306         pick up relevant bits of the Windows API definitions.
308 2001-12-14  Andrew Innes  <andrewi@gnu.org>
310         * makefile.w32-in (bootstrap): Build addsection program before
311         bootstrap (required for post-processing temacs.exe).
313 2001-12-08  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
315         * COPYING: New file.
317 2001-12-03  Andrew Innes  <andrewi@gnu.org>
319         * makefile.w32-in (bootstrap-nmake):
320         (bootstrap-gmake): Extend bootstrap process to first do
321         bootstrap-clean in lisp dir and rebuild the DOC file.
322         (bootstrap): Do a "normal" make after the bootstrap work.
324 2001-11-20  Jason Rumney  <jasonr@gnu.org>
326         * INSTALL: Update table of versions of make that are suitable
327         for building Emacs, based on recent feedback.
329         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
331 2001-11-19  Andrew Innes  <andrewi@gnu.org>
333         * ftime-nostartup.bat: New file.
335         * ftime.bat: Don't include libc.lib for profiling - the profiler
336         corrupts part of memcpy.
338 2001-11-17  Jason Rumney  <jasonr@gnu.org>
340         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
341         expansion.  From Juanma Barranquero <lektu@terra.es>.
343 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
345         * (Version 21.1 released.)
347 2001-10-12  Andrew Innes  <andrewi@gnu.org>
349         * inc/pwd.h (uid_t, gid_t): New typedefs.
351 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
353         * Branch for 21.1.
355 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
357         * README: Update the address of the mailing list and subscription
358         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
360 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
362         * INSTALL: Suggest to avoid using WinZip.
364         * configure.bat: Make sure ../site-lisp exists; create if necessary.
366 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
368         * INSTALL: Mention that "make install" can be "nmake install".
370 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
372         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
373         since some versions of `mkdir' don't automatically create parent
374         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
376 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
378         * subdirs.el: New file.
380         * configure.bat: Copy subdirs.el to the site-lisp directory.
382         * makefile.w32-in (install): Copy subdirs.el to the installation
383         directory.
385 2001-06-20  Jason Rumney  <jasonr@gnu.org>
387         * runemacs.c (WinMain): Add quotes around command in case of spaces.
389 2001-06-01  Andrew Innes  <andrewi@gnu.org>
391         * gmake.defs (sh_output): Don't use $(warning ...) to output
392         messages, since that is not supported by GNU make 3.77.
394 2001-05-24  Jason Rumney  <jasonr@gnu.org>
396         * INSTALL: Clarify that building with MSVC requires nmake.
398 2001-05-17  Andrew Innes  <andrewi@gnu.org>
400         * gmake.defs (NEW_CYGWIN): Output message about spurious error
401         message that is to be ignored.
403 2001-05-13  Andrew Innes  <andrewi@gnu.org>
405         * TODO: Remove file, since it is completely out of date.
407         * README: Add copyright notice.
409         * INSTALL: Add copyright notice.
411 2001-04-18  Andrew Innes  <andrewi@gnu.org>
413         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
414         the environment.
416         * gmake.defs (SETLOADPATH): Remove definition.
417         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
418         environment.
420 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
422         * configure.bat: Make the checkw32api* labels be distinct in the
423         first 8 characters.
425 2001-03-17  Andrew Innes  <andrewi@gnu.org>
427         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
428         escaped quotes.
430         * gmake.defs (DEBUG_LINK): New macro.
431         (LINK_FLAGS): Use it.
433         * nmake.defs (DEBUG_LINK): New macro.
434         (LINK_FLAGS): Use it.
436 2001-03-06  Andrew Innes  <andrewi@gnu.org>
438         * INSTALL: Add --ldflags to configure line for building with
439         recent versions of Cygwin GCC.
441 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
443         * configure.bat: Use correct options when compiling a test program
444         with Cygwin.  From David Ponce <dponce@voila.fr>.
446 2001-02-24  Andrew Innes  <andrewi@gnu.org>
448         * _emacs: Remove obsolete file.
450         * emacs.bat.in: Remove obsolete file.
452         * debug.bat.in: Remove obsolete file.
454         * inc/sys/socket.h: Add copyright notice.
456         * paths.h: Add copyright notice.
458         * makefile.nt: Update copyright notice.
460         * makefile.def: Update copyright notice.
462         * configure.bat: Update copyright notice.
464         * nmake.defs: Add copyright notice.
466         * gmake.defs: Add copyright notice.
468         * makefile.w32-in: Add copyright notice.
470 2001-02-05  Andrew Innes  <andrewi@gnu.org>
472         * nmake.defs (THISDIR): New definition.
474         * gmake.defs (THISDIR): New definition.
476 2001-02-03  Andrew Innes  <andrewi@gnu.org>
478         * configure.bat: Leave a space before >> only when there is a
479         preceding digit.  Add a comment about the importance of this.
481         * README: Replace outdated information.
483         * INSTALL (Trouble-shooting): Add note about need to specify extra
484         compiler flags with recent Cygwin ports of gcc.
486 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
488         * configure.bat: Use "rm -f" instead of "del /f", as the latter
489         is not supported by Windows 9X's COMMAND.COM.
491 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
493         * configure.bat: Make sure redirection is preceeded by a blank, to
494         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
495         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
497 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
499         * INSTALL: Copy the table of tested combinations of development
500         tools from confuigure.bat.  Add suggestion to install Bash on
501         Windows 9X.
503         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
504         lisp/Makefile.in instead.  Use "rm -f" where more than one file
505         needs to be deleted, since command.com in Windows 9X doesn't grok
506         more than one argument.
508 2001-01-24  Andrew Innes  <andrewi@gnu.org>
510         * makefile.w32-in (cleanall-other-dirs-nmake):
511         (cleanall-other-dirs-gmake): New targets.
512         (cleanall): Invoke them.
514 2001-01-19  Andrew Innes  <andrewi@gnu.org>
516         * addpm.c (env_vars): Add a version-independent site-lisp
517         directory to EMACSLOADPATH, after the version dependent one.
519 2001-01-06  Andrew Innes  <andrewi@gnu.org>
521         * README: Update info about compilers.
523         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
524         select correct rule for invoking make in another directory.  Amend
525         rules accordingly.
526         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
528         * nmake.defs (EMACS_ICON_PATH): Delete definition.
529         (COMPILER_TEMP_FILES): New definition.
530         (MAKETYPE): New definition.
532         * gmake.defs (EMACS_ICON_PATH): Delete definition.
533         (COMPILER_TEMP_FILES): New definition.
534         (MAKETYPE): New definition.
536         * makefile.def (EMACS_ICON_PATH): Delete definition.
538         * configure.bat: Be careful not to add trailing spaces when
539         outputting to config.settings.
541 2001-01-02  Andrew Innes  <andrewi@gnu.org>
543         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
544         than the function.
546 2000-12-17  Andrew Innes  <andrewi@gnu.org>
548         * makefile.w32-in (install): Copy directories to the correct
549         places.
550         (real_install): Remove obsolete target.
552 2000-12-06  Andrew Innes  <andrewi@gnu.org>
554         * nmake.defs (CURDIR): New define.
555         (INSTALL_DIR): Use it.
557         * gmake.defs (NEW_CYGWIN): New define.
558         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
559         so we need to adjust how we escape embedded quotes.
560         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
561         relative to $(CURDIR).
563 2000-11-25  Jason Rumney  <jasonr@gnu.org>
565         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
567 2000-10-17  Andrew Innes  <andrewi@gnu.org>
569         * makefile.w32-in (recompile): New target to recompile lisp
570         directory.
571         (recompile-CMD, recompile-SH): New support targets.
573 2000-09-24  Jason Rumney  <jasonr@gnu.org>
575         * config.nt (NO_RETURN): Define it.
577 2000-09-17  Andrew Innes  <andrewi@gnu.org>
579         * gmake.defs: Revert to Unix line endings.
581         * nmake.defs: Revert to Unix line endings.
583 2000-09-16  Andrew Innes  <andrewi@gnu.org>
585         * gmake.defs (SETLOADPATH): Change definition to work from any
586         subdirectory.
588 2000-09-14  Andrew Innes  <andrewi@gnu.org>
590         * makefile.w32-in: Revert to Unix line endings.
592 2000-09-14  Andrew Innes  <andrewi@gnu.org>
594         * INSTALL: Add note about expected error messages when configure
595         is run.
597         * configure.bat: Simplify the generation of makefiles (don't need
598         to generate various top-level targets that invoke make in other
599         directories).
601         * gmake.defs (SHELLTYPE): New define.
602         (SETLOADPATH): New define.
604         * nmake.defs (SHELLTYPE): New define.
606         * makefile.w32-in: Standardize indentation somewhat.
607         Add bootstrap support.
608         Pass $(MFLAGS) when invoking make recursively.
609         Add shell-specific variants of top-level targets that invoke make
610         recursively in other directories, and add necessary computed
611         dependencies.
613 2000-09-03  Andrew Innes  <andrewi@gnu.org>
615         * makefile.w32-in: Change to DOS line endings.
617         * configure.bat: Change to DOS line endings.
619         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
620         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
622         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
623         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
625         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
626         -D_ANONYMOUS_STRUCT on compile line.
627         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
628         (ARCH_CFLAGS): Change optimization flags to -O2.
629         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
630         (ARGQUOTE, DQUOTE): New defines.
632         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
633         -D_ANONYMOUS_STRUCT on compile line.
634         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
635         (ARGQUOTE, DQUOTE): New defines.
637 2000-08-22  Andrew Innes  <andrewi@gnu.org>
639         * configure.bat: New file.
641         * gmake.defs: New file.
643         * nmake.defs: New file.
645         * makefile.w32-in: New file.
647         * INSTALL: Rewrite to match new configure process.
649         * config.nt [WINDOWSNT]: Don't declare getenv.
650         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
652         * addpm.c (main): Accept /q to mean install based on addpm's
653         location without asking.  Remove reference to emacs.bat which is
654         now obsolete.
656         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
658         * paths.h: Use forward slash as directory separator in all path
659         definitions.
660         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
662         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
664         * runemacs.c: Remove WIN32 define.
666         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
667         not defined.
669         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
670         (fd_set): Define to new name, after including winsock.h, so we can
671         provide our own implementation.
673 2000-07-05  Andrew Innes  <andrewi@gnu.org>
675         * ebuild.bat: Add support for specifying make arguments.
677         * makefile.nt: Add support for `bootstrap' and related targets.
679 2000-06-11  Jason Rumney  <jasonr@gnu.org>
681         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
683 2000-02-06  Andrew Innes  <andrewi@gnu.org>
685         * inc/sys/time.h: Add inclusion protection.
687         * makefile.def (SYS_LDFLAGS): Add -nologo.
689 1999-11-22  Andrew Innes  <andrewi@gnu.org>
691         * install.bat: Pass on command line arguments to make.
693         * makefile.nt (fast_install): Bring commands up-to-date, and fix
694         typo.
696 1999-11-21  Andrew Innes  <andrewi@gnu.org>
698         * makefile.nt (all): Build leim if present.
699         (install): Install leim if present.
700         (clean): Clean leim if present.
702         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
703         definition.
705         * emacs.bat.in (EMACSLOADPATH): Include leim.
707 1999-07-12  Richard Stallman  <rms@gnu.org>
709         * Version 20.4 released.
711 1999-06-16  Andrew Innes  <andrewi@gnu.org>
713         * emacs.rc: Use an icon with a transparent background, to be in
714         keeping with other applications.
716 1999-06-03  Andrew Innes  <andrewi@gnu.org>
718         * preprep.c: Fix typo.
720 1999-05-02  Andrew Innes  <andrewi@gnu.org>
722         * config.h: Remove obsolete file.
724         * preprep.c (copy_executable_and_move_sections): Ifdef out a
725         couple of unused switch cases that aren't defined on all
726         platforms.
728         * ftime.bat: Add another variation of the profile command, which
729         only profiles extended commands.
731 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
733         * cmdproxy.c (main): Fix parens.
735 1999-03-25  Andrew Innes  <andrewi@gnu.org>
737         * cmdproxy.c (main): Call GetShortPathName to normalize program
738         names for comparison.
740 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
742         * makefile.def: Compile multiple .c files when possible.
743         Use BLD instead of assuming i386.
744         * makefile.nt: Remove common multiple file compilation commands.
746 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
748         * cmdproxy.c (main): Add missing parens.
750 1999-02-20  Andrew Innes  <andrewi@gnu.org>
752         * preprep.c: New program to allow dumped image to be profiled.
754         * makefile.nt (preprep): New target.
755         (ALL): Build it.
757         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
759         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
760         Change prep options to profile libc functions and skip the startup
761         code.
763 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
765         * makefile.nt: Create installation directory as first step.
767 1999-01-31  Andrew Innes  <andrewi@gnu.org>
769         * addsection.c: (ROUND_UP_DST_AND_ZERO): Renamed from
770         ROUND_UP_DST.  Zeroes the alignment slop.
771         (copy_executable_and_add_section): Update the
772         SizeOfHeaders field properly.
774 1999-01-27  Andrew Innes  <andrewi@gnu.org>
776         * makefile.nt: Do make version comparison as strings.
778 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
780         * runemacs.c (WinMain): Pass explicit environment block to
781         CreateProcess, to work around a bug in Windows 95/98.
783 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
785         * icons: New directory with Davenport's icons.
786         * icons/sink.ico: Renamed from emacs.ico.
788         * makefile.nt (install, fast_install): Install Windows icons
789         into etc/icons.
791         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
793 1999-01-17  Andrew Innes  <andrewi@gnu.org>
795         * makefile.nt: (ALL): List top-level targets.
796         (addsection): New top-level target.
797         (install): Copy fns-*.el to bin directory.
799         * addsection.c: New program to add static heap section to
800         temacs.exe after linking, in support of new unexec method.
802 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
804         * cmdproxy.c (spawn): Pass directory for child as parameter.
805         (main): Save startup directory to give to spawn, then change
806         directory to location of .exe in order not to prevent startup
807         directory from being deleted.
809 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
811         * makefile.nt: Do string comparision of _NMAKE_VER.
813 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
815         * config.nt (LOCALTIME_CACHE): Define.
817 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
819         * install.bat: Convert to DOS format.
821 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
823         * cmdproxy.c (main): Set environment size only when running
824         command.com.
826 1998-11-03  Theodore Jump  <tjump@tertius.com>
828         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
829         (DEL_TREE): Use rd instead of rmdir.
830         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
831         * makefile.nt: Compile multiple source files when possible.
833 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
835         * cmdproxy.c (main): Treat command line options as case-insensitive.
837 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
839         * Version 20.3 released.
841 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
843         * addpm.c (main): Explicitly check result of message box for OK.
845 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
847         * inc/sys/file.h (D_OK): Define new macro.
849 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
851         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
853 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
855         * emacs.rc (VS_VERSION_INFO): Define.
857 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
859         * makefile.nt (emacs.bat, debug.bat): Create them in the
860         installation directory.
862 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
864         * ddeclient.c: New file.  (Support program for performing limited
865         interprocess communication on Windows.)
867         * makefile.nt: Build ddeclient.
869         * cmdproxy.c (main): Only set environment size for real shell, and
870         provide extra directory argument, when running on Windows 95.
872 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
874         * cmdproxy.c (fail): Exit with a negative return value.
875         (spawn): Return subprocess return code as an argument.
876         Explicitly copy environment block.
877         (main): Update to use return value argument with spawn.
878         Retry if spawn failed when a subshell was not tried.
880         * config.nt: Include new macros from src/config.in.
881         (GNU_MALLOC, REL_ALLOC): Define.
882         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
883         (RE_TRANSLATE): Use char_table_translate.
885         * makefile.def (CP_DIR): Preserve attributes.
887         * makefile.nt (clean): Delete patch generated files, optimized
888         build directory.
890 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
892         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
894 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
896         * Version 20.2 released.
898 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
900         * Version 20.1 released.
902 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
904         * debug.bat.in: New file.
905         * makefile.nt (debug.bat): New target.
907 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
909         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
910         Quote group name.  Allow different icons to be specified.
912         * cmdproxy.c (get_env_size): New function.
913         (spawn): Explicitly pass in environment when creating subprocess.
914         (main): Cleaup error messages.
915         Specify dynamically sized environment block for real shell.
916         Pass on unhandled switches to real shell.
917         Quote program name.
919         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
920         directory.
921         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
923         * runemacs.c (WinMain): Allow Emacs process to be started with
924         high or low priority.
926         * emacs.bat.in: Remove OS dependent operations.
928 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
930         * addpm.c (env_vars): No longer set INFOPATH.
932         * cmdproxy.c (get_next_token): Null terminate token returned.
934         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
936 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
938         * addpm.c (env_vars): Set SHELL to cmdproxy.
939         (main): Initialize idDde to 0.
940         Determine emacs_path from module file name.
941         Prompt for install.
943         * makefile.def (MSVCNT11): Conditionally define it.
944         (BASE_LIBS): Do not use oldnames.lib.
945         (SYS_LDFLAGS): Use pdb files.
946         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
947         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
948         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
950         * makefile.nt (ALL): Build cmdproxy.
951         (cmdproxy): New target.
952         (install): Install cmdproxy.
954         * ftime.bat, debug.bat, cmdproxy.c: New files.
956 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
958         * inc/sys/socket.h: (shutdown): Define.
959         (sys_shutdown): Export.
961 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
963         * config.nt (RE_TRANSLATE): Copy definition from config.in.
965 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
967         * config.nt: Update file comments.
968         Update undefs added/removed in src/config.in.
970 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
972         * makefil.def, emacs.bat: Use windows95 and windowsnt instead
973         of win95 and winnt, respectively.
975 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
977         * makefile.nt (real_install): Create site-lisp in installation dir.
978         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
979         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
981 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
983         * Version 19.33 released.
985 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
987         * runemacs.c (WinMain): Put a space between the binary and its args.
989 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
991         * Version 19.32 released.
993 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
995         * makefile.nt (clean): Use OBJDIR macro.
997 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
999         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
1000         Not defined by default.
1001         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
1002         (WinMain): Convert backslashes to slashes in env var values.
1004         * addpm.c (env_vars): Use slashes, not backslashes.
1006 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
1008         * Version 19.31 released.
1010 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
1012         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
1013         undo settings afterwards.
1015 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
1017         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
1018         environment variable.
1020 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
1022         * install.bat: Allow for optimized build.
1023         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
1024         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
1026 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
1028         * addpm.c (REG_ROOT): Don't use a trailing backslash.
1029         (env_vars): Rename field emacs_path to emacs_dir.
1030         (main): Add link to runemacs instead of emacs.
1032         * install.bat: Check if INSTALL_DIR is passed as an argument.
1034         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
1036         * makefile.nt: Build and install runemacs.exe.
1038         * runemacs.c: New file.
1040         * config.w95: File removed.
1042         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
1043         inc/sys/socket.h, inc/sys/time.h: New header files.
1045         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
1047 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
1049         * makefile.def (DEL): Defined.
1050         (DEL_TREE) [win95]: Defined.
1051         (SYS_LDFLAGS): Set executable versions to 3.10.
1053         * makefile.nt: Change uses of del to $(DEL).
1055 1996-01-17  Erik Naggum  <erik@naggum.no>
1057         * All files: Update FSF's address in comment preamble.
1059 1996-01-03  George V. Reilly  <georger@microcrafts.com>
1061         * emacs.ico: Now the proverbial kitchen sink icon.
1063 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
1065         * Version 19.30 released.
1067 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
1069         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
1071         * makefile.nt (install, fast_install, real_install, clean):
1072         Don't use switches to del not supported by Win95.
1074 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
1076         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
1077         (install, fast_install): Change same-dir test to create test file in
1078         installation tree and thereby support read-only shares.
1079         (clean): Remove .pdb files.
1081         * makefile.def (NTGUI): New macro.
1082         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
1084         * config.nt, config.w95: Update to latest src/config.in.
1086         * addpm.c (env_vars): New variable.
1087         (add_registry): New procedure.
1088         (main): Use values of configuration environment variables from
1089         the registry if defined, the process environment otherwise.
1091 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
1093         * Version 19.29 released.
1095         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
1097 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
1099         * makefile.nt: Define .c to .obj suffix rule.
1100         (addpm.obj): Compile directly, use CFLAGS.
1101         (addpm.exe): Link from addpm.obj.
1103         * makefile.def (MSVCNT11): Defined.
1104         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
1105         (CFLAGS_COMMON): Defined.
1106         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
1108 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
1110         * emacs.bat.in: Renamed from emacs.bat.
1111         (emacs_dir): Renamed from emacs_path.
1112         Definition removed.
1114         * addpm.c: New file.
1115         * makefile.nt (ALL,addpm,addpm.exe,addpm.obj): Defined.
1116         (all): Depend upon $(BLD) and $(ALL).
1117         (install): Depend upon emacs.bat.
1118         Create program item for Emacs.
1119         (clean): Delete obj.
1120         (emacs.bat): Defined.
1121         * makefile.def (EMACS_ICON_PATH,ADDPM): Defined.
1123 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
1125         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
1126         Add carriage returns; necessary for batch files on Win95.
1128 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
1130         * config.w95: Created.
1131         * config.h: Changed to config.nt.
1133         * makefile.nt (SUBDIRS): Commented out.
1134         (all,install,clean): Expand for-loops.
1135         (BUILD_CMD,INSTALL_CMD,CLEAN_CMD): Defined.
1137         * makefile.def (SYS_LIB_DIR,SYS_INC_DIR): Undefined.
1138         (ARCH): New definition.
1139         (CPU,CONFIG_H,OS_TYPE): Defined.
1140         (INCLUDE,LIB): Checked if valid.
1141         (ntwin32.mak): Included.
1142         (AR,CC,LINK): New definition.
1143         (ADVAPI32,libc,BASE_LIBS): Defined.
1144         (SYS_LDFLAGS): New definition.
1145         Update comments and preprocessor conditionals.
1147         * emacs.bat (SHELL): Conditionally defined.
1148         (HOME): Conditionally defined.
1149         (emacs_path,HOME): Update comments.
1150         Turn off all echo.
1152 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
1154         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
1155         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
1156         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
1157         inc/sys/param.h: Removed carriage-returns.
1159 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
1161         * makefile.def (CVTRES): Defined.
1163         * emacs.ico, emacs.rc: New files by Kevin Gallo.
1165 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
1167         * src: Remove directory.
1169         * src\config.h, src\paths.h: Moved to parent dir, src removed.
1171 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
1173         * makefile.def (INSTALL_DIR): Changed to generic directory.
1175         * emacs.bat: Added arguments when emacs.exe invoked.
1177         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
1179 1994-12-13  voelker  <voelker@cs.washington.edu>
1181         * makefile.def (CC): In configuration section.
1182         (COMPAT_LIB): Defined.
1184 1994-11-01  voelker  <voelker@cs.washington.edu>
1186         * src/paths.h: New file.
1188         * src/config.h: New file.
1190         * inc/pwd.h: New file.
1192         * inc/sys/dir.h: New file.
1194         * inc/sys/file.h: New file.
1196         * inc/sys/ioctl.h: New file.
1198         * inc/sys/param.h: New file.
1200         * todo: New file.
1202         * README: New file.
1204         * makefile.nt: New file.
1206         * makefile.def: New file.
1208         * install.cmd: New file.
1210         * INSTALL: New file.
1212         * fast-install.cmd: New file.
1214         * emacs.cmd: New file.
1216         * ebuild.cmd: New file.
1218         * _emacs: New file.
1220 ;; Local Variables:
1221 ;; coding: iso-2022-7bit
1222 ;; End:
1224     Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004,
1225        2005, 2006 Free Software Foundation, Inc.
1226   Copying and distribution of this file, with or without modification,
1227   are permitted provided the copyright notice and this notice are preserved.
1229 ;;; arch-tag: b3d2c29c-04a0-45d0-b52d-57354711c414