* configure.ac: Move the OSX 10.6 test.
[emacs.git] / nt / ChangeLog
blobabd62d35a96f09fecf6419770b5078cf078e2594
1 2014-09-29  Eli Zaretskii  <eliz@gnu.org>
3         * makefile.w32-in (VERSION): Bump version to 25.0.50.
5         * emacsclient.rc: Bump version to 25.0.50.
7         * emacs.rc: Bump version to 25.0.50.
9         * config.nt (VERSION): Bump version to 25.0.50.
11 2014-09-01  Eli Zaretskii  <eliz@gnu.org>
13         * gnulib.mk: Synchronize with lib/gnulib.mk.
15 2014-06-15  Glenn Morris  <rgm@gnu.org>
17         * Makefile.in (LDFLAGS): Explicitly set via configure.
19 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
21         * Makefile.in (CPPFLAGS): Define.
23 2014-06-15  Glenn Morris  <rgm@gnu.org>
25         * Makefile.in (bootstrap-clean): New.
27 2014-06-05  Dmitry Antipov  <dmantipov@yandex.ru>
29         * inc/ms-w32.h (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.
31 2014-05-29  Eli Zaretskii  <eliz@gnu.org>
33         * Makefile.in (DONT_INSTALL): Now empty.
34         (addsection${EXEEXT}): Remove target.
35         * addsection.c: Remove file.
37 2014-05-27  Fabrice Popineau  <fabrice.popineau@gmail.com>
39         * inc/ms-w32.h: Switch to the system heap allocation scheme
40         instead of GNU malloc and ralloc.
42         * inc/sys/mman.h: New file.
44         * INSTALL: Update for the new build requirements.
46 2014-05-17  Paul Eggert  <eggert@cs.ucla.edu>
48         Assume C99 or later (Bug#17487).
49         * gnulib.mk: Remove stdarg and stdbool modules.
51 2014-05-16  Paul Eggert  <eggert@cs.ucla.edu>
53         Don't require pkg-config when building from repository.
54         * INSTALL: Remove no-longer-needed notes about pkg-config.
56 2014-05-05  Eli Zaretskii  <eliz@gnu.org>
58         * INSTALL: Update to the effect that pkg-config is now required
59         for building from the repository.
61 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
63         * cmdproxy.c (make_absolute): Don't copy more characters from PATH
64         than a single directory name can hold.  (Bug#17334)
66 2014-04-22  Eli Zaretskii  <eliz@gnu.org>
68         * inc/ms-w32.h (lseek): Define only if not already a macro.
69         Suggested by Fabrice Popineau <fabrice.popineau@gmail.com>.
71 2014-04-11  Ken Brown  <kbrown@cornell.edu>
73         * emacs.rc: Revert last change.
75 2014-04-07  Ken Brown  <kbrown@cornell.edu>
77         * emacs.rc: Don't use manifest on Cygwin.  (Bug#17176)
79 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
81         * Makefile.in (install): Create destination directory before copying
82         README.W32, and use ${datadir} to refer to the file (bug#16772).
84 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
86         * Makefile.in (datarootdir, datadir, INSTALL_DATA): Declare.
87         (install): Copy README.W32 to $(datadir)/emacs/$(version).
88         (uninstall): Remove README.W32.  (Bug#14757)
90 2014-02-08  Eli Zaretskii  <eliz@gnu.org>
92         * INSTALL: Update for Emacs 24.4.
94         * README: Update for Emacs 24.4.
96         * README.W32: Update and improve instructions.  (Bug#14762)
98 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
100         * README.W32: Say what GnuTLS and libxml2 does (bug#14762).
102 2014-01-18  Eli Zaretskii  <eliz@gnu.org>
104         * runemacs.c (ensure_unicows_dll): Don't tell in the message box
105         that "emacs -nw" can do without UNICOWS.DLL on Windows 9X.  See
106         w32.c:maybe_load_unicows_dll and its callers for the reason.
108 2014-01-11  Claudio Bley  <claudio.bley@googlemail.com>
110         * inc/sys/stat.h (_WSTAT_DEFINED): Define, to avoid compilation
111         failures when wchar.h is included.
113 2014-01-11  Fabrice Popineau  <fabrice.popineau@supelec.fr>
115         * inc/ms-w32.h (pthread_sigmask): Undefine if defined, for MinGW64.
117 2013-12-31  Fabrice Popineau  <fabrice.popineau@supelec.fr>
119         * inc/ms-w32.h (sys_kill): Fix prototype.
121 2013-12-30  Eli Zaretskii  <eliz@gnu.org>
123         * inc/ms-w32.h (umask) [emacs]: Redirect to sys_umask.  (Bug#16299)
125 2013-12-23  Eli Zaretskii  <eliz@gnu.org>
127         * README.W32:
128         * INSTALL: Update instructions for downloading and using image
129         libraries in general, and librsvg in particular.
131 2013-12-16  Eli Zaretskii  <eliz@gnu.org>
133         * emacs-x64.manifest:
134         * emacs-x86.manifest: Declare that we target Windows 8.1 as well
135         as earlier versions.  This is so GetVersion and GetVersionEx APIs
136         used for bug reporting and other purposes return accurate version
137         number on Windows 8.1.  See the discussion on MSDN
138         http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx
139         for more details.
141 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
143         * inc/ms-w32.h (MAX_UTF8_PATH): New macro.
144         (opendir, closedir, readdir, seekdir): Redirect to replacement
145         functions.
146         * inc/dirent.h: Make d_name[] be MAXNAMELEN*4 characters long.
148 2013-11-27  Glenn Morris  <rgm@gnu.org>
150         * README.W32:
151         * addpm.c (env_vars):
152         * epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
153         * paths.h (PATH_LOADSEARCH): No more leim directory.
155 2013-11-26  Glenn Morris  <rgm@gnu.org>
157         * epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.
159 2013-11-12  Dani Moncayo  <dmoncayo@gmail.com>
161         * msysconfig.sh: Remove.
162         * INSTALL: Update for this.
164 2013-11-09  Glenn Morris  <rgm@gnu.org>
166         * mingw-cfg.site: No need for this to be executable.
168 2013-10-24  Glenn Morris  <rgm@gnu.org>
170         * Makefile.in ($(DESTDIR)${archlibdir}):
171         Avoid non-portable "`\" nesting.
173         * Makefile.in (abs_top_srcdir): New, set by configure.
175 2013-10-23  Glenn Morris  <rgm@gnu.org>
177         * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
178         Quote entities that might contain whitespace.
180 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
182         * inc/mingw_time.h: New file.
184         * inc/ms-w32.h: Include mingw_time.h instead of doing its job.
186 2013-10-12  Eli Zaretskii  <eliz@gnu.org>
188         * inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
189         the layout of 'struct dirent' be compatible with MinGW32 runtime
190         versions 4.0 and later.
192         * inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
193         (__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
194         defined, but not for MinGW64.
195         (_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
196         use of 32-bit time_t type.
198 2013-10-07  Paul Eggert  <eggert@cs.ucla.edu>
200         Improve support for popcount and counting trailing zeros (Bug#15550).
201         * gnulib.mk: Merge changes from ../lib/gnulib.mk.
203 2013-10-04  Paul Eggert  <eggert@cs.ucla.edu>
205         * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
207 2013-09-20  Eli Zaretskii  <eliz@gnu.org>
209         * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
210         to avoid gnulib replacement of 'struct timeval' and the resulting
211         compilation of lib/gettimeofday.c with incompatible version of
212         gettimeofday.  Related discussions on emacs-devel:
213         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
214         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html
216 2013-08-31  Glenn Morris  <rgm@gnu.org>
218         * INSTALL: Rename from INSTALL.MSYS.
219         * INSTALL.OLD: Rename from INSTALL.
220         * configure.bat: Update for INSTALL name changes.
222 2013-08-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
224         * configure.bat: Rather than disabling, make configure.bat produce
225         some warning that building with configure.bat is deprecated and
226         ask for confirmation to continue.
228 2013-08-25  Glenn Morris  <rgm@gnu.org>
230         * INSTALL: Refer to INSTALL.MSYS.
231         * configure.bat: Disable it.
233 2013-08-04  Eli Zaretskii  <eliz@gnu.org>
235         * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
237         * inc/ms-w32.h (mkostemp): Declare prototype.
238         (mktemp): Don't redirect to sys_mktemp.
240         * config.nt (HAVE_MKOSTEMP): Define to 1.  (Bug#15015)
242 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
244         * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
245         (FD_CLOEXEC): New macros.
247 2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>
249         Make file descriptors close-on-exec when possible (Bug#14803).
250         * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
251         otherwise, gnulib-tool complains given close-on-exec changes.
252         * inc/ms-w32.h (pipe): Remove.
253         * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
254         (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
256 2013-06-25  Juanma Barranquero  <lekktu@gmail.com>
258         * configure.bat: Add warning to the help text about using the
259         MSYS/MinGW building procedure.
261 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
263         * INSTALL.MSYS: mingw-get is not a GUI program (yet).
264         msys-automake is not suitable for MinGW builds.  Mention the
265         --enable-locallisppath switch to msysconfig.sh.  Suggested by
266         Óscar Fuentes <ofv@wanadoo.es>.
268 2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)
270         * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
272 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
274         * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
276 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
278         * inc/sys/time.h (struct timeval): Remove the _W64 guards.
280 2013-06-01  Eli Zaretskii  <eliz@gnu.org>
282         * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
283         avoid multiple definition errors on MinGW64.
285 2013-05-31  Eli Zaretskii  <eliz@gnu.org>
287         * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
288         'restrict', which is a C99 extension.  See
289         http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
290         and the following discussion for the problem this caused in the
291         old nt/configure.bat build.
293 2013-05-29  Eli Zaretskii  <eliz@gnu.org>
295         * Makefile.in (emacs.res): Include srcdir when preprocessing
296         resources, for out-of-tree builds.
297         (mostlyclean): Remove *.res files.
299 2013-05-17  Eli Zaretskii  <eliz@gnu.org>
301         * runemacs.c (WinMain): Support invocation of un-installed
302         nt/runemacs.exe, by looking for src/emacs.exe.
304 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
306         * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.  (Bug#14409)
308         * msysconfig.sh: New file.
310         * mingw-cfg.site: New file.
312         * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
314         * inc/unistd.h: Include pwd.h and sys/types.h.
316         * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
317         (timerclear): Define.
318         (gettimeofday): Adjust signature to be Posix compatible, by using
319         the 'restrict' keyword.
321         * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
322         (struct _stat, struct _stati64): Define.
324         * inc/sys/socket.h (timeval): Define only for MSVC.
325         (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
326         EMACS_CONFIG_H is defined.
327         (timeval): Undefine only for MSVC.
329         * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
330         (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
331         (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
332         (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
333         (fileno): Move definition after including stdio.h.
334         (sigset_t): Guard typedef by _W64.
336         * gnulib.mk: New file.
338         * epaths.nt: New file.
340         * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
341         copy of the file names there.
342         <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
343         literal strings.
345         * Makefile.in: New file.
347         * INSTALL.MSYS: New file.
349         * INSTALL: Mention INSTALL.MSYS.
351 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
353         * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
355 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
357         * config.nt: Sync with autogen/config.in.
358         (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
359         (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
360         (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
361         (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
362         (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
363         (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
364         (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
365         (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
366         (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
367         (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
369 2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
371         Use Gnulib ACL implementation, for benefit of Solaris etc.  (Bug#14295)
372         * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
373         * inc/ms-w32.h (EOPNOTSUPP): New macro.
375 2013-04-09  Ken Brown  <kbrown@cornell.edu>
377         * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
378         (Bug#12993)
380 2013-04-01  Eli Zaretskii  <eliz@gnu.org>
382         * README: A better documentation of ddeclient.exe.
384         * README.W32: A better documentation of ddeclient.exe.
386         * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
387         subdirectories.
389 2013-03-30  Eli Zaretskii  <eliz@gnu.org>
391         * inc/ms-w32.h (TERM_HEADER): Remove definition.
393         * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
394         ms-w32.h.
396 2013-03-29  Eli Zaretskii  <eliz@gnu.org>
398         * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
400         * config.nt (HAVE_COPYSIGN): Define.
402 2013-03-29  Juanma Barranquero  <lekktu@gmail.com>
404         * config.nt: Sync with autogen/config.in.
405         (HAVE_XKBGETKEYBOARD): Remove.
406         (HAVE_XKB): New macro.
408 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
410         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
411         (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
412         Depend on .exe files.
414         * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
415         avoid MinGW64 compiler warnings in editfns.c.
417         Fix rules for parallel builds.
418         * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
419         without the .exe suffix.
420         (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
421         targets.
422         (.PHONY): Remove.
424         * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
425         headers, since that's where _W64 is declared by MinGW64.
427 2013-03-26  Eli Zaretskii  <eliz@gnu.org>
429         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
430         (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
432         * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
433         define for MinGW64.
435         * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
436         for MinGW64.
438         Fix more incompatibilities between MinGW.org and MinGW64 headers
439         reported by Óscar Fuentes in
440         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
441         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
442         and in
443         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
444         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
445         For MinGW64, include sys/types.h and time.h.
446         (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
448         * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
450         * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
451         _W64.
452         (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
453         _TIMEZONE_DEFINED.
455         * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
457         * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
458         lstat, and fstatat.
460 2013-03-25  Eli Zaretskii  <eliz@gnu.org>
462         Fix incompatibilities between MinGW.org and MinGW64 headers
463         reported by Óscar Fuentes in
464         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
465         * inc/ms-w32.h (struct timespec): Don't define if
466         _TIMESPEC_DEFINED is already defined.
467         (sigset_t) [!_POSIX]: Typedef for MinGW64.
468         (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
469         including the first system header, to avoid redefinition if some
470         system header defines a default value.
472         * inc/sys/time.h (struct itimerval): Don't define if
473         _TIMESPEC_DEFINED is already defined.
475 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
477         Fix the MSVC build.  (Bug#13939)
478         * inc/stdint.h (UINTPTR_MAX): Define.
480         * nmake.defs (libc): Fix syntax of !if conditional.
482 2013-03-15  Juanma Barranquero  <lekktu@gmail.com>
484         * config.nt: Sync with autogen/config.in.
485         (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
486         (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
487         (HAVE_FDATASYNC): New macros.
489 2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
491         File synchronization fixes (Bug#13944).
492         * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
494 2013-03-05  Paul Eggert  <eggert@cs.ucla.edu>
496         FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
497         * inc/unistd.h (O_NOFOLLOW): New macro.
499 2013-03-04  Juanma Barranquero  <lekktu@gmail.com>
501         * config.nt: Sync with autogen/config.in.
502         (DATA_START, ORDINARY_LINK): Remove.
503         (HAVE_DATA_START, HAVE__PUTENV): New macros.
505 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
507         * inc/ms-w32.h (BOOT_TIME_FILE): Define.
509         * config.nt (CLASH_DETECTION): Define to 1.
511 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
513         * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
514         (Bug#9066)
515         (chown, logb): Remove, unused.
517 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
519         * config.nt: Sync with autogen/config.in.
520         (GC_MARK_STACK): Remove.
521         (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
522         (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
523         (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
525 2013-02-12  Eli Zaretskii  <eliz@gnu.org>
527         * inc/ms-w32.h: Add prototype for memrchr.
529 2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
531         Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
532         * inc/sys/stat.h (fstatat):
533         * inc/unistd.h (readlinkat): New decls.
535 2013-01-28  Eli Zaretskii  <eliz@gnu.org>
537         * inc/dirent.h (opendir): Update prototype.
539 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
541         * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
542         used in term.c.  (Bug#13387)
544 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
546         * config.nt: Sync with autogen/config.in.
547         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
549 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
551         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
552         in lib/filemode.c that broke the MS-Windows build.
553         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
555 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
557         * config.nt: Sync with autogen/config.in.
558         (BSD4_2): Remove.
560 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
562         * inc/sys/acl.h: New file.
564         * inc/ms-w32.h (ENOTSUP): Define if undefined.
566         * config.nt (HAVE_POSIX_ACL): Define.
568 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
570         * inc/ms-w32.h (sys_unlink): Provide prototype.
572 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
574         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
576 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
578         * config.nt: Sync with autogen/config.in.
579         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
581 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
583         * config.nt: Sync with autogen/config.in.
584         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
585         (ULIMIT_BREAK_VALUE): Remove.
587 2012-12-10  Daniel Colascione  <dancol@dancol.org>
589         * emacs.rc: Use forward slashes in relative paths in order to
590         avoid complaints from Cygwin.  (Forward slashes work perfectly
591         well in the NT build.)
593 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
595         * inc/unistd.h (unsetenv): Provide a prototype.
597 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
599         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
600         (sys_putenv): Add prototype.
602         * config.nt (HAVE_UNSETENV): Define to 1.
604 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
606         * config.nt: Sync with autogen/config.in.
608 2012-11-24  Ken Brown  <kbrown@cornell.edu>
610         * config.nt (HAVE_MOUSE): Remove.
612 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
614         * config.nt: Sync with autogen/config.in.
615         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
616         Remove.
618 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
620         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
621         (Bug#12955)
623         * nmake.defs (SWITCHCHAR): Define to /.
625 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
627         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
628         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
629         (struct dirent): Rename from struct direct.  All uses changed.
630         * inc/sys/dir.h: Remove.
632 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
634         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
635         * config.nt (HAVE_GETCWD): Remove.
637 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
639         * nmake.defs: Use !if, not !ifdef.  For the details, see
640         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
642         * inc/stdint.h (INTPTR_MIN)
643         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
645 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
647         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
649 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
651         * config.nt: Sync with autogen/config.in.
652         (HAVE_FPATHCONF): Remove.
654 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
656         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
657         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
658         POSIX name for this flag is O_NONBLOCK.  All uses changed.
659         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
660         these really should be moved to a replacement <fcntl.h> if and
661         when that gets implemented.  In the meantime, include <fcntl.h>
662         to make sure we don't override its definitions.
664 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
666         * inc/sys/wait.h: New file, with prototype of waitpid and
667         definitions of macros it needs.
669         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
670         (sys_wait): Remove prototype.
672         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
674 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
676         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
677         to check if it's installed, redirect standard output and standard
678         error to the null device.
679         (ZIP_DIST): Don't build the "barebin" distribution.
681 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
683         * config.nt: Sync with autogen/config.in.
684         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
685         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
686         New macros.
688 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
690         * inc/unistd.h (faccessat): Add prototype.
691         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
692         2 moved from ms-w32.h.
694         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
696 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
698         Use faccessat, not access, when checking file permissions (Bug#12632).
699         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
700         (access): Remove.
701         (faccessat): New macro.
703 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
705         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
707 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
709         * config.nt: Sync with autogen/config.in.
710         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
711         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
713 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
715         * config.nt: Sync with autogen/config.in.
716         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
718 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
720         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
722 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
724         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
726         * config.nt (GETPGRP_VOID): Define to 1.
728 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
730         * config.nt: Sync with autogen/config.in.
732 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
734         * inc/pwd.h (getuid, geteuid): Add prototypes.
736         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
737         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
738         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
739         (sys_kill, getpagesize): Add prototypes for emulated functions.
741         * inc/grp.h (getgid, getegid): Add prototypes.
743         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
745         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
746         compiling with -std=gnu99.
748         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
749         could be used via --cflags switch to configure.bat.
751 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
753         * config.nt: Sync with autogen/config.in.
754         (HAVE_NTGUI): New macro.
756 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
758         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
759         compiler warnings when using the value.
761 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
763         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
764         'void *', for pointer arithmetics.
765         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
766         macro arguments in parentheses.
768 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
770         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
772 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
774         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
775         that are already defined.
777         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
778         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
779         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
781         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
782         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
783         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
784         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
785         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
786         Use DWORD_PTR instead of DWORD for compatibility with x64.
788         * nmake.defs: Support AMD64.
789         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
791         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
792         New macros.
794         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
795         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
796         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
797         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
798         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
799         DWORD, for compatibility with x64.
801         * emacs-x64.manifest: New file.
803         * emacs-x86.manifest: Renamed from emacs.manifest.
805 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
807         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
808         (struct itimerval): Define.
809         (getitimer, setitimer): Add prototypes.
811         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
812         with MinGW.
813         (SA_RESTART, SIGPROF): Define.
815         * config.nt (HAVE_SETITIMER): Define to 1.
817 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
819         * config.nt: Sync with autogen/config.in.
821 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
823         * config.nt: Sync with autogen/config.in.
824         (HAVE_TIMER_SETTIME): New macro.
826 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
828         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
830 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
832         Simplify and avoid signal-handling races (Bug#12471).
833         * inc/ms-w32.h (emacs_raise): New macro.
835 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
837         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
838         defined, as needed by giflib-5.0.0.  (Bug#12464)
840 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
842         * config.nt: Sync with autogen/config.in.
843         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
845 2012-09-17  Glenn Morris  <rgm@gnu.org>
847         * config.nt (COPYRIGHT): New.
849 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
851         Port _setjmp fix to POSIXish hosts as well as Microsoft.
852         * config.nt: Attempt to sync with autogen/config.in.
853         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
854         (_longjmp, _setjmp): Remove.
856 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
858         * config.nt: Sync with autogen/config.in.
859         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
860         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
861         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
863 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
865         * config.nt: Sync with autogen/config.in.
866         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
867         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
869 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
871         * configure.bat <use_extensions>: Don't leave it set in the
872         environment when the script exits.
874 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
876         * config.nt: Sync with autogen/config.in.
877         (NO_ABORT, SIGNAL_H_AHB): Remove.
879 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
881         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
883 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
885         * config.nt: Sync with autogen/config.in.
887 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
889         Simplify redefinition of 'abort' (Bug#12316).
890         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
892 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
894         * config.nt: Sync with autogen/config.in.
895         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
897 2012-09-01  Daniel Colascione  <dancol@dancol.org>
899         * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
901 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
903         * config.nt: Sync with autogen/config.in.
905 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
907         * config.nt: Sync with autogen/config.in.
908         (HAVE_POSIX_OPENPT): New macro.
910 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
912         * config.nt: Sync with autogen/config.in.
913         (_GL_INLINE_HEADER_BEGIN): Update.
915 2012-08-10  Glenn Morris  <rgm@gnu.org>
917         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
919 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
921         * config.nt: Sync with autogen/config.in.
922         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
923         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
925         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
927 2012-08-06  Glenn Morris  <rgm@gnu.org>
929         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
930         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
932 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
934         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
935         (PATH_DATA, PATH_DOC): Replace dummy directory names with
936         directories relative to %emacs_dir%.
937         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
938         to the use case of running un-installed Emacs.
940 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
942         * config.nt: Sync with autogen/config.in.
943         (DOS_NT, MSDOS): New macros.
944         (WRETCODE, wait3): Remove.
946         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
948 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
950         * inc/sys/stat.h (S_IFLNK): Define.
951         (S_ISLNK): A non-trivial definition.
952         (lstat): Prototype instead of a macro that redirects to 'stat'.
954 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
956         Use C99-style 'extern inline' if available.
957         * config.nt: Sync with autogen/config.in.
958         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
959         (_GL_INLINE_HEADER_END): New macros.
961 2012-08-02  Glenn Morris  <rgm@gnu.org>
963         * inc/ms-w32.h: Move here from ../src/s.
964         * config.nt (config_opsysfile): Change to <ms-w32.h>.
966 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
968         * config.nt: Sync with autogen/config.in.
969         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
970         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
971         New macros.
973 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
975         * config.nt: Sync with autogen/config.in.
976         Remove code moved to conf_post.h and include <conf_post.h>
977         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
978         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
980 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
982         * config.nt: Sync with autogen/config.in.
983         (HAVE_ENVIRON_DECL): New macro.
985 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
987         * inc/stdalign.h (_Alignas, alignas): Define.
989 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
991         Use Gnulib stdalign module (Bug#9772, Bug#9960).
992         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
994 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
996         * config.nt: Sync with autogen/config.in.
997         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
998         (SETUP_SLAVE_PTY): New macros.
1000 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
1002         * config.nt: Sync with autogen/config.in.
1003         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
1004         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
1005         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
1006         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
1007         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
1008         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
1009         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
1010         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
1011         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
1012         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
1013         Set in src/s/ms-w32.h, not here.
1015 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
1017         * config.nt: Sync with autogen/config.in.
1018         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
1019         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
1020         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
1022 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
1024         * config.nt: Sync with autogen/config.in.
1026 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
1028         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
1030 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
1032         * config.nt: Sync with autogen/config.in.
1034 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
1036         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
1038 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
1039             Eli Zaretskii  <eliz@gnu.org>
1041         * config.nt: Complete rework to bring it in sync with autogen/config.in.
1042         All Windows-specific code moved to src/s/ms-w32.h.
1044 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
1045             Eli Zaretskii  <eliz@gnu.org>
1047         * configure.bat (enablechecking): Enable checks through src/config.h,
1048         not the compiler's command line.
1050         * nmake.defs (CHECKING_CFLAGS): Remove.
1051         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1053         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
1054         (CHECKING_CFLAGS): Remove.
1055         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1057 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
1059         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
1060         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
1061         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
1062         (HAVE_MEMCMP): Remove, obsolete.
1064 2012-06-30  Glenn Morris  <rgm@gnu.org>
1066         * paths.h (PATH_SITELOADSEARCH): New.
1068 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
1070         * nmake.defs (CHECKING_CFLAGS):
1071         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
1073 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
1075         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
1077 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
1079         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
1080         * config.nt (_Noreturn): New macro.
1081         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
1082         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
1084 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
1086         * inc/sys/time.h (struct timespec): Don't define it here, it is
1087         now defined in src/s/ms-w32.h.
1089 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
1091         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
1092         * inc/sys/time.h (struct timespec): Define.
1094 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
1096         * makefile.w32-in (install-addpm): New target.
1097         (dist): Depend on it.
1098         (install-shortcuts): Depend on install-addpm instead of copying
1099         addpm.exe as part of the recipe.  See
1100         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
1101         for the related problem and discussions.
1103 2012-06-11  Glenn Morris  <rgm@gnu.org>
1105         * config.nt (SYSTEM_TYPE): Define it.
1107 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1109         * configure.bat (genmakefiles): Move the redirection away from the
1110         end of the command, to avoid excess whitespace at the end of Make
1111         variables created at configure time, and also avoid things like
1112         "FOO1>>config.settings", where "1" gets interpreted as the file
1113         descriptor and eaten up.  This fixes breakage introduced by the
1114         last change, without reintroducing the bug fixed by that change.
1116 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1118         * nmake.defs (MWINDOWS): Define as
1119         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
1120         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
1122         * gmake.defs (MWINDOWS): Define as "-mwindows".
1124 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
1126         * config.nt (HAVE_SYSINFO): Remove; unused.
1128 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1130         * inc/stdalign.h: New file.
1132         * configure.bat: Ensure a space between %var% expansion and
1133         redirection symbol '>', which breaks when %var% ends in a digit,
1134         such as 1.
1136 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1138         Remove src/m/*.
1139         * config.nt: Do not include "m/intel386.h"; file was removed.
1140         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
1141         Move to src/lisp.h.
1142         (EMACS_INT_MAX): New macro.
1144 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1146         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
1147         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
1149         * config.nt (HAVE_FTIME): Remove undef; not needed.
1151 2012-05-01  Glenn Morris  <rgm@gnu.org>
1153         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
1155 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1157         * makefile.w32-in: Fix typo (Bug#10261).
1159 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
1161         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
1162         each runs makeinfo in its own subdirectory of 'doc'.
1163         (info-gmake): Depend on these new targets.
1165 2012-04-07  Glenn Morris  <rgm@gnu.org>
1167         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
1168         Bump version to 24.1.50.
1170 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1172         * configure.bat: Support building with libxml2.
1174         * INSTALL:
1175         * README.W32: Add information about libxml2.
1177 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1179         * makefile.w32-in: Convert to Unix EOL format.
1180         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
1181         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
1182         (bootstrap-gmake): Invoke the "clean" and build targets in 2
1183         separate commands, so they run in that order even under "make -j".
1185 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
1187         * config.nt: Discourage from defining HAVE_GETCWD.
1189 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1191         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
1192         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
1193         on other (parallel) Make job's toes.
1194         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
1195         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
1196         here.
1197         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
1198         Depend on create-tmp-dist-dir.
1200         * nmake.defs (DIRNAME): New variable.
1201         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1202         same-dir.tst.
1204         * gmake.defs (DIRNAME): New variable.
1205         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1206         same-dir.tst, to avoid conflicts between several (parallel) Make
1207         jobs.
1209 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
1211         Prevent endless re-spawning of cmdproxy.exe when some of its
1212         parent directories have access limitations.
1214         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
1215         and our own module name to short 8+3 aliases, if the original file
1216         names compare equal.  If GetShortPathName fails, compare the base
1217         names of the two file names, and only re-spawn the command line if
1218         the base-name comparison also fails.  (Bug#10674)
1220 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1222         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
1224 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
1226         * README.W32: Removed specific version information for libXpm
1227         included in the binary distribution for maintenance purposes.
1229 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
1231         * README.W32: Clarification for inclusion in source tarball (bug#9750).
1233         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1235         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1237         * makefile.w32-in (maybe-copy-distfiles)
1238         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1239         (create-tmp-dist-dir): Add to make --distfiles optional.
1240         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1242 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
1244         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1245         by other headers.
1247 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1249         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1250         (UINT64_MAX) [_WIN64]: Fix definition.
1251         (uintmax_t, intmax_t): Fix definitions.
1253         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1254         Provide correct definitions.
1256         * config.nt (HAVE_DECL_STRTOLL): Define.
1257         (va_copy) [_WIN64]: Provide a better definition.
1259 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
1261         * configure.bat: Fix typos.
1263 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
1265         * INSTALL: Elaborate on debugging fatal errors.
1267 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
1269         * README.W32: Update the GTK Windows download URL for libpng.
1271 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
1273         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1275 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
1277         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1278         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1279         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1280         (intmax_t, INT64_MAX): Add for MSVC.
1282         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1284 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
1286         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1288         Support MSVC build with newer versions of Visual Studio.
1289         * makefile.w32-in (clean-other-dirs-nmake)
1290         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1291         Update for current structure of doc/ subdirectories.
1293         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1295         * INSTALL: Update for newer versions of MSVC.
1297 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1299         Support MSVC build with newer versions of Visual Studio.
1300         * nmake.defs (USE_CRT_DLL): Define to 1.
1301         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1302         (D): New variable.
1304 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
1306         * runemacs.c (ensure_unicows_dll): New function, tries to load
1307         UNICOWS.DLL on Windows 9X.
1308         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1309         display a dialog to the effect that Emacs cannot be started.
1310         (Bug#8562)
1312 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
1314         * README.W32: Mention UNICOWS.DLL as prerequisite for running
1315         Emacs on Windows 9X.
1317 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
1319         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1320         distribution.  (Bug#9861)
1322 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
1324         * INSTALL: Update URL for GTK download page.
1326 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
1328         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1329         (Bug#9794) (Bug#641)
1331 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1333         * config.nt (HAVE_SNPRINTF): New macro.
1335 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1337         Assume freestanding C89 headers, string.h, stdlib.h.
1338         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1339         (STDC_HEADERS): Remove.
1340         Iinclude string.h, stdlib.h unconditionally.
1342 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
1344         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1345         [!__GNUC__]: New macros.
1347 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1349         Use 'inline', not 'INLINE'.
1350         * config.nt (INLINE): Remove.
1352 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
1354         * README.W32: Add information about GnuTLS libraries.
1356 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
1358         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1360 2011-05-07  Ben Key  <bkey76@gmail.com>
1362         * configure.bat: Renamed the fusercflags variable to escusercflags
1363         so that the variable name better matches its purpose, to be
1364         identical to usercflags with the exception that all quotes are
1365         escaped by the \ character.
1367         Renamed the fuserldflags variable to escuserldflags so that the
1368         variable name better matches its purpose, to be identical to
1369         userldflags with the exception that all quotes are escaped by
1370         the \ character.
1372         A new ESC_USER_CFLAGS variable is written to config.settings.
1373         This variable has the same value as the escusercflags variable.
1375         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1376         This variable is identical to the CFLAGS variable except that it
1377         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1379         These changes, along with some changes to src/makefile.w32-in,
1380         are required to extend my earlier fix to add support for
1381         --cflags and --ldflags options that include quotes so that it
1382         works whether make uses cmd or sh as the shell.
1384 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
1386         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
1387         definition of uintmax_t from here...
1388         * inc/stdint.h (uintmax_t): ...to here.
1389         (intptr_t) [!__GNUC__]: New typedef.
1391 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
1393         * config.nt: Prepare to configure 64-bit integers for older compilers.
1394         However, temporarily disable this change unless the temporary
1395         symbol WIDE_EMACS_INT is defined.
1396         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1397         "%I64d" work but long long and "%lld" do not.
1399 2011-05-05  Ben Key  <bkey76@gmail.com>
1401         * configure.bat: Added support for --cflags and --ldflags
1402         options that include quotes as long as command extensions are
1403         enabled.  Specifically when -I, -L, and similar flags are used
1404         to specify supplementary include and library directories a
1405         directory name that includes spaces may now be used if it is
1406         enclosed in quotes.
1408         * INSTALL: Documented the change to configure.bat.
1410 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1412         * INSTALL: Clarify GnuTLS support.
1414 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
1416         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1417         Define to 1 for MinGW of MSVC versions >= 1400.
1419 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
1421         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1423 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
1425         * inc/inttypes.h: New file.
1427         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1428         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1430 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1432         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1433         inside quotation marks and bail out.
1435 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1437         * cmdproxy.c (try_dequote_cmdline): New function.
1438         (main): Use it.
1440 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1442         * configure.bat: New options --without-gnutls and --lib, new build
1443         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
1444         library setup with trivial modifications.
1445         * INSTALL: Add instructions for GnuTLS support.
1446         * gmake.defs: Prefix USER_LIBS with -l.
1448 2011-04-15  Ben Key  <bkey76@gmail.com>
1450         * configure.bat: Modified the code that parses the --cflags and
1451         --ldflags options to support parameters that include the =
1452         character as long as they are enclosed in quotes.
1453         This functionality depends on command extensions.  Configure.bat now
1454         attempts to enable command extensions and displays a warning
1455         message if they could not be enabled.  If configure.bat could
1456         not enable command extensions the old parsing code is used that
1457         does not support parameters that include the = character.
1459         * INSTALL: Updated the file to describe the new functionality
1460         using text provided by Eli Zaretskii.
1462 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
1464         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1465         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1466         on the trunk on 2011-04-06.
1468 2011-03-27  Glenn Morris  <rgm@gnu.org>
1470         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1472 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
1474         * addpm.c (main): Remove unused variable `retval'.
1476         * preprep.c (main): Remove unused variable `ptr'.
1478 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
1480         * cmdproxy.c: Include <ctype.h>.
1481         (make_absolute): Remove unused variable `i'.
1483 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
1485         * Version 23.3 released.
1487 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
1489         * inc/unistd.h (readlink, symlink): Declare prototypes.
1491 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
1493         * config.nt (nlink_t): Define.
1495 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
1497         * inc/stdint.h: New file, to support compilation with tool chains
1498         that do not have stdint.h (e.g. MSVC).
1500 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
1502         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1503         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1504         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1505         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1506         (lstat): Define to stat.
1508 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
1510         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1511         "make-docfile" target in lib-src, before bootstrapping the src
1512         directory.  Needed since building in src needs to run make-docfile
1513         to produce globals.h.
1515 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1517         * config.nt (inline) [__GNUC__]: Define (for gnulib).
1519 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1521         * config.nt (VERSION): Uncomment definition.
1522         (restrict): Define.
1524         * inc/stdbool.h: New file.
1526 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1528         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1529         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1530         (bootstrap-clean-gmake, clean-other-dirs-nmake)
1531         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1532         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1533         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1534         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1535         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1537         * configure.bat: Create lib/makefile.
1539         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1540         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1541         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1542         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1544 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1546         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1548 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1550         * configure.bat (end): Unset environment variables used by this
1551         batch file.
1553         * INSTALL: Update the information about PNG support libraries.
1554         (Bug#7716)
1556         * README.W32: Update the information about PNG support libraries.
1558 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1560         * config.nt (EXTERNALLY_VISIBLE): Define.
1562 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1564         * INSTALL: Refer to `dynamic-library-alist'.
1566 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1568         * INSTALL: Add note about problematic characters passed to configure.
1570 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1572         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1573         emacs-src.tags: New file.
1575         * gmake.defs: Add a comment with a single quote to fix
1576         fontification.  (Bug#7102)
1578 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1580         * configure.bat: Fix the condition for copying paths.h into
1581         ../src/epaths.h.
1583 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1585         * addpm.c (entry, add_registry, main):
1586         * addsection.c (file_data, open_input_file, open_output_file)
1587         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1588         (COPY_CHUNK):
1589         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1590         (skip_nonspace, get_next_token, search_dir, make_absolute)
1591         (spawn, main):
1592         * preprep.c (file_data, open_input_file, open_output_file)
1593         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1594         Use const char*.
1596         * cmdproxy.c (stdin): Don't define, not used.
1597         (main): Don't assign remlen after last use.
1599 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1601         * configure.bat: Err out when the argument of --cflags contains
1602         invalid characters (check implemented only for GCC).  (Bug#6820)
1604 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1606         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1608 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1610         * addpm.c (add_registry): Set path for runemacs.exe to use.
1612 2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
1614         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1615         which has a 1024 char limit on Windows (bug#6647).
1617 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1619         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1620         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1622 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1624         * config.nt: Remove code referring to NO_REMAP, unused.
1626 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1628         Build binary distros on Windows using emacs-VERSION as root dir name.
1630         * makefile.w32-in: Copy README.W32 to installation directory
1631         during `make install'.  Remove README.W32 with `distclean' (in
1632         case Emacs was installed in place).  Use temporary directory to
1633         create distribution zip files in `dist' target.
1634         * zipdist.bat: Simplify code using temporary directory.
1636 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1638         * runemacs.c (set_user_model_id): Fix prototype.
1640 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1642         New make target for Windows platform: make dist (bug#6602)
1644         * INSTALL: Document new dist target and add section about
1645         creating binary distributions.
1646         * README.W32: Relocate from admin/nt/ directory.
1647         * configure.bat: New parameter `--distfiles'.
1648         * makefile.w32-in: Add version number, new target `dist'.
1649         Add new target `install-shortcuts'.
1650         * zipdist.bat: New file; create zipped binary distribution,
1651         replaces admin/nt/makedist.bat.
1653 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1655         * INSTALL: Add note about backslashes in Windows paths.
1656         Fix typos.  Simplify references to Windows versions.
1658 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1660         * addpm.c (add_registry, main):
1661         * cmdproxy.c (get_env_size):
1662         * ddeclient.c (main):
1663         * runemacs.c (set_user_model_id):
1664         Convert definitions to standard C.
1666 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1668         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1670 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1672         * configure.bat: New option --enable-checking.
1673         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1674         (CFLAGS): Include it.
1676 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1678         * config.nt (volatile): Remove definition.
1680 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1682         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1683         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1685 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1687         * config.nt (__P): Remove.
1689 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1691         * config.nt: Remove code depending on BSTRING.
1693 2010-06-03  Glenn Morris  <rgm@gnu.org>
1695         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1697 2010-05-13  Glenn Morris  <rgm@gnu.org>
1699         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1701 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1703         * Version 23.2 released.
1705 2010-05-04  Glenn Morris  <rgm@gnu.org>
1707         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1709 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1711         * emacs.manifest: Add trustInfo section to Windows manifest.
1713 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1715         * Branch for 23.2.
1717 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1719         * emacsclient.rc: Fix format of "LegalCopyright" value.
1721 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1723         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1725 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1727         * INSTALL: Update for CVS->Bazaar switchover.
1729 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1731         * configure.bat: Add #define PROFILING to config.h.
1733 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1735         * runemacs.c (set_user_model_id): Use standard types.
1737 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1739         * runemacs.c (set_user_model_id): New function.
1740         (WinMain): Use it.
1742 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1744         * Branch for 23.1.
1746 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1748         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1749         st_gid to unsigned.
1751         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1752         to unsigned.
1753         (getpwuid): Argument is now unsigned.
1754         uid_t is now unsigned.
1756 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1758         * INSTALL: Add comment about TCC; fix typos.
1760 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1762         * emacsclient.rc, emacs.rc: Swap name and description.
1763         Remove Windows versions.
1765 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1767         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1769         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1771         * addpm.c (main): Try using COM to create start menu shortcuts
1772         before resorting to DDE (Bug#202)
1773         Remove second command-line argument.
1775 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1777         * configure.bat: Untabify help message.
1779 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1781         * configure.bat: New option --with-svg.
1783         * INSTALL: Document experimental SVG support.
1785 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1787         * config.nt (PTR): Remove.
1789 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1791         * config.nt (LISTPROC, PROCATTR): Remove.
1793 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1795         * config.nt (LISTPROC, PROCATTR): New macros.
1797 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1799         * config.nt (MULTI_KBOARD): Remove.
1801 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1803         * configure.bat: New option --profile.
1804         * gmake.defs: Set cflags and ldflags for profiling when specified.
1806 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1808         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1810 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1812         * config.nt (HAVE_FACES): Remove, unused.
1814 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1815             Eli Zaretskii  <eliz@gnu.org>
1817         * nmake.defs (FONT_CFLAGS):
1818         * gmake.defs (FONT_CFLAGS): Remove.
1819         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1820         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1821         and _CRTAPI1.
1822         (ARCH_FLAGS): Don't include _X86_.
1824         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1826 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1828         * config.nt: Remove reference to UNEXEC_SRC.
1830 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1831             Eli Zaretskii  <eliz@gnu.org>
1833         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1834         Don't hardcode -gstabs+, use DEBUG_INFO.
1836         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1837         Default to stabs if the compiler does not support DWARF-2.
1838         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1840 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1842         * configure.bat: Remove code dealing with --disable-font-backend.
1844 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1846         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1847         better alignment.  Make st_size 64-bit wide.  Add new members
1848         st_uname and st_gname.
1850         * inc/grp.h (struct group): Add gr_gid member.
1852 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1854         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1855         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1856         a real file there is not a good idea.
1858 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1860         * makefile.w32-in (CLIENTRES): New variable and build target.
1861         (all): Depend on it.
1862         ($(TRES)): Use $(TRES) in rule.
1864 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1866         * configure.bat (success): Print "make" rather than "gmake", as that
1867         is what MinGW uses.
1869 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1871         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1872         Add copyright notice.
1874 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1876         * emacsclient.rc: New file.
1878         * INSTALL: Document make targets.
1880 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1882         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1883         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1884         (top-distclean, distclean, distclean-other-dirs-nmake)
1885         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1886         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1888 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1890         * inc/sys/stat.h: New file.
1892         * configure.bat: Add check for usp10.h.
1894 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1896         * INSTALL: Update Windows API requirements.
1898 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1900         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1902 2008-03-13  Glenn Morris  <rgm@gnu.org>
1904         * emacs.rc: Set version to 23.0.60.
1906 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1908         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1909         (EMACS_EXTRA_C_FLAGS): Include it.
1910         * configure.bat (usefontbackend): Default to Y.
1911         (--enable-font-backend): Replace with --disable-font-backend.
1912         (:withfont): Replace with :withoutfont.
1914 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1916         * icons/emacs.ico: Full alpha for 32x32 full color.
1917         Add 32x32 and 16x16 256 color versions.
1919 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1921         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1923 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1925         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1927 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1929         * icons/README: Update.
1931         * icons/emacs.ico: New icon.
1933 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1935         * addpm.c: Include malloc.h.
1936         (add_registry): Cast return value of alloca.
1938 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1940         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1942 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1944         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1945         conditional on existence of junk.o.  If %nocygwin% is already set
1946         to Y, skip to chkapiN instead of chkapi.
1947         (chkapi): Move "rm -f junk.c junk.o" to here.
1948         (chkapiN): New label.
1950 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1952         * makefile.w32-in: Remove unidata-gen related rules.
1954 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1956         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1958 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1960         * addpm.c (add_registry): Add an App Paths registry key.
1961         Look for GTK and add it to the DLL search path for Emacs if found.
1963 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1965         * configure.bat: In help, use generic names for the image libraries.
1967 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1969         * .cvsignore: Don't ignore .arch-inventory.
1971 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1973         * configure.bat: Make gcc the default compiler.
1975 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1977         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1978         Ignore return status.
1980         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1981         it out of the way of Windows generated file.
1982         Generate admin/unidata/makefile.
1984         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1985         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1986         (unidatagen-clean-SH): New targets.
1987         (bootstrap-nmake): Invoke unidatagen-nmake.
1988         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1990 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1992         * configure.bat (withfont): Set sep1 after modifying usercflags.
1994 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1996         * configure.bat: Rename --with-font-backend to --enable-font-backend
1997         for consistency with other platforms.
1999 2008-02-01  Jason Rumney  <jasonr@gnu.org>
2001         * configure.bat: Add --with-font-backend option.
2003 2008-01-20  Jason Rumney  <jasonr@gnu.org>
2005         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
2006         permissions to NTFS ACLs.
2008 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
2010         * config.nt: Remove HAVE_X11R5.
2012 2007-10-22  Jason Rumney  <jasonr@gnu.org>
2014         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
2015         (strings.h, stdlib.h): Conditionally include.
2016         (w32_abort): Declare here.
2017         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
2019 2007-10-20  Jason Rumney  <jasonr@gnu.org>
2021         * makefile.w32-in (info-nmake): Change into correct directories.
2023 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
2025         * configure.bat (docflags, doldflags): New variables.
2026         (genmakefiles): Use them to work around problems with whitespace
2027         in arguments of the `if' command.
2029 2007-10-18  Jason Rumney  <jasonr@gnu.org>
2031         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
2033 2007-09-27  Jason Rumney  <jasonr@gnu.org>
2035         * gmake.defs (COMCTL32): New system library.
2037         * nmake.defs (COMCTL32): New system library.
2039 2007-09-06  Glenn Morris  <rgm@gnu.org>
2041         * configure.bat:
2042         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
2043         Change from ../man to ../doc/emacs and ../doc/misc; and from
2044         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
2046 2007-08-29  Glenn Morris  <rgm@gnu.org>
2048         * emacs.rc: Increase version to 23.0.50.
2050 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
2052         * makefile.w32-in (bootstrap-nmake): Change directories once more.
2054 2007-07-25  Glenn Morris  <rgm@gnu.org>
2056         * Relicense all FSF files to GPLv3 or later.
2058         * COPYING: Switch to GPLv3.
2060 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
2062         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
2063         Depend on cmdproxy.
2064         (cleanall): Don't delete *~.
2066 2007-07-15  Jason Rumney  <jasonr@gnu.org>
2068         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
2069         be fully supported.
2071 2007-07-14  Jason Rumney  <jasonr@gnu.org>
2073         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
2074         of winsock.h.
2076 2007-07-11  Jason Rumney  <jasonr@gnu.org>
2078         * gmake.defs (OLE32): New library to link.
2080         * nmake.defs (OLE32): Likewise.
2082 2007-06-25  Jason Rumney  <jasonr@gnu.org>
2084         * cmdproxy.c (main): Set console codepages to "ANSI".
2086 2007-06-20  Jason Rumney  <jasonr@gnu.org>
2088         * configure.bat: Complain if image libraries are missing.
2090 2007-06-15  Jason Rumney  <jasonr@gnu.org>
2092         * emacs.manifest: New file.
2094         * emacs.rc: Use it.
2096 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
2098         * Version 22.1 released.
2100 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
2102         * INSTALL: Add information about where to find GDB, and warn
2103         against --no-debug option to configure.bat.
2105 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
2107         * INSTALL: Fix URL of EmacsW32 site where building with image
2108         support is described.
2110 2007-04-26  Glenn Morris  <rgm@gnu.org>
2112         * emacs.rc: Increase version to 22.1.50.
2114 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
2116         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
2118 2007-03-09  Richard Stallman  <rms@gnu.org>
2120         * INSTALL: Say explicitly this is not for Cygwin.
2122 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
2124         * INSTALL: Add URL of another site with detailed build instructions.
2126 2007-02-16  Glenn Morris  <rgm@gnu.org>
2128         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
2129         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
2130         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
2131         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
2132         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
2133         Restore all but two of icons deleted in previous change.
2135 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
2137         * icons/README: New file.
2139         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
2140         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
2141         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
2142         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
2143         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
2144         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
2145         Unused icons deleted.
2147 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
2149         * configure.bat: Update ../site-lisp/subdirs.el when needed.
2151 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
2153         * subdirs.el: Add "no-byte-compile: t" local variable.
2155 2007-01-10  Jason Rumney  <jasonr@gnu.org>
2157         * README: Update URLs and advice about reporting bugs.
2159 2006-12-29  Jason Rumney  <jasonr@gnu.org>
2161         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
2162         DEBUG_LINK.
2163         (DEBUG_LINK): Remove -debugtype:both.
2165 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
2167         * INSTALL: Update table of supported Make ports.  Show "make -j"
2168         command that is known to work.
2170         * configure.bat: Update table of supported Make ports.
2172 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
2174         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
2175         only in implicit rules.  Use literal "emacs.rc" instead.
2177 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
2179         * gmake.defs: Export XMFLAGS.
2181         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
2182         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
2184 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
2186         * INSTALL: Explain how to invoke GNU Make for parallel builds.
2188         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
2189         command-line argument to sub-Make in src, since src/makefile.w32-in
2190         invokes Make recursively during bootstrap.
2191         (clean): Delete stamp_BLD.
2192         (bootstrap): Make `all' explicitly in a recursive Make.
2194         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2195         stamp_BLD after creating the $(BLD) directory.
2197         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2198         stamp_BLD after creating the $(BLD) directory.
2200         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
2201         (preprep, $(TRES), runemacs)
2202         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
2203         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2204         Depend on stamp_BLD instead of on $(BLD).
2205         (XMFLAGS): New macro.
2206         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
2207         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
2208         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
2209         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2211 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
2213         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
2214         $(ALL_DEPS).
2215         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
2216         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2217         New dependency on $(BLD).
2218         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
2219         (bootstrap-gmake): Depend on addsection.
2221 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
2223         * runemacs.c (WinMain): Process all recognized arguments, not just
2224         the first one.  Remove unused variable sec_desc.
2226 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
2228         * config.nt (HAVE_LANGINFO_CODESET): Define.
2230         * inc/langinfo.h: New file.
2232         * inc/nl_types.h: New file.
2234 2006-09-15  Jay Belanger  <belanger@truman.edu>
2236         * COPYING: Replace "Library Public License" by "Lesser Public
2237         License" throughout.
2239 2006-07-27  Jason Rumney  <jasonr@gnu.org>
2241         * INSTALL: Add notes about Cygwin make to impatient section.
2243 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
2245         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2246         known to work.
2248 2006-03-12  Jason Rumney  <jasonr@gnu.org>
2250         * addpm.c (add_registry): Don't change the registry unless keys
2251         already exist from a previous version.
2253         * makefile.w32-in (install): Use -q when invoking addpm.
2255         * addpm.c (main): Accept -q as alternative for /q.
2257 2006-03-11  Jason Rumney  <jasonr@gnu.org>
2259         * runemacs.c (WinMain): Set screen buffer to 80x25.
2261 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
2263         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2264         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2266 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
2268         * INSTALL: Add explanation of how to debug with GDB starting from
2269         the Emacs Abort dialog.
2271 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
2273         * emacs.rc: Use new icons.
2275 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
2277         * emacs21.ico: Renamed from emacs.ico.
2278         * emacs.ico: New icons from Andrew Zhilin
2279         <andrew_zhilin@yahoo.com>.
2281 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
2283         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2285 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
2287         * .cvsignore: Add `obj' and `oo' for in-place installations.
2289 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
2291         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2293 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
2295         * configure.bat: Don't create lisp/Makefile.unix.
2297 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
2299         * .cvsignore: Add `makefile' and `config.log'.
2301 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
2303         Merge gnulib getopt implementation into Emacs.
2305         * inc/gettext.h: Remove; no longer needed now that
2306         lib-src/gettext.h exists.
2308 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
2310         * configure.bat: Finish config.log with a line that indicates that
2311         the configure step was successful.
2313 2005-07-04  Lute Kamstra  <lute@gnu.org>
2315         Update FSF's address in GPL notices.
2317 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
2319         * configure.bat: If their fc.exe returns a meaningful exit status,
2320         don't overwrite src/config.h and src/epaths.h with identical
2321         copies.
2323         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2324         changes.  Add a pointer to another site with detailed configure
2325         and build instructions.  Suggest to look at config.log when
2326         configure fails.  Add MinGW Make 3.80 to the list of successful
2327         combinations.
2329         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2330         "-mcpu=i686".
2332         * configure.bat: Update copyright years.
2333         Delete config.log before doing anything else.
2334         Write additional diagnostics to config.log in case of failures to
2335         compile test programs, including the failed test program itself.
2336         Add a test for support of -mtune=pentium4 switch to GCC; if it is
2337         supported, set up MCPU_FLAG variable on the various Makefiles to
2338         use that switch during compilations.  (This avoids GCC warning
2339         about -mcpu being deprecated.)
2341 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
2343         * addsection.c (copy_executable_and_add_section): Pass non-zero
2344         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2345         environment.  Print section names with %.8s.
2346         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2347         only if non-zero.  All callers changed.
2349 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
2351         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2352         `const void *', for consistency with POSIX.
2354 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
2356         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2358 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
2360         * INSTALL: Add more pointers to ports of Unix tools to Windows,
2361         and to the Emacs Wiki (which contains building instructions for
2362         Windows).  Reword image library instructions and remove obsolete
2363         incompatibility information.
2365 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
2367         * config.nt (HAVE_PWD_H): Undef.
2369 2004-06-07  Juanma Barranquero  <lektu@terra.es>
2371         * INSTALL: Clarify paragraph about compatibility between image
2372         libraries and builds of Emacs with several compilers.
2374 2004-06-06  Juanma Barranquero  <lektu@terra.es>
2376         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2377         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2378         calling non-existent cmdproxy.exe on bootstrapping after a
2379         previous install followed by realclean.
2381         * nmake.defs: Add quote in comment to resync font-locking.
2383 2004-06-04  Juanma Barranquero  <lektu@terra.es>
2385         * INSTALL: Reword the section on image support.  Add reference to
2386         GnuWin32.  Mention problems when mixing binaries from different
2387         compilers.
2389 2004-05-06  Jason Rumney  <jasonr@gnu.org>
2391         * configure.bat: Use -mno-cygwin to check for image libraries
2392         when needed.
2394 2004-05-03  Jason Rumney  <jasonr@gnu.org>
2396         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2397         * makefile.def: Remove.
2399         * nmake.defs (SYS_LDFLAGS): Add -nologo.
2401         * makefile.w32-in (info-gmake, info-nmake): New targets.
2402         (info): Use them.
2404 2004-04-23  Juanma Barranquero  <lektu@terra.es>
2406         * nmake.defs:
2407         * gmake.defs:
2408         * makefile.w32-in:
2409         * makefile.def:
2410         * makefile.nt: Add "-*- makefile -*-" mode tag.
2412 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
2414         * runemacs.c (WinMain): Let Emacs environment default to parent.
2416 2004-03-11  Jason Rumney  <jasonr@gnu.org>
2418         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2420 2004-03-10  Juanma Barranquero  <lektu@terra.es>
2422         * makefile.w32-in (install): Don't try to copy
2423         ../lib-src/fns-*.el, as it isn't used anymore.
2425 2004-01-28  Peter Runestig  <peter@runestig.com>
2427         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2429 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
2431         * .cvsignore: Add `.arch-inventory'.
2433 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
2435         * inc/grp.h: New file.
2437 2003-09-03  Peter Runestig  <peter@runestig.com>
2439         * configure.bat: Create ``makefile'' in directories man, lispref
2440         and lispintro.
2442         * makefile.w32-in (force-info, info): New targets.
2444         * envadd.bat: New file.
2446         * multi-install-info.bat: New file.
2448 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
2450         * config.nt (my_strftime): New define.
2452 2003-02-01  Jason Rumney  <jasonr@gnu.org>
2454         * configure.bat: Automatically detect libXpm.
2455         Suppress compiler output when testing for image libraries.
2456         Give names of un-found libraries in messages.
2458 2003-01-31  Juanma Barranquero  <lektu@terra.es>
2460         * configure.bat: Automatically detect giflib and tifflib.
2462 2003-01-29  Jason Rumney  <jasonr@gnu.org>
2464         * gmake.defs (CURDIR): Disable cygpath kludge.
2466 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
2468         * configure.bat: Avoid endless loop when configuring without image
2469         support.
2471 2003-01-26  Jason Rumney  <jasonr@gnu.org>
2473         * configure.bat: Automatically detect jpeglib.
2475 2003-01-25  Jason Rumney  <jasonr@gnu.org>
2477         * configure.bat: Automatically detect libpng.
2479 2003-01-21  Jason Rumney  <jasonr@gnu.org>
2481         * icons/hand.cur: New file.
2483 2003-01-21  David Ponce  <david@dponce.com>
2485         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2487 2003-01-15  Andrew Innes  <andrewi@gnu.org>
2489         * gmake.defs (CURDIR): Convert to native Windows format (with
2490         forward slashes), to support building with Cygwin builds of make.
2492 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
2494         * nmake.defs:
2495         * gmake.defs: Made changes so that Emacs would link with
2496         WinMM.lib.  This change was required for my addition of a Windows
2497         compatible implementation of play-sound-internal.
2499 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
2501         * emacs.rc: Version updated to 21.3.50.
2503 2002-06-13  Jason Rumney  <jasonr@gnu.org>
2505         * addpm.c (env_vars): Remove EMACSLOCKDIR.
2507         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2508         (maybe-bootstrap-SH): New targets.
2509         (all): Depend on maybe-bootstrap.
2511 2002-05-03  Jason Rumney  <jasonr@gnu.org>
2513         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2514         (sys_getpeername, fcntl): Declare as wrappers.
2516 2002-04-10  Juanma Barranquero  <lektu@terra.es>
2518         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2519         after compiling .el files.
2521 2002-03-20  Jason Rumney  <jasonr@gnu.org>
2523         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2524         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2526 2002-03-19  Kim F. Storm  <storm@cua.dk>
2528         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2529         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2530         (HAVE_SYS_UN_H): Undef.
2531         From David Ponce <dponce@voila.fr>.
2533 2002-03-13  Jason Rumney  <jasonr@gnu.org>
2535         * config.nt (STRFTIME_NO_POSIX2): Define.
2537 2002-02-18  Jason Rumney  <jasonr@gnu.org>
2539         * emacs.rc: Define VS_VERSION_INFO if not already.
2540         Update version info.
2542 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2544         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2545         pick up relevant bits of the Windows API definitions.
2547         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2548         pick up relevant bits of the Windows API definitions.
2550 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2552         * makefile.w32-in (bootstrap): Build addsection program before
2553         bootstrap (required for post-processing temacs.exe).
2555 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2557         * COPYING: New file.
2559 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2561         * makefile.w32-in (bootstrap-nmake)
2562         (bootstrap-gmake): Extend bootstrap process to first do
2563         bootstrap-clean in lisp dir and rebuild the DOC file.
2564         (bootstrap): Do a "normal" make after the bootstrap work.
2566 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2568         * INSTALL: Update table of versions of make that are suitable
2569         for building Emacs, based on recent feedback.
2571         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2573 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2575         * ftime-nostartup.bat: New file.
2577         * ftime.bat: Don't include libc.lib for profiling - the profiler
2578         corrupts part of memcpy.
2580 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2582         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2583         expansion.  From Juanma Barranquero <lektu@terra.es>.
2585 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2587         * (Version 21.1 released.)
2589 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2591         * inc/pwd.h (uid_t, gid_t): New typedefs.
2593 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2595         * Branch for 21.1.
2597 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2599         * README: Update the address of the mailing list and subscription
2600         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2602 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2604         * INSTALL: Suggest to avoid using WinZip.
2606         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2608 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2610         * INSTALL: Mention that "make install" can be "nmake install".
2612 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2614         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2615         since some versions of `mkdir' don't automatically create parent
2616         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2618 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2620         * subdirs.el: New file.
2622         * configure.bat: Copy subdirs.el to the site-lisp directory.
2624         * makefile.w32-in (install): Copy subdirs.el to the installation
2625         directory.
2627 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2629         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2631 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2633         * gmake.defs (sh_output): Don't use $(warning ...) to output
2634         messages, since that is not supported by GNU make 3.77.
2636 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2638         * INSTALL: Clarify that building with MSVC requires nmake.
2640 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2642         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2643         message that is to be ignored.
2645 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2647         * TODO: Remove file, since it is completely out of date.
2649         * README: Add copyright notice.
2651         * INSTALL: Add copyright notice.
2653 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2655         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2656         the environment.
2658         * gmake.defs (SETLOADPATH): Remove definition.
2659         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2660         environment.
2662 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2664         * configure.bat: Make the checkw32api* labels be distinct in the
2665         first 8 characters.
2667 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2669         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2670         escaped quotes.
2672         * gmake.defs (DEBUG_LINK): New macro.
2673         (LINK_FLAGS): Use it.
2675         * nmake.defs (DEBUG_LINK): New macro.
2676         (LINK_FLAGS): Use it.
2678 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2680         * INSTALL: Add --ldflags to configure line for building with
2681         recent versions of Cygwin GCC.
2683 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2685         * configure.bat: Use correct options when compiling a test program
2686         with Cygwin.  From David Ponce <dponce@voila.fr>.
2688 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2690         * _emacs: Remove obsolete file.
2692         * emacs.bat.in: Remove obsolete file.
2694         * debug.bat.in: Remove obsolete file.
2696         * inc/sys/socket.h: Add copyright notice.
2698         * paths.h: Add copyright notice.
2700         * makefile.nt: Update copyright notice.
2702         * makefile.def: Update copyright notice.
2704         * configure.bat: Update copyright notice.
2706         * nmake.defs: Add copyright notice.
2708         * gmake.defs: Add copyright notice.
2710         * makefile.w32-in: Add copyright notice.
2712 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2714         * nmake.defs (THISDIR): New definition.
2716         * gmake.defs (THISDIR): New definition.
2718 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2720         * configure.bat: Leave a space before >> only when there is a
2721         preceding digit.  Add a comment about the importance of this.
2723         * README: Replace outdated information.
2725         * INSTALL (Trouble-shooting): Add note about need to specify extra
2726         compiler flags with recent Cygwin ports of gcc.
2728 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2730         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2731         is not supported by Windows 9X's COMMAND.COM.
2733 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2735         * configure.bat: Make sure redirection is preceded by a blank, to
2736         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2737         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2739 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2741         * INSTALL: Copy the table of tested combinations of development
2742         tools from configure.bat.  Add suggestion to install Bash on
2743         Windows 9X.
2745         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2746         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2747         needs to be deleted, since command.com in Windows 9X doesn't grok
2748         more than one argument.
2750 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2752         * makefile.w32-in (cleanall-other-dirs-nmake)
2753         (cleanall-other-dirs-gmake): New targets.
2754         (cleanall): Invoke them.
2756 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2758         * addpm.c (env_vars): Add a version-independent site-lisp
2759         directory to EMACSLOADPATH, after the version dependent one.
2761 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2763         * README: Update info about compilers.
2765         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2766         select correct rule for invoking make in another directory.
2767         Amend rules accordingly.
2768         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2770         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2771         (COMPILER_TEMP_FILES): New definition.
2772         (MAKETYPE): New definition.
2774         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2775         (COMPILER_TEMP_FILES): New definition.
2776         (MAKETYPE): New definition.
2778         * makefile.def (EMACS_ICON_PATH): Delete definition.
2780         * configure.bat: Be careful not to add trailing spaces when
2781         outputting to config.settings.
2783 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2785         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2786         than the function.
2788 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2790         * makefile.w32-in (install): Copy directories to the correct
2791         places.
2792         (real_install): Remove obsolete target.
2794 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2796         * nmake.defs (CURDIR): New define.
2797         (INSTALL_DIR): Use it.
2799         * gmake.defs (NEW_CYGWIN): New define.
2800         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2801         so we need to adjust how we escape embedded quotes.
2802         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2803         relative to $(CURDIR).
2805 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2807         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2809 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2811         * makefile.w32-in (recompile): New target to recompile lisp
2812         directory.
2813         (recompile-CMD, recompile-SH): New support targets.
2815 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2817         * config.nt (NO_RETURN): Define it.
2819 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2821         * gmake.defs: Revert to Unix line endings.
2823         * nmake.defs: Revert to Unix line endings.
2825 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2827         * gmake.defs (SETLOADPATH): Change definition to work from any
2828         subdirectory.
2830 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2832         * makefile.w32-in: Revert to Unix line endings.
2834 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2836         * INSTALL: Add note about expected error messages when configure
2837         is run.
2839         * configure.bat: Simplify the generation of makefiles (don't need
2840         to generate various top-level targets that invoke make in other
2841         directories).
2843         * gmake.defs (SHELLTYPE): New define.
2844         (SETLOADPATH): New define.
2846         * nmake.defs (SHELLTYPE): New define.
2848         * makefile.w32-in: Standardize indentation somewhat.
2849         Add bootstrap support.
2850         Pass $(MFLAGS) when invoking make recursively.
2851         Add shell-specific variants of top-level targets that invoke make
2852         recursively in other directories, and add necessary computed
2853         dependencies.
2855 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2857         * makefile.w32-in: Change to DOS line endings.
2859         * configure.bat: Change to DOS line endings.
2861         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2862         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2864         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2865         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2867         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2868         -D_ANONYMOUS_STRUCT on compile line.
2869         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2870         (ARCH_CFLAGS): Change optimization flags to -O2.
2871         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2872         (ARGQUOTE, DQUOTE): New defines.
2874         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2875         -D_ANONYMOUS_STRUCT on compile line.
2876         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2877         (ARGQUOTE, DQUOTE): New defines.
2879 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2881         * configure.bat: New file.
2883         * gmake.defs: New file.
2885         * nmake.defs: New file.
2887         * makefile.w32-in: New file.
2889         * INSTALL: Rewrite to match new configure process.
2891         * config.nt [WINDOWSNT]: Don't declare getenv.
2892         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2894         * addpm.c (main): Accept /q to mean install based on addpm's
2895         location without asking.  Remove reference to emacs.bat which is
2896         now obsolete.
2898         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2900         * paths.h: Use forward slash as directory separator in all path
2901         definitions.
2902         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2904         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2906         * runemacs.c: Remove WIN32 define.
2908         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2909         not defined.
2911         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2912         (fd_set): Define to new name, after including winsock.h, so we can
2913         provide our own implementation.
2915 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2917         * ebuild.bat: Add support for specifying make arguments.
2919         * makefile.nt: Add support for `bootstrap' and related targets.
2921 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2923         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2925 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2927         * inc/sys/time.h: Add inclusion protection.
2929         * makefile.def (SYS_LDFLAGS): Add -nologo.
2931 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2933         * install.bat: Pass on command line arguments to make.
2935         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2937 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2939         * makefile.nt (all): Build leim if present.
2940         (install): Install leim if present.
2941         (clean): Clean leim if present.
2943         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2944         definition.
2946         * emacs.bat.in (EMACSLOADPATH): Include leim.
2948 1999-07-12  Richard Stallman  <rms@gnu.org>
2950         * Version 20.4 released.
2952 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2954         * emacs.rc: Use an icon with a transparent background, to be in
2955         keeping with other applications.
2957 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2959         * preprep.c: Fix typo.
2961 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2963         * config.h: Remove obsolete file.
2965         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2966         couple of unused switch cases that aren't defined on all
2967         platforms.
2969         * ftime.bat: Add another variation of the profile command, which
2970         only profiles extended commands.
2972 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2974         * cmdproxy.c (main): Fix parens.
2976 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2978         * cmdproxy.c (main): Call GetShortPathName to normalize program
2979         names for comparison.
2981 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2983         * makefile.def: Compile multiple .c files when possible.
2984         Use BLD instead of assuming i386.
2985         * makefile.nt: Remove common multiple file compilation commands.
2987 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2989         * cmdproxy.c (main): Add missing parens.
2991 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2993         * preprep.c: New program to allow dumped image to be profiled.
2995         * makefile.nt (preprep): New target.
2996         (ALL): Build it.
2998         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
3000         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
3001         Change prep options to profile libc functions and skip the startup
3002         code.
3004 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
3006         * makefile.nt: Create installation directory as first step.
3008 1999-01-31  Andrew Innes  <andrewi@gnu.org>
3010         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
3011         ROUND_UP_DST.  Zeroes the alignment slop.
3012         (copy_executable_and_add_section): Update the
3013         SizeOfHeaders field properly.
3015 1999-01-27  Andrew Innes  <andrewi@gnu.org>
3017         * makefile.nt: Do make version comparison as strings.
3019 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
3021         * runemacs.c (WinMain): Pass explicit environment block to
3022         CreateProcess, to work around a bug in Windows 95/98.
3024 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
3026         * icons: New directory with Davenport's icons.
3027         * icons/sink.ico: Renamed from emacs.ico.
3029         * makefile.nt (install, fast_install): Install Windows icons
3030         into etc/icons.
3032         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
3034 1999-01-17  Andrew Innes  <andrewi@gnu.org>
3036         * makefile.nt (ALL): List top-level targets.
3037         (addsection): New top-level target.
3038         (install): Copy fns-*.el to bin directory.
3040         * addsection.c: New program to add static heap section to
3041         temacs.exe after linking, in support of new unexec method.
3043 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
3045         * cmdproxy.c (spawn): Pass directory for child as parameter.
3046         (main): Save startup directory to give to spawn, then change
3047         directory to location of .exe in order not to prevent startup
3048         directory from being deleted.
3050 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
3052         * makefile.nt: Do string comparison of _NMAKE_VER.
3054 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
3056         * config.nt (LOCALTIME_CACHE): Define.
3058 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
3060         * install.bat: Convert to DOS format.
3062 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
3064         * cmdproxy.c (main): Set environment size only when running
3065         command.com.
3067 1998-11-03  Theodore Jump  <tjump@tertius.com>
3069         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
3070         (DEL_TREE): Use rd instead of rmdir.
3071         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
3072         * makefile.nt: Compile multiple source files when possible.
3074 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
3076         * cmdproxy.c (main): Treat command line options as case-insensitive.
3078 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
3080         * Version 20.3 released.
3082 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
3084         * addpm.c (main): Explicitly check result of message box for OK.
3086 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
3088         * inc/sys/file.h (D_OK): Define new macro.
3090 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
3092         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
3094 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
3096         * emacs.rc (VS_VERSION_INFO): Define.
3098 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
3100         * makefile.nt (emacs.bat, debug.bat): Create them in the
3101         installation directory.
3103 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
3105         * ddeclient.c: New file.  (Support program for performing limited
3106         interprocess communication on Windows.)
3108         * makefile.nt: Build ddeclient.
3110         * cmdproxy.c (main): Only set environment size for real shell, and
3111         provide extra directory argument, when running on Windows 95.
3113 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
3115         * cmdproxy.c (fail): Exit with a negative return value.
3116         (spawn): Return subprocess return code as an argument.
3117         Explicitly copy environment block.
3118         (main): Update to use return value argument with spawn.
3119         Retry if spawn failed when a subshell was not tried.
3121         * config.nt: Include new macros from src/config.in.
3122         (GNU_MALLOC, REL_ALLOC): Define.
3123         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
3124         (RE_TRANSLATE): Use char_table_translate.
3126         * makefile.def (CP_DIR): Preserve attributes.
3128         * makefile.nt (clean): Delete patch generated files, optimized
3129         build directory.
3131 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
3133         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
3135 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3137         * Version 20.2 released.
3139 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3141         * Version 20.1 released.
3143 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
3145         * debug.bat.in: New file.
3146         * makefile.nt (debug.bat): New target.
3148 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
3150         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
3151         Quote group name.  Allow different icons to be specified.
3153         * cmdproxy.c (get_env_size): New function.
3154         (spawn): Explicitly pass in environment when creating subprocess.
3155         (main): Cleanup error messages.
3156         Specify dynamically sized environment block for real shell.
3157         Pass on unhandled switches to real shell.
3158         Quote program name.
3160         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
3161         directory.
3162         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
3164         * runemacs.c (WinMain): Allow Emacs process to be started with
3165         high or low priority.
3167         * emacs.bat.in: Remove OS dependent operations.
3169 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
3171         * addpm.c (env_vars): No longer set INFOPATH.
3173         * cmdproxy.c (get_next_token): Null terminate token returned.
3175         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
3177 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
3179         * addpm.c (env_vars): Set SHELL to cmdproxy.
3180         (main): Initialize idDde to 0.
3181         Determine emacs_path from module file name.
3182         Prompt for install.
3184         * makefile.def (MSVCNT11): Conditionally define it.
3185         (BASE_LIBS): Do not use oldnames.lib.
3186         (SYS_LDFLAGS): Use pdb files.
3187         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
3188         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
3189         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
3191         * makefile.nt (ALL): Build cmdproxy.
3192         (cmdproxy): New target.
3193         (install): Install cmdproxy.
3195         * ftime.bat, debug.bat, cmdproxy.c: New files.
3197 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
3199         * inc/sys/socket.h (shutdown): Define.
3200         (sys_shutdown): Export.
3202 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3204         * config.nt (RE_TRANSLATE): Copy definition from config.in.
3206 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
3208         * config.nt: Update file comments.
3209         Update undefs added/removed in src/config.in.
3211 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
3213         * makefile.def, emacs.bat.in: Use windows95 and windowsnt instead
3214         of win95 and winnt, respectively.
3216 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
3218         * makefile.nt (real_install): Create site-lisp in installation dir.
3219         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
3220         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
3222 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3224         * Version 19.33 released.
3226 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
3228         * runemacs.c (WinMain): Put a space between the binary and its args.
3230 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3232         * Version 19.32 released.
3234 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
3236         * makefile.nt (clean): Use OBJDIR macro.
3238 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
3240         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3241         Not defined by default.
3242         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3243         (WinMain): Convert backslashes to slashes in env var values.
3245         * addpm.c (env_vars): Use slashes, not backslashes.
3247 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3249         * Version 19.31 released.
3251 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
3253         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3254         undo settings afterwards.
3256 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
3258         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3259         environment variable.
3261 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3263         * install.bat: Allow for optimized build.
3264         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3265         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3267 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3269         * addpm.c (REG_ROOT): Don't use a trailing backslash.
3270         (env_vars): Rename field emacs_path to emacs_dir.
3271         (main): Add link to runemacs instead of emacs.
3273         * install.bat: Check if INSTALL_DIR is passed as an argument.
3275         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3277         * makefile.nt: Build and install runemacs.exe.
3279         * runemacs.c: New file.
3281         * config.w95: File removed.
3283         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3284         inc/sys/socket.h, inc/sys/time.h: New header files.
3286         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3288 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
3290         * makefile.def (DEL): Defined.
3291         (DEL_TREE) [win95]: Defined.
3292         (SYS_LDFLAGS): Set executable versions to 3.10.
3294         * makefile.nt: Change uses of del to $(DEL).
3296 1996-01-17  Erik Naggum  <erik@naggum.no>
3298         * All files: Update FSF's address in comment preamble.
3300 1996-01-03  George V. Reilly  <georger@microcrafts.com>
3302         * emacs.ico: Now the proverbial kitchen sink icon.
3304 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3306         * Version 19.30 released.
3308 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
3310         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3312         * makefile.nt (install, fast_install, real_install, clean):
3313         Don't use switches to del not supported by Windows 95.
3315 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
3317         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3318         (install, fast_install): Change same-dir test to create test file in
3319         installation tree and thereby support read-only shares.
3320         (clean): Remove .pdb files.
3322         * makefile.def (NTGUI): New macro.
3323         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3325         * config.nt, config.w95: Update to latest src/config.in.
3327         * addpm.c (env_vars): New variable.
3328         (add_registry): New procedure.
3329         (main): Use values of configuration environment variables from
3330         the registry if defined, the process environment otherwise.
3332 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3334         * Version 19.29 released.
3336         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3338 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
3340         * makefile.nt: Define .c to .obj suffix rule.
3341         (addpm.obj): Compile directly, use CFLAGS.
3342         (addpm.exe): Link from addpm.obj.
3344         * makefile.def (MSVCNT11): Defined.
3345         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3346         (CFLAGS_COMMON): Defined.
3347         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3349 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
3351         * emacs.bat.in: Renamed from emacs.bat.
3352         (emacs_dir): Rename from emacs_path.
3353         Definition removed.
3355         * addpm.c: New file.
3356         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3357         (all): Depend upon $(BLD) and $(ALL).
3358         (install): Depend upon emacs.bat.
3359         Create program item for Emacs.
3360         (clean): Delete obj.
3361         (emacs.bat): Defined.
3362         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3364 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
3366         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3367         Add carriage returns; necessary for batch files on Windows 95.
3369 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
3371         * config.w95: Created.
3372         * config.h: Changed to config.nt.
3374         * makefile.nt (SUBDIRS): Commented out.
3375         (all, install, clean): Expand for-loops.
3376         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3378         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3379         (ARCH): New definition.
3380         (CPU, CONFIG_H, OS_TYPE): Defined.
3381         (INCLUDE, LIB): Checked if valid.
3382         (ntwin32.mak): Included.
3383         (AR, CC, LINK): New definition.
3384         (ADVAPI32, libc, BASE_LIBS): Defined.
3385         (SYS_LDFLAGS): New definition.
3386         Update comments and preprocessor conditionals.
3388         * emacs.bat (SHELL): Conditionally defined.
3389         (HOME): Conditionally defined.
3390         (emacs_path, HOME): Update comments.
3391         Turn off all echo.
3393 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
3395         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc:
3396         * fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h:
3397         * inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h:
3398         * inc/sys/param.h: Removed carriage-returns.
3400 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
3402         * makefile.def (CVTRES): Defined.
3404         * emacs.ico, emacs.rc: New files by Kevin Gallo.
3406 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
3408         * src/config.h, src/paths.h: Moved to parent dir, src/ removed.
3410 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
3412         * makefile.def (INSTALL_DIR): Change to generic directory.
3414         * emacs.bat: Added arguments when emacs.exe invoked.
3416         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3418 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
3420         * makefile.def (CC): In configuration section.
3421         (COMPAT_LIB): Defined.
3423 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
3425         * src/paths.h: New file.
3427         * src/config.h: New file.
3429         * inc/pwd.h: New file.
3431         * inc/sys/dir.h: New file.
3433         * inc/sys/file.h: New file.
3435         * inc/sys/ioctl.h: New file.
3437         * inc/sys/param.h: New file.
3439         * todo: New file.
3441         * README: New file.
3443         * makefile.nt: New file.
3445         * makefile.def: New file.
3447         * install.cmd: New file.
3449         * INSTALL: New file.
3451         * fast-install.cmd: New file.
3453         * emacs.cmd: New file.
3455         * ebuild.cmd: New file.
3457         * _emacs: New file.
3459 ;; Local Variables:
3460 ;; coding: utf-8
3461 ;; add-log-time-zone-rule: t
3462 ;; End:
3464   Copyright (C) 1995-1999, 2001-2014 Free Software Foundation, Inc.
3466   This file is part of GNU Emacs.
3468   GNU Emacs is free software: you can redistribute it and/or modify
3469   it under the terms of the GNU General Public License as published by
3470   the Free Software Foundation, either version 3 of the License, or
3471   (at your option) any later version.
3473   GNU Emacs is distributed in the hope that it will be useful,
3474   but WITHOUT ANY WARRANTY; without even the implied warranty of
3475   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3476   GNU General Public License for more details.
3478   You should have received a copy of the GNU General Public License
3479   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.