Fixes: debbugs:18939
[emacs.git] / nt / ChangeLog
blobe11a923c23c92f01b364cdb969e021188c737bc3
1 2015-03-07  Eli Zaretskii  <eliz@gnu.org>
3         * INSTALL: Add some more installation instructions for mingw-get
4         users.  (Bug#19989)
6 2015-02-10  Noam Postavsky  <npostavs@users.sourceforget.net>
8         * nt/cmdproxy.c (batch_file_p): New function.
9         (spawn): If calling a quoted batch file pass NULL for progname.
10         (Bug#18745)
12 2015-02-10  Eli Zaretskii  <eliz@gnu.org>
14         * cmdproxy.c (get_next_token): Don't make backslashes disappear
15         without a trace when they are not followed by a quote.
16         (search_dir): Support searching programs whose file name already
17         has an arbitrary extension.  (Bug#19817)
18         (main): When passing a command line to the shell, use cmd.exe
19         rules for quoting command-line tail.
21 2014-11-17  Oscar Fuentes  <ofv@wanadoo.es>
23         * inc/ms-w32.h: Define MINGW_W64.
25         * nt/addpm.c: Use it.
27         * nt/addsection.c: Use it.
29         * nt/preprep.c: Use it.
31 2014-10-31  Eric S. Raymond  <esr@thyrsus.com>
33         * Neutralize language specific to a repository type.
35 2014-10-26  Dani Moncayo <dmoncayo@gmail.com>
37         * README.W32 (Preliminaries): Don't assume that this file is at
38         the top level.
39         (Setting up Emacs): Minor rewording to be more accurate.
41 2014-10-20  Glenn Morris  <rgm@gnu.org>
43         * Version 24.4 released.
45 2014-04-26  Eli Zaretskii  <eliz@gnu.org>
47         * cmdproxy.c (make_absolute): Don't copy more characters from PATH
48         than a single directory name can hold.  (Bug#17334)
50 2014-04-21  Eli Zaretskii  <eliz@gnu.org>
52         * inc/ms-w32.h (lseek): Define only if not already a macro.
53         Suggested by Fabrice Popineau <fabrice.popineau@gmail.com>.
55 2014-04-09  Ken Brown  <kbrown@cornell.edu>
57         * emacs.rc: Revert last change.
59 2014-04-03  Ken Brown  <kbrown@cornell.edu>
61         * emacs.rc: Don't use manifest on Cygwin.  (Bug#17176)
63 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
65         * Makefile.in (install): Create destination directory before copying
66         README.W32, and use ${datadir} to refer to the file (bug#16772).
68 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
70         * Makefile.in (datarootdir, datadir, INSTALL_DATA): Declare.
71         (install): Copy README.W32 to $(datadir)/emacs/$(version).
72         (uninstall): Remove README.W32.  (Bug#14757)
74 2014-02-08  Eli Zaretskii  <eliz@gnu.org>
76         * INSTALL: Update for Emacs 24.4.
78         * README: Update for Emacs 24.4.
80         * README.W32: Update and improve instructions.  (Bug#14762)
82 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
84         * README.W32: Say what GnuTLS and libxml2 does (bug#14762).
86 2014-01-18  Eli Zaretskii  <eliz@gnu.org>
88         * runemacs.c (ensure_unicows_dll): Don't tell in the message box
89         that "emacs -nw" can do without UNICOWS.DLL on Windows 9X.  See
90         w32.c:maybe_load_unicows_dll and its callers for the reason.
92 2014-01-11  Claudio Bley  <claudio.bley@googlemail.com>
94         * inc/sys/stat.h (_WSTAT_DEFINED): Define, to avoid compilation
95         failures when wchar.h is included.
97 2014-01-11  Fabrice Popineau  <fabrice.popineau@supelec.fr>
99         * inc/ms-w32.h (pthread_sigmask): Undefine if defined, for MinGW64.
101 2013-12-31  Fabrice Popineau  <fabrice.popineau@supelec.fr>
103         * inc/ms-w32.h (sys_kill): Fix prototype.
105 2013-12-30  Eli Zaretskii  <eliz@gnu.org>
107         * inc/ms-w32.h (umask) [emacs]: Redirect to sys_umask.  (Bug#16299)
109 2013-12-23  Eli Zaretskii  <eliz@gnu.org>
111         * README.W32:
112         * INSTALL: Update instructions for downloading and using image
113         libraries in general, and librsvg in particular.
115 2013-12-16  Eli Zaretskii  <eliz@gnu.org>
117         * emacs-x64.manifest:
118         * emacs-x86.manifest: Declare that we target Windows 8.1 as well
119         as earlier versions.  This is so GetVersion and GetVersionEx APIs
120         used for bug reporting and other purposes return accurate version
121         number on Windows 8.1.  See the discussion on MSDN
122         http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx
123         for more details.
125 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
127         * inc/ms-w32.h (MAX_UTF8_PATH): New macro.
128         (opendir, closedir, readdir, seekdir): Redirect to replacement
129         functions.
130         * inc/dirent.h: Make d_name[] be MAXNAMELEN*4 characters long.
132 2013-11-27  Glenn Morris  <rgm@gnu.org>
134         * README.W32:
135         * addpm.c (env_vars):
136         * epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
137         * paths.h (PATH_LOADSEARCH): No more leim directory.
139 2013-11-26  Glenn Morris  <rgm@gnu.org>
141         * epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.
143 2013-11-12  Dani Moncayo  <dmoncayo@gmail.com>
145         * msysconfig.sh: Remove.
146         * INSTALL: Update for this.
148 2013-11-09  Glenn Morris  <rgm@gnu.org>
150         * mingw-cfg.site: No need for this to be executable.
152 2013-10-24  Glenn Morris  <rgm@gnu.org>
154         * Makefile.in ($(DESTDIR)${archlibdir}):
155         Avoid non-portable "`\" nesting.
157         * Makefile.in (abs_top_srcdir): New, set by configure.
159 2013-10-23  Glenn Morris  <rgm@gnu.org>
161         * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
162         Quote entities that might contain whitespace.
164 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
166         * inc/mingw_time.h: New file.
168         * inc/ms-w32.h: Include mingw_time.h instead of doing its job.
170 2013-10-12  Eli Zaretskii  <eliz@gnu.org>
172         * inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
173         the layout of 'struct dirent' be compatible with MinGW32 runtime
174         versions 4.0 and later.
176         * inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
177         (__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
178         defined, but not for MinGW64.
179         (_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
180         use of 32-bit time_t type.
182 2013-10-07  Paul Eggert  <eggert@cs.ucla.edu>
184         Improve support for popcount and counting trailing zeros (Bug#15550).
185         * gnulib.mk: Merge changes from ../lib/gnulib.mk.
187 2013-10-04  Paul Eggert  <eggert@cs.ucla.edu>
189         * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
191 2013-09-20  Eli Zaretskii  <eliz@gnu.org>
193         * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
194         to avoid gnulib replacement of 'struct timeval' and the resulting
195         compilation of lib/gettimeofday.c with incompatible version of
196         gettimeofday.  Related discussions on emacs-devel:
197         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
198         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html
200 2013-08-31  Glenn Morris  <rgm@gnu.org>
202         * INSTALL: Rename from INSTALL.MSYS.
203         * INSTALL.OLD: Rename from INSTALL.
204         * configure.bat: Update for INSTALL name changes.
206 2013-08-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
208         * configure.bat: Rather than disabling, make configure.bat produce
209         some warning that building with configure.bat is deprecated and
210         ask for confirmation to continue.
212 2013-08-25  Glenn Morris  <rgm@gnu.org>
214         * INSTALL: Refer to INSTALL.MSYS.
215         * configure.bat: Disable it.
217 2013-08-04  Eli Zaretskii  <eliz@gnu.org>
219         * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
221         * inc/ms-w32.h (mkostemp): Declare prototype.
222         (mktemp): Don't redirect to sys_mktemp.
224         * config.nt (HAVE_MKOSTEMP): Define to 1.  (Bug#15015)
226 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
228         * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
229         (FD_CLOEXEC): New macros.
231 2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>
233         Make file descriptors close-on-exec when possible (Bug#14803).
234         * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
235         otherwise, gnulib-tool complains given close-on-exec changes.
236         * inc/ms-w32.h (pipe): Remove.
237         * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
238         (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
240 2013-06-25  Juanma Barranquero  <lekktu@gmail.com>
242         * configure.bat: Add warning to the help text about using the
243         MSYS/MinGW building procedure.
245 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
247         * INSTALL.MSYS: mingw-get is not a GUI program (yet).
248         msys-automake is not suitable for MinGW builds.  Mention the
249         --enable-locallisppath switch to msysconfig.sh.  Suggested by
250         Óscar Fuentes <ofv@wanadoo.es>.
252 2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)
254         * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
256 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
258         * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
260 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
262         * inc/sys/time.h (struct timeval): Remove the _W64 guards.
264 2013-06-01  Eli Zaretskii  <eliz@gnu.org>
266         * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
267         avoid multiple definition errors on MinGW64.
269 2013-05-31  Eli Zaretskii  <eliz@gnu.org>
271         * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
272         'restrict', which is a C99 extension.  See
273         http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
274         and the following discussion for the problem this caused in the
275         old nt/configure.bat build.
277 2013-05-29  Eli Zaretskii  <eliz@gnu.org>
279         * Makefile.in (emacs.res): Include srcdir when preprocessing
280         resources, for out-of-tree builds.
281         (mostlyclean): Remove *.res files.
283 2013-05-17  Eli Zaretskii  <eliz@gnu.org>
285         * runemacs.c (WinMain): Support invocation of un-installed
286         nt/runemacs.exe, by looking for src/emacs.exe.
288 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
290         * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.  (Bug#14409)
292         * msysconfig.sh: New file.
294         * mingw-cfg.site: New file.
296         * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
298         * inc/unistd.h: Include pwd.h and sys/types.h.
300         * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
301         (timerclear): Define.
302         (gettimeofday): Adjust signature to be Posix compatible, by using
303         the 'restrict' keyword.
305         * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
306         (struct _stat, struct _stati64): Define.
308         * inc/sys/socket.h (timeval): Define only for MSVC.
309         (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
310         EMACS_CONFIG_H is defined.
311         (timeval): Undefine only for MSVC.
313         * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
314         (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
315         (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
316         (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
317         (fileno): Move definition after including stdio.h.
318         (sigset_t): Guard typedef by _W64.
320         * gnulib.mk: New file.
322         * epaths.nt: New file.
324         * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
325         copy of the file names there.
326         <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
327         literal strings.
329         * Makefile.in: New file.
331         * INSTALL.MSYS: New file.
333         * INSTALL: Mention INSTALL.MSYS.
335 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
337         * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
339 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
341         * config.nt: Sync with autogen/config.in.
342         (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
343         (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
344         (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
345         (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
346         (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
347         (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
348         (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
349         (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
350         (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
351         (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
353 2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
355         Use Gnulib ACL implementation, for benefit of Solaris etc.  (Bug#14295)
356         * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
357         * inc/ms-w32.h (EOPNOTSUPP): New macro.
359 2013-04-09  Ken Brown  <kbrown@cornell.edu>
361         * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
362         (Bug#12993)
364 2013-04-01  Eli Zaretskii  <eliz@gnu.org>
366         * README: A better documentation of ddeclient.exe.
368         * README.W32: A better documentation of ddeclient.exe.
370         * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
371         subdirectories.
373 2013-03-30  Eli Zaretskii  <eliz@gnu.org>
375         * inc/ms-w32.h (TERM_HEADER): Remove definition.
377         * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
378         ms-w32.h.
380 2013-03-29  Eli Zaretskii  <eliz@gnu.org>
382         * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
384         * config.nt (HAVE_COPYSIGN): Define.
386 2013-03-29  Juanma Barranquero  <lekktu@gmail.com>
388         * config.nt: Sync with autogen/config.in.
389         (HAVE_XKBGETKEYBOARD): Remove.
390         (HAVE_XKB): New macro.
392 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
394         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
395         (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
396         Depend on .exe files.
398         * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
399         avoid MinGW64 compiler warnings in editfns.c.
401         Fix rules for parallel builds.
402         * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
403         without the .exe suffix.
404         (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
405         targets.
406         (.PHONY): Remove.
408         * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
409         headers, since that's where _W64 is declared by MinGW64.
411 2013-03-26  Eli Zaretskii  <eliz@gnu.org>
413         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
414         (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
416         * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
417         define for MinGW64.
419         * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
420         for MinGW64.
422         Fix more incompatibilities between MinGW.org and MinGW64 headers
423         reported by Óscar Fuentes in
424         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
425         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
426         and in
427         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
428         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
429         For MinGW64, include sys/types.h and time.h.
430         (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
432         * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
434         * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
435         _W64.
436         (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
437         _TIMEZONE_DEFINED.
439         * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
441         * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
442         lstat, and fstatat.
444 2013-03-25  Eli Zaretskii  <eliz@gnu.org>
446         Fix incompatibilities between MinGW.org and MinGW64 headers
447         reported by Óscar Fuentes in
448         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
449         * inc/ms-w32.h (struct timespec): Don't define if
450         _TIMESPEC_DEFINED is already defined.
451         (sigset_t) [!_POSIX]: Typedef for MinGW64.
452         (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
453         including the first system header, to avoid redefinition if some
454         system header defines a default value.
456         * inc/sys/time.h (struct itimerval): Don't define if
457         _TIMESPEC_DEFINED is already defined.
459 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
461         Fix the MSVC build.  (Bug#13939)
462         * inc/stdint.h (UINTPTR_MAX): Define.
464         * nmake.defs (libc): Fix syntax of !if conditional.
466 2013-03-15  Juanma Barranquero  <lekktu@gmail.com>
468         * config.nt: Sync with autogen/config.in.
469         (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
470         (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
471         (HAVE_FDATASYNC): New macros.
473 2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
475         File synchronization fixes (Bug#13944).
476         * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
478 2013-03-05  Paul Eggert  <eggert@cs.ucla.edu>
480         FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
481         * inc/unistd.h (O_NOFOLLOW): New macro.
483 2013-03-04  Juanma Barranquero  <lekktu@gmail.com>
485         * config.nt: Sync with autogen/config.in.
486         (DATA_START, ORDINARY_LINK): Remove.
487         (HAVE_DATA_START, HAVE__PUTENV): New macros.
489 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
491         * inc/ms-w32.h (BOOT_TIME_FILE): Define.
493         * config.nt (CLASH_DETECTION): Define to 1.
495 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
497         * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
498         (Bug#9066)
499         (chown, logb): Remove, unused.
501 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
503         * config.nt: Sync with autogen/config.in.
504         (GC_MARK_STACK): Remove.
505         (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
506         (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
507         (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
509 2013-02-12  Eli Zaretskii  <eliz@gnu.org>
511         * inc/ms-w32.h: Add prototype for memrchr.
513 2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
515         Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
516         * inc/sys/stat.h (fstatat):
517         * inc/unistd.h (readlinkat): New decls.
519 2013-01-28  Eli Zaretskii  <eliz@gnu.org>
521         * inc/dirent.h (opendir): Update prototype.
523 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
525         * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
526         used in term.c.  (Bug#13387)
528 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
530         * config.nt: Sync with autogen/config.in.
531         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
533 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
535         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
536         in lib/filemode.c that broke the MS-Windows build.
537         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
539 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
541         * config.nt: Sync with autogen/config.in.
542         (BSD4_2): Remove.
544 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
546         * inc/sys/acl.h: New file.
548         * inc/ms-w32.h (ENOTSUP): Define if undefined.
550         * config.nt (HAVE_POSIX_ACL): Define.
552 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
554         * inc/ms-w32.h (sys_unlink): Provide prototype.
556 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
558         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
560 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
562         * config.nt: Sync with autogen/config.in.
563         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
565 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
567         * config.nt: Sync with autogen/config.in.
568         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
569         (ULIMIT_BREAK_VALUE): Remove.
571 2012-12-10  Daniel Colascione  <dancol@dancol.org>
573         * emacs.rc: Use forward slashes in relative paths in order to
574         avoid complaints from Cygwin.  (Forward slashes work perfectly
575         well in the NT build.)
577 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
579         * inc/unistd.h (unsetenv): Provide a prototype.
581 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
583         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
584         (sys_putenv): Add prototype.
586         * config.nt (HAVE_UNSETENV): Define to 1.
588 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
590         * config.nt: Sync with autogen/config.in.
592 2012-11-24  Ken Brown  <kbrown@cornell.edu>
594         * config.nt (HAVE_MOUSE): Remove.
596 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
598         * config.nt: Sync with autogen/config.in.
599         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
600         Remove.
602 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
604         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
605         (Bug#12955)
607         * nmake.defs (SWITCHCHAR): Define to /.
609 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
611         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
612         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
613         (struct dirent): Rename from struct direct.  All uses changed.
614         * inc/sys/dir.h: Remove.
616 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
618         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
619         * config.nt (HAVE_GETCWD): Remove.
621 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
623         * nmake.defs: Use !if, not !ifdef.  For the details, see
624         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
626         * inc/stdint.h (INTPTR_MIN)
627         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
629 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
631         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
633 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
635         * config.nt: Sync with autogen/config.in.
636         (HAVE_FPATHCONF): Remove.
638 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
640         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
641         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
642         POSIX name for this flag is O_NONBLOCK.  All uses changed.
643         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
644         these really should be moved to a replacement <fcntl.h> if and
645         when that gets implemented.  In the meantime, include <fcntl.h>
646         to make sure we don't override its definitions.
648 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
650         * inc/sys/wait.h: New file, with prototype of waitpid and
651         definitions of macros it needs.
653         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
654         (sys_wait): Remove prototype.
656         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
658 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
660         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
661         to check if it's installed, redirect standard output and standard
662         error to the null device.
663         (ZIP_DIST): Don't build the "barebin" distribution.
665 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
667         * config.nt: Sync with autogen/config.in.
668         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
669         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
670         New macros.
672 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
674         * inc/unistd.h (faccessat): Add prototype.
675         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
676         2 moved from ms-w32.h.
678         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
680 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
682         Use faccessat, not access, when checking file permissions (Bug#12632).
683         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
684         (access): Remove.
685         (faccessat): New macro.
687 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
689         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
691 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
693         * config.nt: Sync with autogen/config.in.
694         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
695         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
697 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
699         * config.nt: Sync with autogen/config.in.
700         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
702 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
704         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
706 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
708         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
710         * config.nt (GETPGRP_VOID): Define to 1.
712 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
714         * config.nt: Sync with autogen/config.in.
716 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
718         * inc/pwd.h (getuid, geteuid): Add prototypes.
720         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
721         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
722         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
723         (sys_kill, getpagesize): Add prototypes for emulated functions.
725         * inc/grp.h (getgid, getegid): Add prototypes.
727         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
729         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
730         compiling with -std=gnu99.
732         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
733         could be used via --cflags switch to configure.bat.
735 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
737         * config.nt: Sync with autogen/config.in.
738         (HAVE_NTGUI): New macro.
740 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
742         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
743         compiler warnings when using the value.
745 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
747         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
748         'void *', for pointer arithmetic.
749         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
750         macro arguments in parentheses.
752 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
754         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
756 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
758         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
759         that are already defined.
761         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
762         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
763         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
765         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
766         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
767         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
768         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
769         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
770         Use DWORD_PTR instead of DWORD for compatibility with x64.
772         * nmake.defs: Support AMD64.
773         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
775         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
776         New macros.
778         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
779         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
780         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
781         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
782         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
783         DWORD, for compatibility with x64.
785         * emacs-x64.manifest: New file.
787         * emacs-x86.manifest: Renamed from emacs.manifest.
789 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
791         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
792         (struct itimerval): Define.
793         (getitimer, setitimer): Add prototypes.
795         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
796         with MinGW.
797         (SA_RESTART, SIGPROF): Define.
799         * config.nt (HAVE_SETITIMER): Define to 1.
801 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
803         * config.nt: Sync with autogen/config.in.
805 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
807         * config.nt: Sync with autogen/config.in.
808         (HAVE_TIMER_SETTIME): New macro.
810 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
812         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
814 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
816         Simplify and avoid signal-handling races (Bug#12471).
817         * inc/ms-w32.h (emacs_raise): New macro.
819 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
821         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
822         defined, as needed by giflib-5.0.0.  (Bug#12464)
824 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
826         * config.nt: Sync with autogen/config.in.
827         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
829 2012-09-17  Glenn Morris  <rgm@gnu.org>
831         * config.nt (COPYRIGHT): New.
833 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
835         Port _setjmp fix to POSIXish hosts as well as Microsoft.
836         * config.nt: Attempt to sync with autogen/config.in.
837         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
838         (_longjmp, _setjmp): Remove.
840 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
842         * config.nt: Sync with autogen/config.in.
843         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
844         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
845         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
847 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
849         * config.nt: Sync with autogen/config.in.
850         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
851         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
853 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
855         * configure.bat <use_extensions>: Don't leave it set in the
856         environment when the script exits.
858 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
860         * config.nt: Sync with autogen/config.in.
861         (NO_ABORT, SIGNAL_H_AHB): Remove.
863 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
865         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
867 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
869         * config.nt: Sync with autogen/config.in.
871 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
873         Simplify redefinition of 'abort' (Bug#12316).
874         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
876 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
878         * config.nt: Sync with autogen/config.in.
879         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
881 2012-09-01  Daniel Colascione  <dancol@dancol.org>
883         * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
885 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
887         * config.nt: Sync with autogen/config.in.
889 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
891         * config.nt: Sync with autogen/config.in.
892         (HAVE_POSIX_OPENPT): New macro.
894 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
896         * config.nt: Sync with autogen/config.in.
897         (_GL_INLINE_HEADER_BEGIN): Update.
899 2012-08-10  Glenn Morris  <rgm@gnu.org>
901         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
903 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
905         * config.nt: Sync with autogen/config.in.
906         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
907         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
909         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
911 2012-08-06  Glenn Morris  <rgm@gnu.org>
913         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
914         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
916 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
918         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
919         (PATH_DATA, PATH_DOC): Replace dummy directory names with
920         directories relative to %emacs_dir%.
921         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
922         to the use case of running un-installed Emacs.
924 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
926         * config.nt: Sync with autogen/config.in.
927         (DOS_NT, MSDOS): New macros.
928         (WRETCODE, wait3): Remove.
930         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
932 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
934         * inc/sys/stat.h (S_IFLNK): Define.
935         (S_ISLNK): A non-trivial definition.
936         (lstat): Prototype instead of a macro that redirects to 'stat'.
938 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
940         Use C99-style 'extern inline' if available.
941         * config.nt: Sync with autogen/config.in.
942         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
943         (_GL_INLINE_HEADER_END): New macros.
945 2012-08-02  Glenn Morris  <rgm@gnu.org>
947         * inc/ms-w32.h: Move here from ../src/s.
948         * config.nt (config_opsysfile): Change to <ms-w32.h>.
950 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
952         * config.nt: Sync with autogen/config.in.
953         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
954         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
955         New macros.
957 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
959         * config.nt: Sync with autogen/config.in.
960         Remove code moved to conf_post.h and include <conf_post.h>
961         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
962         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
964 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
966         * config.nt: Sync with autogen/config.in.
967         (HAVE_ENVIRON_DECL): New macro.
969 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
971         * inc/stdalign.h (_Alignas, alignas): Define.
973 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
975         Use Gnulib stdalign module (Bug#9772, Bug#9960).
976         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
978 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
980         * config.nt: Sync with autogen/config.in.
981         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
982         (SETUP_SLAVE_PTY): New macros.
984 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
986         * config.nt: Sync with autogen/config.in.
987         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
988         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
989         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
990         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
991         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
992         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
993         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
994         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
995         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
996         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
997         Set in src/s/ms-w32.h, not here.
999 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
1001         * config.nt: Sync with autogen/config.in.
1002         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
1003         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
1004         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
1006 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
1008         * config.nt: Sync with autogen/config.in.
1010 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
1012         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
1014 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
1016         * config.nt: Sync with autogen/config.in.
1018 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
1020         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
1022 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
1023             Eli Zaretskii  <eliz@gnu.org>
1025         * config.nt: Complete rework to bring it in sync with autogen/config.in.
1026         All Windows-specific code moved to src/s/ms-w32.h.
1028 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
1029             Eli Zaretskii  <eliz@gnu.org>
1031         * configure.bat (enablechecking): Enable checks through src/config.h,
1032         not the compiler's command line.
1034         * nmake.defs (CHECKING_CFLAGS): Remove.
1035         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1037         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
1038         (CHECKING_CFLAGS): Remove.
1039         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1041 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
1043         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
1044         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
1045         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
1046         (HAVE_MEMCMP): Remove, obsolete.
1048 2012-06-30  Glenn Morris  <rgm@gnu.org>
1050         * paths.h (PATH_SITELOADSEARCH): New.
1052 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
1054         * nmake.defs (CHECKING_CFLAGS):
1055         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
1057 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
1059         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
1061 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
1063         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
1064         * config.nt (_Noreturn): New macro.
1065         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
1066         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
1068 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
1070         * inc/sys/time.h (struct timespec): Don't define it here, it is
1071         now defined in src/s/ms-w32.h.
1073 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
1075         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
1076         * inc/sys/time.h (struct timespec): Define.
1078 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
1080         * makefile.w32-in (install-addpm): New target.
1081         (dist): Depend on it.
1082         (install-shortcuts): Depend on install-addpm instead of copying
1083         addpm.exe as part of the recipe.  See
1084         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
1085         for the related problem and discussions.
1087 2012-06-11  Glenn Morris  <rgm@gnu.org>
1089         * config.nt (SYSTEM_TYPE): Define it.
1091 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1093         * configure.bat (genmakefiles): Move the redirection away from the
1094         end of the command, to avoid excess whitespace at the end of Make
1095         variables created at configure time, and also avoid things like
1096         "FOO1>>config.settings", where "1" gets interpreted as the file
1097         descriptor and eaten up.  This fixes breakage introduced by the
1098         last change, without reintroducing the bug fixed by that change.
1100 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1102         * nmake.defs (MWINDOWS): Define as
1103         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
1104         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
1106         * gmake.defs (MWINDOWS): Define as "-mwindows".
1108 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
1110         * config.nt (HAVE_SYSINFO): Remove; unused.
1112 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1114         * inc/stdalign.h: New file.
1116         * configure.bat: Ensure a space between %var% expansion and
1117         redirection symbol '>', which breaks when %var% ends in a digit,
1118         such as 1.
1120 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1122         Remove src/m/*.
1123         * config.nt: Do not include "m/intel386.h"; file was removed.
1124         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
1125         Move to src/lisp.h.
1126         (EMACS_INT_MAX): New macro.
1128 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1130         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
1131         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
1133         * config.nt (HAVE_FTIME): Remove undef; not needed.
1135 2012-05-01  Glenn Morris  <rgm@gnu.org>
1137         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
1139 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1141         * makefile.w32-in: Fix typo (Bug#10261).
1143 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
1145         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
1146         each runs makeinfo in its own subdirectory of 'doc'.
1147         (info-gmake): Depend on these new targets.
1149 2012-04-07  Glenn Morris  <rgm@gnu.org>
1151         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
1152         Bump version to 24.1.50.
1154 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1156         * configure.bat: Support building with libxml2.
1158         * INSTALL:
1159         * README.W32: Add information about libxml2.
1161 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1163         * makefile.w32-in: Convert to Unix EOL format.
1164         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
1165         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
1166         (bootstrap-gmake): Invoke the "clean" and build targets in 2
1167         separate commands, so they run in that order even under "make -j".
1169 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
1171         * config.nt: Discourage from defining HAVE_GETCWD.
1173 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1175         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
1176         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
1177         on other (parallel) Make job's toes.
1178         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
1179         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
1180         here.
1181         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
1182         Depend on create-tmp-dist-dir.
1184         * nmake.defs (DIRNAME): New variable.
1185         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1186         same-dir.tst.
1188         * gmake.defs (DIRNAME): New variable.
1189         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1190         same-dir.tst, to avoid conflicts between several (parallel) Make
1191         jobs.
1193 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
1195         Prevent endless re-spawning of cmdproxy.exe when some of its
1196         parent directories have access limitations.
1198         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
1199         and our own module name to short 8+3 aliases, if the original file
1200         names compare equal.  If GetShortPathName fails, compare the base
1201         names of the two file names, and only re-spawn the command line if
1202         the base-name comparison also fails.  (Bug#10674)
1204 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1206         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
1208 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
1210         * README.W32: Removed specific version information for libXpm
1211         included in the binary distribution for maintenance purposes.
1213 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
1215         * README.W32: Clarification for inclusion in source tarball (bug#9750).
1217         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1219         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1221         * makefile.w32-in (maybe-copy-distfiles)
1222         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1223         (create-tmp-dist-dir): Add to make --distfiles optional.
1224         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1226 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
1228         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1229         by other headers.
1231 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1233         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1234         (UINT64_MAX) [_WIN64]: Fix definition.
1235         (uintmax_t, intmax_t): Fix definitions.
1237         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1238         Provide correct definitions.
1240         * config.nt (HAVE_DECL_STRTOLL): Define.
1241         (va_copy) [_WIN64]: Provide a better definition.
1243 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
1245         * configure.bat: Fix typos.
1247 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
1249         * INSTALL: Elaborate on debugging fatal errors.
1251 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
1253         * README.W32: Update the GTK Windows download URL for libpng.
1255 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
1257         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1259 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
1261         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1262         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1263         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1264         (intmax_t, INT64_MAX): Add for MSVC.
1266         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1268 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
1270         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1272         Support MSVC build with newer versions of Visual Studio.
1273         * makefile.w32-in (clean-other-dirs-nmake)
1274         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1275         Update for current structure of doc/ subdirectories.
1277         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1279         * INSTALL: Update for newer versions of MSVC.
1281 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1283         Support MSVC build with newer versions of Visual Studio.
1284         * nmake.defs (USE_CRT_DLL): Define to 1.
1285         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1286         (D): New variable.
1288 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
1290         * runemacs.c (ensure_unicows_dll): New function, tries to load
1291         UNICOWS.DLL on Windows 9X.
1292         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1293         display a dialog to the effect that Emacs cannot be started.
1294         (Bug#8562)
1296 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
1298         * README.W32: Mention UNICOWS.DLL as prerequisite for running
1299         Emacs on Windows 9X.
1301 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
1303         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1304         distribution.  (Bug#9861)
1306 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
1308         * INSTALL: Update URL for GTK download page.
1310 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
1312         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1313         (Bug#9794) (Bug#641)
1315 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1317         * config.nt (HAVE_SNPRINTF): New macro.
1319 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1321         Assume freestanding C89 headers, string.h, stdlib.h.
1322         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1323         (STDC_HEADERS): Remove.
1324         Iinclude string.h, stdlib.h unconditionally.
1326 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
1328         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1329         [!__GNUC__]: New macros.
1331 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1333         Use 'inline', not 'INLINE'.
1334         * config.nt (INLINE): Remove.
1336 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
1338         * README.W32: Add information about GnuTLS libraries.
1340 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
1342         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1344 2011-05-07  Ben Key  <bkey76@gmail.com>
1346         * configure.bat: Renamed the fusercflags variable to escusercflags
1347         so that the variable name better matches its purpose, to be
1348         identical to usercflags with the exception that all quotes are
1349         escaped by the \ character.
1351         Renamed the fuserldflags variable to escuserldflags so that the
1352         variable name better matches its purpose, to be identical to
1353         userldflags with the exception that all quotes are escaped by
1354         the \ character.
1356         A new ESC_USER_CFLAGS variable is written to config.settings.
1357         This variable has the same value as the escusercflags variable.
1359         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1360         This variable is identical to the CFLAGS variable except that it
1361         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1363         These changes, along with some changes to src/makefile.w32-in,
1364         are required to extend my earlier fix to add support for
1365         --cflags and --ldflags options that include quotes so that it
1366         works whether make uses cmd or sh as the shell.
1368 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
1370         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
1371         definition of uintmax_t from here...
1372         * inc/stdint.h (uintmax_t): ...to here.
1373         (intptr_t) [!__GNUC__]: New typedef.
1375 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
1377         * config.nt: Prepare to configure 64-bit integers for older compilers.
1378         However, temporarily disable this change unless the temporary
1379         symbol WIDE_EMACS_INT is defined.
1380         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1381         "%I64d" work but long long and "%lld" do not.
1383 2011-05-05  Ben Key  <bkey76@gmail.com>
1385         * configure.bat: Added support for --cflags and --ldflags
1386         options that include quotes as long as command extensions are
1387         enabled.  Specifically when -I, -L, and similar flags are used
1388         to specify supplementary include and library directories a
1389         directory name that includes spaces may now be used if it is
1390         enclosed in quotes.
1392         * INSTALL: Documented the change to configure.bat.
1394 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1396         * INSTALL: Clarify GnuTLS support.
1398 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
1400         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1401         Define to 1 for MinGW of MSVC versions >= 1400.
1403 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
1405         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1407 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
1409         * inc/inttypes.h: New file.
1411         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1412         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1414 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1416         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1417         inside quotation marks and bail out.
1419 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1421         * cmdproxy.c (try_dequote_cmdline): New function.
1422         (main): Use it.
1424 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1426         * configure.bat: New options --without-gnutls and --lib, new build
1427         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
1428         library setup with trivial modifications.
1429         * INSTALL: Add instructions for GnuTLS support.
1430         * gmake.defs: Prefix USER_LIBS with -l.
1432 2011-04-15  Ben Key  <bkey76@gmail.com>
1434         * configure.bat: Modified the code that parses the --cflags and
1435         --ldflags options to support parameters that include the =
1436         character as long as they are enclosed in quotes.
1437         This functionality depends on command extensions.  Configure.bat now
1438         attempts to enable command extensions and displays a warning
1439         message if they could not be enabled.  If configure.bat could
1440         not enable command extensions the old parsing code is used that
1441         does not support parameters that include the = character.
1443         * INSTALL: Updated the file to describe the new functionality
1444         using text provided by Eli Zaretskii.
1446 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
1448         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1449         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1450         on the trunk on 2011-04-06.
1452 2011-03-27  Glenn Morris  <rgm@gnu.org>
1454         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1456 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
1458         * addpm.c (main): Remove unused variable `retval'.
1460         * preprep.c (main): Remove unused variable `ptr'.
1462 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
1464         * cmdproxy.c: Include <ctype.h>.
1465         (make_absolute): Remove unused variable `i'.
1467 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
1469         * Version 23.3 released.
1471 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
1473         * inc/unistd.h (readlink, symlink): Declare prototypes.
1475 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
1477         * config.nt (nlink_t): Define.
1479 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
1481         * inc/stdint.h: New file, to support compilation with tool chains
1482         that do not have stdint.h (e.g. MSVC).
1484 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
1486         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1487         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1488         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1489         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1490         (lstat): Define to stat.
1492 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
1494         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1495         "make-docfile" target in lib-src, before bootstrapping the src
1496         directory.  Needed since building in src needs to run make-docfile
1497         to produce globals.h.
1499 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1501         * config.nt (inline) [__GNUC__]: Define (for gnulib).
1503 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1505         * config.nt (VERSION): Uncomment definition.
1506         (restrict): Define.
1508         * inc/stdbool.h: New file.
1510 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1512         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1513         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1514         (bootstrap-clean-gmake, clean-other-dirs-nmake)
1515         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1516         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1517         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1518         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1519         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1521         * configure.bat: Create lib/makefile.
1523         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1524         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1525         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1526         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1528 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1530         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1532 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1534         * configure.bat (end): Unset environment variables used by this
1535         batch file.
1537         * INSTALL: Update the information about PNG support libraries.
1538         (Bug#7716)
1540         * README.W32: Update the information about PNG support libraries.
1542 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1544         * config.nt (EXTERNALLY_VISIBLE): Define.
1546 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1548         * INSTALL: Refer to `dynamic-library-alist'.
1550 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1552         * INSTALL: Add note about problematic characters passed to configure.
1554 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1556         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1557         emacs-src.tags: New file.
1559         * gmake.defs: Add a comment with a single quote to fix
1560         fontification.  (Bug#7102)
1562 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1564         * configure.bat: Fix the condition for copying paths.h into
1565         ../src/epaths.h.
1567 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1569         * addpm.c (entry, add_registry, main):
1570         * addsection.c (file_data, open_input_file, open_output_file)
1571         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1572         (COPY_CHUNK):
1573         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1574         (skip_nonspace, get_next_token, search_dir, make_absolute)
1575         (spawn, main):
1576         * preprep.c (file_data, open_input_file, open_output_file)
1577         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1578         Use const char*.
1580         * cmdproxy.c (stdin): Don't define, not used.
1581         (main): Don't assign remlen after last use.
1583 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1585         * configure.bat: Err out when the argument of --cflags contains
1586         invalid characters (check implemented only for GCC).  (Bug#6820)
1588 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1590         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1592 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1594         * addpm.c (add_registry): Set path for runemacs.exe to use.
1596 2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
1598         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1599         which has a 1024 char limit on Windows (bug#6647).
1601 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1603         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1604         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1606 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1608         * config.nt: Remove code referring to NO_REMAP, unused.
1610 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1612         Build binary distros on Windows using emacs-VERSION as root dir name.
1614         * makefile.w32-in: Copy README.W32 to installation directory
1615         during `make install'.  Remove README.W32 with `distclean' (in
1616         case Emacs was installed in place).  Use temporary directory to
1617         create distribution zip files in `dist' target.
1618         * zipdist.bat: Simplify code using temporary directory.
1620 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1622         * runemacs.c (set_user_model_id): Fix prototype.
1624 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1626         New make target for Windows platform: make dist (bug#6602)
1628         * INSTALL: Document new dist target and add section about
1629         creating binary distributions.
1630         * README.W32: Relocate from admin/nt/ directory.
1631         * configure.bat: New parameter `--distfiles'.
1632         * makefile.w32-in: Add version number, new target `dist'.
1633         Add new target `install-shortcuts'.
1634         * zipdist.bat: New file; create zipped binary distribution,
1635         replaces admin/nt/makedist.bat.
1637 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1639         * INSTALL: Add note about backslashes in Windows paths.
1640         Fix typos.  Simplify references to Windows versions.
1642 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1644         * addpm.c (add_registry, main):
1645         * cmdproxy.c (get_env_size):
1646         * ddeclient.c (main):
1647         * runemacs.c (set_user_model_id):
1648         Convert definitions to standard C.
1650 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1652         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1654 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1656         * configure.bat: New option --enable-checking.
1657         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1658         (CFLAGS): Include it.
1660 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1662         * config.nt (volatile): Remove definition.
1664 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1666         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1667         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1669 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1671         * config.nt (__P): Remove.
1673 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1675         * config.nt: Remove code depending on BSTRING.
1677 2010-06-03  Glenn Morris  <rgm@gnu.org>
1679         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1681 2010-05-13  Glenn Morris  <rgm@gnu.org>
1683         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1685 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1687         * Version 23.2 released.
1689 2010-05-04  Glenn Morris  <rgm@gnu.org>
1691         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1693 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1695         * emacs.manifest: Add trustInfo section to Windows manifest.
1697 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1699         * Branch for 23.2.
1701 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1703         * emacsclient.rc: Fix format of "LegalCopyright" value.
1705 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1707         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1709 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1711         * INSTALL: Update for CVS->Bazaar switchover.
1713 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1715         * configure.bat: Add #define PROFILING to config.h.
1717 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1719         * runemacs.c (set_user_model_id): Use standard types.
1721 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1723         * runemacs.c (set_user_model_id): New function.
1724         (WinMain): Use it.
1726 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1728         * Branch for 23.1.
1730 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1732         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1733         st_gid to unsigned.
1735         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1736         to unsigned.
1737         (getpwuid): Argument is now unsigned.
1738         uid_t is now unsigned.
1740 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1742         * INSTALL: Add comment about TCC; fix typos.
1744 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1746         * emacsclient.rc, emacs.rc: Swap name and description.
1747         Remove Windows versions.
1749 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1751         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1753         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1755         * addpm.c (main): Try using COM to create start menu shortcuts
1756         before resorting to DDE (Bug#202)
1757         Remove second command-line argument.
1759 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1761         * configure.bat: Untabify help message.
1763 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1765         * configure.bat: New option --with-svg.
1767         * INSTALL: Document experimental SVG support.
1769 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1771         * config.nt (PTR): Remove.
1773 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1775         * config.nt (LISTPROC, PROCATTR): Remove.
1777 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1779         * config.nt (LISTPROC, PROCATTR): New macros.
1781 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1783         * config.nt (MULTI_KBOARD): Remove.
1785 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1787         * configure.bat: New option --profile.
1788         * gmake.defs: Set cflags and ldflags for profiling when specified.
1790 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1792         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1794 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1796         * config.nt (HAVE_FACES): Remove, unused.
1798 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1799             Eli Zaretskii  <eliz@gnu.org>
1801         * nmake.defs (FONT_CFLAGS):
1802         * gmake.defs (FONT_CFLAGS): Remove.
1803         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1804         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1805         and _CRTAPI1.
1806         (ARCH_FLAGS): Don't include _X86_.
1808         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1810 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1812         * config.nt: Remove reference to UNEXEC_SRC.
1814 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1815             Eli Zaretskii  <eliz@gnu.org>
1817         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1818         Don't hardcode -gstabs+, use DEBUG_INFO.
1820         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1821         Default to stabs if the compiler does not support DWARF-2.
1822         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1824 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1826         * configure.bat: Remove code dealing with --disable-font-backend.
1828 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1830         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1831         better alignment.  Make st_size 64-bit wide.  Add new members
1832         st_uname and st_gname.
1834         * inc/grp.h (struct group): Add gr_gid member.
1836 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1838         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1839         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1840         a real file there is not a good idea.
1842 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1844         * makefile.w32-in (CLIENTRES): New variable and build target.
1845         (all): Depend on it.
1846         ($(TRES)): Use $(TRES) in rule.
1848 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1850         * configure.bat (success): Print "make" rather than "gmake", as that
1851         is what MinGW uses.
1853 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1855         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1856         Add copyright notice.
1858 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1860         * emacsclient.rc: New file.
1862         * INSTALL: Document make targets.
1864 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1866         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1867         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1868         (top-distclean, distclean, distclean-other-dirs-nmake)
1869         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1870         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1872 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1874         * inc/sys/stat.h: New file.
1876         * configure.bat: Add check for usp10.h.
1878 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1880         * INSTALL: Update Windows API requirements.
1882 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1884         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1886 2008-03-13  Glenn Morris  <rgm@gnu.org>
1888         * emacs.rc: Set version to 23.0.60.
1890 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1892         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1893         (EMACS_EXTRA_C_FLAGS): Include it.
1894         * configure.bat (usefontbackend): Default to Y.
1895         (--enable-font-backend): Replace with --disable-font-backend.
1896         (:withfont): Replace with :withoutfont.
1898 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1900         * icons/emacs.ico: Full alpha for 32x32 full color.
1901         Add 32x32 and 16x16 256 color versions.
1903 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1905         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1907 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1909         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1911 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1913         * icons/README: Update.
1915         * icons/emacs.ico: New icon.
1917 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1919         * addpm.c: Include malloc.h.
1920         (add_registry): Cast return value of alloca.
1922 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1924         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1926 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1928         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1929         conditional on existence of junk.o.  If %nocygwin% is already set
1930         to Y, skip to chkapiN instead of chkapi.
1931         (chkapi): Move "rm -f junk.c junk.o" to here.
1932         (chkapiN): New label.
1934 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1936         * makefile.w32-in: Remove unidata-gen related rules.
1938 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1940         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1942 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1944         * addpm.c (add_registry): Add an App Paths registry key.
1945         Look for GTK and add it to the DLL search path for Emacs if found.
1947 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1949         * configure.bat: In help, use generic names for the image libraries.
1951 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1953         * .cvsignore: Don't ignore .arch-inventory.
1955 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1957         * configure.bat: Make gcc the default compiler.
1959 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1961         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1962         Ignore return status.
1964         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1965         it out of the way of Windows generated file.
1966         Generate admin/unidata/makefile.
1968         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1969         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1970         (unidatagen-clean-SH): New targets.
1971         (bootstrap-nmake): Invoke unidatagen-nmake.
1972         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1974 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1976         * configure.bat (withfont): Set sep1 after modifying usercflags.
1978 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1980         * configure.bat: Rename --with-font-backend to --enable-font-backend
1981         for consistency with other platforms.
1983 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1985         * configure.bat: Add --with-font-backend option.
1987 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1989         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1990         permissions to NTFS ACLs.
1992 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1994         * config.nt: Remove HAVE_X11R5.
1996 2007-10-22  Jason Rumney  <jasonr@gnu.org>
1998         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1999         (strings.h, stdlib.h): Conditionally include.
2000         (w32_abort): Declare here.
2001         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
2003 2007-10-20  Jason Rumney  <jasonr@gnu.org>
2005         * makefile.w32-in (info-nmake): Change into correct directories.
2007 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
2009         * configure.bat (docflags, doldflags): New variables.
2010         (genmakefiles): Use them to work around problems with whitespace
2011         in arguments of the `if' command.
2013 2007-10-18  Jason Rumney  <jasonr@gnu.org>
2015         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
2017 2007-09-27  Jason Rumney  <jasonr@gnu.org>
2019         * gmake.defs (COMCTL32): New system library.
2021         * nmake.defs (COMCTL32): New system library.
2023 2007-09-06  Glenn Morris  <rgm@gnu.org>
2025         * configure.bat:
2026         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
2027         Change from ../man to ../doc/emacs and ../doc/misc; and from
2028         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
2030 2007-08-29  Glenn Morris  <rgm@gnu.org>
2032         * emacs.rc: Increase version to 23.0.50.
2034 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
2036         * makefile.w32-in (bootstrap-nmake): Change directories once more.
2038 2007-07-25  Glenn Morris  <rgm@gnu.org>
2040         * Relicense all FSF files to GPLv3 or later.
2042         * COPYING: Switch to GPLv3.
2044 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
2046         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
2047         Depend on cmdproxy.
2048         (cleanall): Don't delete *~.
2050 2007-07-15  Jason Rumney  <jasonr@gnu.org>
2052         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
2053         be fully supported.
2055 2007-07-14  Jason Rumney  <jasonr@gnu.org>
2057         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
2058         of winsock.h.
2060 2007-07-11  Jason Rumney  <jasonr@gnu.org>
2062         * gmake.defs (OLE32): New library to link.
2064         * nmake.defs (OLE32): Likewise.
2066 2007-06-25  Jason Rumney  <jasonr@gnu.org>
2068         * cmdproxy.c (main): Set console codepages to "ANSI".
2070 2007-06-20  Jason Rumney  <jasonr@gnu.org>
2072         * configure.bat: Complain if image libraries are missing.
2074 2007-06-15  Jason Rumney  <jasonr@gnu.org>
2076         * emacs.manifest: New file.
2078         * emacs.rc: Use it.
2080 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
2082         * Version 22.1 released.
2084 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
2086         * INSTALL: Add information about where to find GDB, and warn
2087         against --no-debug option to configure.bat.
2089 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
2091         * INSTALL: Fix URL of EmacsW32 site where building with image
2092         support is described.
2094 2007-04-26  Glenn Morris  <rgm@gnu.org>
2096         * emacs.rc: Increase version to 22.1.50.
2098 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
2100         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
2102 2007-03-09  Richard Stallman  <rms@gnu.org>
2104         * INSTALL: Say explicitly this is not for Cygwin.
2106 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
2108         * INSTALL: Add URL of another site with detailed build instructions.
2110 2007-02-16  Glenn Morris  <rgm@gnu.org>
2112         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
2113         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
2114         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
2115         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
2116         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
2117         Restore all but two of icons deleted in previous change.
2119 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
2121         * icons/README: New file.
2123         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
2124         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
2125         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
2126         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
2127         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
2128         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
2129         Unused icons deleted.
2131 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
2133         * configure.bat: Update ../site-lisp/subdirs.el when needed.
2135 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
2137         * subdirs.el: Add "no-byte-compile: t" local variable.
2139 2007-01-10  Jason Rumney  <jasonr@gnu.org>
2141         * README: Update URLs and advice about reporting bugs.
2143 2006-12-29  Jason Rumney  <jasonr@gnu.org>
2145         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
2146         DEBUG_LINK.
2147         (DEBUG_LINK): Remove -debugtype:both.
2149 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
2151         * INSTALL: Update table of supported Make ports.  Show "make -j"
2152         command that is known to work.
2154         * configure.bat: Update table of supported Make ports.
2156 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
2158         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
2159         only in implicit rules.  Use literal "emacs.rc" instead.
2161 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
2163         * gmake.defs: Export XMFLAGS.
2165         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
2166         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
2168 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
2170         * INSTALL: Explain how to invoke GNU Make for parallel builds.
2172         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
2173         command-line argument to sub-Make in src, since src/makefile.w32-in
2174         invokes Make recursively during bootstrap.
2175         (clean): Delete stamp_BLD.
2176         (bootstrap): Make `all' explicitly in a recursive Make.
2178         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2179         stamp_BLD after creating the $(BLD) directory.
2181         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2182         stamp_BLD after creating the $(BLD) directory.
2184         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
2185         (preprep, $(TRES), runemacs)
2186         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
2187         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2188         Depend on stamp_BLD instead of on $(BLD).
2189         (XMFLAGS): New macro.
2190         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
2191         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
2192         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
2193         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2195 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
2197         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
2198         $(ALL_DEPS).
2199         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
2200         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2201         New dependency on $(BLD).
2202         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
2203         (bootstrap-gmake): Depend on addsection.
2205 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
2207         * runemacs.c (WinMain): Process all recognized arguments, not just
2208         the first one.  Remove unused variable sec_desc.
2210 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
2212         * config.nt (HAVE_LANGINFO_CODESET): Define.
2214         * inc/langinfo.h: New file.
2216         * inc/nl_types.h: New file.
2218 2006-09-15  Jay Belanger  <belanger@truman.edu>
2220         * COPYING: Replace "Library Public License" by "Lesser Public
2221         License" throughout.
2223 2006-07-27  Jason Rumney  <jasonr@gnu.org>
2225         * INSTALL: Add notes about Cygwin make to impatient section.
2227 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
2229         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2230         known to work.
2232 2006-03-12  Jason Rumney  <jasonr@gnu.org>
2234         * addpm.c (add_registry): Don't change the registry unless keys
2235         already exist from a previous version.
2237         * makefile.w32-in (install): Use -q when invoking addpm.
2239         * addpm.c (main): Accept -q as alternative for /q.
2241 2006-03-11  Jason Rumney  <jasonr@gnu.org>
2243         * runemacs.c (WinMain): Set screen buffer to 80x25.
2245 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
2247         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2248         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2250 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
2252         * INSTALL: Add explanation of how to debug with GDB starting from
2253         the Emacs Abort dialog.
2255 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
2257         * emacs.rc: Use new icons.
2259 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
2261         * emacs21.ico: Renamed from emacs.ico.
2262         * emacs.ico: New icons from Andrew Zhilin
2263         <andrew_zhilin@yahoo.com>.
2265 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
2267         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2269 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
2271         * .cvsignore: Add `obj' and `oo' for in-place installations.
2273 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
2275         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2277 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
2279         * configure.bat: Don't create lisp/Makefile.unix.
2281 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
2283         * .cvsignore: Add `makefile' and `config.log'.
2285 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
2287         Merge gnulib getopt implementation into Emacs.
2289         * inc/gettext.h: Remove; no longer needed now that
2290         lib-src/gettext.h exists.
2292 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
2294         * configure.bat: Finish config.log with a line that indicates that
2295         the configure step was successful.
2297 2005-07-04  Lute Kamstra  <lute@gnu.org>
2299         Update FSF's address in GPL notices.
2301 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
2303         * configure.bat: If their fc.exe returns a meaningful exit status,
2304         don't overwrite src/config.h and src/epaths.h with identical
2305         copies.
2307         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2308         changes.  Add a pointer to another site with detailed configure
2309         and build instructions.  Suggest to look at config.log when
2310         configure fails.  Add MinGW Make 3.80 to the list of successful
2311         combinations.
2313         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2314         "-mcpu=i686".
2316         * configure.bat: Update copyright years.
2317         Delete config.log before doing anything else.
2318         Write additional diagnostics to config.log in case of failures to
2319         compile test programs, including the failed test program itself.
2320         Add a test for support of -mtune=pentium4 switch to GCC; if it is
2321         supported, set up MCPU_FLAG variable on the various Makefiles to
2322         use that switch during compilations.  (This avoids GCC warning
2323         about -mcpu being deprecated.)
2325 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
2327         * addsection.c (copy_executable_and_add_section): Pass non-zero
2328         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2329         environment.  Print section names with %.8s.
2330         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2331         only if non-zero.  All callers changed.
2333 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
2335         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2336         `const void *', for consistency with POSIX.
2338 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
2340         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2342 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
2344         * INSTALL: Add more pointers to ports of Unix tools to Windows,
2345         and to the Emacs Wiki (which contains building instructions for
2346         Windows).  Reword image library instructions and remove obsolete
2347         incompatibility information.
2349 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
2351         * config.nt (HAVE_PWD_H): Undef.
2353 2004-06-07  Juanma Barranquero  <lektu@terra.es>
2355         * INSTALL: Clarify paragraph about compatibility between image
2356         libraries and builds of Emacs with several compilers.
2358 2004-06-06  Juanma Barranquero  <lektu@terra.es>
2360         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2361         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2362         calling non-existent cmdproxy.exe on bootstrapping after a
2363         previous install followed by realclean.
2365         * nmake.defs: Add quote in comment to resync font-locking.
2367 2004-06-04  Juanma Barranquero  <lektu@terra.es>
2369         * INSTALL: Reword the section on image support.  Add reference to
2370         GnuWin32.  Mention problems when mixing binaries from different
2371         compilers.
2373 2004-05-06  Jason Rumney  <jasonr@gnu.org>
2375         * configure.bat: Use -mno-cygwin to check for image libraries
2376         when needed.
2378 2004-05-03  Jason Rumney  <jasonr@gnu.org>
2380         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2381         * makefile.def: Remove.
2383         * nmake.defs (SYS_LDFLAGS): Add -nologo.
2385         * makefile.w32-in (info-gmake, info-nmake): New targets.
2386         (info): Use them.
2388 2004-04-23  Juanma Barranquero  <lektu@terra.es>
2390         * nmake.defs:
2391         * gmake.defs:
2392         * makefile.w32-in:
2393         * makefile.def:
2394         * makefile.nt: Add "-*- makefile -*-" mode tag.
2396 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
2398         * runemacs.c (WinMain): Let Emacs environment default to parent.
2400 2004-03-11  Jason Rumney  <jasonr@gnu.org>
2402         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2404 2004-03-10  Juanma Barranquero  <lektu@terra.es>
2406         * makefile.w32-in (install): Don't try to copy
2407         ../lib-src/fns-*.el, as it isn't used anymore.
2409 2004-01-28  Peter Runestig  <peter@runestig.com>
2411         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2413 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
2415         * .cvsignore: Add `.arch-inventory'.
2417 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
2419         * inc/grp.h: New file.
2421 2003-09-03  Peter Runestig  <peter@runestig.com>
2423         * configure.bat: Create ``makefile'' in directories man, lispref
2424         and lispintro.
2426         * makefile.w32-in (force-info, info): New targets.
2428         * envadd.bat: New file.
2430         * multi-install-info.bat: New file.
2432 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
2434         * config.nt (my_strftime): New define.
2436 2003-02-01  Jason Rumney  <jasonr@gnu.org>
2438         * configure.bat: Automatically detect libXpm.
2439         Suppress compiler output when testing for image libraries.
2440         Give names of un-found libraries in messages.
2442 2003-01-31  Juanma Barranquero  <lektu@terra.es>
2444         * configure.bat: Automatically detect giflib and tifflib.
2446 2003-01-29  Jason Rumney  <jasonr@gnu.org>
2448         * gmake.defs (CURDIR): Disable cygpath kludge.
2450 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
2452         * configure.bat: Avoid endless loop when configuring without image
2453         support.
2455 2003-01-26  Jason Rumney  <jasonr@gnu.org>
2457         * configure.bat: Automatically detect jpeglib.
2459 2003-01-25  Jason Rumney  <jasonr@gnu.org>
2461         * configure.bat: Automatically detect libpng.
2463 2003-01-21  Jason Rumney  <jasonr@gnu.org>
2465         * icons/hand.cur: New file.
2467 2003-01-21  David Ponce  <david@dponce.com>
2469         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2471 2003-01-15  Andrew Innes  <andrewi@gnu.org>
2473         * gmake.defs (CURDIR): Convert to native Windows format (with
2474         forward slashes), to support building with Cygwin builds of make.
2476 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
2478         * nmake.defs:
2479         * gmake.defs: Made changes so that Emacs would link with
2480         WinMM.lib.  This change was required for my addition of a Windows
2481         compatible implementation of play-sound-internal.
2483 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
2485         * emacs.rc: Version updated to 21.3.50.
2487 2002-06-13  Jason Rumney  <jasonr@gnu.org>
2489         * addpm.c (env_vars): Remove EMACSLOCKDIR.
2491         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2492         (maybe-bootstrap-SH): New targets.
2493         (all): Depend on maybe-bootstrap.
2495 2002-05-03  Jason Rumney  <jasonr@gnu.org>
2497         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2498         (sys_getpeername, fcntl): Declare as wrappers.
2500 2002-04-10  Juanma Barranquero  <lektu@terra.es>
2502         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2503         after compiling .el files.
2505 2002-03-20  Jason Rumney  <jasonr@gnu.org>
2507         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2508         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2510 2002-03-19  Kim F. Storm  <storm@cua.dk>
2512         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2513         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2514         (HAVE_SYS_UN_H): Undef.
2515         From David Ponce <dponce@voila.fr>.
2517 2002-03-13  Jason Rumney  <jasonr@gnu.org>
2519         * config.nt (STRFTIME_NO_POSIX2): Define.
2521 2002-02-18  Jason Rumney  <jasonr@gnu.org>
2523         * emacs.rc: Define VS_VERSION_INFO if not already.
2524         Update version info.
2526 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2528         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2529         pick up relevant bits of the Windows API definitions.
2531         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2532         pick up relevant bits of the Windows API definitions.
2534 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2536         * makefile.w32-in (bootstrap): Build addsection program before
2537         bootstrap (required for post-processing temacs.exe).
2539 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2541         * COPYING: New file.
2543 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2545         * makefile.w32-in (bootstrap-nmake)
2546         (bootstrap-gmake): Extend bootstrap process to first do
2547         bootstrap-clean in lisp dir and rebuild the DOC file.
2548         (bootstrap): Do a "normal" make after the bootstrap work.
2550 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2552         * INSTALL: Update table of versions of make that are suitable
2553         for building Emacs, based on recent feedback.
2555         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2557 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2559         * ftime-nostartup.bat: New file.
2561         * ftime.bat: Don't include libc.lib for profiling - the profiler
2562         corrupts part of memcpy.
2564 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2566         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2567         expansion.  From Juanma Barranquero <lektu@terra.es>.
2569 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2571         * (Version 21.1 released.)
2573 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2575         * inc/pwd.h (uid_t, gid_t): New typedefs.
2577 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2579         * Branch for 21.1.
2581 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2583         * README: Update the address of the mailing list and subscription
2584         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2586 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2588         * INSTALL: Suggest to avoid using WinZip.
2590         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2592 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2594         * INSTALL: Mention that "make install" can be "nmake install".
2596 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2598         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2599         since some versions of `mkdir' don't automatically create parent
2600         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2602 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2604         * subdirs.el: New file.
2606         * configure.bat: Copy subdirs.el to the site-lisp directory.
2608         * makefile.w32-in (install): Copy subdirs.el to the installation
2609         directory.
2611 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2613         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2615 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2617         * gmake.defs (sh_output): Don't use $(warning ...) to output
2618         messages, since that is not supported by GNU make 3.77.
2620 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2622         * INSTALL: Clarify that building with MSVC requires nmake.
2624 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2626         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2627         message that is to be ignored.
2629 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2631         * TODO: Remove file, since it is completely out of date.
2633         * README: Add copyright notice.
2635         * INSTALL: Add copyright notice.
2637 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2639         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2640         the environment.
2642         * gmake.defs (SETLOADPATH): Remove definition.
2643         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2644         environment.
2646 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2648         * configure.bat: Make the checkw32api* labels be distinct in the
2649         first 8 characters.
2651 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2653         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2654         escaped quotes.
2656         * gmake.defs (DEBUG_LINK): New macro.
2657         (LINK_FLAGS): Use it.
2659         * nmake.defs (DEBUG_LINK): New macro.
2660         (LINK_FLAGS): Use it.
2662 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2664         * INSTALL: Add --ldflags to configure line for building with
2665         recent versions of Cygwin GCC.
2667 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2669         * configure.bat: Use correct options when compiling a test program
2670         with Cygwin.  From David Ponce <dponce@voila.fr>.
2672 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2674         * _emacs: Remove obsolete file.
2676         * emacs.bat.in: Remove obsolete file.
2678         * debug.bat.in: Remove obsolete file.
2680         * inc/sys/socket.h: Add copyright notice.
2682         * paths.h: Add copyright notice.
2684         * makefile.nt: Update copyright notice.
2686         * makefile.def: Update copyright notice.
2688         * configure.bat: Update copyright notice.
2690         * nmake.defs: Add copyright notice.
2692         * gmake.defs: Add copyright notice.
2694         * makefile.w32-in: Add copyright notice.
2696 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2698         * nmake.defs (THISDIR): New definition.
2700         * gmake.defs (THISDIR): New definition.
2702 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2704         * configure.bat: Leave a space before >> only when there is a
2705         preceding digit.  Add a comment about the importance of this.
2707         * README: Replace outdated information.
2709         * INSTALL (Trouble-shooting): Add note about need to specify extra
2710         compiler flags with recent Cygwin ports of gcc.
2712 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2714         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2715         is not supported by Windows 9X's COMMAND.COM.
2717 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2719         * configure.bat: Make sure redirection is preceded by a blank, to
2720         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2721         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2723 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2725         * INSTALL: Copy the table of tested combinations of development
2726         tools from configure.bat.  Add suggestion to install Bash on
2727         Windows 9X.
2729         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2730         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2731         needs to be deleted, since command.com in Windows 9X doesn't grok
2732         more than one argument.
2734 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2736         * makefile.w32-in (cleanall-other-dirs-nmake)
2737         (cleanall-other-dirs-gmake): New targets.
2738         (cleanall): Invoke them.
2740 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2742         * addpm.c (env_vars): Add a version-independent site-lisp
2743         directory to EMACSLOADPATH, after the version dependent one.
2745 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2747         * README: Update info about compilers.
2749         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2750         select correct rule for invoking make in another directory.
2751         Amend rules accordingly.
2752         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2754         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2755         (COMPILER_TEMP_FILES): New definition.
2756         (MAKETYPE): New definition.
2758         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2759         (COMPILER_TEMP_FILES): New definition.
2760         (MAKETYPE): New definition.
2762         * makefile.def (EMACS_ICON_PATH): Delete definition.
2764         * configure.bat: Be careful not to add trailing spaces when
2765         outputting to config.settings.
2767 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2769         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2770         than the function.
2772 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2774         * makefile.w32-in (install): Copy directories to the correct
2775         places.
2776         (real_install): Remove obsolete target.
2778 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2780         * nmake.defs (CURDIR): New define.
2781         (INSTALL_DIR): Use it.
2783         * gmake.defs (NEW_CYGWIN): New define.
2784         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2785         so we need to adjust how we escape embedded quotes.
2786         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2787         relative to $(CURDIR).
2789 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2791         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2793 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2795         * makefile.w32-in (recompile): New target to recompile lisp
2796         directory.
2797         (recompile-CMD, recompile-SH): New support targets.
2799 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2801         * config.nt (NO_RETURN): Define it.
2803 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2805         * gmake.defs: Revert to Unix line endings.
2807         * nmake.defs: Revert to Unix line endings.
2809 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2811         * gmake.defs (SETLOADPATH): Change definition to work from any
2812         subdirectory.
2814 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2816         * makefile.w32-in: Revert to Unix line endings.
2818 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2820         * INSTALL: Add note about expected error messages when configure
2821         is run.
2823         * configure.bat: Simplify the generation of makefiles (don't need
2824         to generate various top-level targets that invoke make in other
2825         directories).
2827         * gmake.defs (SHELLTYPE): New define.
2828         (SETLOADPATH): New define.
2830         * nmake.defs (SHELLTYPE): New define.
2832         * makefile.w32-in: Standardize indentation somewhat.
2833         Add bootstrap support.
2834         Pass $(MFLAGS) when invoking make recursively.
2835         Add shell-specific variants of top-level targets that invoke make
2836         recursively in other directories, and add necessary computed
2837         dependencies.
2839 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2841         * makefile.w32-in: Change to DOS line endings.
2843         * configure.bat: Change to DOS line endings.
2845         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2846         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2848         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2849         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2851         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2852         -D_ANONYMOUS_STRUCT on compile line.
2853         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2854         (ARCH_CFLAGS): Change optimization flags to -O2.
2855         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2856         (ARGQUOTE, DQUOTE): New defines.
2858         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2859         -D_ANONYMOUS_STRUCT on compile line.
2860         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2861         (ARGQUOTE, DQUOTE): New defines.
2863 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2865         * configure.bat: New file.
2867         * gmake.defs: New file.
2869         * nmake.defs: New file.
2871         * makefile.w32-in: New file.
2873         * INSTALL: Rewrite to match new configure process.
2875         * config.nt [WINDOWSNT]: Don't declare getenv.
2876         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2878         * addpm.c (main): Accept /q to mean install based on addpm's
2879         location without asking.  Remove reference to emacs.bat which is
2880         now obsolete.
2882         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2884         * paths.h: Use forward slash as directory separator in all path
2885         definitions.
2886         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2888         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2890         * runemacs.c: Remove WIN32 define.
2892         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2893         not defined.
2895         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2896         (fd_set): Define to new name, after including winsock.h, so we can
2897         provide our own implementation.
2899 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2901         * ebuild.bat: Add support for specifying make arguments.
2903         * makefile.nt: Add support for `bootstrap' and related targets.
2905 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2907         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2909 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2911         * inc/sys/time.h: Add inclusion protection.
2913         * makefile.def (SYS_LDFLAGS): Add -nologo.
2915 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2917         * install.bat: Pass on command line arguments to make.
2919         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2921 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2923         * makefile.nt (all): Build leim if present.
2924         (install): Install leim if present.
2925         (clean): Clean leim if present.
2927         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2928         definition.
2930         * emacs.bat.in (EMACSLOADPATH): Include leim.
2932 1999-07-12  Richard Stallman  <rms@gnu.org>
2934         * Version 20.4 released.
2936 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2938         * emacs.rc: Use an icon with a transparent background, to be in
2939         keeping with other applications.
2941 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2943         * preprep.c: Fix typo.
2945 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2947         * config.h: Remove obsolete file.
2949         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2950         couple of unused switch cases that aren't defined on all
2951         platforms.
2953         * ftime.bat: Add another variation of the profile command, which
2954         only profiles extended commands.
2956 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2958         * cmdproxy.c (main): Fix parens.
2960 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2962         * cmdproxy.c (main): Call GetShortPathName to normalize program
2963         names for comparison.
2965 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2967         * makefile.def: Compile multiple .c files when possible.
2968         Use BLD instead of assuming i386.
2969         * makefile.nt: Remove common multiple file compilation commands.
2971 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2973         * cmdproxy.c (main): Add missing parens.
2975 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2977         * preprep.c: New program to allow dumped image to be profiled.
2979         * makefile.nt (preprep): New target.
2980         (ALL): Build it.
2982         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2984         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2985         Change prep options to profile libc functions and skip the startup
2986         code.
2988 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2990         * makefile.nt: Create installation directory as first step.
2992 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2994         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2995         ROUND_UP_DST.  Zeroes the alignment slop.
2996         (copy_executable_and_add_section): Update the
2997         SizeOfHeaders field properly.
2999 1999-01-27  Andrew Innes  <andrewi@gnu.org>
3001         * makefile.nt: Do make version comparison as strings.
3003 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
3005         * runemacs.c (WinMain): Pass explicit environment block to
3006         CreateProcess, to work around a bug in Windows 95/98.
3008 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
3010         * icons: New directory with Davenport's icons.
3011         * icons/sink.ico: Renamed from emacs.ico.
3013         * makefile.nt (install, fast_install): Install Windows icons
3014         into etc/icons.
3016         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
3018 1999-01-17  Andrew Innes  <andrewi@gnu.org>
3020         * makefile.nt (ALL): List top-level targets.
3021         (addsection): New top-level target.
3022         (install): Copy fns-*.el to bin directory.
3024         * addsection.c: New program to add static heap section to
3025         temacs.exe after linking, in support of new unexec method.
3027 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
3029         * cmdproxy.c (spawn): Pass directory for child as parameter.
3030         (main): Save startup directory to give to spawn, then change
3031         directory to location of .exe in order not to prevent startup
3032         directory from being deleted.
3034 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
3036         * makefile.nt: Do string comparison of _NMAKE_VER.
3038 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
3040         * config.nt (LOCALTIME_CACHE): Define.
3042 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
3044         * install.bat: Convert to DOS format.
3046 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
3048         * cmdproxy.c (main): Set environment size only when running
3049         command.com.
3051 1998-11-03  Theodore Jump  <tjump@tertius.com>
3053         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
3054         (DEL_TREE): Use rd instead of rmdir.
3055         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
3056         * makefile.nt: Compile multiple source files when possible.
3058 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
3060         * cmdproxy.c (main): Treat command line options as case-insensitive.
3062 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
3064         * Version 20.3 released.
3066 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
3068         * addpm.c (main): Explicitly check result of message box for OK.
3070 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
3072         * inc/sys/file.h (D_OK): Define new macro.
3074 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
3076         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
3078 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
3080         * emacs.rc (VS_VERSION_INFO): Define.
3082 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
3084         * makefile.nt (emacs.bat, debug.bat): Create them in the
3085         installation directory.
3087 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
3089         * ddeclient.c: New file.  (Support program for performing limited
3090         interprocess communication on Windows.)
3092         * makefile.nt: Build ddeclient.
3094         * cmdproxy.c (main): Only set environment size for real shell, and
3095         provide extra directory argument, when running on Windows 95.
3097 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
3099         * cmdproxy.c (fail): Exit with a negative return value.
3100         (spawn): Return subprocess return code as an argument.
3101         Explicitly copy environment block.
3102         (main): Update to use return value argument with spawn.
3103         Retry if spawn failed when a subshell was not tried.
3105         * config.nt: Include new macros from src/config.in.
3106         (GNU_MALLOC, REL_ALLOC): Define.
3107         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
3108         (RE_TRANSLATE): Use char_table_translate.
3110         * makefile.def (CP_DIR): Preserve attributes.
3112         * makefile.nt (clean): Delete patch generated files, optimized
3113         build directory.
3115 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
3117         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
3119 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3121         * Version 20.2 released.
3123 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3125         * Version 20.1 released.
3127 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
3129         * debug.bat.in: New file.
3130         * makefile.nt (debug.bat): New target.
3132 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
3134         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
3135         Quote group name.  Allow different icons to be specified.
3137         * cmdproxy.c (get_env_size): New function.
3138         (spawn): Explicitly pass in environment when creating subprocess.
3139         (main): Cleanup error messages.
3140         Specify dynamically sized environment block for real shell.
3141         Pass on unhandled switches to real shell.
3142         Quote program name.
3144         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
3145         directory.
3146         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
3148         * runemacs.c (WinMain): Allow Emacs process to be started with
3149         high or low priority.
3151         * emacs.bat.in: Remove OS dependent operations.
3153 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
3155         * addpm.c (env_vars): No longer set INFOPATH.
3157         * cmdproxy.c (get_next_token): Null terminate token returned.
3159         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
3161 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
3163         * addpm.c (env_vars): Set SHELL to cmdproxy.
3164         (main): Initialize idDde to 0.
3165         Determine emacs_path from module file name.
3166         Prompt for install.
3168         * makefile.def (MSVCNT11): Conditionally define it.
3169         (BASE_LIBS): Do not use oldnames.lib.
3170         (SYS_LDFLAGS): Use pdb files.
3171         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
3172         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
3173         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
3175         * makefile.nt (ALL): Build cmdproxy.
3176         (cmdproxy): New target.
3177         (install): Install cmdproxy.
3179         * ftime.bat, debug.bat, cmdproxy.c: New files.
3181 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
3183         * inc/sys/socket.h (shutdown): Define.
3184         (sys_shutdown): Export.
3186 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3188         * config.nt (RE_TRANSLATE): Copy definition from config.in.
3190 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
3192         * config.nt: Update file comments.
3193         Update undefs added/removed in src/config.in.
3195 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
3197         * makefile.def, emacs.bat.in: Use windows95 and windowsnt instead
3198         of win95 and winnt, respectively.
3200 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
3202         * makefile.nt (real_install): Create site-lisp in installation dir.
3203         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
3204         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
3206 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3208         * Version 19.33 released.
3210 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
3212         * runemacs.c (WinMain): Put a space between the binary and its args.
3214 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3216         * Version 19.32 released.
3218 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
3220         * makefile.nt (clean): Use OBJDIR macro.
3222 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
3224         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3225         Not defined by default.
3226         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3227         (WinMain): Convert backslashes to slashes in env var values.
3229         * addpm.c (env_vars): Use slashes, not backslashes.
3231 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3233         * Version 19.31 released.
3235 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
3237         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3238         undo settings afterwards.
3240 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
3242         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3243         environment variable.
3245 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3247         * install.bat: Allow for optimized build.
3248         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3249         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3251 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3253         * addpm.c (REG_ROOT): Don't use a trailing backslash.
3254         (env_vars): Rename field emacs_path to emacs_dir.
3255         (main): Add link to runemacs instead of emacs.
3257         * install.bat: Check if INSTALL_DIR is passed as an argument.
3259         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3261         * makefile.nt: Build and install runemacs.exe.
3263         * runemacs.c: New file.
3265         * config.w95: File removed.
3267         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3268         inc/sys/socket.h, inc/sys/time.h: New header files.
3270         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3272 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
3274         * makefile.def (DEL): Defined.
3275         (DEL_TREE) [win95]: Defined.
3276         (SYS_LDFLAGS): Set executable versions to 3.10.
3278         * makefile.nt: Change uses of del to $(DEL).
3280 1996-01-17  Erik Naggum  <erik@naggum.no>
3282         * All files: Update FSF's address in comment preamble.
3284 1996-01-03  George V. Reilly  <georger@microcrafts.com>
3286         * emacs.ico: Now the proverbial kitchen sink icon.
3288 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3290         * Version 19.30 released.
3292 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
3294         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3296         * makefile.nt (install, fast_install, real_install, clean):
3297         Don't use switches to del not supported by Windows 95.
3299 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
3301         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3302         (install, fast_install): Change same-dir test to create test file in
3303         installation tree and thereby support read-only shares.
3304         (clean): Remove .pdb files.
3306         * makefile.def (NTGUI): New macro.
3307         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3309         * config.nt, config.w95: Update to latest src/config.in.
3311         * addpm.c (env_vars): New variable.
3312         (add_registry): New procedure.
3313         (main): Use values of configuration environment variables from
3314         the registry if defined, the process environment otherwise.
3316 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3318         * Version 19.29 released.
3320         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3322 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
3324         * makefile.nt: Define .c to .obj suffix rule.
3325         (addpm.obj): Compile directly, use CFLAGS.
3326         (addpm.exe): Link from addpm.obj.
3328         * makefile.def (MSVCNT11): Defined.
3329         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3330         (CFLAGS_COMMON): Defined.
3331         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3333 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
3335         * emacs.bat.in: Renamed from emacs.bat.
3336         (emacs_dir): Rename from emacs_path.
3337         Definition removed.
3339         * addpm.c: New file.
3340         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3341         (all): Depend upon $(BLD) and $(ALL).
3342         (install): Depend upon emacs.bat.
3343         Create program item for Emacs.
3344         (clean): Delete obj.
3345         (emacs.bat): Defined.
3346         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3348 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
3350         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3351         Add carriage returns; necessary for batch files on Windows 95.
3353 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
3355         * config.w95: Created.
3356         * config.h: Changed to config.nt.
3358         * makefile.nt (SUBDIRS): Commented out.
3359         (all, install, clean): Expand for-loops.
3360         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3362         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3363         (ARCH): New definition.
3364         (CPU, CONFIG_H, OS_TYPE): Defined.
3365         (INCLUDE, LIB): Checked if valid.
3366         (ntwin32.mak): Included.
3367         (AR, CC, LINK): New definition.
3368         (ADVAPI32, libc, BASE_LIBS): Defined.
3369         (SYS_LDFLAGS): New definition.
3370         Update comments and preprocessor conditionals.
3372         * emacs.bat (SHELL): Conditionally defined.
3373         (HOME): Conditionally defined.
3374         (emacs_path, HOME): Update comments.
3375         Turn off all echo.
3377 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
3379         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc:
3380         * fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h:
3381         * inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h:
3382         * inc/sys/param.h: Removed carriage-returns.
3384 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
3386         * makefile.def (CVTRES): Defined.
3388         * emacs.ico, emacs.rc: New files by Kevin Gallo.
3390 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
3392         * src/config.h, src/paths.h: Moved to parent dir, src/ removed.
3394 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
3396         * makefile.def (INSTALL_DIR): Change to generic directory.
3398         * emacs.bat: Added arguments when emacs.exe invoked.
3400         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3402 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
3404         * makefile.def (CC): In configuration section.
3405         (COMPAT_LIB): Defined.
3407 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
3409         * src/paths.h: New file.
3411         * src/config.h: New file.
3413         * inc/pwd.h: New file.
3415         * inc/sys/dir.h: New file.
3417         * inc/sys/file.h: New file.
3419         * inc/sys/ioctl.h: New file.
3421         * inc/sys/param.h: New file.
3423         * todo: New file.
3425         * README: New file.
3427         * makefile.nt: New file.
3429         * makefile.def: New file.
3431         * install.cmd: New file.
3433         * INSTALL: New file.
3435         * fast-install.cmd: New file.
3437         * emacs.cmd: New file.
3439         * ebuild.cmd: New file.
3441         * _emacs: New file.
3443 ;; Local Variables:
3444 ;; coding: utf-8
3445 ;; add-log-time-zone-rule: t
3446 ;; End:
3448   Copyright (C) 1995-1999, 2001-2015 Free Software Foundation, Inc.
3450   This file is part of GNU Emacs.
3452   GNU Emacs is free software: you can redistribute it and/or modify
3453   it under the terms of the GNU General Public License as published by
3454   the Free Software Foundation, either version 3 of the License, or
3455   (at your option) any later version.
3457   GNU Emacs is distributed in the hope that it will be useful,
3458   but WITHOUT ANY WARRANTY; without even the implied warranty of
3459   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3460   GNU General Public License for more details.
3462   You should have received a copy of the GNU General Public License
3463   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.