Fix bug#6820: Don't accept backslashes or quotes on compiler options.
[emacs.git] / nt / ChangeLog
blob275b9bd627971e2e7d0fd81ed8c5951627d27904
1 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
3         * configure.bat: Err out when the argument of --cflags contains
4         invalid characters (check implemented only for GCC).  (Bug#6820)
6 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
8         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
10 2010-08-12  Jason Rumney  <jasonr@gnu.org>
12         * addpm.c (add_registry): Set path for runemacs.exe to use.
14 2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
16         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
17         which has a 1024 char limit on Windows (bug#6647).
19 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
21         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
22         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
24 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
26         * config.nt: Remove code referring to NO_REMAP, unused.
28 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
30         Build binary distros on Windows using emacs-VERSION as root dir name.
32         * makefile.w32-in: Copy README.W32 to installation directory
33         during `make install'.  Remove README.W32 with `distclean' (in
34         case Emacs was installed in place).  Use temporary directory to
35         create distribution zip files in `dist' target.
36         * zipdist.bat: Simplify code using temporary directory.
38 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
40         * runemacs.c (set_user_model_id): Fix prototype.
42 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
44         New make target for Windows platform: make dist (bug#6602)
46         * INSTALL: Document new dist target and add section about
47         creating binary distributions.
48         * README.W32: Relocate from admin/nt/ directory.
49         * configure.bat: New parameter `--distfiles'.
50         * makefile.w32-in: Add version number, new target `dist'.
51         Add new target `install-shortcuts'.
52         * zipdist.bat: New file; create zipped binary distribution,
53         replaces admin/nt/makedist.bat.
55 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
57         * INSTALL: Add note about backslashes in Windows paths.
58         Fix typos.  Simplify references to Windows versions.
60 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
62         * addpm.c (add_registry, main):
63         * cmdproxy.c (get_env_size):
64         * ddeclient.c (main):
65         * runemacs.c (set_user_model_id):
66         Convert definitions to standard C.
68 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
70         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
72 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
74         * configure.bat: New option --enable-checking.
75         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
76         (CFLAGS): Include it.
78 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
80         * config.nt (volatile): Remove definition.
82 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
84         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
85         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
87 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
89         * config.nt (__P): Remove.
91 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
93         * config.nt: Remove code depending on BSTRING.
95 2010-06-03  Glenn Morris  <rgm@gnu.org>
97         * config.nt: Remove NOT_C_CODE tests, it is always true now.
99 2010-05-13  Glenn Morris  <rgm@gnu.org>
101         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
103 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
105         * Version 23.2 released.
107 2010-05-04  Glenn Morris  <rgm@gnu.org>
109         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
111 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
113         * emacs.manifest: Add trustInfo section to Windows manifest.
115 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
117         * Branch for 23.2.
119 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
121         * emacsclient.rc: Fix format of "LegalCopyright" value.
123 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
125         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
127 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
129         * INSTALL: Update for CVS->Bazaar switchover.
131 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
133         * configure.bat: Add #define PROFILING to config.h.
135 2009-07-03  Jason Rumney  <jasonr@gnu.org>
137         * runemacs.c (set_user_model_id): Use standard types.
139 2009-06-30  Jason Rumney  <jasonr@gnu.org>
141         * runemacs.c (set_user_model_id): New function.
142         (WinMain): Use it.
144 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
146         * Branch for 23.1.
148 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
150         * inc/sys/stat.h (struct stat): Change the types of st_uid and
151         st_gid to unsigned.
153         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
154         to unsigned.
155         (getpwuid): Argument is now unsigned.
156         uid_t is now unsigned.
158 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
160         * INSTALL: Add comment about TCC; fix typos.
162 2009-01-26  Jason Rumney  <jasonr@gnu.org>
164         * emacsclient.rc, emacs.rc: Swap name and description.
165         Remove Windows versions.
167 2009-01-15  Jason Rumney  <jasonr@gnu.org>
169         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
171         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
173         * addpm.c (main): Try using COM to create start menu shortcuts
174         before resorting to DDE (Bug#202)
175         Remove second command-line argument.
177 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
179         * configure.bat: Untabify help message.
181 2009-01-03  Jason Rumney  <jasonr@gnu.org>
183         * configure.bat: New option --with-svg.
185         * INSTALL: Document experimental SVG support.
187 2008-12-25  Jason Rumney  <jasonr@gnu.org>
189         * config.nt (PTR): Remove.
191 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
193         * config.nt (LISTPROC, PROCATTR): Remove.
195 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
197         * config.nt (LISTPROC, PROCATTR): New macros.
199 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
201         * config.nt (MULTI_KBOARD): Remove.
203 2008-07-23  Jason Rumney  <jasonr@gnu.org>
205         * configure.bat: New option --profile.
206         * gmake.defs: Set cflags and ldflags for profiling when specified.
208 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
210         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
212 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
214         * config.nt (HAVE_FACES): Remove, unused.
216 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
217             Eli Zaretskii  <eliz@gnu.org>
219         * nmake.defs (FONT_CFLAGS):
220         * gmake.defs (FONT_CFLAGS): Remove.
221         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
222         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
223         and _CRTAPI1.
224         (ARCH_FLAGS): Don't include _X86_.
226         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
228 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
230         * config.nt: Remove reference to UNEXEC_SRC.
232 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
233             Eli Zaretskii  <eliz@gnu.org>
235         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
236         Don't hardcode -gstabs+, use DEBUG_INFO.
238         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
239         Default to stabs if the compiler does not support DWARF-2.
240         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
242 2008-05-14  Jason Rumney  <jasonr@gnu.org>
244         * configure.bat: Remove code dealing with --disable-font-backend.
246 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
248         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
249         better alignment.  Make st_size 64-bit wide.  Add new members
250         st_uname and st_gname.
252         * inc/grp.h (struct group): Add gr_gid member.
254 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
256         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
257         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
258         a real file there is not a good idea.
260 2008-04-23  Jason Rumney  <jasonr@gnu.org>
262         * makefile.w32-in (CLIENTRES): New variable and build target.
263         (all): Depend on it.
264         ($(TRES)): Use $(TRES) in rule.
266 2008-04-21  Jason Rumney  <jasonr@gnu.org>
268         * configure.bat (success): Print "make" rather than "gmake", as that
269         is what MinGW uses.
271 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
273         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
274         Add copyright notice.
276 2008-04-10  Jason Rumney  <jasonr@gnu.org>
278         * emacsclient.rc: New file.
280         * INSTALL: Document make targets.
282 2008-04-09  Jason Rumney  <jasonr@gnu.org>
284         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
285         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
286         (top-distclean, distclean, distclean-other-dirs-nmake)
287         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
288         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
290 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
292         * inc/sys/stat.h: New file.
294         * configure.bat: Add check for usp10.h.
296 2008-04-04  Jason Rumney  <jasonr@gnu.org>
298         * INSTALL: Update W32 API requirements.
300 2008-04-03  Jason Rumney  <jasonr@gnu.org>
302         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
304 2008-03-13  Glenn Morris  <rgm@gnu.org>
306         * emacs.rc: Set version to 23.0.60.
308 2008-03-04  Jason Rumney  <jasonr@gnu.org>
310         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
311         (EMACS_EXTRA_C_FLAGS): Include it.
312         * configure.bat (usefontbackend): Default to Y.
313         (--enable-font-backend): Replace with --disable-font-backend.
314         (:withfont): Replace with :withoutfont.
316 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
318         * icons/emacs.ico: Full alpha for 32x32 full color.
319         Add 32x32 and 16x16 256 color versions.
321 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
323         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
325 2008-03-02  Jason Rumney  <jasonr@gnu.org>
327         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
329 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
331         * icons/README: Update.
333         * icons/emacs.ico: New icon.
335 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
337         * addpm.c: Include malloc.h.
338         (add_registry): Cast return value of alloca.
340 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
342         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
344 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
346         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
347         conditional on existence of junk.o.  If %nocygwin% is already set
348         to Y, skip to chkapiN instead of chkapi.
349         (chkapi): Move "rm -f junk.c junk.o" to here.
350         (chkapiN): New label.
352 2008-02-11  Jason Rumney  <jasonr@gnu.org>
354         * makefile.w32-in: Remove unidata-gen related rules.
356 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
358         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
360 2008-02-11  Jason Rumney  <jasonr@gnu.org>
362         * addpm.c (add_registry): Add an App Paths registry key.
363         Look for GTK and add it to the DLL search path for Emacs if found.
365 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
367         * configure.bat: In help, use generic names for the image libraries.
369 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
371         * .cvsignore: Don't ignore .arch-inventory.
373 2008-02-03  Jason Rumney  <jasonr@gnu.org>
375         * configure.bat: Make gcc the default compiler.
377 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
379         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
380         Ignore return status.
382         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
383         it out of the way of Windows generated file.  Generate
384         admin/unidata/makefile.
386         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
387         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
388         (unidatagen-clean-SH): New targets.
389         (bootstrap-nmake): Invoke unidatagen-nmake.
390         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
392 2008-02-01  Jason Rumney  <jasonr@gnu.org>
394         * configure.bat (withfont): Set sep1 after modifying usercflags.
396 2008-02-01  Jason Rumney  <jasonr@gnu.org>
398         * configure.bat: Rename --with-font-backend to --enable-font-backend
399         for consistency with other platforms.
401 2008-02-01  Jason Rumney  <jasonr@gnu.org>
403         * configure.bat: Add --with-font-backend option.
405 2008-01-20  Jason Rumney  <jasonr@gnu.org>
407         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
408         permissions to NTFS ACLs.
410 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
412         * config.nt: Remove HAVE_X11R5.
414 2007-10-22  Jason Rumney  <jasonr@gnu.org>
416         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
417         (strings.h, stdlib.h): Conditionally include.
418         (w32_abort): Declare here.
419         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
421 2007-10-20  Jason Rumney  <jasonr@gnu.org>
423         * makefile.w32-in (info-nmake): Change into correct directories.
425 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
427         * configure.bat (docflags, doldflags): New variables.
428         (genmakefiles): Use them to work around problems with whitespace
429         in arguments of the `if' command.
431 2007-10-18  Jason Rumney  <jasonr@gnu.org>
433         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
435 2007-09-27  Jason Rumney  <jasonr@gnu.org>
437         * gmake.defs (COMCTL32): New system library.
439         * nmake.defs (COMCTL32): New system library.
441 2007-09-06  Glenn Morris  <rgm@gnu.org>
443         * configure.bat:
444         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
445         Change from ../man to ../doc/emacs and ../doc/misc; and from
446         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
448 2007-08-29  Glenn Morris  <rgm@gnu.org>
450         * emacs.rc: Increase version to 23.0.50.
452 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
454         * makefile.w32-in (bootstrap-nmake): Change directories once more.
456 2007-07-25  Glenn Morris  <rgm@gnu.org>
458         * Relicense all FSF files to GPLv3 or later.
460         * COPYING: Switch to GPLv3.
462 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
464         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
465         Depend on cmdproxy.
466         (cleanall): Don't delete *~.
468 2007-07-15  Jason Rumney  <jasonr@gnu.org>
470         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
471         be fully supported.
473 2007-07-14  Jason Rumney  <jasonr@gnu.org>
475         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
476         of winsock.h.
478 2007-07-11  Jason Rumney  <jasonr@gnu.org>
480         * gmake.defs (OLE32): New library to link.
482         * nmake.defs (OLE32): Likewise.
484 2007-06-25  Jason Rumney  <jasonr@gnu.org>
486         * cmdproxy.c (main): Set console codepages to "ANSI".
488 2007-06-20  Jason Rumney  <jasonr@gnu.org>
490         * configure.bat: Complain if image libraries are missing.
492 2007-06-15  Jason Rumney  <jasonr@gnu.org>
494         * emacs.manifest: New file.
496         * emacs.rc: Use it.
498 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
500         * Version 22.1 released.
502 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
504         * INSTALL: Add information about where to find GDB, and warn
505         against --no-debug option to configure.bat.
507 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
509         * INSTALL: Fix URL of EmacsW32 site where building with image
510         support is described.
512 2007-04-26  Glenn Morris  <rgm@gnu.org>
514         * emacs.rc: Increase version to 22.1.50.
516 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
518         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
520 2007-03-09  Richard Stallman  <rms@gnu.org>
522         * INSTALL: Say explicitly this is not for Cygwin.
524 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
526         * INSTALL: Add URL of another site with detailed build instructions.
528 2007-02-16  Glenn Morris  <rgm@gnu.org>
530         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
531         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
532         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
533         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
534         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
535         Restore all but two of icons deleted in previous change.
537 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
539         * icons/README: New file.
541         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
542         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
543         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
544         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
545         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
546         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
547         Unused icons deleted.
549 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
551         * configure.bat: Update ../site-lisp/subdirs.el when needed.
553 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
555         * subdirs.el: Add "no-byte-compile: t" local variable.
557 2007-01-10  Jason Rumney  <jasonr@gnu.org>
559         * README: Update URLs and advice about reporting bugs.
561 2006-12-29  Jason Rumney  <jasonr@gnu.org>
563         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
564         DEBUG_LINK.
565         (DEBUG_LINK): Remove -debugtype:both.
567 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
569         * INSTALL: Update table of supported Make ports.  Show "make -j"
570         command that is known to work.
572         * configure.bat: Update table of supported Make ports.
574 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
576         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
577         only in implicit rules.  Use literal "emacs.rc" instead.
579 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
581         * gmake.defs: Export XMFLAGS.
583         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake): Don't
584         use $(XMFLAGS) for nmake, as it doesn't support parallelism.
586 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
588         * INSTALL: Explain how to invoke GNU Make for parallel builds.
590         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
591         command-line argument to sub-Make in src, since src/makefile.w32-in
592         invokes Make recursively during bootstrap.
593         (clean): Delete stamp_BLD.
594         (bootstrap): Make `all' explicitly in a recursive Make.
596         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
597         stamp_BLD after creating the $(BLD) directory.
599         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
600         stamp_BLD after creating the $(BLD) directory.
602         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
603         (preprep, $(TRES), runemacs)
604         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
605         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
606         Depend on stamp_BLD instead of on $(BLD).
607         (XMFLAGS): New macro.
608         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
609         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
610         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
611         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
613 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
615         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
616         $(ALL_DEPS).
617         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
618         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
619         New dependency on $(BLD).
620         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
621         (bootstrap-gmake): Depend on addsection.
623 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
625         * runemacs.c (WinMain): Process all recognized arguments, not just
626         the first one.  Remove unused variable sec_desc.
628 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
630         * config.nt (HAVE_LANGINFO_CODESET): Define.
632         * inc/langinfo.h: New file.
634         * inc/nl_types.h: New file.
636 2006-09-15  Jay Belanger  <belanger@truman.edu>
638         * COPYING: Replace "Library Public License" by "Lesser Public
639         License" throughout.
641 2006-07-27  Jason Rumney  <jasonr@gnu.org>
643         * INSTALL: Add notes about Cygwin make to impatient section.
645 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
647         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
648         known to work.
650 2006-03-12  Jason Rumney  <jasonr@gnu.org>
652         * addpm.c (add_registry): Don't change the registry unless keys
653         already exist from a previous version.
655         * makefile.w32-in (install): Use -q when invoking addpm.
657         * addpm.c (main): Accept -q as alternative for /q.
659 2006-03-11  Jason Rumney  <jasonr@gnu.org>
661         * runemacs.c (WinMain): Set screen buffer to 80x25.
663 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
665         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
666         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
668 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
670         * INSTALL: Add explanation of how to debug with GDB starting from
671         the Emacs Abort dialog.
673 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
675         * emacs.rc: Use new icons.
677 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
679         * emacs21.ico: Renamed from emacs.ico.
680         * emacs.ico: New icons from Andrew Zhilin
681         <andrew_zhilin@yahoo.com>.
683 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
685         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
687 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
689         * .cvsignore: Add `obj' and `oo' for in-place installations.
691 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
693         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
695 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
697         * configure.bat: Don't create lisp/Makefile.unix.
699 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
701         * .cvsignore: Add `makefile' and `config.log'.
703 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
705         Merge gnulib getopt implementation into Emacs.
707         * inc/gettext.h: Remove; no longer needed now that
708         lib-src/gettext.h exists.
710 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
712         * configure.bat: Finish config.log with a line that indicates that
713         the configure step was successful.
715 2005-07-04  Lute Kamstra  <lute@gnu.org>
717         Update FSF's address in GPL notices.
719 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
721         * configure.bat: If their fc.exe returns a meaningful exit status,
722         don't overwrite src/config.h and src/epaths.h with identical
723         copies.
725         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
726         changes.  Add a pointer to another site with detailed configure
727         and build instructions.  Suggest to look at config.log when
728         configure fails.  Add MinGW Make 3.80 to the list of successful
729         combinations.
731         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
732         "-mcpu=i686".
734         * configure.bat: Update copyright years.
735         Delete config.log before doing anything else.
736         Write additional diagnostics to config.log in case of failures to
737         compile test programs, including the failed test program itself.
738         Add a test for support of -mtune=pentium4 switch to GCC; if it is
739         supported, set up MCPU_FLAG variable on the various Makefiles to
740         use that switch during compilations.  (This avoids GCC warning
741         about -mcpu being deprecated.)
743 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
745         * addsection.c (copy_executable_and_add_section): Pass non-zero
746         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
747         environment.  Print section names with %.8s.
748         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
749         only if non-zero.  All callers changed.
751 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
753         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
754         `const void *', for consistency with Posix.
756 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
758         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
760 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
762         * INSTALL: Add more pointers to ports of Unix tools to Windows,
763         and to the Emacs Wiki (which contains building instructions for
764         Windows).  Reword image library instructions and remove obsolete
765         incompatibility information.
767 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
769         * config.nt (HAVE_PWD_H): Undef.
771 2004-06-07  Juanma Barranquero  <lektu@terra.es>
773         * INSTALL: Clarify paragraph about compatibility between image
774         libraries and builds of Emacs with several compilers.
776 2004-06-06  Juanma Barranquero  <lektu@terra.es>
778         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
779         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
780         calling non-existent cmdproxy.exe on bootstrapping after a
781         previous install followed by realclean.
783         * nmake.defs: Add quote in comment to resync font-locking.
785 2004-06-04  Juanma Barranquero  <lektu@terra.es>
787         * INSTALL: Reword the section on image support.  Add reference to
788         GnuWin32.  Mention problems when mixing binaries from different
789         compilers.
791 2004-05-06  Jason Rumney  <jasonr@gnu.org>
793         * configure.bat: Use -mno-cygwin to check for image libraries
794         when needed.
796 2004-05-03  Jason Rumney  <jasonr@gnu.org>
798         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
799         * makefile.def: Remove.
801         * nmake.defs (SYS_LDFLAGS): Add -nologo.
803         * makefile.w32-in (info-gmake, info-nmake): New targets.
804         (info): Use them.
806 2004-04-23  Juanma Barranquero  <lektu@terra.es>
808         * nmake.defs:
809         * gmake.defs:
810         * makefile.w32-in:
811         * makefile.def:
812         * makefile.nt: Add "-*- makefile -*-" mode tag.
814 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
816         * runemacs.c (WinMain): Let Emacs environment default to parent.
818 2004-03-11  Jason Rumney  <jasonr@gnu.org>
820         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
822 2004-03-10  Juanma Barranquero  <lektu@terra.es>
824         * makefile.w32-in (install): Don't try to copy
825         ../lib-src/fns-*.el, as it isn't used anymore.
827 2004-01-28  Peter Runestig  <peter@runestig.com>
829         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
831 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
833         * .cvsignore: Add `.arch-inventory'.
835 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
837         * inc/grp.h: New file.
839 2003-09-03  Peter Runestig  <peter@runestig.com>
841         * configure.bat: Create ``makefile'' in directories man, lispref
842         and lispintro.
844         * makefile.w32-in (force-info, info): New targets.
846         * envadd.bat: New file.
848         * multi-install-info.bat: New file.
850 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
852         * config.nt (my_strftime): New define.
854 2003-02-01  Jason Rumney  <jasonr@gnu.org>
856         * configure.bat: Automatically detect libXpm.
857         Suppress compiler output when testing for image libraries.
858         Give names of un-found libraries in messages.
860 2003-01-31  Juanma Barranquero  <lektu@terra.es>
862         * configure.bat: Automatically detect giflib and tifflib.
864 2003-01-29  Jason Rumney  <jasonr@gnu.org>
866         * gmake.defs (CURDIR): Disable cygpath kludge.
868 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
870         * configure.bat: Avoid endless loop when configuring without image
871         support.
873 2003-01-26  Jason Rumney  <jasonr@gnu.org>
875         * configure.bat: Automatically detect jpeglib.
877 2003-01-25  Jason Rumney  <jasonr@gnu.org>
879         * configure.bat: Automatically detect libpng.
881 2003-01-21  Jason Rumney  <jasonr@gnu.org>
883         * icons/hand.cur: New file.
885 2003-01-21  David Ponce  <david@dponce.com>
887         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
889 2003-01-15  Andrew Innes  <andrewi@gnu.org>
891         * gmake.defs (CURDIR): Convert to native Windows format (with
892         forward slashes), to support building with Cygwin builds of make.
894 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
896         * nmake.defs:
897         * gmake.defs: Made changes so that Emacs would link with
898         WinMM.lib.  This change was required for my addition of a Windows
899         compatible implementation of play-sound-internal.
901 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
903         * emacs.rc: Version updated to 21.3.50.
905 2002-06-13  Jason Rumney  <jasonr@gnu.org>
907         * addpm.c (env_vars): Remove EMACSLOCKDIR.
909         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
910         (maybe-bootstrap-SH): New targets.
911         (all): Depend on maybe-bootstrap.
913 2002-05-03  Jason Rumney  <jasonr@gnu.org>
915         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
916         (sys_getpeername, fcntl): Declare as wrappers.
918 2002-04-10  Juanma Barranquero  <lektu@terra.es>
920         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
921         after compiling .el files.
923 2002-03-20  Jason Rumney  <jasonr@gnu.org>
925         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
926         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
928 2002-03-19  Kim F. Storm  <storm@cua.dk>
930         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
931         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
932         (HAVE_SYS_UN_H): Undef.
933         From David Ponce <dponce@voila.fr>.
935 2002-03-13  Jason Rumney  <jasonr@gnu.org>
937         * config.nt (STRFTIME_NO_POSIX2): Define.
939 2002-02-18  Jason Rumney  <jasonr@gnu.org>
941         * emacs.rc: Define VS_VERSION_INFO if not already.
942         Update version info.
944 2002-01-04  Andrew Innes  <andrewi@gnu.org>
946         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
947         pick up relevant bits of the Windows API definitions.
949         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
950         pick up relevant bits of the Windows API definitions.
952 2001-12-14  Andrew Innes  <andrewi@gnu.org>
954         * makefile.w32-in (bootstrap): Build addsection program before
955         bootstrap (required for post-processing temacs.exe).
957 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
959         * COPYING: New file.
961 2001-12-03  Andrew Innes  <andrewi@gnu.org>
963         * makefile.w32-in (bootstrap-nmake):
964         (bootstrap-gmake): Extend bootstrap process to first do
965         bootstrap-clean in lisp dir and rebuild the DOC file.
966         (bootstrap): Do a "normal" make after the bootstrap work.
968 2001-11-20  Jason Rumney  <jasonr@gnu.org>
970         * INSTALL: Update table of versions of make that are suitable
971         for building Emacs, based on recent feedback.
973         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
975 2001-11-19  Andrew Innes  <andrewi@gnu.org>
977         * ftime-nostartup.bat: New file.
979         * ftime.bat: Don't include libc.lib for profiling - the profiler
980         corrupts part of memcpy.
982 2001-11-17  Jason Rumney  <jasonr@gnu.org>
984         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
985         expansion.  From Juanma Barranquero <lektu@terra.es>.
987 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
989         * (Version 21.1 released.)
991 2001-10-12  Andrew Innes  <andrewi@gnu.org>
993         * inc/pwd.h (uid_t, gid_t): New typedefs.
995 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
997         * Branch for 21.1.
999 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
1001         * README: Update the address of the mailing list and subscription
1002         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
1004 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
1006         * INSTALL: Suggest to avoid using WinZip.
1008         * configure.bat: Make sure ../site-lisp exists; create if necessary.
1010 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
1012         * INSTALL: Mention that "make install" can be "nmake install".
1014 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
1016         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
1017         since some versions of `mkdir' don't automatically create parent
1018         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
1020 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
1022         * subdirs.el: New file.
1024         * configure.bat: Copy subdirs.el to the site-lisp directory.
1026         * makefile.w32-in (install): Copy subdirs.el to the installation
1027         directory.
1029 2001-06-20  Jason Rumney  <jasonr@gnu.org>
1031         * runemacs.c (WinMain): Add quotes around command in case of spaces.
1033 2001-06-01  Andrew Innes  <andrewi@gnu.org>
1035         * gmake.defs (sh_output): Don't use $(warning ...) to output
1036         messages, since that is not supported by GNU make 3.77.
1038 2001-05-24  Jason Rumney  <jasonr@gnu.org>
1040         * INSTALL: Clarify that building with MSVC requires nmake.
1042 2001-05-17  Andrew Innes  <andrewi@gnu.org>
1044         * gmake.defs (NEW_CYGWIN): Output message about spurious error
1045         message that is to be ignored.
1047 2001-05-13  Andrew Innes  <andrewi@gnu.org>
1049         * TODO: Remove file, since it is completely out of date.
1051         * README: Add copyright notice.
1053         * INSTALL: Add copyright notice.
1055 2001-04-18  Andrew Innes  <andrewi@gnu.org>
1057         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
1058         the environment.
1060         * gmake.defs (SETLOADPATH): Remove definition.
1061         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
1062         environment.
1064 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
1066         * configure.bat: Make the checkw32api* labels be distinct in the
1067         first 8 characters.
1069 2001-03-17  Andrew Innes  <andrewi@gnu.org>
1071         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
1072         escaped quotes.
1074         * gmake.defs (DEBUG_LINK): New macro.
1075         (LINK_FLAGS): Use it.
1077         * nmake.defs (DEBUG_LINK): New macro.
1078         (LINK_FLAGS): Use it.
1080 2001-03-06  Andrew Innes  <andrewi@gnu.org>
1082         * INSTALL: Add --ldflags to configure line for building with
1083         recent versions of Cygwin GCC.
1085 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
1087         * configure.bat: Use correct options when compiling a test program
1088         with Cygwin.  From David Ponce <dponce@voila.fr>.
1090 2001-02-24  Andrew Innes  <andrewi@gnu.org>
1092         * _emacs: Remove obsolete file.
1094         * emacs.bat.in: Remove obsolete file.
1096         * debug.bat.in: Remove obsolete file.
1098         * inc/sys/socket.h: Add copyright notice.
1100         * paths.h: Add copyright notice.
1102         * makefile.nt: Update copyright notice.
1104         * makefile.def: Update copyright notice.
1106         * configure.bat: Update copyright notice.
1108         * nmake.defs: Add copyright notice.
1110         * gmake.defs: Add copyright notice.
1112         * makefile.w32-in: Add copyright notice.
1114 2001-02-05  Andrew Innes  <andrewi@gnu.org>
1116         * nmake.defs (THISDIR): New definition.
1118         * gmake.defs (THISDIR): New definition.
1120 2001-02-03  Andrew Innes  <andrewi@gnu.org>
1122         * configure.bat: Leave a space before >> only when there is a
1123         preceding digit.  Add a comment about the importance of this.
1125         * README: Replace outdated information.
1127         * INSTALL (Trouble-shooting): Add note about need to specify extra
1128         compiler flags with recent Cygwin ports of gcc.
1130 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
1132         * configure.bat: Use "rm -f" instead of "del /f", as the latter
1133         is not supported by Windows 9X's COMMAND.COM.
1135 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
1137         * configure.bat: Make sure redirection is preceded by a blank, to
1138         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
1139         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
1141 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
1143         * INSTALL: Copy the table of tested combinations of development
1144         tools from configure.bat.  Add suggestion to install Bash on
1145         Windows 9X.
1147         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
1148         lisp/Makefile.in instead.  Use "rm -f" where more than one file
1149         needs to be deleted, since command.com in Windows 9X doesn't grok
1150         more than one argument.
1152 2001-01-24  Andrew Innes  <andrewi@gnu.org>
1154         * makefile.w32-in (cleanall-other-dirs-nmake):
1155         (cleanall-other-dirs-gmake): New targets.
1156         (cleanall): Invoke them.
1158 2001-01-19  Andrew Innes  <andrewi@gnu.org>
1160         * addpm.c (env_vars): Add a version-independent site-lisp
1161         directory to EMACSLOADPATH, after the version dependent one.
1163 2001-01-06  Andrew Innes  <andrewi@gnu.org>
1165         * README: Update info about compilers.
1167         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
1168         select correct rule for invoking make in another directory.  Amend
1169         rules accordingly.
1170         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
1172         * nmake.defs (EMACS_ICON_PATH): Delete definition.
1173         (COMPILER_TEMP_FILES): New definition.
1174         (MAKETYPE): New definition.
1176         * gmake.defs (EMACS_ICON_PATH): Delete definition.
1177         (COMPILER_TEMP_FILES): New definition.
1178         (MAKETYPE): New definition.
1180         * makefile.def (EMACS_ICON_PATH): Delete definition.
1182         * configure.bat: Be careful not to add trailing spaces when
1183         outputting to config.settings.
1185 2001-01-02  Andrew Innes  <andrewi@gnu.org>
1187         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
1188         than the function.
1190 2000-12-17  Andrew Innes  <andrewi@gnu.org>
1192         * makefile.w32-in (install): Copy directories to the correct
1193         places.
1194         (real_install): Remove obsolete target.
1196 2000-12-06  Andrew Innes  <andrewi@gnu.org>
1198         * nmake.defs (CURDIR): New define.
1199         (INSTALL_DIR): Use it.
1201         * gmake.defs (NEW_CYGWIN): New define.
1202         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
1203         so we need to adjust how we escape embedded quotes.
1204         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
1205         relative to $(CURDIR).
1207 2000-11-25  Jason Rumney  <jasonr@gnu.org>
1209         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
1211 2000-10-17  Andrew Innes  <andrewi@gnu.org>
1213         * makefile.w32-in (recompile): New target to recompile lisp
1214         directory.
1215         (recompile-CMD, recompile-SH): New support targets.
1217 2000-09-24  Jason Rumney  <jasonr@gnu.org>
1219         * config.nt (NO_RETURN): Define it.
1221 2000-09-17  Andrew Innes  <andrewi@gnu.org>
1223         * gmake.defs: Revert to Unix line endings.
1225         * nmake.defs: Revert to Unix line endings.
1227 2000-09-16  Andrew Innes  <andrewi@gnu.org>
1229         * gmake.defs (SETLOADPATH): Change definition to work from any
1230         subdirectory.
1232 2000-09-14  Andrew Innes  <andrewi@gnu.org>
1234         * makefile.w32-in: Revert to Unix line endings.
1236 2000-09-14  Andrew Innes  <andrewi@gnu.org>
1238         * INSTALL: Add note about expected error messages when configure
1239         is run.
1241         * configure.bat: Simplify the generation of makefiles (don't need
1242         to generate various top-level targets that invoke make in other
1243         directories).
1245         * gmake.defs (SHELLTYPE): New define.
1246         (SETLOADPATH): New define.
1248         * nmake.defs (SHELLTYPE): New define.
1250         * makefile.w32-in: Standardize indentation somewhat.
1251         Add bootstrap support.
1252         Pass $(MFLAGS) when invoking make recursively.
1253         Add shell-specific variants of top-level targets that invoke make
1254         recursively in other directories, and add necessary computed
1255         dependencies.
1257 2000-09-03  Andrew Innes  <andrewi@gnu.org>
1259         * makefile.w32-in: Change to DOS line endings.
1261         * configure.bat: Change to DOS line endings.
1263         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
1264         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
1266         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
1267         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
1269         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
1270         -D_ANONYMOUS_STRUCT on compile line.
1271         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
1272         (ARCH_CFLAGS): Change optimization flags to -O2.
1273         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
1274         (ARGQUOTE, DQUOTE): New defines.
1276         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
1277         -D_ANONYMOUS_STRUCT on compile line.
1278         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
1279         (ARGQUOTE, DQUOTE): New defines.
1281 2000-08-22  Andrew Innes  <andrewi@gnu.org>
1283         * configure.bat: New file.
1285         * gmake.defs: New file.
1287         * nmake.defs: New file.
1289         * makefile.w32-in: New file.
1291         * INSTALL: Rewrite to match new configure process.
1293         * config.nt [WINDOWSNT]: Don't declare getenv.
1294         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
1296         * addpm.c (main): Accept /q to mean install based on addpm's
1297         location without asking.  Remove reference to emacs.bat which is
1298         now obsolete.
1300         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
1302         * paths.h: Use forward slash as directory separator in all path
1303         definitions.
1304         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
1306         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
1308         * runemacs.c: Remove WIN32 define.
1310         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
1311         not defined.
1313         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
1314         (fd_set): Define to new name, after including winsock.h, so we can
1315         provide our own implementation.
1317 2000-07-05  Andrew Innes  <andrewi@gnu.org>
1319         * ebuild.bat: Add support for specifying make arguments.
1321         * makefile.nt: Add support for `bootstrap' and related targets.
1323 2000-06-11  Jason Rumney  <jasonr@gnu.org>
1325         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
1327 2000-02-06  Andrew Innes  <andrewi@gnu.org>
1329         * inc/sys/time.h: Add inclusion protection.
1331         * makefile.def (SYS_LDFLAGS): Add -nologo.
1333 1999-11-22  Andrew Innes  <andrewi@gnu.org>
1335         * install.bat: Pass on command line arguments to make.
1337         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
1339 1999-11-21  Andrew Innes  <andrewi@gnu.org>
1341         * makefile.nt (all): Build leim if present.
1342         (install): Install leim if present.
1343         (clean): Clean leim if present.
1345         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
1346         definition.
1348         * emacs.bat.in (EMACSLOADPATH): Include leim.
1350 1999-07-12  Richard Stallman  <rms@gnu.org>
1352         * Version 20.4 released.
1354 1999-06-16  Andrew Innes  <andrewi@gnu.org>
1356         * emacs.rc: Use an icon with a transparent background, to be in
1357         keeping with other applications.
1359 1999-06-03  Andrew Innes  <andrewi@gnu.org>
1361         * preprep.c: Fix typo.
1363 1999-05-02  Andrew Innes  <andrewi@gnu.org>
1365         * config.h: Remove obsolete file.
1367         * preprep.c (copy_executable_and_move_sections): Ifdef out a
1368         couple of unused switch cases that aren't defined on all
1369         platforms.
1371         * ftime.bat: Add another variation of the profile command, which
1372         only profiles extended commands.
1374 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
1376         * cmdproxy.c (main): Fix parens.
1378 1999-03-25  Andrew Innes  <andrewi@gnu.org>
1380         * cmdproxy.c (main): Call GetShortPathName to normalize program
1381         names for comparison.
1383 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
1385         * makefile.def: Compile multiple .c files when possible.
1386         Use BLD instead of assuming i386.
1387         * makefile.nt: Remove common multiple file compilation commands.
1389 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
1391         * cmdproxy.c (main): Add missing parens.
1393 1999-02-20  Andrew Innes  <andrewi@gnu.org>
1395         * preprep.c: New program to allow dumped image to be profiled.
1397         * makefile.nt (preprep): New target.
1398         (ALL): Build it.
1400         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
1402         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
1403         Change prep options to profile libc functions and skip the startup
1404         code.
1406 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
1408         * makefile.nt: Create installation directory as first step.
1410 1999-01-31  Andrew Innes  <andrewi@gnu.org>
1412         * addsection.c (ROUND_UP_DST_AND_ZERO): Renamed from
1413         ROUND_UP_DST.  Zeroes the alignment slop.
1414         (copy_executable_and_add_section): Update the
1415         SizeOfHeaders field properly.
1417 1999-01-27  Andrew Innes  <andrewi@gnu.org>
1419         * makefile.nt: Do make version comparison as strings.
1421 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
1423         * runemacs.c (WinMain): Pass explicit environment block to
1424         CreateProcess, to work around a bug in Windows 95/98.
1426 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
1428         * icons: New directory with Davenport's icons.
1429         * icons/sink.ico: Renamed from emacs.ico.
1431         * makefile.nt (install, fast_install): Install Windows icons
1432         into etc/icons.
1434         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
1436 1999-01-17  Andrew Innes  <andrewi@gnu.org>
1438         * makefile.nt (ALL): List top-level targets.
1439         (addsection): New top-level target.
1440         (install): Copy fns-*.el to bin directory.
1442         * addsection.c: New program to add static heap section to
1443         temacs.exe after linking, in support of new unexec method.
1445 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
1447         * cmdproxy.c (spawn): Pass directory for child as parameter.
1448         (main): Save startup directory to give to spawn, then change
1449         directory to location of .exe in order not to prevent startup
1450         directory from being deleted.
1452 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
1454         * makefile.nt: Do string comparision of _NMAKE_VER.
1456 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
1458         * config.nt (LOCALTIME_CACHE): Define.
1460 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
1462         * install.bat: Convert to DOS format.
1464 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
1466         * cmdproxy.c (main): Set environment size only when running
1467         command.com.
1469 1998-11-03  Theodore Jump  <tjump@tertius.com>
1471         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
1472         (DEL_TREE): Use rd instead of rmdir.
1473         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
1474         * makefile.nt: Compile multiple source files when possible.
1476 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
1478         * cmdproxy.c (main): Treat command line options as case-insensitive.
1480 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
1482         * Version 20.3 released.
1484 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
1486         * addpm.c (main): Explicitly check result of message box for OK.
1488 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
1490         * inc/sys/file.h (D_OK): Define new macro.
1492 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
1494         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
1496 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
1498         * emacs.rc (VS_VERSION_INFO): Define.
1500 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
1502         * makefile.nt (emacs.bat, debug.bat): Create them in the
1503         installation directory.
1505 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
1507         * ddeclient.c: New file.  (Support program for performing limited
1508         interprocess communication on Windows.)
1510         * makefile.nt: Build ddeclient.
1512         * cmdproxy.c (main): Only set environment size for real shell, and
1513         provide extra directory argument, when running on Windows 95.
1515 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
1517         * cmdproxy.c (fail): Exit with a negative return value.
1518         (spawn): Return subprocess return code as an argument.
1519         Explicitly copy environment block.
1520         (main): Update to use return value argument with spawn.
1521         Retry if spawn failed when a subshell was not tried.
1523         * config.nt: Include new macros from src/config.in.
1524         (GNU_MALLOC, REL_ALLOC): Define.
1525         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
1526         (RE_TRANSLATE): Use char_table_translate.
1528         * makefile.def (CP_DIR): Preserve attributes.
1530         * makefile.nt (clean): Delete patch generated files, optimized
1531         build directory.
1533 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
1535         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
1537 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
1539         * Version 20.2 released.
1541 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
1543         * Version 20.1 released.
1545 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
1547         * debug.bat.in: New file.
1548         * makefile.nt (debug.bat): New target.
1550 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
1552         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
1553         Quote group name.  Allow different icons to be specified.
1555         * cmdproxy.c (get_env_size): New function.
1556         (spawn): Explicitly pass in environment when creating subprocess.
1557         (main): Cleanup error messages.
1558         Specify dynamically sized environment block for real shell.
1559         Pass on unhandled switches to real shell.
1560         Quote program name.
1562         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
1563         directory.
1564         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
1566         * runemacs.c (WinMain): Allow Emacs process to be started with
1567         high or low priority.
1569         * emacs.bat.in: Remove OS dependent operations.
1571 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
1573         * addpm.c (env_vars): No longer set INFOPATH.
1575         * cmdproxy.c (get_next_token): Null terminate token returned.
1577         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
1579 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
1581         * addpm.c (env_vars): Set SHELL to cmdproxy.
1582         (main): Initialize idDde to 0.
1583         Determine emacs_path from module file name.
1584         Prompt for install.
1586         * makefile.def (MSVCNT11): Conditionally define it.
1587         (BASE_LIBS): Do not use oldnames.lib.
1588         (SYS_LDFLAGS): Use pdb files.
1589         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
1590         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
1591         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
1593         * makefile.nt (ALL): Build cmdproxy.
1594         (cmdproxy): New target.
1595         (install): Install cmdproxy.
1597         * ftime.bat, debug.bat, cmdproxy.c: New files.
1599 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
1601         * inc/sys/socket.h (shutdown): Define.
1602         (sys_shutdown): Export.
1604 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
1606         * config.nt (RE_TRANSLATE): Copy definition from config.in.
1608 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
1610         * config.nt: Update file comments.
1611         Update undefs added/removed in src/config.in.
1613 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
1615         * makefile.def, emacs.bat: Use windows95 and windowsnt instead
1616         of win95 and winnt, respectively.
1618 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
1620         * makefile.nt (real_install): Create site-lisp in installation dir.
1621         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
1622         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
1624 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
1626         * Version 19.33 released.
1628 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
1630         * runemacs.c (WinMain): Put a space between the binary and its args.
1632 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
1634         * Version 19.32 released.
1636 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
1638         * makefile.nt (clean): Use OBJDIR macro.
1640 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
1642         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
1643         Not defined by default.
1644         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
1645         (WinMain): Convert backslashes to slashes in env var values.
1647         * addpm.c (env_vars): Use slashes, not backslashes.
1649 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
1651         * Version 19.31 released.
1653 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
1655         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
1656         undo settings afterwards.
1658 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
1660         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
1661         environment variable.
1663 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
1665         * install.bat: Allow for optimized build.
1666         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
1667         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
1669 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
1671         * addpm.c (REG_ROOT): Don't use a trailing backslash.
1672         (env_vars): Rename field emacs_path to emacs_dir.
1673         (main): Add link to runemacs instead of emacs.
1675         * install.bat: Check if INSTALL_DIR is passed as an argument.
1677         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
1679         * makefile.nt: Build and install runemacs.exe.
1681         * runemacs.c: New file.
1683         * config.w95: File removed.
1685         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
1686         inc/sys/socket.h, inc/sys/time.h: New header files.
1688         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
1690 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
1692         * makefile.def (DEL): Defined.
1693         (DEL_TREE) [win95]: Defined.
1694         (SYS_LDFLAGS): Set executable versions to 3.10.
1696         * makefile.nt: Change uses of del to $(DEL).
1698 1996-01-17  Erik Naggum  <erik@naggum.no>
1700         * All files: Update FSF's address in comment preamble.
1702 1996-01-03  George V. Reilly  <georger@microcrafts.com>
1704         * emacs.ico: Now the proverbial kitchen sink icon.
1706 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
1708         * Version 19.30 released.
1710 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
1712         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
1714         * makefile.nt (install, fast_install, real_install, clean):
1715         Don't use switches to del not supported by Win95.
1717 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
1719         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
1720         (install, fast_install): Change same-dir test to create test file in
1721         installation tree and thereby support read-only shares.
1722         (clean): Remove .pdb files.
1724         * makefile.def (NTGUI): New macro.
1725         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
1727         * config.nt, config.w95: Update to latest src/config.in.
1729         * addpm.c (env_vars): New variable.
1730         (add_registry): New procedure.
1731         (main): Use values of configuration environment variables from
1732         the registry if defined, the process environment otherwise.
1734 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
1736         * Version 19.29 released.
1738         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
1740 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
1742         * makefile.nt: Define .c to .obj suffix rule.
1743         (addpm.obj): Compile directly, use CFLAGS.
1744         (addpm.exe): Link from addpm.obj.
1746         * makefile.def (MSVCNT11): Defined.
1747         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
1748         (CFLAGS_COMMON): Defined.
1749         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
1751 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
1753         * emacs.bat.in: Renamed from emacs.bat.
1754         (emacs_dir): Renamed from emacs_path.
1755         Definition removed.
1757         * addpm.c: New file.
1758         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
1759         (all): Depend upon $(BLD) and $(ALL).
1760         (install): Depend upon emacs.bat.
1761         Create program item for Emacs.
1762         (clean): Delete obj.
1763         (emacs.bat): Defined.
1764         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
1766 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
1768         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
1769         Add carriage returns; necessary for batch files on Win95.
1771 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
1773         * config.w95: Created.
1774         * config.h: Changed to config.nt.
1776         * makefile.nt (SUBDIRS): Commented out.
1777         (all, install, clean): Expand for-loops.
1778         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
1780         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
1781         (ARCH): New definition.
1782         (CPU, CONFIG_H, OS_TYPE): Defined.
1783         (INCLUDE, LIB): Checked if valid.
1784         (ntwin32.mak): Included.
1785         (AR, CC, LINK): New definition.
1786         (ADVAPI32, libc, BASE_LIBS): Defined.
1787         (SYS_LDFLAGS): New definition.
1788         Update comments and preprocessor conditionals.
1790         * emacs.bat (SHELL): Conditionally defined.
1791         (HOME): Conditionally defined.
1792         (emacs_path, HOME): Update comments.
1793         Turn off all echo.
1795 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
1797         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
1798         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
1799         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
1800         inc/sys/param.h: Removed carriage-returns.
1802 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
1804         * makefile.def (CVTRES): Defined.
1806         * emacs.ico, emacs.rc: New files by Kevin Gallo.
1808 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
1810         * src: Remove directory.
1812         * src\config.h, src\paths.h: Moved to parent dir, src removed.
1814 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
1816         * makefile.def (INSTALL_DIR): Changed to generic directory.
1818         * emacs.bat: Added arguments when emacs.exe invoked.
1820         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
1822 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
1824         * makefile.def (CC): In configuration section.
1825         (COMPAT_LIB): Defined.
1827 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
1829         * src/paths.h: New file.
1831         * src/config.h: New file.
1833         * inc/pwd.h: New file.
1835         * inc/sys/dir.h: New file.
1837         * inc/sys/file.h: New file.
1839         * inc/sys/ioctl.h: New file.
1841         * inc/sys/param.h: New file.
1843         * todo: New file.
1845         * README: New file.
1847         * makefile.nt: New file.
1849         * makefile.def: New file.
1851         * install.cmd: New file.
1853         * INSTALL: New file.
1855         * fast-install.cmd: New file.
1857         * emacs.cmd: New file.
1859         * ebuild.cmd: New file.
1861         * _emacs: New file.
1863 ;; Local Variables:
1864 ;; coding: utf-8
1865 ;; add-log-time-zone-rule: t
1866 ;; End:
1868     Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004,
1869        2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
1871   This file is part of GNU Emacs.
1873   GNU Emacs is free software: you can redistribute it and/or modify
1874   it under the terms of the GNU General Public License as published by
1875   the Free Software Foundation, either version 3 of the License, or
1876   (at your option) any later version.
1878   GNU Emacs is distributed in the hope that it will be useful,
1879   but WITHOUT ANY WARRANTY; without even the implied warranty of
1880   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1881   GNU General Public License for more details.
1883   You should have received a copy of the GNU General Public License
1884   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
1886 ;;; arch-tag: b3d2c29c-04a0-45d0-b52d-57354711c414