nt/addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
[emacs.git] / nt / ChangeLog
blob05f01767bd31a582e69f1b3e7071852d5a506281
1 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
3         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
5 2010-08-12  Jason Rumney  <jasonr@gnu.org>
7         * addpm.c (add_registry): Set path for runemacs.exe to use.
9 2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
11         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
12         which has a 1024 char limit on Windows (bug#6647).
14 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
16         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
17         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
19 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
21         * config.nt: Remove code referring to NO_REMAP, unused.
23 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
25         Build binary distros on Windows using emacs-VERSION as root dir name.
27         * makefile.w32-in: Copy README.W32 to installation directory
28         during `make install'.  Remove README.W32 with `distclean' (in
29         case Emacs was installed in place).  Use temporary directory to
30         create distribution zip files in `dist' target.
31         * zipdist.bat: Simplify code using temporary directory.
33 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
35         * runemacs.c (set_user_model_id): Fix prototype.
37 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
39         New make target for Windows platform: make dist (bug#6602)
41         * INSTALL: Document new dist target and add section about
42         creating binary distributions.
43         * README.W32: Relocate from admin/nt/ directory.
44         * configure.bat: New parameter `--distfiles'.
45         * makefile.w32-in: Add version number, new target `dist'.
46         Add new target `install-shortcuts'.
47         * zipdist.bat: New file; create zipped binary distribution,
48         replaces admin/nt/makedist.bat.
50 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
52         * INSTALL: Add note about backslashes in Windows paths.
53         Fix typos.  Simplify references to Windows versions.
55 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
57         * addpm.c (add_registry, main):
58         * cmdproxy.c (get_env_size):
59         * ddeclient.c (main):
60         * runemacs.c (set_user_model_id):
61         Convert definitions to standard C.
63 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
65         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
67 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
69         * configure.bat: New option --enable-checking.
70         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
71         (CFLAGS): Include it.
73 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
75         * config.nt (volatile): Remove definition.
77 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
79         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
80         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
82 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
84         * config.nt (__P): Remove.
86 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
88         * config.nt: Remove code depending on BSTRING.
90 2010-06-03  Glenn Morris  <rgm@gnu.org>
92         * config.nt: Remove NOT_C_CODE tests, it is always true now.
94 2010-05-13  Glenn Morris  <rgm@gnu.org>
96         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
98 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
100         * Version 23.2 released.
102 2010-05-04  Glenn Morris  <rgm@gnu.org>
104         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
106 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
108         * emacs.manifest: Add trustInfo section to Windows manifest.
110 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
112         * Branch for 23.2.
114 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
116         * emacsclient.rc: Fix format of "LegalCopyright" value.
118 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
120         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
122 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
124         * INSTALL: Update for CVS->Bazaar switchover.
126 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
128         * configure.bat: Add #define PROFILING to config.h.
130 2009-07-03  Jason Rumney  <jasonr@gnu.org>
132         * runemacs.c (set_user_model_id): Use standard types.
134 2009-06-30  Jason Rumney  <jasonr@gnu.org>
136         * runemacs.c (set_user_model_id): New function.
137         (WinMain): Use it.
139 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
141         * Branch for 23.1.
143 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
145         * inc/sys/stat.h (struct stat): Change the types of st_uid and
146         st_gid to unsigned.
148         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
149         to unsigned.
150         (getpwuid): Argument is now unsigned.
151         uid_t is now unsigned.
153 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
155         * INSTALL: Add comment about TCC; fix typos.
157 2009-01-26  Jason Rumney  <jasonr@gnu.org>
159         * emacsclient.rc, emacs.rc: Swap name and description.
160         Remove Windows versions.
162 2009-01-15  Jason Rumney  <jasonr@gnu.org>
164         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
166         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
168         * addpm.c (main): Try using COM to create start menu shortcuts
169         before resorting to DDE (Bug#202)
170         Remove second command-line argument.
172 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
174         * configure.bat: Untabify help message.
176 2009-01-03  Jason Rumney  <jasonr@gnu.org>
178         * configure.bat: New option --with-svg.
180         * INSTALL: Document experimental SVG support.
182 2008-12-25  Jason Rumney  <jasonr@gnu.org>
184         * config.nt (PTR): Remove.
186 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
188         * config.nt (LISTPROC, PROCATTR): Remove.
190 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
192         * config.nt (LISTPROC, PROCATTR): New macros.
194 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
196         * config.nt (MULTI_KBOARD): Remove.
198 2008-07-23  Jason Rumney  <jasonr@gnu.org>
200         * configure.bat: New option --profile.
201         * gmake.defs: Set cflags and ldflags for profiling when specified.
203 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
205         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
207 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
209         * config.nt (HAVE_FACES): Remove, unused.
211 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
212             Eli Zaretskii  <eliz@gnu.org>
214         * nmake.defs (FONT_CFLAGS):
215         * gmake.defs (FONT_CFLAGS): Remove.
216         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
217         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
218         and _CRTAPI1.
219         (ARCH_FLAGS): Don't include _X86_.
221         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
223 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
225         * config.nt: Remove reference to UNEXEC_SRC.
227 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
228             Eli Zaretskii  <eliz@gnu.org>
230         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
231         Don't hardcode -gstabs+, use DEBUG_INFO.
233         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
234         Default to stabs if the compiler does not support DWARF-2.
235         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
237 2008-05-14  Jason Rumney  <jasonr@gnu.org>
239         * configure.bat: Remove code dealing with --disable-font-backend.
241 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
243         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
244         better alignment.  Make st_size 64-bit wide.  Add new members
245         st_uname and st_gname.
247         * inc/grp.h (struct group): Add gr_gid member.
249 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
251         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
252         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
253         a real file there is not a good idea.
255 2008-04-23  Jason Rumney  <jasonr@gnu.org>
257         * makefile.w32-in (CLIENTRES): New variable and build target.
258         (all): Depend on it.
259         ($(TRES)): Use $(TRES) in rule.
261 2008-04-21  Jason Rumney  <jasonr@gnu.org>
263         * configure.bat (success): Print "make" rather than "gmake", as that
264         is what MinGW uses.
266 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
268         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
269         Add copyright notice.
271 2008-04-10  Jason Rumney  <jasonr@gnu.org>
273         * emacsclient.rc: New file.
275         * INSTALL: Document make targets.
277 2008-04-09  Jason Rumney  <jasonr@gnu.org>
279         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
280         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
281         (top-distclean, distclean, distclean-other-dirs-nmake)
282         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
283         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
285 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
287         * inc/sys/stat.h: New file.
289         * configure.bat: Add check for usp10.h.
291 2008-04-04  Jason Rumney  <jasonr@gnu.org>
293         * INSTALL: Update W32 API requirements.
295 2008-04-03  Jason Rumney  <jasonr@gnu.org>
297         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
299 2008-03-13  Glenn Morris  <rgm@gnu.org>
301         * emacs.rc: Set version to 23.0.60.
303 2008-03-04  Jason Rumney  <jasonr@gnu.org>
305         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
306         (EMACS_EXTRA_C_FLAGS): Include it.
307         * configure.bat (usefontbackend): Default to Y.
308         (--enable-font-backend): Replace with --disable-font-backend.
309         (:withfont): Replace with :withoutfont.
311 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
313         * icons/emacs.ico: Full alpha for 32x32 full color.
314         Add 32x32 and 16x16 256 color versions.
316 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
318         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
320 2008-03-02  Jason Rumney  <jasonr@gnu.org>
322         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
324 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
326         * icons/README: Update.
328         * icons/emacs.ico: New icon.
330 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
332         * addpm.c: Include malloc.h.
333         (add_registry): Cast return value of alloca.
335 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
337         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
339 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
341         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
342         conditional on existence of junk.o.  If %nocygwin% is already set
343         to Y, skip to chkapiN instead of chkapi.
344         (chkapi): Move "rm -f junk.c junk.o" to here.
345         (chkapiN): New label.
347 2008-02-11  Jason Rumney  <jasonr@gnu.org>
349         * makefile.w32-in: Remove unidata-gen related rules.
351 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
353         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
355 2008-02-11  Jason Rumney  <jasonr@gnu.org>
357         * addpm.c (add_registry): Add an App Paths registry key.
358         Look for GTK and add it to the DLL search path for Emacs if found.
360 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
362         * configure.bat: In help, use generic names for the image libraries.
364 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
366         * .cvsignore: Don't ignore .arch-inventory.
368 2008-02-03  Jason Rumney  <jasonr@gnu.org>
370         * configure.bat: Make gcc the default compiler.
372 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
374         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
375         Ignore return status.
377         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
378         it out of the way of Windows generated file.  Generate
379         admin/unidata/makefile.
381         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
382         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
383         (unidatagen-clean-SH): New targets.
384         (bootstrap-nmake): Invoke unidatagen-nmake.
385         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
387 2008-02-01  Jason Rumney  <jasonr@gnu.org>
389         * configure.bat (withfont): Set sep1 after modifying usercflags.
391 2008-02-01  Jason Rumney  <jasonr@gnu.org>
393         * configure.bat: Rename --with-font-backend to --enable-font-backend
394         for consistency with other platforms.
396 2008-02-01  Jason Rumney  <jasonr@gnu.org>
398         * configure.bat: Add --with-font-backend option.
400 2008-01-20  Jason Rumney  <jasonr@gnu.org>
402         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
403         permissions to NTFS ACLs.
405 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
407         * config.nt: Remove HAVE_X11R5.
409 2007-10-22  Jason Rumney  <jasonr@gnu.org>
411         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
412         (strings.h, stdlib.h): Conditionally include.
413         (w32_abort): Declare here.
414         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
416 2007-10-20  Jason Rumney  <jasonr@gnu.org>
418         * makefile.w32-in (info-nmake): Change into correct directories.
420 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
422         * configure.bat (docflags, doldflags): New variables.
423         (genmakefiles): Use them to work around problems with whitespace
424         in arguments of the `if' command.
426 2007-10-18  Jason Rumney  <jasonr@gnu.org>
428         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
430 2007-09-27  Jason Rumney  <jasonr@gnu.org>
432         * gmake.defs (COMCTL32): New system library.
434         * nmake.defs (COMCTL32): New system library.
436 2007-09-06  Glenn Morris  <rgm@gnu.org>
438         * configure.bat:
439         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
440         Change from ../man to ../doc/emacs and ../doc/misc; and from
441         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
443 2007-08-29  Glenn Morris  <rgm@gnu.org>
445         * emacs.rc: Increase version to 23.0.50.
447 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
449         * makefile.w32-in (bootstrap-nmake): Change directories once more.
451 2007-07-25  Glenn Morris  <rgm@gnu.org>
453         * Relicense all FSF files to GPLv3 or later.
455         * COPYING: Switch to GPLv3.
457 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
459         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
460         Depend on cmdproxy.
461         (cleanall): Don't delete *~.
463 2007-07-15  Jason Rumney  <jasonr@gnu.org>
465         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
466         be fully supported.
468 2007-07-14  Jason Rumney  <jasonr@gnu.org>
470         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
471         of winsock.h.
473 2007-07-11  Jason Rumney  <jasonr@gnu.org>
475         * gmake.defs (OLE32): New library to link.
477         * nmake.defs (OLE32): Likewise.
479 2007-06-25  Jason Rumney  <jasonr@gnu.org>
481         * cmdproxy.c (main): Set console codepages to "ANSI".
483 2007-06-20  Jason Rumney  <jasonr@gnu.org>
485         * configure.bat: Complain if image libraries are missing.
487 2007-06-15  Jason Rumney  <jasonr@gnu.org>
489         * emacs.manifest: New file.
491         * emacs.rc: Use it.
493 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
495         * Version 22.1 released.
497 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
499         * INSTALL: Add information about where to find GDB, and warn
500         against --no-debug option to configure.bat.
502 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
504         * INSTALL: Fix URL of EmacsW32 site where building with image
505         support is described.
507 2007-04-26  Glenn Morris  <rgm@gnu.org>
509         * emacs.rc: Increase version to 22.1.50.
511 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
513         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
515 2007-03-09  Richard Stallman  <rms@gnu.org>
517         * INSTALL: Say explicitly this is not for Cygwin.
519 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
521         * INSTALL: Add URL of another site with detailed build instructions.
523 2007-02-16  Glenn Morris  <rgm@gnu.org>
525         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
526         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
527         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
528         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
529         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
530         Restore all but two of icons deleted in previous change.
532 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
534         * icons/README: New file.
536         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
537         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
538         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
539         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
540         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
541         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
542         Unused icons deleted.
544 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
546         * configure.bat: Update ../site-lisp/subdirs.el when needed.
548 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
550         * subdirs.el: Add "no-byte-compile: t" local variable.
552 2007-01-10  Jason Rumney  <jasonr@gnu.org>
554         * README: Update URLs and advice about reporting bugs.
556 2006-12-29  Jason Rumney  <jasonr@gnu.org>
558         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
559         DEBUG_LINK.
560         (DEBUG_LINK): Remove -debugtype:both.
562 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
564         * INSTALL: Update table of supported Make ports.  Show "make -j"
565         command that is known to work.
567         * configure.bat: Update table of supported Make ports.
569 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
571         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
572         only in implicit rules.  Use literal "emacs.rc" instead.
574 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
576         * gmake.defs: Export XMFLAGS.
578         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake): Don't
579         use $(XMFLAGS) for nmake, as it doesn't support parallelism.
581 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
583         * INSTALL: Explain how to invoke GNU Make for parallel builds.
585         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
586         command-line argument to sub-Make in src, since src/makefile.w32-in
587         invokes Make recursively during bootstrap.
588         (clean): Delete stamp_BLD.
589         (bootstrap): Make `all' explicitly in a recursive Make.
591         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
592         stamp_BLD after creating the $(BLD) directory.
594         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
595         stamp_BLD after creating the $(BLD) directory.
597         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
598         (preprep, $(TRES), runemacs)
599         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
600         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
601         Depend on stamp_BLD instead of on $(BLD).
602         (XMFLAGS): New macro.
603         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
604         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
605         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
606         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
608 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
610         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
611         $(ALL_DEPS).
612         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
613         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
614         New dependency on $(BLD).
615         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
616         (bootstrap-gmake): Depend on addsection.
618 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
620         * runemacs.c (WinMain): Process all recognized arguments, not just
621         the first one.  Remove unused variable sec_desc.
623 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
625         * config.nt (HAVE_LANGINFO_CODESET): Define.
627         * inc/langinfo.h: New file.
629         * inc/nl_types.h: New file.
631 2006-09-15  Jay Belanger  <belanger@truman.edu>
633         * COPYING: Replace "Library Public License" by "Lesser Public
634         License" throughout.
636 2006-07-27  Jason Rumney  <jasonr@gnu.org>
638         * INSTALL: Add notes about Cygwin make to impatient section.
640 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
642         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
643         known to work.
645 2006-03-12  Jason Rumney  <jasonr@gnu.org>
647         * addpm.c (add_registry): Don't change the registry unless keys
648         already exist from a previous version.
650         * makefile.w32-in (install): Use -q when invoking addpm.
652         * addpm.c (main): Accept -q as alternative for /q.
654 2006-03-11  Jason Rumney  <jasonr@gnu.org>
656         * runemacs.c (WinMain): Set screen buffer to 80x25.
658 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
660         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
661         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
663 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
665         * INSTALL: Add explanation of how to debug with GDB starting from
666         the Emacs Abort dialog.
668 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
670         * emacs.rc: Use new icons.
672 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
674         * emacs21.ico: Renamed from emacs.ico.
675         * emacs.ico: New icons from Andrew Zhilin
676         <andrew_zhilin@yahoo.com>.
678 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
680         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
682 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
684         * .cvsignore: Add `obj' and `oo' for in-place installations.
686 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
688         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
690 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
692         * configure.bat: Don't create lisp/Makefile.unix.
694 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
696         * .cvsignore: Add `makefile' and `config.log'.
698 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
700         Merge gnulib getopt implementation into Emacs.
702         * inc/gettext.h: Remove; no longer needed now that
703         lib-src/gettext.h exists.
705 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
707         * configure.bat: Finish config.log with a line that indicates that
708         the configure step was successful.
710 2005-07-04  Lute Kamstra  <lute@gnu.org>
712         Update FSF's address in GPL notices.
714 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
716         * configure.bat: If their fc.exe returns a meaningful exit status,
717         don't overwrite src/config.h and src/epaths.h with identical
718         copies.
720         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
721         changes.  Add a pointer to another site with detailed configure
722         and build instructions.  Suggest to look at config.log when
723         configure fails.  Add MinGW Make 3.80 to the list of successful
724         combinations.
726         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
727         "-mcpu=i686".
729         * configure.bat: Update copyright years.
730         Delete config.log before doing anything else.
731         Write additional diagnostics to config.log in case of failures to
732         compile test programs, including the failed test program itself.
733         Add a test for support of -mtune=pentium4 switch to GCC; if it is
734         supported, set up MCPU_FLAG variable on the various Makefiles to
735         use that switch during compilations.  (This avoids GCC warning
736         about -mcpu being deprecated.)
738 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
740         * addsection.c (copy_executable_and_add_section): Pass non-zero
741         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
742         environment.  Print section names with %.8s.
743         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
744         only if non-zero.  All callers changed.
746 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
748         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
749         `const void *', for consistency with Posix.
751 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
753         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
755 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
757         * INSTALL: Add more pointers to ports of Unix tools to Windows,
758         and to the Emacs Wiki (which contains building instructions for
759         Windows).  Reword image library instructions and remove obsolete
760         incompatibility information.
762 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
764         * config.nt (HAVE_PWD_H): Undef.
766 2004-06-07  Juanma Barranquero  <lektu@terra.es>
768         * INSTALL: Clarify paragraph about compatibility between image
769         libraries and builds of Emacs with several compilers.
771 2004-06-06  Juanma Barranquero  <lektu@terra.es>
773         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
774         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
775         calling non-existent cmdproxy.exe on bootstrapping after a
776         previous install followed by realclean.
778         * nmake.defs: Add quote in comment to resync font-locking.
780 2004-06-04  Juanma Barranquero  <lektu@terra.es>
782         * INSTALL: Reword the section on image support.  Add reference to
783         GnuWin32.  Mention problems when mixing binaries from different
784         compilers.
786 2004-05-06  Jason Rumney  <jasonr@gnu.org>
788         * configure.bat: Use -mno-cygwin to check for image libraries
789         when needed.
791 2004-05-03  Jason Rumney  <jasonr@gnu.org>
793         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
794         * makefile.def: Remove.
796         * nmake.defs (SYS_LDFLAGS): Add -nologo.
798         * makefile.w32-in (info-gmake, info-nmake): New targets.
799         (info): Use them.
801 2004-04-23  Juanma Barranquero  <lektu@terra.es>
803         * nmake.defs:
804         * gmake.defs:
805         * makefile.w32-in:
806         * makefile.def:
807         * makefile.nt: Add "-*- makefile -*-" mode tag.
809 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
811         * runemacs.c (WinMain): Let Emacs environment default to parent.
813 2004-03-11  Jason Rumney  <jasonr@gnu.org>
815         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
817 2004-03-10  Juanma Barranquero  <lektu@terra.es>
819         * makefile.w32-in (install): Don't try to copy
820         ../lib-src/fns-*.el, as it isn't used anymore.
822 2004-01-28  Peter Runestig  <peter@runestig.com>
824         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
826 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
828         * .cvsignore: Add `.arch-inventory'.
830 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
832         * inc/grp.h: New file.
834 2003-09-03  Peter Runestig  <peter@runestig.com>
836         * configure.bat: Create ``makefile'' in directories man, lispref
837         and lispintro.
839         * makefile.w32-in (force-info, info): New targets.
841         * envadd.bat: New file.
843         * multi-install-info.bat: New file.
845 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
847         * config.nt (my_strftime): New define.
849 2003-02-01  Jason Rumney  <jasonr@gnu.org>
851         * configure.bat: Automatically detect libXpm.
852         Suppress compiler output when testing for image libraries.
853         Give names of un-found libraries in messages.
855 2003-01-31  Juanma Barranquero  <lektu@terra.es>
857         * configure.bat: Automatically detect giflib and tifflib.
859 2003-01-29  Jason Rumney  <jasonr@gnu.org>
861         * gmake.defs (CURDIR): Disable cygpath kludge.
863 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
865         * configure.bat: Avoid endless loop when configuring without image
866         support.
868 2003-01-26  Jason Rumney  <jasonr@gnu.org>
870         * configure.bat: Automatically detect jpeglib.
872 2003-01-25  Jason Rumney  <jasonr@gnu.org>
874         * configure.bat: Automatically detect libpng.
876 2003-01-21  Jason Rumney  <jasonr@gnu.org>
878         * icons/hand.cur: New file.
880 2003-01-21  David Ponce  <david@dponce.com>
882         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
884 2003-01-15  Andrew Innes  <andrewi@gnu.org>
886         * gmake.defs (CURDIR): Convert to native Windows format (with
887         forward slashes), to support building with Cygwin builds of make.
889 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
891         * nmake.defs:
892         * gmake.defs: Made changes so that Emacs would link with
893         WinMM.lib.  This change was required for my addition of a Windows
894         compatible implementation of play-sound-internal.
896 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
898         * emacs.rc: Version updated to 21.3.50.
900 2002-06-13  Jason Rumney  <jasonr@gnu.org>
902         * addpm.c (env_vars): Remove EMACSLOCKDIR.
904         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
905         (maybe-bootstrap-SH): New targets.
906         (all): Depend on maybe-bootstrap.
908 2002-05-03  Jason Rumney  <jasonr@gnu.org>
910         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
911         (sys_getpeername, fcntl): Declare as wrappers.
913 2002-04-10  Juanma Barranquero  <lektu@terra.es>
915         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
916         after compiling .el files.
918 2002-03-20  Jason Rumney  <jasonr@gnu.org>
920         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
921         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
923 2002-03-19  Kim F. Storm  <storm@cua.dk>
925         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
926         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
927         (HAVE_SYS_UN_H): Undef.
928         From David Ponce <dponce@voila.fr>.
930 2002-03-13  Jason Rumney  <jasonr@gnu.org>
932         * config.nt (STRFTIME_NO_POSIX2): Define.
934 2002-02-18  Jason Rumney  <jasonr@gnu.org>
936         * emacs.rc: Define VS_VERSION_INFO if not already.
937         Update version info.
939 2002-01-04  Andrew Innes  <andrewi@gnu.org>
941         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
942         pick up relevant bits of the Windows API definitions.
944         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
945         pick up relevant bits of the Windows API definitions.
947 2001-12-14  Andrew Innes  <andrewi@gnu.org>
949         * makefile.w32-in (bootstrap): Build addsection program before
950         bootstrap (required for post-processing temacs.exe).
952 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
954         * COPYING: New file.
956 2001-12-03  Andrew Innes  <andrewi@gnu.org>
958         * makefile.w32-in (bootstrap-nmake):
959         (bootstrap-gmake): Extend bootstrap process to first do
960         bootstrap-clean in lisp dir and rebuild the DOC file.
961         (bootstrap): Do a "normal" make after the bootstrap work.
963 2001-11-20  Jason Rumney  <jasonr@gnu.org>
965         * INSTALL: Update table of versions of make that are suitable
966         for building Emacs, based on recent feedback.
968         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
970 2001-11-19  Andrew Innes  <andrewi@gnu.org>
972         * ftime-nostartup.bat: New file.
974         * ftime.bat: Don't include libc.lib for profiling - the profiler
975         corrupts part of memcpy.
977 2001-11-17  Jason Rumney  <jasonr@gnu.org>
979         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
980         expansion.  From Juanma Barranquero <lektu@terra.es>.
982 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
984         * (Version 21.1 released.)
986 2001-10-12  Andrew Innes  <andrewi@gnu.org>
988         * inc/pwd.h (uid_t, gid_t): New typedefs.
990 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
992         * Branch for 21.1.
994 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
996         * README: Update the address of the mailing list and subscription
997         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
999 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
1001         * INSTALL: Suggest to avoid using WinZip.
1003         * configure.bat: Make sure ../site-lisp exists; create if necessary.
1005 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
1007         * INSTALL: Mention that "make install" can be "nmake install".
1009 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
1011         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
1012         since some versions of `mkdir' don't automatically create parent
1013         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
1015 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
1017         * subdirs.el: New file.
1019         * configure.bat: Copy subdirs.el to the site-lisp directory.
1021         * makefile.w32-in (install): Copy subdirs.el to the installation
1022         directory.
1024 2001-06-20  Jason Rumney  <jasonr@gnu.org>
1026         * runemacs.c (WinMain): Add quotes around command in case of spaces.
1028 2001-06-01  Andrew Innes  <andrewi@gnu.org>
1030         * gmake.defs (sh_output): Don't use $(warning ...) to output
1031         messages, since that is not supported by GNU make 3.77.
1033 2001-05-24  Jason Rumney  <jasonr@gnu.org>
1035         * INSTALL: Clarify that building with MSVC requires nmake.
1037 2001-05-17  Andrew Innes  <andrewi@gnu.org>
1039         * gmake.defs (NEW_CYGWIN): Output message about spurious error
1040         message that is to be ignored.
1042 2001-05-13  Andrew Innes  <andrewi@gnu.org>
1044         * TODO: Remove file, since it is completely out of date.
1046         * README: Add copyright notice.
1048         * INSTALL: Add copyright notice.
1050 2001-04-18  Andrew Innes  <andrewi@gnu.org>
1052         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
1053         the environment.
1055         * gmake.defs (SETLOADPATH): Remove definition.
1056         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
1057         environment.
1059 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
1061         * configure.bat: Make the checkw32api* labels be distinct in the
1062         first 8 characters.
1064 2001-03-17  Andrew Innes  <andrewi@gnu.org>
1066         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
1067         escaped quotes.
1069         * gmake.defs (DEBUG_LINK): New macro.
1070         (LINK_FLAGS): Use it.
1072         * nmake.defs (DEBUG_LINK): New macro.
1073         (LINK_FLAGS): Use it.
1075 2001-03-06  Andrew Innes  <andrewi@gnu.org>
1077         * INSTALL: Add --ldflags to configure line for building with
1078         recent versions of Cygwin GCC.
1080 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
1082         * configure.bat: Use correct options when compiling a test program
1083         with Cygwin.  From David Ponce <dponce@voila.fr>.
1085 2001-02-24  Andrew Innes  <andrewi@gnu.org>
1087         * _emacs: Remove obsolete file.
1089         * emacs.bat.in: Remove obsolete file.
1091         * debug.bat.in: Remove obsolete file.
1093         * inc/sys/socket.h: Add copyright notice.
1095         * paths.h: Add copyright notice.
1097         * makefile.nt: Update copyright notice.
1099         * makefile.def: Update copyright notice.
1101         * configure.bat: Update copyright notice.
1103         * nmake.defs: Add copyright notice.
1105         * gmake.defs: Add copyright notice.
1107         * makefile.w32-in: Add copyright notice.
1109 2001-02-05  Andrew Innes  <andrewi@gnu.org>
1111         * nmake.defs (THISDIR): New definition.
1113         * gmake.defs (THISDIR): New definition.
1115 2001-02-03  Andrew Innes  <andrewi@gnu.org>
1117         * configure.bat: Leave a space before >> only when there is a
1118         preceding digit.  Add a comment about the importance of this.
1120         * README: Replace outdated information.
1122         * INSTALL (Trouble-shooting): Add note about need to specify extra
1123         compiler flags with recent Cygwin ports of gcc.
1125 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
1127         * configure.bat: Use "rm -f" instead of "del /f", as the latter
1128         is not supported by Windows 9X's COMMAND.COM.
1130 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
1132         * configure.bat: Make sure redirection is preceded by a blank, to
1133         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
1134         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
1136 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
1138         * INSTALL: Copy the table of tested combinations of development
1139         tools from configure.bat.  Add suggestion to install Bash on
1140         Windows 9X.
1142         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
1143         lisp/Makefile.in instead.  Use "rm -f" where more than one file
1144         needs to be deleted, since command.com in Windows 9X doesn't grok
1145         more than one argument.
1147 2001-01-24  Andrew Innes  <andrewi@gnu.org>
1149         * makefile.w32-in (cleanall-other-dirs-nmake):
1150         (cleanall-other-dirs-gmake): New targets.
1151         (cleanall): Invoke them.
1153 2001-01-19  Andrew Innes  <andrewi@gnu.org>
1155         * addpm.c (env_vars): Add a version-independent site-lisp
1156         directory to EMACSLOADPATH, after the version dependent one.
1158 2001-01-06  Andrew Innes  <andrewi@gnu.org>
1160         * README: Update info about compilers.
1162         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
1163         select correct rule for invoking make in another directory.  Amend
1164         rules accordingly.
1165         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
1167         * nmake.defs (EMACS_ICON_PATH): Delete definition.
1168         (COMPILER_TEMP_FILES): New definition.
1169         (MAKETYPE): New definition.
1171         * gmake.defs (EMACS_ICON_PATH): Delete definition.
1172         (COMPILER_TEMP_FILES): New definition.
1173         (MAKETYPE): New definition.
1175         * makefile.def (EMACS_ICON_PATH): Delete definition.
1177         * configure.bat: Be careful not to add trailing spaces when
1178         outputting to config.settings.
1180 2001-01-02  Andrew Innes  <andrewi@gnu.org>
1182         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
1183         than the function.
1185 2000-12-17  Andrew Innes  <andrewi@gnu.org>
1187         * makefile.w32-in (install): Copy directories to the correct
1188         places.
1189         (real_install): Remove obsolete target.
1191 2000-12-06  Andrew Innes  <andrewi@gnu.org>
1193         * nmake.defs (CURDIR): New define.
1194         (INSTALL_DIR): Use it.
1196         * gmake.defs (NEW_CYGWIN): New define.
1197         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
1198         so we need to adjust how we escape embedded quotes.
1199         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
1200         relative to $(CURDIR).
1202 2000-11-25  Jason Rumney  <jasonr@gnu.org>
1204         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
1206 2000-10-17  Andrew Innes  <andrewi@gnu.org>
1208         * makefile.w32-in (recompile): New target to recompile lisp
1209         directory.
1210         (recompile-CMD, recompile-SH): New support targets.
1212 2000-09-24  Jason Rumney  <jasonr@gnu.org>
1214         * config.nt (NO_RETURN): Define it.
1216 2000-09-17  Andrew Innes  <andrewi@gnu.org>
1218         * gmake.defs: Revert to Unix line endings.
1220         * nmake.defs: Revert to Unix line endings.
1222 2000-09-16  Andrew Innes  <andrewi@gnu.org>
1224         * gmake.defs (SETLOADPATH): Change definition to work from any
1225         subdirectory.
1227 2000-09-14  Andrew Innes  <andrewi@gnu.org>
1229         * makefile.w32-in: Revert to Unix line endings.
1231 2000-09-14  Andrew Innes  <andrewi@gnu.org>
1233         * INSTALL: Add note about expected error messages when configure
1234         is run.
1236         * configure.bat: Simplify the generation of makefiles (don't need
1237         to generate various top-level targets that invoke make in other
1238         directories).
1240         * gmake.defs (SHELLTYPE): New define.
1241         (SETLOADPATH): New define.
1243         * nmake.defs (SHELLTYPE): New define.
1245         * makefile.w32-in: Standardize indentation somewhat.
1246         Add bootstrap support.
1247         Pass $(MFLAGS) when invoking make recursively.
1248         Add shell-specific variants of top-level targets that invoke make
1249         recursively in other directories, and add necessary computed
1250         dependencies.
1252 2000-09-03  Andrew Innes  <andrewi@gnu.org>
1254         * makefile.w32-in: Change to DOS line endings.
1256         * configure.bat: Change to DOS line endings.
1258         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
1259         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
1261         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
1262         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
1264         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
1265         -D_ANONYMOUS_STRUCT on compile line.
1266         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
1267         (ARCH_CFLAGS): Change optimization flags to -O2.
1268         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
1269         (ARGQUOTE, DQUOTE): New defines.
1271         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
1272         -D_ANONYMOUS_STRUCT on compile line.
1273         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
1274         (ARGQUOTE, DQUOTE): New defines.
1276 2000-08-22  Andrew Innes  <andrewi@gnu.org>
1278         * configure.bat: New file.
1280         * gmake.defs: New file.
1282         * nmake.defs: New file.
1284         * makefile.w32-in: New file.
1286         * INSTALL: Rewrite to match new configure process.
1288         * config.nt [WINDOWSNT]: Don't declare getenv.
1289         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
1291         * addpm.c (main): Accept /q to mean install based on addpm's
1292         location without asking.  Remove reference to emacs.bat which is
1293         now obsolete.
1295         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
1297         * paths.h: Use forward slash as directory separator in all path
1298         definitions.
1299         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
1301         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
1303         * runemacs.c: Remove WIN32 define.
1305         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
1306         not defined.
1308         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
1309         (fd_set): Define to new name, after including winsock.h, so we can
1310         provide our own implementation.
1312 2000-07-05  Andrew Innes  <andrewi@gnu.org>
1314         * ebuild.bat: Add support for specifying make arguments.
1316         * makefile.nt: Add support for `bootstrap' and related targets.
1318 2000-06-11  Jason Rumney  <jasonr@gnu.org>
1320         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
1322 2000-02-06  Andrew Innes  <andrewi@gnu.org>
1324         * inc/sys/time.h: Add inclusion protection.
1326         * makefile.def (SYS_LDFLAGS): Add -nologo.
1328 1999-11-22  Andrew Innes  <andrewi@gnu.org>
1330         * install.bat: Pass on command line arguments to make.
1332         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
1334 1999-11-21  Andrew Innes  <andrewi@gnu.org>
1336         * makefile.nt (all): Build leim if present.
1337         (install): Install leim if present.
1338         (clean): Clean leim if present.
1340         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
1341         definition.
1343         * emacs.bat.in (EMACSLOADPATH): Include leim.
1345 1999-07-12  Richard Stallman  <rms@gnu.org>
1347         * Version 20.4 released.
1349 1999-06-16  Andrew Innes  <andrewi@gnu.org>
1351         * emacs.rc: Use an icon with a transparent background, to be in
1352         keeping with other applications.
1354 1999-06-03  Andrew Innes  <andrewi@gnu.org>
1356         * preprep.c: Fix typo.
1358 1999-05-02  Andrew Innes  <andrewi@gnu.org>
1360         * config.h: Remove obsolete file.
1362         * preprep.c (copy_executable_and_move_sections): Ifdef out a
1363         couple of unused switch cases that aren't defined on all
1364         platforms.
1366         * ftime.bat: Add another variation of the profile command, which
1367         only profiles extended commands.
1369 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
1371         * cmdproxy.c (main): Fix parens.
1373 1999-03-25  Andrew Innes  <andrewi@gnu.org>
1375         * cmdproxy.c (main): Call GetShortPathName to normalize program
1376         names for comparison.
1378 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
1380         * makefile.def: Compile multiple .c files when possible.
1381         Use BLD instead of assuming i386.
1382         * makefile.nt: Remove common multiple file compilation commands.
1384 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
1386         * cmdproxy.c (main): Add missing parens.
1388 1999-02-20  Andrew Innes  <andrewi@gnu.org>
1390         * preprep.c: New program to allow dumped image to be profiled.
1392         * makefile.nt (preprep): New target.
1393         (ALL): Build it.
1395         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
1397         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
1398         Change prep options to profile libc functions and skip the startup
1399         code.
1401 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
1403         * makefile.nt: Create installation directory as first step.
1405 1999-01-31  Andrew Innes  <andrewi@gnu.org>
1407         * addsection.c (ROUND_UP_DST_AND_ZERO): Renamed from
1408         ROUND_UP_DST.  Zeroes the alignment slop.
1409         (copy_executable_and_add_section): Update the
1410         SizeOfHeaders field properly.
1412 1999-01-27  Andrew Innes  <andrewi@gnu.org>
1414         * makefile.nt: Do make version comparison as strings.
1416 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
1418         * runemacs.c (WinMain): Pass explicit environment block to
1419         CreateProcess, to work around a bug in Windows 95/98.
1421 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
1423         * icons: New directory with Davenport's icons.
1424         * icons/sink.ico: Renamed from emacs.ico.
1426         * makefile.nt (install, fast_install): Install Windows icons
1427         into etc/icons.
1429         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
1431 1999-01-17  Andrew Innes  <andrewi@gnu.org>
1433         * makefile.nt (ALL): List top-level targets.
1434         (addsection): New top-level target.
1435         (install): Copy fns-*.el to bin directory.
1437         * addsection.c: New program to add static heap section to
1438         temacs.exe after linking, in support of new unexec method.
1440 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
1442         * cmdproxy.c (spawn): Pass directory for child as parameter.
1443         (main): Save startup directory to give to spawn, then change
1444         directory to location of .exe in order not to prevent startup
1445         directory from being deleted.
1447 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
1449         * makefile.nt: Do string comparision of _NMAKE_VER.
1451 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
1453         * config.nt (LOCALTIME_CACHE): Define.
1455 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
1457         * install.bat: Convert to DOS format.
1459 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
1461         * cmdproxy.c (main): Set environment size only when running
1462         command.com.
1464 1998-11-03  Theodore Jump  <tjump@tertius.com>
1466         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
1467         (DEL_TREE): Use rd instead of rmdir.
1468         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
1469         * makefile.nt: Compile multiple source files when possible.
1471 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
1473         * cmdproxy.c (main): Treat command line options as case-insensitive.
1475 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
1477         * Version 20.3 released.
1479 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
1481         * addpm.c (main): Explicitly check result of message box for OK.
1483 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
1485         * inc/sys/file.h (D_OK): Define new macro.
1487 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
1489         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
1491 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
1493         * emacs.rc (VS_VERSION_INFO): Define.
1495 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
1497         * makefile.nt (emacs.bat, debug.bat): Create them in the
1498         installation directory.
1500 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
1502         * ddeclient.c: New file.  (Support program for performing limited
1503         interprocess communication on Windows.)
1505         * makefile.nt: Build ddeclient.
1507         * cmdproxy.c (main): Only set environment size for real shell, and
1508         provide extra directory argument, when running on Windows 95.
1510 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
1512         * cmdproxy.c (fail): Exit with a negative return value.
1513         (spawn): Return subprocess return code as an argument.
1514         Explicitly copy environment block.
1515         (main): Update to use return value argument with spawn.
1516         Retry if spawn failed when a subshell was not tried.
1518         * config.nt: Include new macros from src/config.in.
1519         (GNU_MALLOC, REL_ALLOC): Define.
1520         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
1521         (RE_TRANSLATE): Use char_table_translate.
1523         * makefile.def (CP_DIR): Preserve attributes.
1525         * makefile.nt (clean): Delete patch generated files, optimized
1526         build directory.
1528 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
1530         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
1532 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
1534         * Version 20.2 released.
1536 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
1538         * Version 20.1 released.
1540 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
1542         * debug.bat.in: New file.
1543         * makefile.nt (debug.bat): New target.
1545 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
1547         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
1548         Quote group name.  Allow different icons to be specified.
1550         * cmdproxy.c (get_env_size): New function.
1551         (spawn): Explicitly pass in environment when creating subprocess.
1552         (main): Cleanup error messages.
1553         Specify dynamically sized environment block for real shell.
1554         Pass on unhandled switches to real shell.
1555         Quote program name.
1557         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
1558         directory.
1559         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
1561         * runemacs.c (WinMain): Allow Emacs process to be started with
1562         high or low priority.
1564         * emacs.bat.in: Remove OS dependent operations.
1566 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
1568         * addpm.c (env_vars): No longer set INFOPATH.
1570         * cmdproxy.c (get_next_token): Null terminate token returned.
1572         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
1574 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
1576         * addpm.c (env_vars): Set SHELL to cmdproxy.
1577         (main): Initialize idDde to 0.
1578         Determine emacs_path from module file name.
1579         Prompt for install.
1581         * makefile.def (MSVCNT11): Conditionally define it.
1582         (BASE_LIBS): Do not use oldnames.lib.
1583         (SYS_LDFLAGS): Use pdb files.
1584         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
1585         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
1586         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
1588         * makefile.nt (ALL): Build cmdproxy.
1589         (cmdproxy): New target.
1590         (install): Install cmdproxy.
1592         * ftime.bat, debug.bat, cmdproxy.c: New files.
1594 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
1596         * inc/sys/socket.h (shutdown): Define.
1597         (sys_shutdown): Export.
1599 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
1601         * config.nt (RE_TRANSLATE): Copy definition from config.in.
1603 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
1605         * config.nt: Update file comments.
1606         Update undefs added/removed in src/config.in.
1608 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
1610         * makefile.def, emacs.bat: Use windows95 and windowsnt instead
1611         of win95 and winnt, respectively.
1613 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
1615         * makefile.nt (real_install): Create site-lisp in installation dir.
1616         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
1617         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
1619 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
1621         * Version 19.33 released.
1623 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
1625         * runemacs.c (WinMain): Put a space between the binary and its args.
1627 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
1629         * Version 19.32 released.
1631 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
1633         * makefile.nt (clean): Use OBJDIR macro.
1635 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
1637         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
1638         Not defined by default.
1639         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
1640         (WinMain): Convert backslashes to slashes in env var values.
1642         * addpm.c (env_vars): Use slashes, not backslashes.
1644 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
1646         * Version 19.31 released.
1648 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
1650         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
1651         undo settings afterwards.
1653 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
1655         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
1656         environment variable.
1658 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
1660         * install.bat: Allow for optimized build.
1661         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
1662         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
1664 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
1666         * addpm.c (REG_ROOT): Don't use a trailing backslash.
1667         (env_vars): Rename field emacs_path to emacs_dir.
1668         (main): Add link to runemacs instead of emacs.
1670         * install.bat: Check if INSTALL_DIR is passed as an argument.
1672         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
1674         * makefile.nt: Build and install runemacs.exe.
1676         * runemacs.c: New file.
1678         * config.w95: File removed.
1680         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
1681         inc/sys/socket.h, inc/sys/time.h: New header files.
1683         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
1685 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
1687         * makefile.def (DEL): Defined.
1688         (DEL_TREE) [win95]: Defined.
1689         (SYS_LDFLAGS): Set executable versions to 3.10.
1691         * makefile.nt: Change uses of del to $(DEL).
1693 1996-01-17  Erik Naggum  <erik@naggum.no>
1695         * All files: Update FSF's address in comment preamble.
1697 1996-01-03  George V. Reilly  <georger@microcrafts.com>
1699         * emacs.ico: Now the proverbial kitchen sink icon.
1701 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
1703         * Version 19.30 released.
1705 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
1707         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
1709         * makefile.nt (install, fast_install, real_install, clean):
1710         Don't use switches to del not supported by Win95.
1712 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
1714         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
1715         (install, fast_install): Change same-dir test to create test file in
1716         installation tree and thereby support read-only shares.
1717         (clean): Remove .pdb files.
1719         * makefile.def (NTGUI): New macro.
1720         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
1722         * config.nt, config.w95: Update to latest src/config.in.
1724         * addpm.c (env_vars): New variable.
1725         (add_registry): New procedure.
1726         (main): Use values of configuration environment variables from
1727         the registry if defined, the process environment otherwise.
1729 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
1731         * Version 19.29 released.
1733         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
1735 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
1737         * makefile.nt: Define .c to .obj suffix rule.
1738         (addpm.obj): Compile directly, use CFLAGS.
1739         (addpm.exe): Link from addpm.obj.
1741         * makefile.def (MSVCNT11): Defined.
1742         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
1743         (CFLAGS_COMMON): Defined.
1744         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
1746 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
1748         * emacs.bat.in: Renamed from emacs.bat.
1749         (emacs_dir): Renamed from emacs_path.
1750         Definition removed.
1752         * addpm.c: New file.
1753         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
1754         (all): Depend upon $(BLD) and $(ALL).
1755         (install): Depend upon emacs.bat.
1756         Create program item for Emacs.
1757         (clean): Delete obj.
1758         (emacs.bat): Defined.
1759         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
1761 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
1763         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
1764         Add carriage returns; necessary for batch files on Win95.
1766 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
1768         * config.w95: Created.
1769         * config.h: Changed to config.nt.
1771         * makefile.nt (SUBDIRS): Commented out.
1772         (all, install, clean): Expand for-loops.
1773         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
1775         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
1776         (ARCH): New definition.
1777         (CPU, CONFIG_H, OS_TYPE): Defined.
1778         (INCLUDE, LIB): Checked if valid.
1779         (ntwin32.mak): Included.
1780         (AR, CC, LINK): New definition.
1781         (ADVAPI32, libc, BASE_LIBS): Defined.
1782         (SYS_LDFLAGS): New definition.
1783         Update comments and preprocessor conditionals.
1785         * emacs.bat (SHELL): Conditionally defined.
1786         (HOME): Conditionally defined.
1787         (emacs_path, HOME): Update comments.
1788         Turn off all echo.
1790 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
1792         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
1793         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
1794         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
1795         inc/sys/param.h: Removed carriage-returns.
1797 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
1799         * makefile.def (CVTRES): Defined.
1801         * emacs.ico, emacs.rc: New files by Kevin Gallo.
1803 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
1805         * src: Remove directory.
1807         * src\config.h, src\paths.h: Moved to parent dir, src removed.
1809 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
1811         * makefile.def (INSTALL_DIR): Changed to generic directory.
1813         * emacs.bat: Added arguments when emacs.exe invoked.
1815         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
1817 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
1819         * makefile.def (CC): In configuration section.
1820         (COMPAT_LIB): Defined.
1822 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
1824         * src/paths.h: New file.
1826         * src/config.h: New file.
1828         * inc/pwd.h: New file.
1830         * inc/sys/dir.h: New file.
1832         * inc/sys/file.h: New file.
1834         * inc/sys/ioctl.h: New file.
1836         * inc/sys/param.h: New file.
1838         * todo: New file.
1840         * README: New file.
1842         * makefile.nt: New file.
1844         * makefile.def: New file.
1846         * install.cmd: New file.
1848         * INSTALL: New file.
1850         * fast-install.cmd: New file.
1852         * emacs.cmd: New file.
1854         * ebuild.cmd: New file.
1856         * _emacs: New file.
1858 ;; Local Variables:
1859 ;; coding: utf-8
1860 ;; add-log-time-zone-rule: t
1861 ;; End:
1863     Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004,
1864        2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
1866   This file is part of GNU Emacs.
1868   GNU Emacs is free software: you can redistribute it and/or modify
1869   it under the terms of the GNU General Public License as published by
1870   the Free Software Foundation, either version 3 of the License, or
1871   (at your option) any later version.
1873   GNU Emacs is distributed in the hope that it will be useful,
1874   but WITHOUT ANY WARRANTY; without even the implied warranty of
1875   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1876   GNU General Public License for more details.
1878   You should have received a copy of the GNU General Public License
1879   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
1881 ;;; arch-tag: b3d2c29c-04a0-45d0-b52d-57354711c414