Use make_formatted_string to avoid double length calculation.
[emacs.git] / nt / ChangeLog
blob8b2d9ad1b1df745b1e75197b0dc2a35ff977138b
1 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
3         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
5 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
6             Eli Zaretskii  <eliz@gnu.org>
8         * config.nt: Complete rework to bring it in sync with autogen/config.in.
9         All Windows-specific code moved to src/s/ms-w32.h.
11 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
12             Eli Zaretskii  <eliz@gnu.org>
14         * configure.bat (enablechecking): Enable checks through src/config.h,
15         not the compiler's command line.
17         * nmake.defs (CHECKING_CFLAGS): Remove.
18         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
20         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
21         (CHECKING_CFLAGS): Remove.
22         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
24 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
26         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
27         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
28         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
29         (HAVE_MEMCMP): Remove, obsolete.
31 2012-06-30  Glenn Morris  <rgm@gnu.org>
33         * paths.h (PATH_SITELOADSEARCH): New.
35 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
37         * nmake.defs (CHECKING_CFLAGS):
38         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
40 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
42         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
44 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
46         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
47         * config.nt (_Noreturn): New macro.
48         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
49         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
51 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
53         * inc/sys/time.h (struct timespec): Don't define it here, it is
54         now defined in src/s/ms-w32.h.
56 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
58         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
59         * inc/sys/time.h (struct timespec): Define.
61 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
63         * makefile.w32-in (install-addpm): New target.
64         (dist): Depend on it.
65         (install-shortcuts): Depend on install-addpm instead of copying
66         addpm.exe as part of the recipe.  See
67         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
68         for the related problem and discussions.
70 2012-06-11  Glenn Morris  <rgm@gnu.org>
72         * config.nt (SYSTEM_TYPE): Define it.
74 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
76         * configure.bat (genmakefiles): Move the redirection away from the
77         end of the command, to avoid excess whitespace at the end of Make
78         variables created at configure time, and also avoid things like
79         "FOO1>>config.settings", where "1" gets interpreted as the file
80         descriptor and eaten up.  This fixes breakage introduced by the
81         last change, without reintroducing the bug fixed by that change.
83 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
85         * nmake.defs (MWINDOWS): Define as
86         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
87         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
89         * gmake.defs (MWINDOWS): Define as "-mwindows".
91 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
93         * config.nt (HAVE_SYSINFO): Remove; unused.
95 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
97         * inc/stdalign.h: New file.
99         * configure.bat: Ensure a space between %var% expansion and
100         redirection symbol '>', which breaks when %var% ends in a digit,
101         such as 1.
103 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
105         Remove src/m/*.
106         * config.nt: Do not include "m/intel386.h"; file was removed.
107         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
108         Move to src/lisp.h.
109         (EMACS_INT_MAX): New macro.
111 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
113         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
114         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
116         * config.nt (HAVE_FTIME): Remove undef; not needed.
118 2012-05-01  Glenn Morris  <rgm@gnu.org>
120         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
122 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
124         * makefile.w32-in: Fix typo (Bug#10261).
126 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
128         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
129         each runs makeinfo in its own subdirectory of 'doc'.
130         (info-gmake): Depend on these new targets.
132 2012-04-07  Glenn Morris  <rgm@gnu.org>
134         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
135         Bump version to 24.1.50.
137 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
139         * configure.bat: Support building with libxml2.
141         * INSTALL:
142         * README.W32: Add information about libxml2.
144 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
146         * makefile.w32-in: Convert to Unix EOL format.
147         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
148         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
149         (bootstrap-gmake): Invoke the "clean" and build targets in 2
150         separate commands, so they run in that order even under "make -j".
152 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
154         * config.nt: Discourage from defining HAVE_GETCWD.
156 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
158         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
159         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
160         on other (parallel) Make job's toes.
161         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
162         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
163         here.
164         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist): Depend
165         on create-tmp-dist-dir.
167         * nmake.defs (DIRNAME): New variable.
168         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
169         same-dir.tst.
171         * gmake.defs (DIRNAME): New variable.
172         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
173         same-dir.tst, to avoid conflicts between several (parallel) Make
174         jobs.
176 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
178         Prevent endless re-spawning of cmdproxy.exe when some of its
179         parent directories have access limitations.
181         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
182         and our own module name to short 8+3 aliases, if the original file
183         names compare equal.  If GetShortPathName fails, compare the base
184         names of the two file names, and only re-spawn the command line if
185         the base-name comparison also fails.  (Bug#10674)
187 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
189         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
191 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
193         * README.W32: Removed specific version information for libXpm
194         included in the binary distribution for maintenance purposes.
196 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
198         * README.W32: Clarification for inclusion in source tarball. (Bug#9750)
200         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
202         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
204         * makefile.w32-in (maybe-copy-distfiles)
205         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
206         (create-tmp-dist-dir): Add to make --distfiles optional.
207         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles. (Bug#10261)
209 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
211         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
212         by other headers.
214 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
216         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
217         (UINT64_MAX) [_WIN64]: Fix definition.
218         (uintmax_t, intmax_t): Fix definitions.
220         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
221         Provide correct definitions.
223         * config.nt (HAVE_DECL_STRTOLL): Define.
224         (va_copy) [_WIN64]: Provide a better definition.
226 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
228         * configure.bat: Fix typos.
230 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
232         * INSTALL: Elaborate on debugging fatal errors.
234 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
236         * README.W32: Update the GTK Windows download URL for libpng.
238 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
240         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
242 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
244         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
245         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
246         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
247         (intmax_t, INT64_MAX): Add for MSVC.
249         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
251 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
253         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
255         Support MSVC build with newer versions of Visual Studio.
256         * makefile.w32-in (clean-other-dirs-nmake)
257         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
258         Update for current structure of doc/ subdirectories.
260         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
262         * INSTALL: Update for newer versions of MSVC.
264 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
266         Support MSVC build with newer versions of Visual Studio.
267         * nmake.defs (USE_CRT_DLL): Define to 1.
268         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
269         (D): New variable.
271 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
273         * runemacs.c (ensure_unicows_dll): New function, tries to load
274         UNICOWS.DLL on Windows 9X.
275         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
276         display a dialog to the effect that Emacs cannot be started.
277         (Bug#8562)
279 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
281         * README.W32: Mention UNICOWS.DLL as prerequisite for running
282         Emacs on Windows 9X.
284 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
286         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
287         distribution.  (Bug#9861)
289 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
291         * INSTALL: Update URL for GTK download page.
293 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
295         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
296         (Bug#9794) (Bug#641)
298 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
300         * config.nt (HAVE_SNPRINTF): New macro.
302 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
304         Assume freestanding C89 headers, string.h, stdlib.h.
305         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
306         (STDC_HEADERS): Remove.
307         Iinclude string.h, stdlib.h unconditionally.
309 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
311         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
312         [!__GNUC__]: New macros.
314 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
316         Use 'inline', not 'INLINE'.
317         * config.nt (INLINE): Remove.
319 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
321         * README.W32: Add information about GnuTLS libraries.
323 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
325         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
327 2011-05-07  Ben Key  <bkey76@gmail.com>
329         * configure.bat: Renamed the fusercflags variable to escusercflags
330         so that the variable name better matches its purpose, to be
331         identical to usercflags with the exception that all quotes are
332         escaped by the \ character.
334         Renamed the fuserldflags variable to escuserldflags so that the
335         variable name better matches its purpose, to be identical to
336         userldflags with the exception that all quotes are escaped by
337         the \ character.
339         A new ESC_USER_CFLAGS variable is written to config.settings.
340         This variable has the same value as the escusercflags variable.
342         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
343         This variable is identical to the CFLAGS variable except that it
344         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
346         These changes, along with some changes to src/makefile.w32-in,
347         are required to extend my earlier fix to add support for
348         --cflags and --ldflags options that include quotes so that it
349         works whether make uses cmd or sh as the shell.
351 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
353         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
354         definition of uintmax_t from here...
355         * inc/stdint.h (uintmax_t): ...to here.
356         (intptr_t) [!__GNUC__]: New typedef.
358 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
360         * config.nt: Prepare to configure 64-bit integers for older compilers.
361         However, temporarily disable this change unless the temporary
362         symbol WIDE_EMACS_INT is defined.
363         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
364         "%I64d" work but long long and "%lld" do not.
366 2011-05-05  Ben Key  <bkey76@gmail.com>
368         * configure.bat: Added support for --cflags and --ldflags
369         options that include quotes as long as command extensions are
370         enabled.  Specifically when -I, -L, and similar flags are used
371         to specify supplementary include and library directories a
372         directory name that includes spaces may now be used if it is
373         enclosed in quotes.
375         * INSTALL: Documented the change to configure.bat.
377 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
379         * INSTALL: Clarify GnuTLS support.
381 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
383         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
384         Define to 1 for MinGW of MSVC versions >= 1400.
386 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
388         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
390 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
392         * inc/inttypes.h: New file.
394         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
395         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
397 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
399         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
400         inside quotation marks and bail out.
402 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
404         * cmdproxy.c (try_dequote_cmdline): New function.
405         (main): Use it.
407 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
409         * configure.bat: New options --without-gnutls and --lib, new build
410         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
411         library setup with trivial modifications.
412         * INSTALL: Add instructions for GnuTLS support.
413         * gmake.defs: Prefix USER_LIBS with -l.
415 2011-04-15  Ben Key  <bkey76@gmail.com>
417         * configure.bat: Modified the code that parses the --cflags and
418         --ldflags options to support parameters that include the =
419         character as long as they are enclosed in quotes.
420         This functionality depends on command extensions.  Configure.bat now
421         attempts to enable command extensions and displays a warning
422         message if they could not be enabled.  If configure.bat could
423         not enable command extensions the old parsing code is used that
424         does not support parameters that include the = character.
426         * INSTALL: Updated the file to describe the new functionality
427         using text provided by Eli Zaretskii.
429 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
431         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
432         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
433         on the trunk on 2011-04-06.
435 2011-03-27  Glenn Morris  <rgm@gnu.org>
437         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
439 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
441         * addpm.c (main): Remove unused variable `retval'.
443         * preprep.c (main): Remove unused variable `ptr'.
445 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
447         * cmdproxy.c: Include <ctype.h>.
448         (make_absolute): Remove unused variable `i'.
450 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
452         * Version 23.3 released.
454 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
456         * inc/unistd.h (readlink, symlink): Declare prototypes.
458 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
460         * config.nt (nlink_t): Define.
462 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
464         * inc/stdint.h: New file, to support compilation with tool chains
465         that do not have stdint.h (e.g. MSVC).
467 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
469         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
470         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
471         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
472         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
473         (lstat): Define to stat.
475 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
477         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
478         "make-docfile" target in lib-src, before bootstrapping the src
479         directory.  Needed since building in src needs to run make-docfile
480         to produce globals.h.
482 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
484         * config.nt (inline) [__GNUC__]: Define (for gnulib).
486 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
488         * config.nt (VERSION): Uncomment definition.
489         (restrict): Define.
491         * inc/stdbool.h: New file.
493 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
495         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
496         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
497         (bootstrap-clean-gmake, clean-other-dirs-nmake)
498         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
499         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
500         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
501         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
502         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
504         * configure.bat: Create lib/makefile.
506         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
507         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
508         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
509         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
511 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
513         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
515 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
517         * configure.bat (end): Unset environment variables used by this
518         batch file.
520         * INSTALL: Update the information about PNG support libraries.
521         (Bug#7716)
523         * README.W32: Update the information about PNG support libraries.
525 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
527         * config.nt (EXTERNALLY_VISIBLE): Define.
529 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
531         * INSTALL: Refer to `dynamic-library-alist'.
533 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
535         * INSTALL: Add note about problematic characters passed to configure.
537 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
539         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
540         emacs-src.tags: New file.
542         * gmake.defs: Add a comment with a single quote to fix
543         fontification.  (Bug#7102)
545 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
547         * configure.bat: Fix the condition for copying paths.h into
548         ../src/epaths.h.
550 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
552         * addpm.c (entry, add_registry, main):
553         * addsection.c (file_data, open_input_file, open_output_file)
554         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
555         (COPY_CHUNK):
556         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
557         (skip_nonspace, get_next_token, search_dir, make_absolute)
558         (spawn, main):
559         * preprep.c (file_data, open_input_file, open_output_file)
560         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
561         Use const char*.
563         * cmdproxy.c (stdin): Don't define, not used.
564         (main): Don't assign remlen after last use.
566 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
568         * configure.bat: Err out when the argument of --cflags contains
569         invalid characters (check implemented only for GCC).  (Bug#6820)
571 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
573         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
575 2010-08-12  Jason Rumney  <jasonr@gnu.org>
577         * addpm.c (add_registry): Set path for runemacs.exe to use.
579 2010-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
581         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
582         which has a 1024 char limit on Windows (bug#6647).
584 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
586         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
587         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
589 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
591         * config.nt: Remove code referring to NO_REMAP, unused.
593 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
595         Build binary distros on Windows using emacs-VERSION as root dir name.
597         * makefile.w32-in: Copy README.W32 to installation directory
598         during `make install'.  Remove README.W32 with `distclean' (in
599         case Emacs was installed in place).  Use temporary directory to
600         create distribution zip files in `dist' target.
601         * zipdist.bat: Simplify code using temporary directory.
603 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
605         * runemacs.c (set_user_model_id): Fix prototype.
607 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
609         New make target for Windows platform: make dist (bug#6602)
611         * INSTALL: Document new dist target and add section about
612         creating binary distributions.
613         * README.W32: Relocate from admin/nt/ directory.
614         * configure.bat: New parameter `--distfiles'.
615         * makefile.w32-in: Add version number, new target `dist'.
616         Add new target `install-shortcuts'.
617         * zipdist.bat: New file; create zipped binary distribution,
618         replaces admin/nt/makedist.bat.
620 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
622         * INSTALL: Add note about backslashes in Windows paths.
623         Fix typos.  Simplify references to Windows versions.
625 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
627         * addpm.c (add_registry, main):
628         * cmdproxy.c (get_env_size):
629         * ddeclient.c (main):
630         * runemacs.c (set_user_model_id):
631         Convert definitions to standard C.
633 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
635         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
637 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
639         * configure.bat: New option --enable-checking.
640         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
641         (CFLAGS): Include it.
643 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
645         * config.nt (volatile): Remove definition.
647 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
649         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
650         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
652 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
654         * config.nt (__P): Remove.
656 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
658         * config.nt: Remove code depending on BSTRING.
660 2010-06-03  Glenn Morris  <rgm@gnu.org>
662         * config.nt: Remove NOT_C_CODE tests, it is always true now.
664 2010-05-13  Glenn Morris  <rgm@gnu.org>
666         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
668 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
670         * Version 23.2 released.
672 2010-05-04  Glenn Morris  <rgm@gnu.org>
674         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
676 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
678         * emacs.manifest: Add trustInfo section to Windows manifest.
680 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
682         * Branch for 23.2.
684 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
686         * emacsclient.rc: Fix format of "LegalCopyright" value.
688 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
690         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
692 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
694         * INSTALL: Update for CVS->Bazaar switchover.
696 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
698         * configure.bat: Add #define PROFILING to config.h.
700 2009-07-03  Jason Rumney  <jasonr@gnu.org>
702         * runemacs.c (set_user_model_id): Use standard types.
704 2009-06-30  Jason Rumney  <jasonr@gnu.org>
706         * runemacs.c (set_user_model_id): New function.
707         (WinMain): Use it.
709 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
711         * Branch for 23.1.
713 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
715         * inc/sys/stat.h (struct stat): Change the types of st_uid and
716         st_gid to unsigned.
718         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
719         to unsigned.
720         (getpwuid): Argument is now unsigned.
721         uid_t is now unsigned.
723 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
725         * INSTALL: Add comment about TCC; fix typos.
727 2009-01-26  Jason Rumney  <jasonr@gnu.org>
729         * emacsclient.rc, emacs.rc: Swap name and description.
730         Remove Windows versions.
732 2009-01-15  Jason Rumney  <jasonr@gnu.org>
734         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
736         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
738         * addpm.c (main): Try using COM to create start menu shortcuts
739         before resorting to DDE (Bug#202)
740         Remove second command-line argument.
742 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
744         * configure.bat: Untabify help message.
746 2009-01-03  Jason Rumney  <jasonr@gnu.org>
748         * configure.bat: New option --with-svg.
750         * INSTALL: Document experimental SVG support.
752 2008-12-25  Jason Rumney  <jasonr@gnu.org>
754         * config.nt (PTR): Remove.
756 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
758         * config.nt (LISTPROC, PROCATTR): Remove.
760 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
762         * config.nt (LISTPROC, PROCATTR): New macros.
764 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
766         * config.nt (MULTI_KBOARD): Remove.
768 2008-07-23  Jason Rumney  <jasonr@gnu.org>
770         * configure.bat: New option --profile.
771         * gmake.defs: Set cflags and ldflags for profiling when specified.
773 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
775         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
777 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
779         * config.nt (HAVE_FACES): Remove, unused.
781 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
782             Eli Zaretskii  <eliz@gnu.org>
784         * nmake.defs (FONT_CFLAGS):
785         * gmake.defs (FONT_CFLAGS): Remove.
786         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
787         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
788         and _CRTAPI1.
789         (ARCH_FLAGS): Don't include _X86_.
791         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
793 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
795         * config.nt: Remove reference to UNEXEC_SRC.
797 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
798             Eli Zaretskii  <eliz@gnu.org>
800         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
801         Don't hardcode -gstabs+, use DEBUG_INFO.
803         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
804         Default to stabs if the compiler does not support DWARF-2.
805         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
807 2008-05-14  Jason Rumney  <jasonr@gnu.org>
809         * configure.bat: Remove code dealing with --disable-font-backend.
811 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
813         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
814         better alignment.  Make st_size 64-bit wide.  Add new members
815         st_uname and st_gname.
817         * inc/grp.h (struct group): Add gr_gid member.
819 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
821         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
822         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
823         a real file there is not a good idea.
825 2008-04-23  Jason Rumney  <jasonr@gnu.org>
827         * makefile.w32-in (CLIENTRES): New variable and build target.
828         (all): Depend on it.
829         ($(TRES)): Use $(TRES) in rule.
831 2008-04-21  Jason Rumney  <jasonr@gnu.org>
833         * configure.bat (success): Print "make" rather than "gmake", as that
834         is what MinGW uses.
836 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
838         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
839         Add copyright notice.
841 2008-04-10  Jason Rumney  <jasonr@gnu.org>
843         * emacsclient.rc: New file.
845         * INSTALL: Document make targets.
847 2008-04-09  Jason Rumney  <jasonr@gnu.org>
849         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
850         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
851         (top-distclean, distclean, distclean-other-dirs-nmake)
852         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
853         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
855 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
857         * inc/sys/stat.h: New file.
859         * configure.bat: Add check for usp10.h.
861 2008-04-04  Jason Rumney  <jasonr@gnu.org>
863         * INSTALL: Update W32 API requirements.
865 2008-04-03  Jason Rumney  <jasonr@gnu.org>
867         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
869 2008-03-13  Glenn Morris  <rgm@gnu.org>
871         * emacs.rc: Set version to 23.0.60.
873 2008-03-04  Jason Rumney  <jasonr@gnu.org>
875         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
876         (EMACS_EXTRA_C_FLAGS): Include it.
877         * configure.bat (usefontbackend): Default to Y.
878         (--enable-font-backend): Replace with --disable-font-backend.
879         (:withfont): Replace with :withoutfont.
881 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
883         * icons/emacs.ico: Full alpha for 32x32 full color.
884         Add 32x32 and 16x16 256 color versions.
886 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
888         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
890 2008-03-02  Jason Rumney  <jasonr@gnu.org>
892         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
894 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
896         * icons/README: Update.
898         * icons/emacs.ico: New icon.
900 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
902         * addpm.c: Include malloc.h.
903         (add_registry): Cast return value of alloca.
905 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
907         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
909 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
911         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
912         conditional on existence of junk.o.  If %nocygwin% is already set
913         to Y, skip to chkapiN instead of chkapi.
914         (chkapi): Move "rm -f junk.c junk.o" to here.
915         (chkapiN): New label.
917 2008-02-11  Jason Rumney  <jasonr@gnu.org>
919         * makefile.w32-in: Remove unidata-gen related rules.
921 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
923         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
925 2008-02-11  Jason Rumney  <jasonr@gnu.org>
927         * addpm.c (add_registry): Add an App Paths registry key.
928         Look for GTK and add it to the DLL search path for Emacs if found.
930 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
932         * configure.bat: In help, use generic names for the image libraries.
934 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
936         * .cvsignore: Don't ignore .arch-inventory.
938 2008-02-03  Jason Rumney  <jasonr@gnu.org>
940         * configure.bat: Make gcc the default compiler.
942 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
944         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
945         Ignore return status.
947         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
948         it out of the way of Windows generated file.
949         Generate admin/unidata/makefile.
951         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
952         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
953         (unidatagen-clean-SH): New targets.
954         (bootstrap-nmake): Invoke unidatagen-nmake.
955         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
957 2008-02-01  Jason Rumney  <jasonr@gnu.org>
959         * configure.bat (withfont): Set sep1 after modifying usercflags.
961 2008-02-01  Jason Rumney  <jasonr@gnu.org>
963         * configure.bat: Rename --with-font-backend to --enable-font-backend
964         for consistency with other platforms.
966 2008-02-01  Jason Rumney  <jasonr@gnu.org>
968         * configure.bat: Add --with-font-backend option.
970 2008-01-20  Jason Rumney  <jasonr@gnu.org>
972         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
973         permissions to NTFS ACLs.
975 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
977         * config.nt: Remove HAVE_X11R5.
979 2007-10-22  Jason Rumney  <jasonr@gnu.org>
981         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
982         (strings.h, stdlib.h): Conditionally include.
983         (w32_abort): Declare here.
984         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
986 2007-10-20  Jason Rumney  <jasonr@gnu.org>
988         * makefile.w32-in (info-nmake): Change into correct directories.
990 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
992         * configure.bat (docflags, doldflags): New variables.
993         (genmakefiles): Use them to work around problems with whitespace
994         in arguments of the `if' command.
996 2007-10-18  Jason Rumney  <jasonr@gnu.org>
998         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1000 2007-09-27  Jason Rumney  <jasonr@gnu.org>
1002         * gmake.defs (COMCTL32): New system library.
1004         * nmake.defs (COMCTL32): New system library.
1006 2007-09-06  Glenn Morris  <rgm@gnu.org>
1008         * configure.bat:
1009         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
1010         Change from ../man to ../doc/emacs and ../doc/misc; and from
1011         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
1013 2007-08-29  Glenn Morris  <rgm@gnu.org>
1015         * emacs.rc: Increase version to 23.0.50.
1017 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
1019         * makefile.w32-in (bootstrap-nmake): Change directories once more.
1021 2007-07-25  Glenn Morris  <rgm@gnu.org>
1023         * Relicense all FSF files to GPLv3 or later.
1025         * COPYING: Switch to GPLv3.
1027 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
1029         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
1030         Depend on cmdproxy.
1031         (cleanall): Don't delete *~.
1033 2007-07-15  Jason Rumney  <jasonr@gnu.org>
1035         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
1036         be fully supported.
1038 2007-07-14  Jason Rumney  <jasonr@gnu.org>
1040         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
1041         of winsock.h.
1043 2007-07-11  Jason Rumney  <jasonr@gnu.org>
1045         * gmake.defs (OLE32): New library to link.
1047         * nmake.defs (OLE32): Likewise.
1049 2007-06-25  Jason Rumney  <jasonr@gnu.org>
1051         * cmdproxy.c (main): Set console codepages to "ANSI".
1053 2007-06-20  Jason Rumney  <jasonr@gnu.org>
1055         * configure.bat: Complain if image libraries are missing.
1057 2007-06-15  Jason Rumney  <jasonr@gnu.org>
1059         * emacs.manifest: New file.
1061         * emacs.rc: Use it.
1063 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
1065         * Version 22.1 released.
1067 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
1069         * INSTALL: Add information about where to find GDB, and warn
1070         against --no-debug option to configure.bat.
1072 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
1074         * INSTALL: Fix URL of EmacsW32 site where building with image
1075         support is described.
1077 2007-04-26  Glenn Morris  <rgm@gnu.org>
1079         * emacs.rc: Increase version to 22.1.50.
1081 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
1083         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
1085 2007-03-09  Richard Stallman  <rms@gnu.org>
1087         * INSTALL: Say explicitly this is not for Cygwin.
1089 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
1091         * INSTALL: Add URL of another site with detailed build instructions.
1093 2007-02-16  Glenn Morris  <rgm@gnu.org>
1095         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
1096         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
1097         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
1098         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
1099         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
1100         Restore all but two of icons deleted in previous change.
1102 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
1104         * icons/README: New file.
1106         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
1107         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
1108         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
1109         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
1110         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
1111         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
1112         Unused icons deleted.
1114 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
1116         * configure.bat: Update ../site-lisp/subdirs.el when needed.
1118 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
1120         * subdirs.el: Add "no-byte-compile: t" local variable.
1122 2007-01-10  Jason Rumney  <jasonr@gnu.org>
1124         * README: Update URLs and advice about reporting bugs.
1126 2006-12-29  Jason Rumney  <jasonr@gnu.org>
1128         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
1129         DEBUG_LINK.
1130         (DEBUG_LINK): Remove -debugtype:both.
1132 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
1134         * INSTALL: Update table of supported Make ports.  Show "make -j"
1135         command that is known to work.
1137         * configure.bat: Update table of supported Make ports.
1139 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
1141         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
1142         only in implicit rules.  Use literal "emacs.rc" instead.
1144 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
1146         * gmake.defs: Export XMFLAGS.
1148         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
1149         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
1151 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
1153         * INSTALL: Explain how to invoke GNU Make for parallel builds.
1155         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
1156         command-line argument to sub-Make in src, since src/makefile.w32-in
1157         invokes Make recursively during bootstrap.
1158         (clean): Delete stamp_BLD.
1159         (bootstrap): Make `all' explicitly in a recursive Make.
1161         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1162         stamp_BLD after creating the $(BLD) directory.
1164         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1165         stamp_BLD after creating the $(BLD) directory.
1167         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
1168         (preprep, $(TRES), runemacs)
1169         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
1170         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1171         Depend on stamp_BLD instead of on $(BLD).
1172         (XMFLAGS): New macro.
1173         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
1174         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
1175         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
1176         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
1178 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
1180         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
1181         $(ALL_DEPS).
1182         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
1183         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1184         New dependency on $(BLD).
1185         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
1186         (bootstrap-gmake): Depend on addsection.
1188 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
1190         * runemacs.c (WinMain): Process all recognized arguments, not just
1191         the first one.  Remove unused variable sec_desc.
1193 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
1195         * config.nt (HAVE_LANGINFO_CODESET): Define.
1197         * inc/langinfo.h: New file.
1199         * inc/nl_types.h: New file.
1201 2006-09-15  Jay Belanger  <belanger@truman.edu>
1203         * COPYING: Replace "Library Public License" by "Lesser Public
1204         License" throughout.
1206 2006-07-27  Jason Rumney  <jasonr@gnu.org>
1208         * INSTALL: Add notes about Cygwin make to impatient section.
1210 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
1212         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
1213         known to work.
1215 2006-03-12  Jason Rumney  <jasonr@gnu.org>
1217         * addpm.c (add_registry): Don't change the registry unless keys
1218         already exist from a previous version.
1220         * makefile.w32-in (install): Use -q when invoking addpm.
1222         * addpm.c (main): Accept -q as alternative for /q.
1224 2006-03-11  Jason Rumney  <jasonr@gnu.org>
1226         * runemacs.c (WinMain): Set screen buffer to 80x25.
1228 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
1230         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
1231         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
1233 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
1235         * INSTALL: Add explanation of how to debug with GDB starting from
1236         the Emacs Abort dialog.
1238 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
1240         * emacs.rc: Use new icons.
1242 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
1244         * emacs21.ico: Renamed from emacs.ico.
1245         * emacs.ico: New icons from Andrew Zhilin
1246         <andrew_zhilin@yahoo.com>.
1248 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
1250         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
1252 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
1254         * .cvsignore: Add `obj' and `oo' for in-place installations.
1256 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
1258         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
1260 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
1262         * configure.bat: Don't create lisp/Makefile.unix.
1264 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
1266         * .cvsignore: Add `makefile' and `config.log'.
1268 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
1270         Merge gnulib getopt implementation into Emacs.
1272         * inc/gettext.h: Remove; no longer needed now that
1273         lib-src/gettext.h exists.
1275 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
1277         * configure.bat: Finish config.log with a line that indicates that
1278         the configure step was successful.
1280 2005-07-04  Lute Kamstra  <lute@gnu.org>
1282         Update FSF's address in GPL notices.
1284 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
1286         * configure.bat: If their fc.exe returns a meaningful exit status,
1287         don't overwrite src/config.h and src/epaths.h with identical
1288         copies.
1290         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
1291         changes.  Add a pointer to another site with detailed configure
1292         and build instructions.  Suggest to look at config.log when
1293         configure fails.  Add MinGW Make 3.80 to the list of successful
1294         combinations.
1296         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
1297         "-mcpu=i686".
1299         * configure.bat: Update copyright years.
1300         Delete config.log before doing anything else.
1301         Write additional diagnostics to config.log in case of failures to
1302         compile test programs, including the failed test program itself.
1303         Add a test for support of -mtune=pentium4 switch to GCC; if it is
1304         supported, set up MCPU_FLAG variable on the various Makefiles to
1305         use that switch during compilations.  (This avoids GCC warning
1306         about -mcpu being deprecated.)
1308 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
1310         * addsection.c (copy_executable_and_add_section): Pass non-zero
1311         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
1312         environment.  Print section names with %.8s.
1313         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
1314         only if non-zero.  All callers changed.
1316 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
1318         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
1319         `const void *', for consistency with POSIX.
1321 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
1323         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
1325 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
1327         * INSTALL: Add more pointers to ports of Unix tools to Windows,
1328         and to the Emacs Wiki (which contains building instructions for
1329         Windows).  Reword image library instructions and remove obsolete
1330         incompatibility information.
1332 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
1334         * config.nt (HAVE_PWD_H): Undef.
1336 2004-06-07  Juanma Barranquero  <lektu@terra.es>
1338         * INSTALL: Clarify paragraph about compatibility between image
1339         libraries and builds of Emacs with several compilers.
1341 2004-06-06  Juanma Barranquero  <lektu@terra.es>
1343         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
1344         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
1345         calling non-existent cmdproxy.exe on bootstrapping after a
1346         previous install followed by realclean.
1348         * nmake.defs: Add quote in comment to resync font-locking.
1350 2004-06-04  Juanma Barranquero  <lektu@terra.es>
1352         * INSTALL: Reword the section on image support.  Add reference to
1353         GnuWin32.  Mention problems when mixing binaries from different
1354         compilers.
1356 2004-05-06  Jason Rumney  <jasonr@gnu.org>
1358         * configure.bat: Use -mno-cygwin to check for image libraries
1359         when needed.
1361 2004-05-03  Jason Rumney  <jasonr@gnu.org>
1363         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
1364         * makefile.def: Remove.
1366         * nmake.defs (SYS_LDFLAGS): Add -nologo.
1368         * makefile.w32-in (info-gmake, info-nmake): New targets.
1369         (info): Use them.
1371 2004-04-23  Juanma Barranquero  <lektu@terra.es>
1373         * nmake.defs:
1374         * gmake.defs:
1375         * makefile.w32-in:
1376         * makefile.def:
1377         * makefile.nt: Add "-*- makefile -*-" mode tag.
1379 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
1381         * runemacs.c (WinMain): Let Emacs environment default to parent.
1383 2004-03-11  Jason Rumney  <jasonr@gnu.org>
1385         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
1387 2004-03-10  Juanma Barranquero  <lektu@terra.es>
1389         * makefile.w32-in (install): Don't try to copy
1390         ../lib-src/fns-*.el, as it isn't used anymore.
1392 2004-01-28  Peter Runestig  <peter@runestig.com>
1394         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
1396 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
1398         * .cvsignore: Add `.arch-inventory'.
1400 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
1402         * inc/grp.h: New file.
1404 2003-09-03  Peter Runestig  <peter@runestig.com>
1406         * configure.bat: Create ``makefile'' in directories man, lispref
1407         and lispintro.
1409         * makefile.w32-in (force-info, info): New targets.
1411         * envadd.bat: New file.
1413         * multi-install-info.bat: New file.
1415 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
1417         * config.nt (my_strftime): New define.
1419 2003-02-01  Jason Rumney  <jasonr@gnu.org>
1421         * configure.bat: Automatically detect libXpm.
1422         Suppress compiler output when testing for image libraries.
1423         Give names of un-found libraries in messages.
1425 2003-01-31  Juanma Barranquero  <lektu@terra.es>
1427         * configure.bat: Automatically detect giflib and tifflib.
1429 2003-01-29  Jason Rumney  <jasonr@gnu.org>
1431         * gmake.defs (CURDIR): Disable cygpath kludge.
1433 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
1435         * configure.bat: Avoid endless loop when configuring without image
1436         support.
1438 2003-01-26  Jason Rumney  <jasonr@gnu.org>
1440         * configure.bat: Automatically detect jpeglib.
1442 2003-01-25  Jason Rumney  <jasonr@gnu.org>
1444         * configure.bat: Automatically detect libpng.
1446 2003-01-21  Jason Rumney  <jasonr@gnu.org>
1448         * icons/hand.cur: New file.
1450 2003-01-21  David Ponce  <david@dponce.com>
1452         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
1454 2003-01-15  Andrew Innes  <andrewi@gnu.org>
1456         * gmake.defs (CURDIR): Convert to native Windows format (with
1457         forward slashes), to support building with Cygwin builds of make.
1459 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
1461         * nmake.defs:
1462         * gmake.defs: Made changes so that Emacs would link with
1463         WinMM.lib.  This change was required for my addition of a Windows
1464         compatible implementation of play-sound-internal.
1466 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
1468         * emacs.rc: Version updated to 21.3.50.
1470 2002-06-13  Jason Rumney  <jasonr@gnu.org>
1472         * addpm.c (env_vars): Remove EMACSLOCKDIR.
1474         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
1475         (maybe-bootstrap-SH): New targets.
1476         (all): Depend on maybe-bootstrap.
1478 2002-05-03  Jason Rumney  <jasonr@gnu.org>
1480         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
1481         (sys_getpeername, fcntl): Declare as wrappers.
1483 2002-04-10  Juanma Barranquero  <lektu@terra.es>
1485         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
1486         after compiling .el files.
1488 2002-03-20  Jason Rumney  <jasonr@gnu.org>
1490         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
1491         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
1493 2002-03-19  Kim F. Storm  <storm@cua.dk>
1495         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
1496         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
1497         (HAVE_SYS_UN_H): Undef.
1498         From David Ponce <dponce@voila.fr>.
1500 2002-03-13  Jason Rumney  <jasonr@gnu.org>
1502         * config.nt (STRFTIME_NO_POSIX2): Define.
1504 2002-02-18  Jason Rumney  <jasonr@gnu.org>
1506         * emacs.rc: Define VS_VERSION_INFO if not already.
1507         Update version info.
1509 2002-01-04  Andrew Innes  <andrewi@gnu.org>
1511         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
1512         pick up relevant bits of the Windows API definitions.
1514         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
1515         pick up relevant bits of the Windows API definitions.
1517 2001-12-14  Andrew Innes  <andrewi@gnu.org>
1519         * makefile.w32-in (bootstrap): Build addsection program before
1520         bootstrap (required for post-processing temacs.exe).
1522 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
1524         * COPYING: New file.
1526 2001-12-03  Andrew Innes  <andrewi@gnu.org>
1528         * makefile.w32-in (bootstrap-nmake):
1529         (bootstrap-gmake): Extend bootstrap process to first do
1530         bootstrap-clean in lisp dir and rebuild the DOC file.
1531         (bootstrap): Do a "normal" make after the bootstrap work.
1533 2001-11-20  Jason Rumney  <jasonr@gnu.org>
1535         * INSTALL: Update table of versions of make that are suitable
1536         for building Emacs, based on recent feedback.
1538         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
1540 2001-11-19  Andrew Innes  <andrewi@gnu.org>
1542         * ftime-nostartup.bat: New file.
1544         * ftime.bat: Don't include libc.lib for profiling - the profiler
1545         corrupts part of memcpy.
1547 2001-11-17  Jason Rumney  <jasonr@gnu.org>
1549         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
1550         expansion.  From Juanma Barranquero <lektu@terra.es>.
1552 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
1554         * (Version 21.1 released.)
1556 2001-10-12  Andrew Innes  <andrewi@gnu.org>
1558         * inc/pwd.h (uid_t, gid_t): New typedefs.
1560 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
1562         * Branch for 21.1.
1564 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
1566         * README: Update the address of the mailing list and subscription
1567         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
1569 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
1571         * INSTALL: Suggest to avoid using WinZip.
1573         * configure.bat: Make sure ../site-lisp exists; create if necessary.
1575 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
1577         * INSTALL: Mention that "make install" can be "nmake install".
1579 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
1581         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
1582         since some versions of `mkdir' don't automatically create parent
1583         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
1585 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
1587         * subdirs.el: New file.
1589         * configure.bat: Copy subdirs.el to the site-lisp directory.
1591         * makefile.w32-in (install): Copy subdirs.el to the installation
1592         directory.
1594 2001-06-20  Jason Rumney  <jasonr@gnu.org>
1596         * runemacs.c (WinMain): Add quotes around command in case of spaces.
1598 2001-06-01  Andrew Innes  <andrewi@gnu.org>
1600         * gmake.defs (sh_output): Don't use $(warning ...) to output
1601         messages, since that is not supported by GNU make 3.77.
1603 2001-05-24  Jason Rumney  <jasonr@gnu.org>
1605         * INSTALL: Clarify that building with MSVC requires nmake.
1607 2001-05-17  Andrew Innes  <andrewi@gnu.org>
1609         * gmake.defs (NEW_CYGWIN): Output message about spurious error
1610         message that is to be ignored.
1612 2001-05-13  Andrew Innes  <andrewi@gnu.org>
1614         * TODO: Remove file, since it is completely out of date.
1616         * README: Add copyright notice.
1618         * INSTALL: Add copyright notice.
1620 2001-04-18  Andrew Innes  <andrewi@gnu.org>
1622         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
1623         the environment.
1625         * gmake.defs (SETLOADPATH): Remove definition.
1626         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
1627         environment.
1629 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
1631         * configure.bat: Make the checkw32api* labels be distinct in the
1632         first 8 characters.
1634 2001-03-17  Andrew Innes  <andrewi@gnu.org>
1636         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
1637         escaped quotes.
1639         * gmake.defs (DEBUG_LINK): New macro.
1640         (LINK_FLAGS): Use it.
1642         * nmake.defs (DEBUG_LINK): New macro.
1643         (LINK_FLAGS): Use it.
1645 2001-03-06  Andrew Innes  <andrewi@gnu.org>
1647         * INSTALL: Add --ldflags to configure line for building with
1648         recent versions of Cygwin GCC.
1650 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
1652         * configure.bat: Use correct options when compiling a test program
1653         with Cygwin.  From David Ponce <dponce@voila.fr>.
1655 2001-02-24  Andrew Innes  <andrewi@gnu.org>
1657         * _emacs: Remove obsolete file.
1659         * emacs.bat.in: Remove obsolete file.
1661         * debug.bat.in: Remove obsolete file.
1663         * inc/sys/socket.h: Add copyright notice.
1665         * paths.h: Add copyright notice.
1667         * makefile.nt: Update copyright notice.
1669         * makefile.def: Update copyright notice.
1671         * configure.bat: Update copyright notice.
1673         * nmake.defs: Add copyright notice.
1675         * gmake.defs: Add copyright notice.
1677         * makefile.w32-in: Add copyright notice.
1679 2001-02-05  Andrew Innes  <andrewi@gnu.org>
1681         * nmake.defs (THISDIR): New definition.
1683         * gmake.defs (THISDIR): New definition.
1685 2001-02-03  Andrew Innes  <andrewi@gnu.org>
1687         * configure.bat: Leave a space before >> only when there is a
1688         preceding digit.  Add a comment about the importance of this.
1690         * README: Replace outdated information.
1692         * INSTALL (Trouble-shooting): Add note about need to specify extra
1693         compiler flags with recent Cygwin ports of gcc.
1695 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
1697         * configure.bat: Use "rm -f" instead of "del /f", as the latter
1698         is not supported by Windows 9X's COMMAND.COM.
1700 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
1702         * configure.bat: Make sure redirection is preceded by a blank, to
1703         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
1704         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
1706 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
1708         * INSTALL: Copy the table of tested combinations of development
1709         tools from configure.bat.  Add suggestion to install Bash on
1710         Windows 9X.
1712         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
1713         lisp/Makefile.in instead.  Use "rm -f" where more than one file
1714         needs to be deleted, since command.com in Windows 9X doesn't grok
1715         more than one argument.
1717 2001-01-24  Andrew Innes  <andrewi@gnu.org>
1719         * makefile.w32-in (cleanall-other-dirs-nmake):
1720         (cleanall-other-dirs-gmake): New targets.
1721         (cleanall): Invoke them.
1723 2001-01-19  Andrew Innes  <andrewi@gnu.org>
1725         * addpm.c (env_vars): Add a version-independent site-lisp
1726         directory to EMACSLOADPATH, after the version dependent one.
1728 2001-01-06  Andrew Innes  <andrewi@gnu.org>
1730         * README: Update info about compilers.
1732         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
1733         select correct rule for invoking make in another directory.
1734         Amend rules accordingly.
1735         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
1737         * nmake.defs (EMACS_ICON_PATH): Delete definition.
1738         (COMPILER_TEMP_FILES): New definition.
1739         (MAKETYPE): New definition.
1741         * gmake.defs (EMACS_ICON_PATH): Delete definition.
1742         (COMPILER_TEMP_FILES): New definition.
1743         (MAKETYPE): New definition.
1745         * makefile.def (EMACS_ICON_PATH): Delete definition.
1747         * configure.bat: Be careful not to add trailing spaces when
1748         outputting to config.settings.
1750 2001-01-02  Andrew Innes  <andrewi@gnu.org>
1752         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
1753         than the function.
1755 2000-12-17  Andrew Innes  <andrewi@gnu.org>
1757         * makefile.w32-in (install): Copy directories to the correct
1758         places.
1759         (real_install): Remove obsolete target.
1761 2000-12-06  Andrew Innes  <andrewi@gnu.org>
1763         * nmake.defs (CURDIR): New define.
1764         (INSTALL_DIR): Use it.
1766         * gmake.defs (NEW_CYGWIN): New define.
1767         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
1768         so we need to adjust how we escape embedded quotes.
1769         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
1770         relative to $(CURDIR).
1772 2000-11-25  Jason Rumney  <jasonr@gnu.org>
1774         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
1776 2000-10-17  Andrew Innes  <andrewi@gnu.org>
1778         * makefile.w32-in (recompile): New target to recompile lisp
1779         directory.
1780         (recompile-CMD, recompile-SH): New support targets.
1782 2000-09-24  Jason Rumney  <jasonr@gnu.org>
1784         * config.nt (NO_RETURN): Define it.
1786 2000-09-17  Andrew Innes  <andrewi@gnu.org>
1788         * gmake.defs: Revert to Unix line endings.
1790         * nmake.defs: Revert to Unix line endings.
1792 2000-09-16  Andrew Innes  <andrewi@gnu.org>
1794         * gmake.defs (SETLOADPATH): Change definition to work from any
1795         subdirectory.
1797 2000-09-14  Andrew Innes  <andrewi@gnu.org>
1799         * makefile.w32-in: Revert to Unix line endings.
1801 2000-09-14  Andrew Innes  <andrewi@gnu.org>
1803         * INSTALL: Add note about expected error messages when configure
1804         is run.
1806         * configure.bat: Simplify the generation of makefiles (don't need
1807         to generate various top-level targets that invoke make in other
1808         directories).
1810         * gmake.defs (SHELLTYPE): New define.
1811         (SETLOADPATH): New define.
1813         * nmake.defs (SHELLTYPE): New define.
1815         * makefile.w32-in: Standardize indentation somewhat.
1816         Add bootstrap support.
1817         Pass $(MFLAGS) when invoking make recursively.
1818         Add shell-specific variants of top-level targets that invoke make
1819         recursively in other directories, and add necessary computed
1820         dependencies.
1822 2000-09-03  Andrew Innes  <andrewi@gnu.org>
1824         * makefile.w32-in: Change to DOS line endings.
1826         * configure.bat: Change to DOS line endings.
1828         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
1829         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
1831         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
1832         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
1834         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
1835         -D_ANONYMOUS_STRUCT on compile line.
1836         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
1837         (ARCH_CFLAGS): Change optimization flags to -O2.
1838         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
1839         (ARGQUOTE, DQUOTE): New defines.
1841         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
1842         -D_ANONYMOUS_STRUCT on compile line.
1843         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
1844         (ARGQUOTE, DQUOTE): New defines.
1846 2000-08-22  Andrew Innes  <andrewi@gnu.org>
1848         * configure.bat: New file.
1850         * gmake.defs: New file.
1852         * nmake.defs: New file.
1854         * makefile.w32-in: New file.
1856         * INSTALL: Rewrite to match new configure process.
1858         * config.nt [WINDOWSNT]: Don't declare getenv.
1859         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
1861         * addpm.c (main): Accept /q to mean install based on addpm's
1862         location without asking.  Remove reference to emacs.bat which is
1863         now obsolete.
1865         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
1867         * paths.h: Use forward slash as directory separator in all path
1868         definitions.
1869         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
1871         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
1873         * runemacs.c: Remove WIN32 define.
1875         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
1876         not defined.
1878         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
1879         (fd_set): Define to new name, after including winsock.h, so we can
1880         provide our own implementation.
1882 2000-07-05  Andrew Innes  <andrewi@gnu.org>
1884         * ebuild.bat: Add support for specifying make arguments.
1886         * makefile.nt: Add support for `bootstrap' and related targets.
1888 2000-06-11  Jason Rumney  <jasonr@gnu.org>
1890         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
1892 2000-02-06  Andrew Innes  <andrewi@gnu.org>
1894         * inc/sys/time.h: Add inclusion protection.
1896         * makefile.def (SYS_LDFLAGS): Add -nologo.
1898 1999-11-22  Andrew Innes  <andrewi@gnu.org>
1900         * install.bat: Pass on command line arguments to make.
1902         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
1904 1999-11-21  Andrew Innes  <andrewi@gnu.org>
1906         * makefile.nt (all): Build leim if present.
1907         (install): Install leim if present.
1908         (clean): Clean leim if present.
1910         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
1911         definition.
1913         * emacs.bat.in (EMACSLOADPATH): Include leim.
1915 1999-07-12  Richard Stallman  <rms@gnu.org>
1917         * Version 20.4 released.
1919 1999-06-16  Andrew Innes  <andrewi@gnu.org>
1921         * emacs.rc: Use an icon with a transparent background, to be in
1922         keeping with other applications.
1924 1999-06-03  Andrew Innes  <andrewi@gnu.org>
1926         * preprep.c: Fix typo.
1928 1999-05-02  Andrew Innes  <andrewi@gnu.org>
1930         * config.h: Remove obsolete file.
1932         * preprep.c (copy_executable_and_move_sections): Ifdef out a
1933         couple of unused switch cases that aren't defined on all
1934         platforms.
1936         * ftime.bat: Add another variation of the profile command, which
1937         only profiles extended commands.
1939 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
1941         * cmdproxy.c (main): Fix parens.
1943 1999-03-25  Andrew Innes  <andrewi@gnu.org>
1945         * cmdproxy.c (main): Call GetShortPathName to normalize program
1946         names for comparison.
1948 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
1950         * makefile.def: Compile multiple .c files when possible.
1951         Use BLD instead of assuming i386.
1952         * makefile.nt: Remove common multiple file compilation commands.
1954 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
1956         * cmdproxy.c (main): Add missing parens.
1958 1999-02-20  Andrew Innes  <andrewi@gnu.org>
1960         * preprep.c: New program to allow dumped image to be profiled.
1962         * makefile.nt (preprep): New target.
1963         (ALL): Build it.
1965         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
1967         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
1968         Change prep options to profile libc functions and skip the startup
1969         code.
1971 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
1973         * makefile.nt: Create installation directory as first step.
1975 1999-01-31  Andrew Innes  <andrewi@gnu.org>
1977         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
1978         ROUND_UP_DST.  Zeroes the alignment slop.
1979         (copy_executable_and_add_section): Update the
1980         SizeOfHeaders field properly.
1982 1999-01-27  Andrew Innes  <andrewi@gnu.org>
1984         * makefile.nt: Do make version comparison as strings.
1986 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
1988         * runemacs.c (WinMain): Pass explicit environment block to
1989         CreateProcess, to work around a bug in Windows 95/98.
1991 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
1993         * icons: New directory with Davenport's icons.
1994         * icons/sink.ico: Renamed from emacs.ico.
1996         * makefile.nt (install, fast_install): Install Windows icons
1997         into etc/icons.
1999         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2001 1999-01-17  Andrew Innes  <andrewi@gnu.org>
2003         * makefile.nt (ALL): List top-level targets.
2004         (addsection): New top-level target.
2005         (install): Copy fns-*.el to bin directory.
2007         * addsection.c: New program to add static heap section to
2008         temacs.exe after linking, in support of new unexec method.
2010 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
2012         * cmdproxy.c (spawn): Pass directory for child as parameter.
2013         (main): Save startup directory to give to spawn, then change
2014         directory to location of .exe in order not to prevent startup
2015         directory from being deleted.
2017 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
2019         * makefile.nt: Do string comparison of _NMAKE_VER.
2021 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
2023         * config.nt (LOCALTIME_CACHE): Define.
2025 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
2027         * install.bat: Convert to DOS format.
2029 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
2031         * cmdproxy.c (main): Set environment size only when running
2032         command.com.
2034 1998-11-03  Theodore Jump  <tjump@tertius.com>
2036         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
2037         (DEL_TREE): Use rd instead of rmdir.
2038         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
2039         * makefile.nt: Compile multiple source files when possible.
2041 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
2043         * cmdproxy.c (main): Treat command line options as case-insensitive.
2045 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
2047         * Version 20.3 released.
2049 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
2051         * addpm.c (main): Explicitly check result of message box for OK.
2053 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
2055         * inc/sys/file.h (D_OK): Define new macro.
2057 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
2059         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
2061 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
2063         * emacs.rc (VS_VERSION_INFO): Define.
2065 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
2067         * makefile.nt (emacs.bat, debug.bat): Create them in the
2068         installation directory.
2070 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
2072         * ddeclient.c: New file.  (Support program for performing limited
2073         interprocess communication on Windows.)
2075         * makefile.nt: Build ddeclient.
2077         * cmdproxy.c (main): Only set environment size for real shell, and
2078         provide extra directory argument, when running on Windows 95.
2080 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
2082         * cmdproxy.c (fail): Exit with a negative return value.
2083         (spawn): Return subprocess return code as an argument.
2084         Explicitly copy environment block.
2085         (main): Update to use return value argument with spawn.
2086         Retry if spawn failed when a subshell was not tried.
2088         * config.nt: Include new macros from src/config.in.
2089         (GNU_MALLOC, REL_ALLOC): Define.
2090         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
2091         (RE_TRANSLATE): Use char_table_translate.
2093         * makefile.def (CP_DIR): Preserve attributes.
2095         * makefile.nt (clean): Delete patch generated files, optimized
2096         build directory.
2098 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
2100         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
2102 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2104         * Version 20.2 released.
2106 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2108         * Version 20.1 released.
2110 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
2112         * debug.bat.in: New file.
2113         * makefile.nt (debug.bat): New target.
2115 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
2117         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
2118         Quote group name.  Allow different icons to be specified.
2120         * cmdproxy.c (get_env_size): New function.
2121         (spawn): Explicitly pass in environment when creating subprocess.
2122         (main): Cleanup error messages.
2123         Specify dynamically sized environment block for real shell.
2124         Pass on unhandled switches to real shell.
2125         Quote program name.
2127         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
2128         directory.
2129         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
2131         * runemacs.c (WinMain): Allow Emacs process to be started with
2132         high or low priority.
2134         * emacs.bat.in: Remove OS dependent operations.
2136 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
2138         * addpm.c (env_vars): No longer set INFOPATH.
2140         * cmdproxy.c (get_next_token): Null terminate token returned.
2142         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
2144 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
2146         * addpm.c (env_vars): Set SHELL to cmdproxy.
2147         (main): Initialize idDde to 0.
2148         Determine emacs_path from module file name.
2149         Prompt for install.
2151         * makefile.def (MSVCNT11): Conditionally define it.
2152         (BASE_LIBS): Do not use oldnames.lib.
2153         (SYS_LDFLAGS): Use pdb files.
2154         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
2155         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
2156         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
2158         * makefile.nt (ALL): Build cmdproxy.
2159         (cmdproxy): New target.
2160         (install): Install cmdproxy.
2162         * ftime.bat, debug.bat, cmdproxy.c: New files.
2164 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
2166         * inc/sys/socket.h (shutdown): Define.
2167         (sys_shutdown): Export.
2169 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2171         * config.nt (RE_TRANSLATE): Copy definition from config.in.
2173 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
2175         * config.nt: Update file comments.
2176         Update undefs added/removed in src/config.in.
2178 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
2180         * makefile.def, emacs.bat: Use windows95 and windowsnt instead
2181         of win95 and winnt, respectively.
2183 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
2185         * makefile.nt (real_install): Create site-lisp in installation dir.
2186         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
2187         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
2189 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2191         * Version 19.33 released.
2193 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
2195         * runemacs.c (WinMain): Put a space between the binary and its args.
2197 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2199         * Version 19.32 released.
2201 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
2203         * makefile.nt (clean): Use OBJDIR macro.
2205 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
2207         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
2208         Not defined by default.
2209         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
2210         (WinMain): Convert backslashes to slashes in env var values.
2212         * addpm.c (env_vars): Use slashes, not backslashes.
2214 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2216         * Version 19.31 released.
2218 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
2220         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
2221         undo settings afterwards.
2223 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
2225         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
2226         environment variable.
2228 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
2230         * install.bat: Allow for optimized build.
2231         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
2232         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
2234 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
2236         * addpm.c (REG_ROOT): Don't use a trailing backslash.
2237         (env_vars): Rename field emacs_path to emacs_dir.
2238         (main): Add link to runemacs instead of emacs.
2240         * install.bat: Check if INSTALL_DIR is passed as an argument.
2242         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
2244         * makefile.nt: Build and install runemacs.exe.
2246         * runemacs.c: New file.
2248         * config.w95: File removed.
2250         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
2251         inc/sys/socket.h, inc/sys/time.h: New header files.
2253         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
2255 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
2257         * makefile.def (DEL): Defined.
2258         (DEL_TREE) [win95]: Defined.
2259         (SYS_LDFLAGS): Set executable versions to 3.10.
2261         * makefile.nt: Change uses of del to $(DEL).
2263 1996-01-17  Erik Naggum  <erik@naggum.no>
2265         * All files: Update FSF's address in comment preamble.
2267 1996-01-03  George V. Reilly  <georger@microcrafts.com>
2269         * emacs.ico: Now the proverbial kitchen sink icon.
2271 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2273         * Version 19.30 released.
2275 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
2277         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
2279         * makefile.nt (install, fast_install, real_install, clean):
2280         Don't use switches to del not supported by Win95.
2282 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
2284         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
2285         (install, fast_install): Change same-dir test to create test file in
2286         installation tree and thereby support read-only shares.
2287         (clean): Remove .pdb files.
2289         * makefile.def (NTGUI): New macro.
2290         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
2292         * config.nt, config.w95: Update to latest src/config.in.
2294         * addpm.c (env_vars): New variable.
2295         (add_registry): New procedure.
2296         (main): Use values of configuration environment variables from
2297         the registry if defined, the process environment otherwise.
2299 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2301         * Version 19.29 released.
2303         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
2305 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
2307         * makefile.nt: Define .c to .obj suffix rule.
2308         (addpm.obj): Compile directly, use CFLAGS.
2309         (addpm.exe): Link from addpm.obj.
2311         * makefile.def (MSVCNT11): Defined.
2312         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
2313         (CFLAGS_COMMON): Defined.
2314         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
2316 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
2318         * emacs.bat.in: Renamed from emacs.bat.
2319         (emacs_dir): Rename from emacs_path.
2320         Definition removed.
2322         * addpm.c: New file.
2323         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
2324         (all): Depend upon $(BLD) and $(ALL).
2325         (install): Depend upon emacs.bat.
2326         Create program item for Emacs.
2327         (clean): Delete obj.
2328         (emacs.bat): Defined.
2329         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
2331 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
2333         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
2334         Add carriage returns; necessary for batch files on Win95.
2336 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
2338         * config.w95: Created.
2339         * config.h: Changed to config.nt.
2341         * makefile.nt (SUBDIRS): Commented out.
2342         (all, install, clean): Expand for-loops.
2343         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
2345         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
2346         (ARCH): New definition.
2347         (CPU, CONFIG_H, OS_TYPE): Defined.
2348         (INCLUDE, LIB): Checked if valid.
2349         (ntwin32.mak): Included.
2350         (AR, CC, LINK): New definition.
2351         (ADVAPI32, libc, BASE_LIBS): Defined.
2352         (SYS_LDFLAGS): New definition.
2353         Update comments and preprocessor conditionals.
2355         * emacs.bat (SHELL): Conditionally defined.
2356         (HOME): Conditionally defined.
2357         (emacs_path, HOME): Update comments.
2358         Turn off all echo.
2360 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
2362         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
2363         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
2364         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
2365         inc/sys/param.h: Removed carriage-returns.
2367 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
2369         * makefile.def (CVTRES): Defined.
2371         * emacs.ico, emacs.rc: New files by Kevin Gallo.
2373 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
2375         * src: Remove directory.
2377         * src\config.h, src\paths.h: Moved to parent dir, src removed.
2379 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
2381         * makefile.def (INSTALL_DIR): Change to generic directory.
2383         * emacs.bat: Added arguments when emacs.exe invoked.
2385         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
2387 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
2389         * makefile.def (CC): In configuration section.
2390         (COMPAT_LIB): Defined.
2392 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
2394         * src/paths.h: New file.
2396         * src/config.h: New file.
2398         * inc/pwd.h: New file.
2400         * inc/sys/dir.h: New file.
2402         * inc/sys/file.h: New file.
2404         * inc/sys/ioctl.h: New file.
2406         * inc/sys/param.h: New file.
2408         * todo: New file.
2410         * README: New file.
2412         * makefile.nt: New file.
2414         * makefile.def: New file.
2416         * install.cmd: New file.
2418         * INSTALL: New file.
2420         * fast-install.cmd: New file.
2422         * emacs.cmd: New file.
2424         * ebuild.cmd: New file.
2426         * _emacs: New file.
2428 ;; Local Variables:
2429 ;; coding: utf-8
2430 ;; add-log-time-zone-rule: t
2431 ;; End:
2433   Copyright (C) 1995-1999, 2001-2012  Free Software Foundation, Inc.
2435   This file is part of GNU Emacs.
2437   GNU Emacs is free software: you can redistribute it and/or modify
2438   it under the terms of the GNU General Public License as published by
2439   the Free Software Foundation, either version 3 of the License, or
2440   (at your option) any later version.
2442   GNU Emacs is distributed in the hope that it will be useful,
2443   but WITHOUT ANY WARRANTY; without even the implied warranty of
2444   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2445   GNU General Public License for more details.
2447   You should have received a copy of the GNU General Public License
2448   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.