Fix MS-Windows build broken by latest Makefile.in changes.
[emacs.git] / nt / ChangeLog
blob32e44a65948f9d4f2f40a4afc91c3a50e82d1b1e
1 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
3         * Makefile.in (CPPFLAGS): Define.
5 2014-06-15  Glenn Morris  <rgm@gnu.org>
7         * Makefile.in (bootstrap-clean): New.
9 2014-06-05  Dmitry Antipov  <dmantipov@yandex.ru>
11         * inc/ms-w32.h (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.
13 2014-05-29  Eli Zaretskii  <eliz@gnu.org>
15         * Makefile.in (DONT_INSTALL): Now empty.
16         (addsection${EXEEXT}): Remove target.
18         * addsection.c: File removed.
20 2014-05-27  Fabrice Popineau  <fabrice.popineau@gmail.com>
22         * inc/ms-w32.h: Switch to the system heap allocation scheme
23         instead of GNU malloc and ralloc.
25         * inc/sys/mman.h: New file.
27         * INSTALL: Update for the new build requirements.
29 2014-05-17  Paul Eggert  <eggert@cs.ucla.edu>
31         Assume C99 or later (Bug#17487).
32         * gnulib.mk: Remove stdarg and stdbool modules.
34 2014-05-16  Paul Eggert  <eggert@cs.ucla.edu>
36         Don't require pkg-config when building from repository.
37         * INSTALL: Remove no-longer-needed notes about pkg-config.
39 2014-05-05  Eli Zaretskii  <eliz@gnu.org>
41         * INSTALL: Update to the effect that pkg-config is now required
42         for building from the repository.
44 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
46         * cmdproxy.c (make_absolute): Don't copy more characters from PATH
47         than a single directory name can hold.  (Bug#17334)
49 2014-04-22  Eli Zaretskii  <eliz@gnu.org>
51         * inc/ms-w32.h (lseek): Define only if not already a macro.
52         Suggested by Fabrice Popineau <fabrice.popineau@gmail.com>.
54 2014-04-11  Ken Brown  <kbrown@cornell.edu>
56         * emacs.rc: Revert last change.
58 2014-04-07  Ken Brown  <kbrown@cornell.edu>
60         * emacs.rc: Don't use manifest on Cygwin.  (Bug#17176)
62 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
64         * Makefile.in (install): Create destination directory before copying
65         README.W32, and use ${datadir} to refer to the file (bug#16772).
67 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
69         * Makefile.in (datarootdir, datadir, INSTALL_DATA): Declare.
70         (install): Copy README.W32 to $(datadir)/emacs/$(version).
71         (uninstall): Remove README.W32.  (Bug#14757)
73 2014-02-08  Eli Zaretskii  <eliz@gnu.org>
75         * INSTALL: Update for Emacs 24.4.
77         * README: Update for Emacs 24.4.
79         * README.W32: Update and improve instructions.  (Bug#14762)
81 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
83         * README.W32: Say what GnuTLS and libxml2 does (bug#14762).
85 2014-01-18  Eli Zaretskii  <eliz@gnu.org>
87         * runemacs.c (ensure_unicows_dll): Don't tell in the message box
88         that "emacs -nw" can do without UNICOWS.DLL on Windows 9X.  See
89         w32.c:maybe_load_unicows_dll and its callers for the reason.
91 2014-01-11  Claudio Bley  <claudio.bley@googlemail.com>
93         * inc/sys/stat.h (_WSTAT_DEFINED): Define, to avoid compilation
94         failures when wchar.h is included.
96 2014-01-11  Fabrice Popineau  <fabrice.popineau@supelec.fr>
98         * inc/ms-w32.h (pthread_sigmask): Undefine if defined, for MinGW64.
100 2013-12-31  Fabrice Popineau  <fabrice.popineau@supelec.fr>
102         * inc/ms-w32.h (sys_kill): Fix prototype.
104 2013-12-30  Eli Zaretskii  <eliz@gnu.org>
106         * inc/ms-w32.h (umask) [emacs]: Redirect to sys_umask.  (Bug#16299)
108 2013-12-23  Eli Zaretskii  <eliz@gnu.org>
110         * README.W32:
111         * INSTALL: Update instructions for downloading and using image
112         libraries in general, and librsvg in particular.
114 2013-12-16  Eli Zaretskii  <eliz@gnu.org>
116         * emacs-x64.manifest:
117         * emacs-x86.manifest: Declare that we target Windows 8.1 as well
118         as earlier versions.  This is so GetVersion and GetVersionEx APIs
119         used for bug reporting and other purposes return accurate version
120         number on Windows 8.1.  See the discussion on MSDN
121         http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx
122         for more details.
124 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
126         * inc/ms-w32.h (MAX_UTF8_PATH): New macro.
127         (opendir, closedir, readdir, seekdir): Redirect to replacement
128         functions.
129         * inc/dirent.h: Make d_name[] be MAXNAMELEN*4 characters long.
131 2013-11-27  Glenn Morris  <rgm@gnu.org>
133         * README.W32:
134         * addpm.c (env_vars):
135         * epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
136         * paths.h (PATH_LOADSEARCH): No more leim directory.
138 2013-11-26  Glenn Morris  <rgm@gnu.org>
140         * epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.
142 2013-11-12  Dani Moncayo  <dmoncayo@gmail.com>
144         * msysconfig.sh: Remove.
145         * INSTALL: Update for this.
147 2013-11-09  Glenn Morris  <rgm@gnu.org>
149         * mingw-cfg.site: No need for this to be executable.
151 2013-10-24  Glenn Morris  <rgm@gnu.org>
153         * Makefile.in ($(DESTDIR)${archlibdir}):
154         Avoid non-portable "`\" nesting.
156         * Makefile.in (abs_top_srcdir): New, set by configure.
158 2013-10-23  Glenn Morris  <rgm@gnu.org>
160         * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
161         Quote entities that might contain whitespace.
163 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
165         * inc/mingw_time.h: New file.
167         * inc/ms-w32.h: Include mingw_time.h instead of doing its job.
169 2013-10-12  Eli Zaretskii  <eliz@gnu.org>
171         * inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
172         the layout of 'struct dirent' be compatible with MinGW32 runtime
173         versions 4.0 and later.
175         * inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
176         (__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
177         defined, but not for MinGW64.
178         (_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
179         use of 32-bit time_t type.
181 2013-10-07  Paul Eggert  <eggert@cs.ucla.edu>
183         Improve support for popcount and counting trailing zeros (Bug#15550).
184         * gnulib.mk: Merge changes from ../lib/gnulib.mk.
186 2013-10-04  Paul Eggert  <eggert@cs.ucla.edu>
188         * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
190 2013-09-20  Eli Zaretskii  <eliz@gnu.org>
192         * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
193         to avoid gnulib replacement of 'struct timeval' and the resulting
194         compilation of lib/gettimeofday.c with incompatible version of
195         gettimeofday.  Related discussions on emacs-devel:
196         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
197         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html
199 2013-08-31  Glenn Morris  <rgm@gnu.org>
201         * INSTALL: Rename from INSTALL.MSYS.
202         * INSTALL.OLD: Rename from INSTALL.
203         * configure.bat: Update for INSTALL name changes.
205 2013-08-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
207         * configure.bat: Rather than disabling, make configure.bat produce
208         some warning that building with configure.bat is deprecated and
209         ask for confirmation to continue.
211 2013-08-25  Glenn Morris  <rgm@gnu.org>
213         * INSTALL: Refer to INSTALL.MSYS.
214         * configure.bat: Disable it.
216 2013-08-04  Eli Zaretskii  <eliz@gnu.org>
218         * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
220         * inc/ms-w32.h (mkostemp): Declare prototype.
221         (mktemp): Don't redirect to sys_mktemp.
223         * config.nt (HAVE_MKOSTEMP): Define to 1.  (Bug#15015)
225 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
227         * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
228         (FD_CLOEXEC): New macros.
230 2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>
232         Make file descriptors close-on-exec when possible (Bug#14803).
233         * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
234         otherwise, gnulib-tool complains given close-on-exec changes.
235         * inc/ms-w32.h (pipe): Remove.
236         * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
237         (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
239 2013-06-25  Juanma Barranquero  <lekktu@gmail.com>
241         * configure.bat: Add warning to the help text about using the
242         MSYS/MinGW building procedure.
244 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
246         * INSTALL.MSYS: mingw-get is not a GUI program (yet).
247         msys-automake is not suitable for MinGW builds.  Mention the
248         --enable-locallisppath switch to msysconfig.sh.  Suggested by
249         Óscar Fuentes <ofv@wanadoo.es>.
251 2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)
253         * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
255 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
257         * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
259 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
261         * inc/sys/time.h (struct timeval): Remove the _W64 guards.
263 2013-06-01  Eli Zaretskii  <eliz@gnu.org>
265         * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
266         avoid multiple definition errors on MinGW64.
268 2013-05-31  Eli Zaretskii  <eliz@gnu.org>
270         * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
271         'restrict', which is a C99 extension.  See
272         http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
273         and the following discussion for the problem this caused in the
274         old nt/configure.bat build.
276 2013-05-29  Eli Zaretskii  <eliz@gnu.org>
278         * Makefile.in (emacs.res): Include srcdir when preprocessing
279         resources, for out-of-tree builds.
280         (mostlyclean): Remove *.res files.
282 2013-05-17  Eli Zaretskii  <eliz@gnu.org>
284         * runemacs.c (WinMain): Support invocation of un-installed
285         nt/runemacs.exe, by looking for src/emacs.exe.
287 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
289         * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.  (Bug#14409)
291         * msysconfig.sh: New file.
293         * mingw-cfg.site: New file.
295         * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
297         * inc/unistd.h: Include pwd.h and sys/types.h.
299         * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
300         (timerclear): Define.
301         (gettimeofday): Adjust signature to be Posix compatible, by using
302         the 'restrict' keyword.
304         * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
305         (struct _stat, struct _stati64): Define.
307         * inc/sys/socket.h (timeval): Define only for MSVC.
308         (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
309         EMACS_CONFIG_H is defined.
310         (timeval): Undefine only for MSVC.
312         * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
313         (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
314         (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
315         (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
316         (fileno): Move definition after including stdio.h.
317         (sigset_t): Guard typedef by _W64.
319         * gnulib.mk: New file.
321         * epaths.nt: New file.
323         * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
324         copy of the file names there.
325         <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
326         literal strings.
328         * Makefile.in: New file.
330         * INSTALL.MSYS: New file.
332         * INSTALL: Mention INSTALL.MSYS.
334 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
336         * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
338 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
340         * config.nt: Sync with autogen/config.in.
341         (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
342         (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
343         (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
344         (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
345         (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
346         (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
347         (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
348         (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
349         (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
350         (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
352 2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
354         Use Gnulib ACL implementation, for benefit of Solaris etc.  (Bug#14295)
355         * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
356         * inc/ms-w32.h (EOPNOTSUPP): New macro.
358 2013-04-09  Ken Brown  <kbrown@cornell.edu>
360         * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
361         (Bug#12993)
363 2013-04-01  Eli Zaretskii  <eliz@gnu.org>
365         * README: A better documentation of ddeclient.exe.
367         * README.W32: A better documentation of ddeclient.exe.
369         * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
370         subdirectories.
372 2013-03-30  Eli Zaretskii  <eliz@gnu.org>
374         * inc/ms-w32.h (TERM_HEADER): Remove definition.
376         * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
377         ms-w32.h.
379 2013-03-29  Eli Zaretskii  <eliz@gnu.org>
381         * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
383         * config.nt (HAVE_COPYSIGN): Define.
385 2013-03-29  Juanma Barranquero  <lekktu@gmail.com>
387         * config.nt: Sync with autogen/config.in.
388         (HAVE_XKBGETKEYBOARD): Remove.
389         (HAVE_XKB): New macro.
391 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
393         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
394         (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
395         Depend on .exe files.
397         * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
398         avoid MinGW64 compiler warnings in editfns.c.
400         Fix rules for parallel builds.
401         * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
402         without the .exe suffix.
403         (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
404         targets.
405         (.PHONY): Remove.
407         * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
408         headers, since that's where _W64 is declared by MinGW64.
410 2013-03-26  Eli Zaretskii  <eliz@gnu.org>
412         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
413         (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
415         * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
416         define for MinGW64.
418         * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
419         for MinGW64.
421         Fix more incompatibilities between MinGW.org and MinGW64 headers
422         reported by Óscar Fuentes in
423         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
424         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
425         and in
426         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
427         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
428         For MinGW64, include sys/types.h and time.h.
429         (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
431         * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
433         * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
434         _W64.
435         (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
436         _TIMEZONE_DEFINED.
438         * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
440         * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
441         lstat, and fstatat.
443 2013-03-25  Eli Zaretskii  <eliz@gnu.org>
445         Fix incompatibilities between MinGW.org and MinGW64 headers
446         reported by Óscar Fuentes in
447         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
448         * inc/ms-w32.h (struct timespec): Don't define if
449         _TIMESPEC_DEFINED is already defined.
450         (sigset_t) [!_POSIX]: Typedef for MinGW64.
451         (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
452         including the first system header, to avoid redefinition if some
453         system header defines a default value.
455         * inc/sys/time.h (struct itimerval): Don't define if
456         _TIMESPEC_DEFINED is already defined.
458 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
460         Fix the MSVC build.  (Bug#13939)
461         * inc/stdint.h (UINTPTR_MAX): Define.
463         * nmake.defs (libc): Fix syntax of !if conditional.
465 2013-03-15  Juanma Barranquero  <lekktu@gmail.com>
467         * config.nt: Sync with autogen/config.in.
468         (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
469         (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
470         (HAVE_FDATASYNC): New macros.
472 2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
474         File synchronization fixes (Bug#13944).
475         * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
477 2013-03-05  Paul Eggert  <eggert@cs.ucla.edu>
479         FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
480         * inc/unistd.h (O_NOFOLLOW): New macro.
482 2013-03-04  Juanma Barranquero  <lekktu@gmail.com>
484         * config.nt: Sync with autogen/config.in.
485         (DATA_START, ORDINARY_LINK): Remove.
486         (HAVE_DATA_START, HAVE__PUTENV): New macros.
488 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
490         * inc/ms-w32.h (BOOT_TIME_FILE): Define.
492         * config.nt (CLASH_DETECTION): Define to 1.
494 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
496         * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
497         (Bug#9066)
498         (chown, logb): Remove, unused.
500 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
502         * config.nt: Sync with autogen/config.in.
503         (GC_MARK_STACK): Remove.
504         (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
505         (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
506         (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
508 2013-02-12  Eli Zaretskii  <eliz@gnu.org>
510         * inc/ms-w32.h: Add prototype for memrchr.
512 2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
514         Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
515         * inc/sys/stat.h (fstatat):
516         * inc/unistd.h (readlinkat): New decls.
518 2013-01-28  Eli Zaretskii  <eliz@gnu.org>
520         * inc/dirent.h (opendir): Update prototype.
522 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
524         * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
525         used in term.c.  (Bug#13387)
527 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
529         * config.nt: Sync with autogen/config.in.
530         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
532 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
534         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
535         in lib/filemode.c that broke the MS-Windows build.
536         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
538 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
540         * config.nt: Sync with autogen/config.in.
541         (BSD4_2): Remove.
543 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
545         * inc/sys/acl.h: New file.
547         * inc/ms-w32.h (ENOTSUP): Define if undefined.
549         * config.nt (HAVE_POSIX_ACL): Define.
551 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
553         * inc/ms-w32.h (sys_unlink): Provide prototype.
555 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
557         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
559 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
561         * config.nt: Sync with autogen/config.in.
562         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
564 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
566         * config.nt: Sync with autogen/config.in.
567         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
568         (ULIMIT_BREAK_VALUE): Remove.
570 2012-12-10  Daniel Colascione  <dancol@dancol.org>
572         * emacs.rc: Use forward slashes in relative paths in order to
573         avoid complaints from Cygwin.  (Forward slashes work perfectly
574         well in the NT build.)
576 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
578         * inc/unistd.h (unsetenv): Provide a prototype.
580 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
582         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
583         (sys_putenv): Add prototype.
585         * config.nt (HAVE_UNSETENV): Define to 1.
587 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
589         * config.nt: Sync with autogen/config.in.
591 2012-11-24  Ken Brown  <kbrown@cornell.edu>
593         * config.nt (HAVE_MOUSE): Remove.
595 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
597         * config.nt: Sync with autogen/config.in.
598         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
599         Remove.
601 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
603         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
604         (Bug#12955)
606         * nmake.defs (SWITCHCHAR): Define to /.
608 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
610         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
611         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
612         (struct dirent): Rename from struct direct.  All uses changed.
613         * inc/sys/dir.h: Remove.
615 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
617         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
618         * config.nt (HAVE_GETCWD): Remove.
620 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
622         * nmake.defs: Use !if, not !ifdef.  For the details, see
623         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
625         * inc/stdint.h (INTPTR_MIN)
626         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
628 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
630         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
632 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
634         * config.nt: Sync with autogen/config.in.
635         (HAVE_FPATHCONF): Remove.
637 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
639         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
640         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
641         POSIX name for this flag is O_NONBLOCK.  All uses changed.
642         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
643         these really should be moved to a replacement <fcntl.h> if and
644         when that gets implemented.  In the meantime, include <fcntl.h>
645         to make sure we don't override its definitions.
647 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
649         * inc/sys/wait.h: New file, with prototype of waitpid and
650         definitions of macros it needs.
652         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
653         (sys_wait): Remove prototype.
655         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
657 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
659         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
660         to check if it's installed, redirect standard output and standard
661         error to the null device.
662         (ZIP_DIST): Don't build the "barebin" distribution.
664 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
666         * config.nt: Sync with autogen/config.in.
667         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
668         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
669         New macros.
671 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
673         * inc/unistd.h (faccessat): Add prototype.
674         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
675         2 moved from ms-w32.h.
677         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
679 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
681         Use faccessat, not access, when checking file permissions (Bug#12632).
682         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
683         (access): Remove.
684         (faccessat): New macro.
686 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
688         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
690 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
692         * config.nt: Sync with autogen/config.in.
693         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
694         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
696 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
698         * config.nt: Sync with autogen/config.in.
699         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
701 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
703         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
705 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
707         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
709         * config.nt (GETPGRP_VOID): Define to 1.
711 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
713         * config.nt: Sync with autogen/config.in.
715 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
717         * inc/pwd.h (getuid, geteuid): Add prototypes.
719         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
720         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
721         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
722         (sys_kill, getpagesize): Add prototypes for emulated functions.
724         * inc/grp.h (getgid, getegid): Add prototypes.
726         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
728         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
729         compiling with -std=gnu99.
731         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
732         could be used via --cflags switch to configure.bat.
734 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
736         * config.nt: Sync with autogen/config.in.
737         (HAVE_NTGUI): New macro.
739 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
741         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
742         compiler warnings when using the value.
744 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
746         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
747         'void *', for pointer arithmetics.
748         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
749         macro arguments in parentheses.
751 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
753         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
755 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
757         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
758         that are already defined.
760         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
761         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
762         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
764         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
765         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
766         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
767         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
768         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
769         Use DWORD_PTR instead of DWORD for compatibility with x64.
771         * nmake.defs: Support AMD64.
772         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
774         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
775         New macros.
777         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
778         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
779         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
780         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
781         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
782         DWORD, for compatibility with x64.
784         * emacs-x64.manifest: New file.
786         * emacs-x86.manifest: Renamed from emacs.manifest.
788 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
790         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
791         (struct itimerval): Define.
792         (getitimer, setitimer): Add prototypes.
794         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
795         with MinGW.
796         (SA_RESTART, SIGPROF): Define.
798         * config.nt (HAVE_SETITIMER): Define to 1.
800 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
802         * config.nt: Sync with autogen/config.in.
804 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
806         * config.nt: Sync with autogen/config.in.
807         (HAVE_TIMER_SETTIME): New macro.
809 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
811         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
813 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
815         Simplify and avoid signal-handling races (Bug#12471).
816         * inc/ms-w32.h (emacs_raise): New macro.
818 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
820         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
821         defined, as needed by giflib-5.0.0.  (Bug#12464)
823 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
825         * config.nt: Sync with autogen/config.in.
826         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
828 2012-09-17  Glenn Morris  <rgm@gnu.org>
830         * config.nt (COPYRIGHT): New.
832 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
834         Port _setjmp fix to POSIXish hosts as well as Microsoft.
835         * config.nt: Attempt to sync with autogen/config.in.
836         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
837         (_longjmp, _setjmp): Remove.
839 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
841         * config.nt: Sync with autogen/config.in.
842         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
843         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
844         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
846 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
848         * config.nt: Sync with autogen/config.in.
849         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
850         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
852 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
854         * configure.bat <use_extensions>: Don't leave it set in the
855         environment when the script exits.
857 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
859         * config.nt: Sync with autogen/config.in.
860         (NO_ABORT, SIGNAL_H_AHB): Remove.
862 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
864         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
866 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
868         * config.nt: Sync with autogen/config.in.
870 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
872         Simplify redefinition of 'abort' (Bug#12316).
873         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
875 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
877         * config.nt: Sync with autogen/config.in.
878         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
880 2012-09-01  Daniel Colascione  <dancol@dancol.org>
882         * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
884 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
886         * config.nt: Sync with autogen/config.in.
888 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
890         * config.nt: Sync with autogen/config.in.
891         (HAVE_POSIX_OPENPT): New macro.
893 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
895         * config.nt: Sync with autogen/config.in.
896         (_GL_INLINE_HEADER_BEGIN): Update.
898 2012-08-10  Glenn Morris  <rgm@gnu.org>
900         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
902 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
904         * config.nt: Sync with autogen/config.in.
905         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
906         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
908         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
910 2012-08-06  Glenn Morris  <rgm@gnu.org>
912         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
913         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
915 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
917         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
918         (PATH_DATA, PATH_DOC): Replace dummy directory names with
919         directories relative to %emacs_dir%.
920         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
921         to the use case of running un-installed Emacs.
923 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
925         * config.nt: Sync with autogen/config.in.
926         (DOS_NT, MSDOS): New macros.
927         (WRETCODE, wait3): Remove.
929         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
931 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
933         * inc/sys/stat.h (S_IFLNK): Define.
934         (S_ISLNK): A non-trivial definition.
935         (lstat): Prototype instead of a macro that redirects to 'stat'.
937 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
939         Use C99-style 'extern inline' if available.
940         * config.nt: Sync with autogen/config.in.
941         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
942         (_GL_INLINE_HEADER_END): New macros.
944 2012-08-02  Glenn Morris  <rgm@gnu.org>
946         * inc/ms-w32.h: Move here from ../src/s.
947         * config.nt (config_opsysfile): Change to <ms-w32.h>.
949 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
951         * config.nt: Sync with autogen/config.in.
952         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
953         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
954         New macros.
956 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
958         * config.nt: Sync with autogen/config.in.
959         Remove code moved to conf_post.h and include <conf_post.h>
960         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
961         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
963 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
965         * config.nt: Sync with autogen/config.in.
966         (HAVE_ENVIRON_DECL): New macro.
968 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
970         * inc/stdalign.h (_Alignas, alignas): Define.
972 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
974         Use Gnulib stdalign module (Bug#9772, Bug#9960).
975         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
977 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
979         * config.nt: Sync with autogen/config.in.
980         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
981         (SETUP_SLAVE_PTY): New macros.
983 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
985         * config.nt: Sync with autogen/config.in.
986         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
987         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
988         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
989         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
990         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
991         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
992         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
993         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
994         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
995         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
996         Set in src/s/ms-w32.h, not here.
998 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
1000         * config.nt: Sync with autogen/config.in.
1001         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
1002         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
1003         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
1005 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
1007         * config.nt: Sync with autogen/config.in.
1009 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
1011         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
1013 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
1015         * config.nt: Sync with autogen/config.in.
1017 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
1019         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
1021 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
1022             Eli Zaretskii  <eliz@gnu.org>
1024         * config.nt: Complete rework to bring it in sync with autogen/config.in.
1025         All Windows-specific code moved to src/s/ms-w32.h.
1027 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
1028             Eli Zaretskii  <eliz@gnu.org>
1030         * configure.bat (enablechecking): Enable checks through src/config.h,
1031         not the compiler's command line.
1033         * nmake.defs (CHECKING_CFLAGS): Remove.
1034         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1036         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
1037         (CHECKING_CFLAGS): Remove.
1038         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1040 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
1042         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
1043         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
1044         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
1045         (HAVE_MEMCMP): Remove, obsolete.
1047 2012-06-30  Glenn Morris  <rgm@gnu.org>
1049         * paths.h (PATH_SITELOADSEARCH): New.
1051 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
1053         * nmake.defs (CHECKING_CFLAGS):
1054         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
1056 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
1058         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
1060 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
1062         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
1063         * config.nt (_Noreturn): New macro.
1064         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
1065         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
1067 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
1069         * inc/sys/time.h (struct timespec): Don't define it here, it is
1070         now defined in src/s/ms-w32.h.
1072 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
1074         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
1075         * inc/sys/time.h (struct timespec): Define.
1077 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
1079         * makefile.w32-in (install-addpm): New target.
1080         (dist): Depend on it.
1081         (install-shortcuts): Depend on install-addpm instead of copying
1082         addpm.exe as part of the recipe.  See
1083         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
1084         for the related problem and discussions.
1086 2012-06-11  Glenn Morris  <rgm@gnu.org>
1088         * config.nt (SYSTEM_TYPE): Define it.
1090 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1092         * configure.bat (genmakefiles): Move the redirection away from the
1093         end of the command, to avoid excess whitespace at the end of Make
1094         variables created at configure time, and also avoid things like
1095         "FOO1>>config.settings", where "1" gets interpreted as the file
1096         descriptor and eaten up.  This fixes breakage introduced by the
1097         last change, without reintroducing the bug fixed by that change.
1099 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1101         * nmake.defs (MWINDOWS): Define as
1102         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
1103         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
1105         * gmake.defs (MWINDOWS): Define as "-mwindows".
1107 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
1109         * config.nt (HAVE_SYSINFO): Remove; unused.
1111 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1113         * inc/stdalign.h: New file.
1115         * configure.bat: Ensure a space between %var% expansion and
1116         redirection symbol '>', which breaks when %var% ends in a digit,
1117         such as 1.
1119 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1121         Remove src/m/*.
1122         * config.nt: Do not include "m/intel386.h"; file was removed.
1123         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
1124         Move to src/lisp.h.
1125         (EMACS_INT_MAX): New macro.
1127 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1129         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
1130         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
1132         * config.nt (HAVE_FTIME): Remove undef; not needed.
1134 2012-05-01  Glenn Morris  <rgm@gnu.org>
1136         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
1138 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1140         * makefile.w32-in: Fix typo (Bug#10261).
1142 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
1144         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
1145         each runs makeinfo in its own subdirectory of 'doc'.
1146         (info-gmake): Depend on these new targets.
1148 2012-04-07  Glenn Morris  <rgm@gnu.org>
1150         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
1151         Bump version to 24.1.50.
1153 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1155         * configure.bat: Support building with libxml2.
1157         * INSTALL:
1158         * README.W32: Add information about libxml2.
1160 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1162         * makefile.w32-in: Convert to Unix EOL format.
1163         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
1164         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
1165         (bootstrap-gmake): Invoke the "clean" and build targets in 2
1166         separate commands, so they run in that order even under "make -j".
1168 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
1170         * config.nt: Discourage from defining HAVE_GETCWD.
1172 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1174         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
1175         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
1176         on other (parallel) Make job's toes.
1177         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
1178         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
1179         here.
1180         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
1181         Depend on create-tmp-dist-dir.
1183         * nmake.defs (DIRNAME): New variable.
1184         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1185         same-dir.tst.
1187         * gmake.defs (DIRNAME): New variable.
1188         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1189         same-dir.tst, to avoid conflicts between several (parallel) Make
1190         jobs.
1192 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
1194         Prevent endless re-spawning of cmdproxy.exe when some of its
1195         parent directories have access limitations.
1197         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
1198         and our own module name to short 8+3 aliases, if the original file
1199         names compare equal.  If GetShortPathName fails, compare the base
1200         names of the two file names, and only re-spawn the command line if
1201         the base-name comparison also fails.  (Bug#10674)
1203 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1205         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
1207 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
1209         * README.W32: Removed specific version information for libXpm
1210         included in the binary distribution for maintenance purposes.
1212 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
1214         * README.W32: Clarification for inclusion in source tarball (bug#9750).
1216         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1218         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1220         * makefile.w32-in (maybe-copy-distfiles)
1221         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1222         (create-tmp-dist-dir): Add to make --distfiles optional.
1223         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1225 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
1227         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1228         by other headers.
1230 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1232         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1233         (UINT64_MAX) [_WIN64]: Fix definition.
1234         (uintmax_t, intmax_t): Fix definitions.
1236         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1237         Provide correct definitions.
1239         * config.nt (HAVE_DECL_STRTOLL): Define.
1240         (va_copy) [_WIN64]: Provide a better definition.
1242 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
1244         * configure.bat: Fix typos.
1246 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
1248         * INSTALL: Elaborate on debugging fatal errors.
1250 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
1252         * README.W32: Update the GTK Windows download URL for libpng.
1254 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
1256         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1258 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
1260         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1261         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1262         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1263         (intmax_t, INT64_MAX): Add for MSVC.
1265         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1267 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
1269         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1271         Support MSVC build with newer versions of Visual Studio.
1272         * makefile.w32-in (clean-other-dirs-nmake)
1273         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1274         Update for current structure of doc/ subdirectories.
1276         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1278         * INSTALL: Update for newer versions of MSVC.
1280 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1282         Support MSVC build with newer versions of Visual Studio.
1283         * nmake.defs (USE_CRT_DLL): Define to 1.
1284         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1285         (D): New variable.
1287 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
1289         * runemacs.c (ensure_unicows_dll): New function, tries to load
1290         UNICOWS.DLL on Windows 9X.
1291         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1292         display a dialog to the effect that Emacs cannot be started.
1293         (Bug#8562)
1295 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
1297         * README.W32: Mention UNICOWS.DLL as prerequisite for running
1298         Emacs on Windows 9X.
1300 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
1302         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1303         distribution.  (Bug#9861)
1305 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
1307         * INSTALL: Update URL for GTK download page.
1309 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
1311         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1312         (Bug#9794) (Bug#641)
1314 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1316         * config.nt (HAVE_SNPRINTF): New macro.
1318 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1320         Assume freestanding C89 headers, string.h, stdlib.h.
1321         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1322         (STDC_HEADERS): Remove.
1323         Iinclude string.h, stdlib.h unconditionally.
1325 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
1327         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1328         [!__GNUC__]: New macros.
1330 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1332         Use 'inline', not 'INLINE'.
1333         * config.nt (INLINE): Remove.
1335 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
1337         * README.W32: Add information about GnuTLS libraries.
1339 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
1341         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1343 2011-05-07  Ben Key  <bkey76@gmail.com>
1345         * configure.bat: Renamed the fusercflags variable to escusercflags
1346         so that the variable name better matches its purpose, to be
1347         identical to usercflags with the exception that all quotes are
1348         escaped by the \ character.
1350         Renamed the fuserldflags variable to escuserldflags so that the
1351         variable name better matches its purpose, to be identical to
1352         userldflags with the exception that all quotes are escaped by
1353         the \ character.
1355         A new ESC_USER_CFLAGS variable is written to config.settings.
1356         This variable has the same value as the escusercflags variable.
1358         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1359         This variable is identical to the CFLAGS variable except that it
1360         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1362         These changes, along with some changes to src/makefile.w32-in,
1363         are required to extend my earlier fix to add support for
1364         --cflags and --ldflags options that include quotes so that it
1365         works whether make uses cmd or sh as the shell.
1367 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
1369         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
1370         definition of uintmax_t from here...
1371         * inc/stdint.h (uintmax_t): ...to here.
1372         (intptr_t) [!__GNUC__]: New typedef.
1374 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
1376         * config.nt: Prepare to configure 64-bit integers for older compilers.
1377         However, temporarily disable this change unless the temporary
1378         symbol WIDE_EMACS_INT is defined.
1379         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1380         "%I64d" work but long long and "%lld" do not.
1382 2011-05-05  Ben Key  <bkey76@gmail.com>
1384         * configure.bat: Added support for --cflags and --ldflags
1385         options that include quotes as long as command extensions are
1386         enabled.  Specifically when -I, -L, and similar flags are used
1387         to specify supplementary include and library directories a
1388         directory name that includes spaces may now be used if it is
1389         enclosed in quotes.
1391         * INSTALL: Documented the change to configure.bat.
1393 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1395         * INSTALL: Clarify GnuTLS support.
1397 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
1399         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1400         Define to 1 for MinGW of MSVC versions >= 1400.
1402 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
1404         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1406 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
1408         * inc/inttypes.h: New file.
1410         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1411         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1413 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1415         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1416         inside quotation marks and bail out.
1418 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1420         * cmdproxy.c (try_dequote_cmdline): New function.
1421         (main): Use it.
1423 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1425         * configure.bat: New options --without-gnutls and --lib, new build
1426         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
1427         library setup with trivial modifications.
1428         * INSTALL: Add instructions for GnuTLS support.
1429         * gmake.defs: Prefix USER_LIBS with -l.
1431 2011-04-15  Ben Key  <bkey76@gmail.com>
1433         * configure.bat: Modified the code that parses the --cflags and
1434         --ldflags options to support parameters that include the =
1435         character as long as they are enclosed in quotes.
1436         This functionality depends on command extensions.  Configure.bat now
1437         attempts to enable command extensions and displays a warning
1438         message if they could not be enabled.  If configure.bat could
1439         not enable command extensions the old parsing code is used that
1440         does not support parameters that include the = character.
1442         * INSTALL: Updated the file to describe the new functionality
1443         using text provided by Eli Zaretskii.
1445 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
1447         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1448         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1449         on the trunk on 2011-04-06.
1451 2011-03-27  Glenn Morris  <rgm@gnu.org>
1453         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1455 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
1457         * addpm.c (main): Remove unused variable `retval'.
1459         * preprep.c (main): Remove unused variable `ptr'.
1461 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
1463         * cmdproxy.c: Include <ctype.h>.
1464         (make_absolute): Remove unused variable `i'.
1466 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
1468         * Version 23.3 released.
1470 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
1472         * inc/unistd.h (readlink, symlink): Declare prototypes.
1474 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
1476         * config.nt (nlink_t): Define.
1478 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
1480         * inc/stdint.h: New file, to support compilation with tool chains
1481         that do not have stdint.h (e.g. MSVC).
1483 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
1485         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1486         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1487         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1488         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1489         (lstat): Define to stat.
1491 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
1493         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1494         "make-docfile" target in lib-src, before bootstrapping the src
1495         directory.  Needed since building in src needs to run make-docfile
1496         to produce globals.h.
1498 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1500         * config.nt (inline) [__GNUC__]: Define (for gnulib).
1502 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1504         * config.nt (VERSION): Uncomment definition.
1505         (restrict): Define.
1507         * inc/stdbool.h: New file.
1509 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1511         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1512         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1513         (bootstrap-clean-gmake, clean-other-dirs-nmake)
1514         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1515         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1516         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1517         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1518         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1520         * configure.bat: Create lib/makefile.
1522         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1523         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1524         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1525         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1527 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1529         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1531 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1533         * configure.bat (end): Unset environment variables used by this
1534         batch file.
1536         * INSTALL: Update the information about PNG support libraries.
1537         (Bug#7716)
1539         * README.W32: Update the information about PNG support libraries.
1541 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1543         * config.nt (EXTERNALLY_VISIBLE): Define.
1545 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1547         * INSTALL: Refer to `dynamic-library-alist'.
1549 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1551         * INSTALL: Add note about problematic characters passed to configure.
1553 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1555         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1556         emacs-src.tags: New file.
1558         * gmake.defs: Add a comment with a single quote to fix
1559         fontification.  (Bug#7102)
1561 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1563         * configure.bat: Fix the condition for copying paths.h into
1564         ../src/epaths.h.
1566 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1568         * addpm.c (entry, add_registry, main):
1569         * addsection.c (file_data, open_input_file, open_output_file)
1570         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1571         (COPY_CHUNK):
1572         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1573         (skip_nonspace, get_next_token, search_dir, make_absolute)
1574         (spawn, main):
1575         * preprep.c (file_data, open_input_file, open_output_file)
1576         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1577         Use const char*.
1579         * cmdproxy.c (stdin): Don't define, not used.
1580         (main): Don't assign remlen after last use.
1582 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1584         * configure.bat: Err out when the argument of --cflags contains
1585         invalid characters (check implemented only for GCC).  (Bug#6820)
1587 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1589         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1591 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1593         * addpm.c (add_registry): Set path for runemacs.exe to use.
1595 2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
1597         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1598         which has a 1024 char limit on Windows (bug#6647).
1600 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1602         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1603         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1605 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1607         * config.nt: Remove code referring to NO_REMAP, unused.
1609 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1611         Build binary distros on Windows using emacs-VERSION as root dir name.
1613         * makefile.w32-in: Copy README.W32 to installation directory
1614         during `make install'.  Remove README.W32 with `distclean' (in
1615         case Emacs was installed in place).  Use temporary directory to
1616         create distribution zip files in `dist' target.
1617         * zipdist.bat: Simplify code using temporary directory.
1619 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1621         * runemacs.c (set_user_model_id): Fix prototype.
1623 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1625         New make target for Windows platform: make dist (bug#6602)
1627         * INSTALL: Document new dist target and add section about
1628         creating binary distributions.
1629         * README.W32: Relocate from admin/nt/ directory.
1630         * configure.bat: New parameter `--distfiles'.
1631         * makefile.w32-in: Add version number, new target `dist'.
1632         Add new target `install-shortcuts'.
1633         * zipdist.bat: New file; create zipped binary distribution,
1634         replaces admin/nt/makedist.bat.
1636 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1638         * INSTALL: Add note about backslashes in Windows paths.
1639         Fix typos.  Simplify references to Windows versions.
1641 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1643         * addpm.c (add_registry, main):
1644         * cmdproxy.c (get_env_size):
1645         * ddeclient.c (main):
1646         * runemacs.c (set_user_model_id):
1647         Convert definitions to standard C.
1649 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1651         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1653 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1655         * configure.bat: New option --enable-checking.
1656         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1657         (CFLAGS): Include it.
1659 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1661         * config.nt (volatile): Remove definition.
1663 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1665         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1666         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1668 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1670         * config.nt (__P): Remove.
1672 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1674         * config.nt: Remove code depending on BSTRING.
1676 2010-06-03  Glenn Morris  <rgm@gnu.org>
1678         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1680 2010-05-13  Glenn Morris  <rgm@gnu.org>
1682         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1684 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1686         * Version 23.2 released.
1688 2010-05-04  Glenn Morris  <rgm@gnu.org>
1690         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1692 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1694         * emacs.manifest: Add trustInfo section to Windows manifest.
1696 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1698         * Branch for 23.2.
1700 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1702         * emacsclient.rc: Fix format of "LegalCopyright" value.
1704 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1706         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1708 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1710         * INSTALL: Update for CVS->Bazaar switchover.
1712 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1714         * configure.bat: Add #define PROFILING to config.h.
1716 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1718         * runemacs.c (set_user_model_id): Use standard types.
1720 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1722         * runemacs.c (set_user_model_id): New function.
1723         (WinMain): Use it.
1725 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1727         * Branch for 23.1.
1729 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1731         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1732         st_gid to unsigned.
1734         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1735         to unsigned.
1736         (getpwuid): Argument is now unsigned.
1737         uid_t is now unsigned.
1739 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1741         * INSTALL: Add comment about TCC; fix typos.
1743 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1745         * emacsclient.rc, emacs.rc: Swap name and description.
1746         Remove Windows versions.
1748 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1750         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1752         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1754         * addpm.c (main): Try using COM to create start menu shortcuts
1755         before resorting to DDE (Bug#202)
1756         Remove second command-line argument.
1758 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1760         * configure.bat: Untabify help message.
1762 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1764         * configure.bat: New option --with-svg.
1766         * INSTALL: Document experimental SVG support.
1768 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1770         * config.nt (PTR): Remove.
1772 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1774         * config.nt (LISTPROC, PROCATTR): Remove.
1776 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1778         * config.nt (LISTPROC, PROCATTR): New macros.
1780 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1782         * config.nt (MULTI_KBOARD): Remove.
1784 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1786         * configure.bat: New option --profile.
1787         * gmake.defs: Set cflags and ldflags for profiling when specified.
1789 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1791         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1793 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1795         * config.nt (HAVE_FACES): Remove, unused.
1797 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1798             Eli Zaretskii  <eliz@gnu.org>
1800         * nmake.defs (FONT_CFLAGS):
1801         * gmake.defs (FONT_CFLAGS): Remove.
1802         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1803         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1804         and _CRTAPI1.
1805         (ARCH_FLAGS): Don't include _X86_.
1807         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1809 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1811         * config.nt: Remove reference to UNEXEC_SRC.
1813 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1814             Eli Zaretskii  <eliz@gnu.org>
1816         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1817         Don't hardcode -gstabs+, use DEBUG_INFO.
1819         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1820         Default to stabs if the compiler does not support DWARF-2.
1821         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1823 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1825         * configure.bat: Remove code dealing with --disable-font-backend.
1827 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1829         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1830         better alignment.  Make st_size 64-bit wide.  Add new members
1831         st_uname and st_gname.
1833         * inc/grp.h (struct group): Add gr_gid member.
1835 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1837         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1838         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1839         a real file there is not a good idea.
1841 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1843         * makefile.w32-in (CLIENTRES): New variable and build target.
1844         (all): Depend on it.
1845         ($(TRES)): Use $(TRES) in rule.
1847 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1849         * configure.bat (success): Print "make" rather than "gmake", as that
1850         is what MinGW uses.
1852 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1854         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1855         Add copyright notice.
1857 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1859         * emacsclient.rc: New file.
1861         * INSTALL: Document make targets.
1863 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1865         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1866         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1867         (top-distclean, distclean, distclean-other-dirs-nmake)
1868         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1869         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1871 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1873         * inc/sys/stat.h: New file.
1875         * configure.bat: Add check for usp10.h.
1877 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1879         * INSTALL: Update Windows API requirements.
1881 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1883         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1885 2008-03-13  Glenn Morris  <rgm@gnu.org>
1887         * emacs.rc: Set version to 23.0.60.
1889 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1891         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1892         (EMACS_EXTRA_C_FLAGS): Include it.
1893         * configure.bat (usefontbackend): Default to Y.
1894         (--enable-font-backend): Replace with --disable-font-backend.
1895         (:withfont): Replace with :withoutfont.
1897 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1899         * icons/emacs.ico: Full alpha for 32x32 full color.
1900         Add 32x32 and 16x16 256 color versions.
1902 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1904         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1906 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1908         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1910 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1912         * icons/README: Update.
1914         * icons/emacs.ico: New icon.
1916 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1918         * addpm.c: Include malloc.h.
1919         (add_registry): Cast return value of alloca.
1921 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1923         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1925 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1927         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1928         conditional on existence of junk.o.  If %nocygwin% is already set
1929         to Y, skip to chkapiN instead of chkapi.
1930         (chkapi): Move "rm -f junk.c junk.o" to here.
1931         (chkapiN): New label.
1933 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1935         * makefile.w32-in: Remove unidata-gen related rules.
1937 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1939         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1941 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1943         * addpm.c (add_registry): Add an App Paths registry key.
1944         Look for GTK and add it to the DLL search path for Emacs if found.
1946 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1948         * configure.bat: In help, use generic names for the image libraries.
1950 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1952         * .cvsignore: Don't ignore .arch-inventory.
1954 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1956         * configure.bat: Make gcc the default compiler.
1958 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1960         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1961         Ignore return status.
1963         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1964         it out of the way of Windows generated file.
1965         Generate admin/unidata/makefile.
1967         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1968         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1969         (unidatagen-clean-SH): New targets.
1970         (bootstrap-nmake): Invoke unidatagen-nmake.
1971         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1973 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1975         * configure.bat (withfont): Set sep1 after modifying usercflags.
1977 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1979         * configure.bat: Rename --with-font-backend to --enable-font-backend
1980         for consistency with other platforms.
1982 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1984         * configure.bat: Add --with-font-backend option.
1986 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1988         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1989         permissions to NTFS ACLs.
1991 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1993         * config.nt: Remove HAVE_X11R5.
1995 2007-10-22  Jason Rumney  <jasonr@gnu.org>
1997         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1998         (strings.h, stdlib.h): Conditionally include.
1999         (w32_abort): Declare here.
2000         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
2002 2007-10-20  Jason Rumney  <jasonr@gnu.org>
2004         * makefile.w32-in (info-nmake): Change into correct directories.
2006 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
2008         * configure.bat (docflags, doldflags): New variables.
2009         (genmakefiles): Use them to work around problems with whitespace
2010         in arguments of the `if' command.
2012 2007-10-18  Jason Rumney  <jasonr@gnu.org>
2014         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
2016 2007-09-27  Jason Rumney  <jasonr@gnu.org>
2018         * gmake.defs (COMCTL32): New system library.
2020         * nmake.defs (COMCTL32): New system library.
2022 2007-09-06  Glenn Morris  <rgm@gnu.org>
2024         * configure.bat:
2025         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
2026         Change from ../man to ../doc/emacs and ../doc/misc; and from
2027         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
2029 2007-08-29  Glenn Morris  <rgm@gnu.org>
2031         * emacs.rc: Increase version to 23.0.50.
2033 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
2035         * makefile.w32-in (bootstrap-nmake): Change directories once more.
2037 2007-07-25  Glenn Morris  <rgm@gnu.org>
2039         * Relicense all FSF files to GPLv3 or later.
2041         * COPYING: Switch to GPLv3.
2043 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
2045         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
2046         Depend on cmdproxy.
2047         (cleanall): Don't delete *~.
2049 2007-07-15  Jason Rumney  <jasonr@gnu.org>
2051         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
2052         be fully supported.
2054 2007-07-14  Jason Rumney  <jasonr@gnu.org>
2056         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
2057         of winsock.h.
2059 2007-07-11  Jason Rumney  <jasonr@gnu.org>
2061         * gmake.defs (OLE32): New library to link.
2063         * nmake.defs (OLE32): Likewise.
2065 2007-06-25  Jason Rumney  <jasonr@gnu.org>
2067         * cmdproxy.c (main): Set console codepages to "ANSI".
2069 2007-06-20  Jason Rumney  <jasonr@gnu.org>
2071         * configure.bat: Complain if image libraries are missing.
2073 2007-06-15  Jason Rumney  <jasonr@gnu.org>
2075         * emacs.manifest: New file.
2077         * emacs.rc: Use it.
2079 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
2081         * Version 22.1 released.
2083 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
2085         * INSTALL: Add information about where to find GDB, and warn
2086         against --no-debug option to configure.bat.
2088 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
2090         * INSTALL: Fix URL of EmacsW32 site where building with image
2091         support is described.
2093 2007-04-26  Glenn Morris  <rgm@gnu.org>
2095         * emacs.rc: Increase version to 22.1.50.
2097 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
2099         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
2101 2007-03-09  Richard Stallman  <rms@gnu.org>
2103         * INSTALL: Say explicitly this is not for Cygwin.
2105 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
2107         * INSTALL: Add URL of another site with detailed build instructions.
2109 2007-02-16  Glenn Morris  <rgm@gnu.org>
2111         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
2112         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
2113         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
2114         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
2115         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
2116         Restore all but two of icons deleted in previous change.
2118 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
2120         * icons/README: New file.
2122         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
2123         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
2124         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
2125         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
2126         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
2127         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
2128         Unused icons deleted.
2130 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
2132         * configure.bat: Update ../site-lisp/subdirs.el when needed.
2134 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
2136         * subdirs.el: Add "no-byte-compile: t" local variable.
2138 2007-01-10  Jason Rumney  <jasonr@gnu.org>
2140         * README: Update URLs and advice about reporting bugs.
2142 2006-12-29  Jason Rumney  <jasonr@gnu.org>
2144         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
2145         DEBUG_LINK.
2146         (DEBUG_LINK): Remove -debugtype:both.
2148 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
2150         * INSTALL: Update table of supported Make ports.  Show "make -j"
2151         command that is known to work.
2153         * configure.bat: Update table of supported Make ports.
2155 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
2157         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
2158         only in implicit rules.  Use literal "emacs.rc" instead.
2160 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
2162         * gmake.defs: Export XMFLAGS.
2164         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
2165         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
2167 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
2169         * INSTALL: Explain how to invoke GNU Make for parallel builds.
2171         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
2172         command-line argument to sub-Make in src, since src/makefile.w32-in
2173         invokes Make recursively during bootstrap.
2174         (clean): Delete stamp_BLD.
2175         (bootstrap): Make `all' explicitly in a recursive Make.
2177         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2178         stamp_BLD after creating the $(BLD) directory.
2180         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2181         stamp_BLD after creating the $(BLD) directory.
2183         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
2184         (preprep, $(TRES), runemacs)
2185         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
2186         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2187         Depend on stamp_BLD instead of on $(BLD).
2188         (XMFLAGS): New macro.
2189         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
2190         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
2191         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
2192         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2194 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
2196         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
2197         $(ALL_DEPS).
2198         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
2199         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2200         New dependency on $(BLD).
2201         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
2202         (bootstrap-gmake): Depend on addsection.
2204 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
2206         * runemacs.c (WinMain): Process all recognized arguments, not just
2207         the first one.  Remove unused variable sec_desc.
2209 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
2211         * config.nt (HAVE_LANGINFO_CODESET): Define.
2213         * inc/langinfo.h: New file.
2215         * inc/nl_types.h: New file.
2217 2006-09-15  Jay Belanger  <belanger@truman.edu>
2219         * COPYING: Replace "Library Public License" by "Lesser Public
2220         License" throughout.
2222 2006-07-27  Jason Rumney  <jasonr@gnu.org>
2224         * INSTALL: Add notes about Cygwin make to impatient section.
2226 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
2228         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2229         known to work.
2231 2006-03-12  Jason Rumney  <jasonr@gnu.org>
2233         * addpm.c (add_registry): Don't change the registry unless keys
2234         already exist from a previous version.
2236         * makefile.w32-in (install): Use -q when invoking addpm.
2238         * addpm.c (main): Accept -q as alternative for /q.
2240 2006-03-11  Jason Rumney  <jasonr@gnu.org>
2242         * runemacs.c (WinMain): Set screen buffer to 80x25.
2244 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
2246         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2247         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2249 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
2251         * INSTALL: Add explanation of how to debug with GDB starting from
2252         the Emacs Abort dialog.
2254 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
2256         * emacs.rc: Use new icons.
2258 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
2260         * emacs21.ico: Renamed from emacs.ico.
2261         * emacs.ico: New icons from Andrew Zhilin
2262         <andrew_zhilin@yahoo.com>.
2264 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
2266         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2268 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
2270         * .cvsignore: Add `obj' and `oo' for in-place installations.
2272 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
2274         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2276 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
2278         * configure.bat: Don't create lisp/Makefile.unix.
2280 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
2282         * .cvsignore: Add `makefile' and `config.log'.
2284 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
2286         Merge gnulib getopt implementation into Emacs.
2288         * inc/gettext.h: Remove; no longer needed now that
2289         lib-src/gettext.h exists.
2291 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
2293         * configure.bat: Finish config.log with a line that indicates that
2294         the configure step was successful.
2296 2005-07-04  Lute Kamstra  <lute@gnu.org>
2298         Update FSF's address in GPL notices.
2300 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
2302         * configure.bat: If their fc.exe returns a meaningful exit status,
2303         don't overwrite src/config.h and src/epaths.h with identical
2304         copies.
2306         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2307         changes.  Add a pointer to another site with detailed configure
2308         and build instructions.  Suggest to look at config.log when
2309         configure fails.  Add MinGW Make 3.80 to the list of successful
2310         combinations.
2312         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2313         "-mcpu=i686".
2315         * configure.bat: Update copyright years.
2316         Delete config.log before doing anything else.
2317         Write additional diagnostics to config.log in case of failures to
2318         compile test programs, including the failed test program itself.
2319         Add a test for support of -mtune=pentium4 switch to GCC; if it is
2320         supported, set up MCPU_FLAG variable on the various Makefiles to
2321         use that switch during compilations.  (This avoids GCC warning
2322         about -mcpu being deprecated.)
2324 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
2326         * addsection.c (copy_executable_and_add_section): Pass non-zero
2327         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2328         environment.  Print section names with %.8s.
2329         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2330         only if non-zero.  All callers changed.
2332 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
2334         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2335         `const void *', for consistency with POSIX.
2337 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
2339         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2341 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
2343         * INSTALL: Add more pointers to ports of Unix tools to Windows,
2344         and to the Emacs Wiki (which contains building instructions for
2345         Windows).  Reword image library instructions and remove obsolete
2346         incompatibility information.
2348 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
2350         * config.nt (HAVE_PWD_H): Undef.
2352 2004-06-07  Juanma Barranquero  <lektu@terra.es>
2354         * INSTALL: Clarify paragraph about compatibility between image
2355         libraries and builds of Emacs with several compilers.
2357 2004-06-06  Juanma Barranquero  <lektu@terra.es>
2359         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2360         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2361         calling non-existent cmdproxy.exe on bootstrapping after a
2362         previous install followed by realclean.
2364         * nmake.defs: Add quote in comment to resync font-locking.
2366 2004-06-04  Juanma Barranquero  <lektu@terra.es>
2368         * INSTALL: Reword the section on image support.  Add reference to
2369         GnuWin32.  Mention problems when mixing binaries from different
2370         compilers.
2372 2004-05-06  Jason Rumney  <jasonr@gnu.org>
2374         * configure.bat: Use -mno-cygwin to check for image libraries
2375         when needed.
2377 2004-05-03  Jason Rumney  <jasonr@gnu.org>
2379         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2380         * makefile.def: Remove.
2382         * nmake.defs (SYS_LDFLAGS): Add -nologo.
2384         * makefile.w32-in (info-gmake, info-nmake): New targets.
2385         (info): Use them.
2387 2004-04-23  Juanma Barranquero  <lektu@terra.es>
2389         * nmake.defs:
2390         * gmake.defs:
2391         * makefile.w32-in:
2392         * makefile.def:
2393         * makefile.nt: Add "-*- makefile -*-" mode tag.
2395 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
2397         * runemacs.c (WinMain): Let Emacs environment default to parent.
2399 2004-03-11  Jason Rumney  <jasonr@gnu.org>
2401         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2403 2004-03-10  Juanma Barranquero  <lektu@terra.es>
2405         * makefile.w32-in (install): Don't try to copy
2406         ../lib-src/fns-*.el, as it isn't used anymore.
2408 2004-01-28  Peter Runestig  <peter@runestig.com>
2410         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2412 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
2414         * .cvsignore: Add `.arch-inventory'.
2416 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
2418         * inc/grp.h: New file.
2420 2003-09-03  Peter Runestig  <peter@runestig.com>
2422         * configure.bat: Create ``makefile'' in directories man, lispref
2423         and lispintro.
2425         * makefile.w32-in (force-info, info): New targets.
2427         * envadd.bat: New file.
2429         * multi-install-info.bat: New file.
2431 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
2433         * config.nt (my_strftime): New define.
2435 2003-02-01  Jason Rumney  <jasonr@gnu.org>
2437         * configure.bat: Automatically detect libXpm.
2438         Suppress compiler output when testing for image libraries.
2439         Give names of un-found libraries in messages.
2441 2003-01-31  Juanma Barranquero  <lektu@terra.es>
2443         * configure.bat: Automatically detect giflib and tifflib.
2445 2003-01-29  Jason Rumney  <jasonr@gnu.org>
2447         * gmake.defs (CURDIR): Disable cygpath kludge.
2449 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
2451         * configure.bat: Avoid endless loop when configuring without image
2452         support.
2454 2003-01-26  Jason Rumney  <jasonr@gnu.org>
2456         * configure.bat: Automatically detect jpeglib.
2458 2003-01-25  Jason Rumney  <jasonr@gnu.org>
2460         * configure.bat: Automatically detect libpng.
2462 2003-01-21  Jason Rumney  <jasonr@gnu.org>
2464         * icons/hand.cur: New file.
2466 2003-01-21  David Ponce  <david@dponce.com>
2468         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2470 2003-01-15  Andrew Innes  <andrewi@gnu.org>
2472         * gmake.defs (CURDIR): Convert to native Windows format (with
2473         forward slashes), to support building with Cygwin builds of make.
2475 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
2477         * nmake.defs:
2478         * gmake.defs: Made changes so that Emacs would link with
2479         WinMM.lib.  This change was required for my addition of a Windows
2480         compatible implementation of play-sound-internal.
2482 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
2484         * emacs.rc: Version updated to 21.3.50.
2486 2002-06-13  Jason Rumney  <jasonr@gnu.org>
2488         * addpm.c (env_vars): Remove EMACSLOCKDIR.
2490         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2491         (maybe-bootstrap-SH): New targets.
2492         (all): Depend on maybe-bootstrap.
2494 2002-05-03  Jason Rumney  <jasonr@gnu.org>
2496         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2497         (sys_getpeername, fcntl): Declare as wrappers.
2499 2002-04-10  Juanma Barranquero  <lektu@terra.es>
2501         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2502         after compiling .el files.
2504 2002-03-20  Jason Rumney  <jasonr@gnu.org>
2506         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2507         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2509 2002-03-19  Kim F. Storm  <storm@cua.dk>
2511         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2512         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2513         (HAVE_SYS_UN_H): Undef.
2514         From David Ponce <dponce@voila.fr>.
2516 2002-03-13  Jason Rumney  <jasonr@gnu.org>
2518         * config.nt (STRFTIME_NO_POSIX2): Define.
2520 2002-02-18  Jason Rumney  <jasonr@gnu.org>
2522         * emacs.rc: Define VS_VERSION_INFO if not already.
2523         Update version info.
2525 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2527         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2528         pick up relevant bits of the Windows API definitions.
2530         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2531         pick up relevant bits of the Windows API definitions.
2533 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2535         * makefile.w32-in (bootstrap): Build addsection program before
2536         bootstrap (required for post-processing temacs.exe).
2538 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2540         * COPYING: New file.
2542 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2544         * makefile.w32-in (bootstrap-nmake)
2545         (bootstrap-gmake): Extend bootstrap process to first do
2546         bootstrap-clean in lisp dir and rebuild the DOC file.
2547         (bootstrap): Do a "normal" make after the bootstrap work.
2549 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2551         * INSTALL: Update table of versions of make that are suitable
2552         for building Emacs, based on recent feedback.
2554         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2556 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2558         * ftime-nostartup.bat: New file.
2560         * ftime.bat: Don't include libc.lib for profiling - the profiler
2561         corrupts part of memcpy.
2563 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2565         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2566         expansion.  From Juanma Barranquero <lektu@terra.es>.
2568 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2570         * (Version 21.1 released.)
2572 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2574         * inc/pwd.h (uid_t, gid_t): New typedefs.
2576 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2578         * Branch for 21.1.
2580 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2582         * README: Update the address of the mailing list and subscription
2583         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2585 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2587         * INSTALL: Suggest to avoid using WinZip.
2589         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2591 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2593         * INSTALL: Mention that "make install" can be "nmake install".
2595 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2597         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2598         since some versions of `mkdir' don't automatically create parent
2599         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2601 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2603         * subdirs.el: New file.
2605         * configure.bat: Copy subdirs.el to the site-lisp directory.
2607         * makefile.w32-in (install): Copy subdirs.el to the installation
2608         directory.
2610 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2612         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2614 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2616         * gmake.defs (sh_output): Don't use $(warning ...) to output
2617         messages, since that is not supported by GNU make 3.77.
2619 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2621         * INSTALL: Clarify that building with MSVC requires nmake.
2623 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2625         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2626         message that is to be ignored.
2628 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2630         * TODO: Remove file, since it is completely out of date.
2632         * README: Add copyright notice.
2634         * INSTALL: Add copyright notice.
2636 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2638         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2639         the environment.
2641         * gmake.defs (SETLOADPATH): Remove definition.
2642         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2643         environment.
2645 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2647         * configure.bat: Make the checkw32api* labels be distinct in the
2648         first 8 characters.
2650 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2652         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2653         escaped quotes.
2655         * gmake.defs (DEBUG_LINK): New macro.
2656         (LINK_FLAGS): Use it.
2658         * nmake.defs (DEBUG_LINK): New macro.
2659         (LINK_FLAGS): Use it.
2661 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2663         * INSTALL: Add --ldflags to configure line for building with
2664         recent versions of Cygwin GCC.
2666 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2668         * configure.bat: Use correct options when compiling a test program
2669         with Cygwin.  From David Ponce <dponce@voila.fr>.
2671 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2673         * _emacs: Remove obsolete file.
2675         * emacs.bat.in: Remove obsolete file.
2677         * debug.bat.in: Remove obsolete file.
2679         * inc/sys/socket.h: Add copyright notice.
2681         * paths.h: Add copyright notice.
2683         * makefile.nt: Update copyright notice.
2685         * makefile.def: Update copyright notice.
2687         * configure.bat: Update copyright notice.
2689         * nmake.defs: Add copyright notice.
2691         * gmake.defs: Add copyright notice.
2693         * makefile.w32-in: Add copyright notice.
2695 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2697         * nmake.defs (THISDIR): New definition.
2699         * gmake.defs (THISDIR): New definition.
2701 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2703         * configure.bat: Leave a space before >> only when there is a
2704         preceding digit.  Add a comment about the importance of this.
2706         * README: Replace outdated information.
2708         * INSTALL (Trouble-shooting): Add note about need to specify extra
2709         compiler flags with recent Cygwin ports of gcc.
2711 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2713         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2714         is not supported by Windows 9X's COMMAND.COM.
2716 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2718         * configure.bat: Make sure redirection is preceded by a blank, to
2719         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2720         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2722 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2724         * INSTALL: Copy the table of tested combinations of development
2725         tools from configure.bat.  Add suggestion to install Bash on
2726         Windows 9X.
2728         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2729         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2730         needs to be deleted, since command.com in Windows 9X doesn't grok
2731         more than one argument.
2733 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2735         * makefile.w32-in (cleanall-other-dirs-nmake)
2736         (cleanall-other-dirs-gmake): New targets.
2737         (cleanall): Invoke them.
2739 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2741         * addpm.c (env_vars): Add a version-independent site-lisp
2742         directory to EMACSLOADPATH, after the version dependent one.
2744 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2746         * README: Update info about compilers.
2748         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2749         select correct rule for invoking make in another directory.
2750         Amend rules accordingly.
2751         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2753         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2754         (COMPILER_TEMP_FILES): New definition.
2755         (MAKETYPE): New definition.
2757         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2758         (COMPILER_TEMP_FILES): New definition.
2759         (MAKETYPE): New definition.
2761         * makefile.def (EMACS_ICON_PATH): Delete definition.
2763         * configure.bat: Be careful not to add trailing spaces when
2764         outputting to config.settings.
2766 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2768         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2769         than the function.
2771 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2773         * makefile.w32-in (install): Copy directories to the correct
2774         places.
2775         (real_install): Remove obsolete target.
2777 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2779         * nmake.defs (CURDIR): New define.
2780         (INSTALL_DIR): Use it.
2782         * gmake.defs (NEW_CYGWIN): New define.
2783         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2784         so we need to adjust how we escape embedded quotes.
2785         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2786         relative to $(CURDIR).
2788 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2790         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2792 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2794         * makefile.w32-in (recompile): New target to recompile lisp
2795         directory.
2796         (recompile-CMD, recompile-SH): New support targets.
2798 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2800         * config.nt (NO_RETURN): Define it.
2802 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2804         * gmake.defs: Revert to Unix line endings.
2806         * nmake.defs: Revert to Unix line endings.
2808 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2810         * gmake.defs (SETLOADPATH): Change definition to work from any
2811         subdirectory.
2813 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2815         * makefile.w32-in: Revert to Unix line endings.
2817 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2819         * INSTALL: Add note about expected error messages when configure
2820         is run.
2822         * configure.bat: Simplify the generation of makefiles (don't need
2823         to generate various top-level targets that invoke make in other
2824         directories).
2826         * gmake.defs (SHELLTYPE): New define.
2827         (SETLOADPATH): New define.
2829         * nmake.defs (SHELLTYPE): New define.
2831         * makefile.w32-in: Standardize indentation somewhat.
2832         Add bootstrap support.
2833         Pass $(MFLAGS) when invoking make recursively.
2834         Add shell-specific variants of top-level targets that invoke make
2835         recursively in other directories, and add necessary computed
2836         dependencies.
2838 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2840         * makefile.w32-in: Change to DOS line endings.
2842         * configure.bat: Change to DOS line endings.
2844         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2845         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2847         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2848         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2850         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2851         -D_ANONYMOUS_STRUCT on compile line.
2852         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2853         (ARCH_CFLAGS): Change optimization flags to -O2.
2854         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2855         (ARGQUOTE, DQUOTE): New defines.
2857         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2858         -D_ANONYMOUS_STRUCT on compile line.
2859         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2860         (ARGQUOTE, DQUOTE): New defines.
2862 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2864         * configure.bat: New file.
2866         * gmake.defs: New file.
2868         * nmake.defs: New file.
2870         * makefile.w32-in: New file.
2872         * INSTALL: Rewrite to match new configure process.
2874         * config.nt [WINDOWSNT]: Don't declare getenv.
2875         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2877         * addpm.c (main): Accept /q to mean install based on addpm's
2878         location without asking.  Remove reference to emacs.bat which is
2879         now obsolete.
2881         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2883         * paths.h: Use forward slash as directory separator in all path
2884         definitions.
2885         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2887         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2889         * runemacs.c: Remove WIN32 define.
2891         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2892         not defined.
2894         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2895         (fd_set): Define to new name, after including winsock.h, so we can
2896         provide our own implementation.
2898 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2900         * ebuild.bat: Add support for specifying make arguments.
2902         * makefile.nt: Add support for `bootstrap' and related targets.
2904 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2906         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2908 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2910         * inc/sys/time.h: Add inclusion protection.
2912         * makefile.def (SYS_LDFLAGS): Add -nologo.
2914 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2916         * install.bat: Pass on command line arguments to make.
2918         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2920 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2922         * makefile.nt (all): Build leim if present.
2923         (install): Install leim if present.
2924         (clean): Clean leim if present.
2926         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2927         definition.
2929         * emacs.bat.in (EMACSLOADPATH): Include leim.
2931 1999-07-12  Richard Stallman  <rms@gnu.org>
2933         * Version 20.4 released.
2935 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2937         * emacs.rc: Use an icon with a transparent background, to be in
2938         keeping with other applications.
2940 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2942         * preprep.c: Fix typo.
2944 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2946         * config.h: Remove obsolete file.
2948         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2949         couple of unused switch cases that aren't defined on all
2950         platforms.
2952         * ftime.bat: Add another variation of the profile command, which
2953         only profiles extended commands.
2955 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2957         * cmdproxy.c (main): Fix parens.
2959 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2961         * cmdproxy.c (main): Call GetShortPathName to normalize program
2962         names for comparison.
2964 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2966         * makefile.def: Compile multiple .c files when possible.
2967         Use BLD instead of assuming i386.
2968         * makefile.nt: Remove common multiple file compilation commands.
2970 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2972         * cmdproxy.c (main): Add missing parens.
2974 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2976         * preprep.c: New program to allow dumped image to be profiled.
2978         * makefile.nt (preprep): New target.
2979         (ALL): Build it.
2981         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2983         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2984         Change prep options to profile libc functions and skip the startup
2985         code.
2987 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2989         * makefile.nt: Create installation directory as first step.
2991 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2993         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2994         ROUND_UP_DST.  Zeroes the alignment slop.
2995         (copy_executable_and_add_section): Update the
2996         SizeOfHeaders field properly.
2998 1999-01-27  Andrew Innes  <andrewi@gnu.org>
3000         * makefile.nt: Do make version comparison as strings.
3002 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
3004         * runemacs.c (WinMain): Pass explicit environment block to
3005         CreateProcess, to work around a bug in Windows 95/98.
3007 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
3009         * icons: New directory with Davenport's icons.
3010         * icons/sink.ico: Renamed from emacs.ico.
3012         * makefile.nt (install, fast_install): Install Windows icons
3013         into etc/icons.
3015         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
3017 1999-01-17  Andrew Innes  <andrewi@gnu.org>
3019         * makefile.nt (ALL): List top-level targets.
3020         (addsection): New top-level target.
3021         (install): Copy fns-*.el to bin directory.
3023         * addsection.c: New program to add static heap section to
3024         temacs.exe after linking, in support of new unexec method.
3026 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
3028         * cmdproxy.c (spawn): Pass directory for child as parameter.
3029         (main): Save startup directory to give to spawn, then change
3030         directory to location of .exe in order not to prevent startup
3031         directory from being deleted.
3033 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
3035         * makefile.nt: Do string comparison of _NMAKE_VER.
3037 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
3039         * config.nt (LOCALTIME_CACHE): Define.
3041 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
3043         * install.bat: Convert to DOS format.
3045 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
3047         * cmdproxy.c (main): Set environment size only when running
3048         command.com.
3050 1998-11-03  Theodore Jump  <tjump@tertius.com>
3052         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
3053         (DEL_TREE): Use rd instead of rmdir.
3054         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
3055         * makefile.nt: Compile multiple source files when possible.
3057 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
3059         * cmdproxy.c (main): Treat command line options as case-insensitive.
3061 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
3063         * Version 20.3 released.
3065 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
3067         * addpm.c (main): Explicitly check result of message box for OK.
3069 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
3071         * inc/sys/file.h (D_OK): Define new macro.
3073 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
3075         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
3077 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
3079         * emacs.rc (VS_VERSION_INFO): Define.
3081 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
3083         * makefile.nt (emacs.bat, debug.bat): Create them in the
3084         installation directory.
3086 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
3088         * ddeclient.c: New file.  (Support program for performing limited
3089         interprocess communication on Windows.)
3091         * makefile.nt: Build ddeclient.
3093         * cmdproxy.c (main): Only set environment size for real shell, and
3094         provide extra directory argument, when running on Windows 95.
3096 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
3098         * cmdproxy.c (fail): Exit with a negative return value.
3099         (spawn): Return subprocess return code as an argument.
3100         Explicitly copy environment block.
3101         (main): Update to use return value argument with spawn.
3102         Retry if spawn failed when a subshell was not tried.
3104         * config.nt: Include new macros from src/config.in.
3105         (GNU_MALLOC, REL_ALLOC): Define.
3106         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
3107         (RE_TRANSLATE): Use char_table_translate.
3109         * makefile.def (CP_DIR): Preserve attributes.
3111         * makefile.nt (clean): Delete patch generated files, optimized
3112         build directory.
3114 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
3116         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
3118 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3120         * Version 20.2 released.
3122 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3124         * Version 20.1 released.
3126 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
3128         * debug.bat.in: New file.
3129         * makefile.nt (debug.bat): New target.
3131 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
3133         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
3134         Quote group name.  Allow different icons to be specified.
3136         * cmdproxy.c (get_env_size): New function.
3137         (spawn): Explicitly pass in environment when creating subprocess.
3138         (main): Cleanup error messages.
3139         Specify dynamically sized environment block for real shell.
3140         Pass on unhandled switches to real shell.
3141         Quote program name.
3143         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
3144         directory.
3145         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
3147         * runemacs.c (WinMain): Allow Emacs process to be started with
3148         high or low priority.
3150         * emacs.bat.in: Remove OS dependent operations.
3152 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
3154         * addpm.c (env_vars): No longer set INFOPATH.
3156         * cmdproxy.c (get_next_token): Null terminate token returned.
3158         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
3160 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
3162         * addpm.c (env_vars): Set SHELL to cmdproxy.
3163         (main): Initialize idDde to 0.
3164         Determine emacs_path from module file name.
3165         Prompt for install.
3167         * makefile.def (MSVCNT11): Conditionally define it.
3168         (BASE_LIBS): Do not use oldnames.lib.
3169         (SYS_LDFLAGS): Use pdb files.
3170         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
3171         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
3172         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
3174         * makefile.nt (ALL): Build cmdproxy.
3175         (cmdproxy): New target.
3176         (install): Install cmdproxy.
3178         * ftime.bat, debug.bat, cmdproxy.c: New files.
3180 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
3182         * inc/sys/socket.h (shutdown): Define.
3183         (sys_shutdown): Export.
3185 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3187         * config.nt (RE_TRANSLATE): Copy definition from config.in.
3189 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
3191         * config.nt: Update file comments.
3192         Update undefs added/removed in src/config.in.
3194 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
3196         * makefile.def, emacs.bat.in: Use windows95 and windowsnt instead
3197         of win95 and winnt, respectively.
3199 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
3201         * makefile.nt (real_install): Create site-lisp in installation dir.
3202         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
3203         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
3205 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3207         * Version 19.33 released.
3209 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
3211         * runemacs.c (WinMain): Put a space between the binary and its args.
3213 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3215         * Version 19.32 released.
3217 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
3219         * makefile.nt (clean): Use OBJDIR macro.
3221 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
3223         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3224         Not defined by default.
3225         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3226         (WinMain): Convert backslashes to slashes in env var values.
3228         * addpm.c (env_vars): Use slashes, not backslashes.
3230 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3232         * Version 19.31 released.
3234 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
3236         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3237         undo settings afterwards.
3239 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
3241         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3242         environment variable.
3244 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3246         * install.bat: Allow for optimized build.
3247         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3248         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3250 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3252         * addpm.c (REG_ROOT): Don't use a trailing backslash.
3253         (env_vars): Rename field emacs_path to emacs_dir.
3254         (main): Add link to runemacs instead of emacs.
3256         * install.bat: Check if INSTALL_DIR is passed as an argument.
3258         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3260         * makefile.nt: Build and install runemacs.exe.
3262         * runemacs.c: New file.
3264         * config.w95: File removed.
3266         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3267         inc/sys/socket.h, inc/sys/time.h: New header files.
3269         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3271 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
3273         * makefile.def (DEL): Defined.
3274         (DEL_TREE) [win95]: Defined.
3275         (SYS_LDFLAGS): Set executable versions to 3.10.
3277         * makefile.nt: Change uses of del to $(DEL).
3279 1996-01-17  Erik Naggum  <erik@naggum.no>
3281         * All files: Update FSF's address in comment preamble.
3283 1996-01-03  George V. Reilly  <georger@microcrafts.com>
3285         * emacs.ico: Now the proverbial kitchen sink icon.
3287 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3289         * Version 19.30 released.
3291 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
3293         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3295         * makefile.nt (install, fast_install, real_install, clean):
3296         Don't use switches to del not supported by Windows 95.
3298 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
3300         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3301         (install, fast_install): Change same-dir test to create test file in
3302         installation tree and thereby support read-only shares.
3303         (clean): Remove .pdb files.
3305         * makefile.def (NTGUI): New macro.
3306         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3308         * config.nt, config.w95: Update to latest src/config.in.
3310         * addpm.c (env_vars): New variable.
3311         (add_registry): New procedure.
3312         (main): Use values of configuration environment variables from
3313         the registry if defined, the process environment otherwise.
3315 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3317         * Version 19.29 released.
3319         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3321 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
3323         * makefile.nt: Define .c to .obj suffix rule.
3324         (addpm.obj): Compile directly, use CFLAGS.
3325         (addpm.exe): Link from addpm.obj.
3327         * makefile.def (MSVCNT11): Defined.
3328         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3329         (CFLAGS_COMMON): Defined.
3330         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3332 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
3334         * emacs.bat.in: Renamed from emacs.bat.
3335         (emacs_dir): Rename from emacs_path.
3336         Definition removed.
3338         * addpm.c: New file.
3339         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3340         (all): Depend upon $(BLD) and $(ALL).
3341         (install): Depend upon emacs.bat.
3342         Create program item for Emacs.
3343         (clean): Delete obj.
3344         (emacs.bat): Defined.
3345         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3347 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
3349         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3350         Add carriage returns; necessary for batch files on Windows 95.
3352 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
3354         * config.w95: Created.
3355         * config.h: Changed to config.nt.
3357         * makefile.nt (SUBDIRS): Commented out.
3358         (all, install, clean): Expand for-loops.
3359         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3361         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3362         (ARCH): New definition.
3363         (CPU, CONFIG_H, OS_TYPE): Defined.
3364         (INCLUDE, LIB): Checked if valid.
3365         (ntwin32.mak): Included.
3366         (AR, CC, LINK): New definition.
3367         (ADVAPI32, libc, BASE_LIBS): Defined.
3368         (SYS_LDFLAGS): New definition.
3369         Update comments and preprocessor conditionals.
3371         * emacs.bat (SHELL): Conditionally defined.
3372         (HOME): Conditionally defined.
3373         (emacs_path, HOME): Update comments.
3374         Turn off all echo.
3376 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
3378         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc:
3379         * fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h:
3380         * inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h:
3381         * inc/sys/param.h: Removed carriage-returns.
3383 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
3385         * makefile.def (CVTRES): Defined.
3387         * emacs.ico, emacs.rc: New files by Kevin Gallo.
3389 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
3391         * src/config.h, src/paths.h: Moved to parent dir, src/ removed.
3393 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
3395         * makefile.def (INSTALL_DIR): Change to generic directory.
3397         * emacs.bat: Added arguments when emacs.exe invoked.
3399         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3401 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
3403         * makefile.def (CC): In configuration section.
3404         (COMPAT_LIB): Defined.
3406 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
3408         * src/paths.h: New file.
3410         * src/config.h: New file.
3412         * inc/pwd.h: New file.
3414         * inc/sys/dir.h: New file.
3416         * inc/sys/file.h: New file.
3418         * inc/sys/ioctl.h: New file.
3420         * inc/sys/param.h: New file.
3422         * todo: New file.
3424         * README: New file.
3426         * makefile.nt: New file.
3428         * makefile.def: New file.
3430         * install.cmd: New file.
3432         * INSTALL: New file.
3434         * fast-install.cmd: New file.
3436         * emacs.cmd: New file.
3438         * ebuild.cmd: New file.
3440         * _emacs: New file.
3442 ;; Local Variables:
3443 ;; coding: utf-8
3444 ;; add-log-time-zone-rule: t
3445 ;; End:
3447   Copyright (C) 1995-1999, 2001-2014 Free Software Foundation, Inc.
3449   This file is part of GNU Emacs.
3451   GNU Emacs is free software: you can redistribute it and/or modify
3452   it under the terms of the GNU General Public License as published by
3453   the Free Software Foundation, either version 3 of the License, or
3454   (at your option) any later version.
3456   GNU Emacs is distributed in the hope that it will be useful,
3457   but WITHOUT ANY WARRANTY; without even the implied warranty of
3458   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3459   GNU General Public License for more details.
3461   You should have received a copy of the GNU General Public License
3462   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.