Update copyright year to 2014 by running admin/update-copyright.
[emacs.git] / nt / ChangeLog
blob38f8d75b089a1d45e9d9aeea090a74966e9df72f
1 2013-12-31  Fabrice Popineau  <fabrice.popineau@supelec.fr>
3         * inc/ms-w32.h (sys_kill): Fix prototype.
5 2013-12-30  Eli Zaretskii  <eliz@gnu.org>
7         * inc/ms-w32.h (umask) [emacs]: Redirect to sys_umask.  (Bug#16299)
9 2013-12-23  Eli Zaretskii  <eliz@gnu.org>
11         * README.W32:
12         * INSTALL: Update instructions for downloading and using image
13         libraries in general, and librsvg in particular.
15 2013-12-16  Eli Zaretskii  <eliz@gnu.org>
17         * emacs-x64.manifest:
18         * emacs-x86.manifest: Declare that we target Windows 8.1 as well
19         as earlier versions.  This is so GetVersion and GetVersionEx APIs
20         used for bug reporting and other purposes return accurate version
21         number on Windows 8.1.  See the discussion on MSDN
22         http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx
23         for more details.
25 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
27         * inc/ms-w32.h (MAX_UTF8_PATH): New macro.
28         (opendir, closedir, readdir, seekdir): Redirect to replacement
29         functions.
30         * inc/dirent.h: Make d_name[] be MAXNAMELEN*4 characters long.
32 2013-11-27  Glenn Morris  <rgm@gnu.org>
34         * README.W32:
35         * addpm.c (env_vars):
36         * epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
37         * paths.h (PATH_LOADSEARCH): No more leim directory.
39 2013-11-26  Glenn Morris  <rgm@gnu.org>
41         * epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.
43 2013-11-12  Dani Moncayo  <dmoncayo@gmail.com>
45         * msysconfig.sh: Remove.
46         * INSTALL: Update for this.
48 2013-11-09  Glenn Morris  <rgm@gnu.org>
50         * mingw-cfg.site: No need for this to be executable.
52 2013-10-24  Glenn Morris  <rgm@gnu.org>
54         * Makefile.in ($(DESTDIR)${archlibdir}):
55         Avoid non-portable "`\" nesting.
57         * Makefile.in (abs_top_srcdir): New, set by configure.
59 2013-10-23  Glenn Morris  <rgm@gnu.org>
61         * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
62         Quote entities that might contain whitespace.
64 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
66         * inc/mingw_time.h: New file.
68         * inc/ms-w32.h: Include mingw_time.h instead of doing its job.
70 2013-10-12  Eli Zaretskii  <eliz@gnu.org>
72         * inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
73         the layout of 'struct dirent' be compatible with MinGW32 runtime
74         versions 4.0 and later.
76         * inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
77         (__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
78         defined, but not for MinGW64.
79         (_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
80         use of 32-bit time_t type.
82 2013-10-07  Paul Eggert  <eggert@cs.ucla.edu>
84         Improve support for popcount and counting trailing zeros (Bug#15550).
85         * gnulib.mk: Merge changes from ../lib/gnulib.mk.
87 2013-10-04  Paul Eggert  <eggert@cs.ucla.edu>
89         * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
91 2013-09-20  Eli Zaretskii  <eliz@gnu.org>
93         * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
94         to avoid gnulib replacement of 'struct timeval' and the resulting
95         compilation of lib/gettimeofday.c with incompatible version of
96         gettimeofday.  Related discussions on emacs-devel:
97         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
98         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html
100 2013-08-31  Glenn Morris  <rgm@gnu.org>
102         * INSTALL: Rename from INSTALL.MSYS.
103         * INSTALL.OLD: Rename from INSTALL.
104         * configure.bat: Update for INSTALL name changes.
106 2013-08-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
108         * configure.bat: Rather than disabling, make configure.bat produce
109         some warning that building with configure.bat is deprecated and
110         ask for confirmation to continue.
112 2013-08-25  Glenn Morris  <rgm@gnu.org>
114         * INSTALL: Refer to INSTALL.MSYS.
115         * configure.bat: Disable it.
117 2013-08-04  Eli Zaretskii  <eliz@gnu.org>
119         * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
121         * inc/ms-w32.h (mkostemp): Declare prototype.
122         (mktemp): Don't redirect to sys_mktemp.
124         * config.nt (HAVE_MKOSTEMP): Define to 1.  (Bug#15015)
126 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
128         * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
129         (FD_CLOEXEC): New macros.
131 2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>
133         Make file descriptors close-on-exec when possible (Bug#14803).
134         * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
135         otherwise, gnulib-tool complains given close-on-exec changes.
136         * inc/ms-w32.h (pipe): Remove.
137         * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
138         (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
140 2013-06-25  Juanma Barranquero  <lekktu@gmail.com>
142         * configure.bat: Add warning to the help text about using the
143         MSYS/MinGW building procedure.
145 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
147         * INSTALL.MSYS: mingw-get is not a GUI program (yet).
148         msys-automake is not suitable for MinGW builds.  Mention the
149         --enable-locallisppath switch to msysconfig.sh.  Suggested by
150         Óscar Fuentes <ofv@wanadoo.es>.
152 2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)
154         * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
156 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
158         * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
160 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
162         * inc/sys/time.h (struct timeval): Remove the _W64 guards.
164 2013-06-01  Eli Zaretskii  <eliz@gnu.org>
166         * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
167         avoid multiple definition errors on MinGW64.
169 2013-05-31  Eli Zaretskii  <eliz@gnu.org>
171         * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
172         'restrict', which is a C99 extension.  See
173         http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
174         and the following discussion for the problem this caused in the
175         old nt/configure.bat build.
177 2013-05-29  Eli Zaretskii  <eliz@gnu.org>
179         * Makefile.in (emacs.res): Include srcdir when preprocessing
180         resources, for out-of-tree builds.
181         (mostlyclean): Remove *.res files.
183 2013-05-17  Eli Zaretskii  <eliz@gnu.org>
185         * runemacs.c (WinMain): Support invocation of un-installed
186         nt/runemacs.exe, by looking for src/emacs.exe.
188 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
190         * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.  (Bug#14409)
192         * msysconfig.sh: New file.
194         * mingw-cfg.site: New file.
196         * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
198         * inc/unistd.h: Include pwd.h and sys/types.h.
200         * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
201         (timerclear): Define.
202         (gettimeofday): Adjust signature to be Posix compatible, by using
203         the 'restrict' keyword.
205         * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
206         (struct _stat, struct _stati64): Define.
208         * inc/sys/socket.h (timeval): Define only for MSVC.
209         (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
210         EMACS_CONFIG_H is defined.
211         (timeval): Undefine only for MSVC.
213         * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
214         (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
215         (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
216         (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
217         (fileno): Move definition after including stdio.h.
218         (sigset_t): Guard typedef by _W64.
220         * gnulib.mk: New file.
222         * epaths.nt: New file.
224         * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
225         copy of the file names there.
226         <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
227         literal strings.
229         * Makefile.in: New file.
231         * INSTALL.MSYS: New file.
233         * INSTALL: Mention INSTALL.MSYS.
235 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
237         * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
239 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
241         * config.nt: Sync with autogen/config.in.
242         (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
243         (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
244         (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
245         (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
246         (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
247         (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
248         (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
249         (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
250         (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
251         (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
253 2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
255         Use Gnulib ACL implementation, for benefit of Solaris etc.  (Bug#14295)
256         * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
257         * inc/ms-w32.h (EOPNOTSUPP): New macro.
259 2013-04-09  Ken Brown  <kbrown@cornell.edu>
261         * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
262         (Bug#12993)
264 2013-04-01  Eli Zaretskii  <eliz@gnu.org>
266         * README: A better documentation of ddeclient.exe.
268         * README.W32: A better documentation of ddeclient.exe.
270         * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
271         subdirectories.
273 2013-03-30  Eli Zaretskii  <eliz@gnu.org>
275         * inc/ms-w32.h (TERM_HEADER): Remove definition.
277         * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
278         ms-w32.h.
280 2013-03-29  Eli Zaretskii  <eliz@gnu.org>
282         * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
284         * config.nt (HAVE_COPYSIGN): Define.
286 2013-03-29  Juanma Barranquero  <lekktu@gmail.com>
288         * config.nt: Sync with autogen/config.in.
289         (HAVE_XKBGETKEYBOARD): Remove.
290         (HAVE_XKB): New macro.
292 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
294         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
295         (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
296         Depend on .exe files.
298         * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
299         avoid MinGW64 compiler warnings in editfns.c.
301         Fix rules for parallel builds.
302         * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
303         without the .exe suffix.
304         (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
305         targets.
306         (.PHONY): Remove.
308         * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
309         headers, since that's where _W64 is declared by MinGW64.
311 2013-03-26  Eli Zaretskii  <eliz@gnu.org>
313         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
314         (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
316         * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
317         define for MinGW64.
319         * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
320         for MinGW64.
322         Fix more incompatibilities between MinGW.org and MinGW64 headers
323         reported by Óscar Fuentes in
324         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
325         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
326         and in
327         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
328         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
329         For MinGW64, include sys/types.h and time.h.
330         (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
332         * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
334         * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
335         _W64.
336         (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
337         _TIMEZONE_DEFINED.
339         * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
341         * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
342         lstat, and fstatat.
344 2013-03-25  Eli Zaretskii  <eliz@gnu.org>
346         Fix incompatibilities between MinGW.org and MinGW64 headers
347         reported by Óscar Fuentes in
348         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
349         * inc/ms-w32.h (struct timespec): Don't define if
350         _TIMESPEC_DEFINED is already defined.
351         (sigset_t) [!_POSIX]: Typedef for MinGW64.
352         (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
353         including the first system header, to avoid redefinition if some
354         system header defines a default value.
356         * inc/sys/time.h (struct itimerval): Don't define if
357         _TIMESPEC_DEFINED is already defined.
359 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
361         Fix the MSVC build.  (Bug#13939)
362         * inc/stdint.h (UINTPTR_MAX): Define.
364         * nmake.defs (libc): Fix syntax of !if conditional.
366 2013-03-15  Juanma Barranquero  <lekktu@gmail.com>
368         * config.nt: Sync with autogen/config.in.
369         (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
370         (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
371         (HAVE_FDATASYNC): New macros.
373 2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
375         File synchronization fixes (Bug#13944).
376         * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
378 2013-03-05  Paul Eggert  <eggert@cs.ucla.edu>
380         FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
381         * inc/unistd.h (O_NOFOLLOW): New macro.
383 2013-03-04  Juanma Barranquero  <lekktu@gmail.com>
385         * config.nt: Sync with autogen/config.in.
386         (DATA_START, ORDINARY_LINK): Remove.
387         (HAVE_DATA_START, HAVE__PUTENV): New macros.
389 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
391         * inc/ms-w32.h (BOOT_TIME_FILE): Define.
393         * config.nt (CLASH_DETECTION): Define to 1.
395 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
397         * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
398         (Bug#9066)
399         (chown, logb): Remove, unused.
401 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
403         * config.nt: Sync with autogen/config.in.
404         (GC_MARK_STACK): Remove.
405         (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
406         (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
407         (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
409 2013-02-12  Eli Zaretskii  <eliz@gnu.org>
411         * inc/ms-w32.h: Add prototype for memrchr.
413 2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
415         Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
416         * inc/sys/stat.h (fstatat):
417         * inc/unistd.h (readlinkat): New decls.
419 2013-01-28  Eli Zaretskii  <eliz@gnu.org>
421         * inc/dirent.h (opendir): Update prototype.
423 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
425         * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
426         used in term.c.  (Bug#13387)
428 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
430         * config.nt: Sync with autogen/config.in.
431         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
433 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
435         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
436         in lib/filemode.c that broke the MS-Windows build.
437         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
439 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
441         * config.nt: Sync with autogen/config.in.
442         (BSD4_2): Remove.
444 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
446         * inc/sys/acl.h: New file.
448         * inc/ms-w32.h (ENOTSUP): Define if undefined.
450         * config.nt (HAVE_POSIX_ACL): Define.
452 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
454         * inc/ms-w32.h (sys_unlink): Provide prototype.
456 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
458         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
460 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
462         * config.nt: Sync with autogen/config.in.
463         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
465 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
467         * config.nt: Sync with autogen/config.in.
468         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
469         (ULIMIT_BREAK_VALUE): Remove.
471 2012-12-10  Daniel Colascione  <dancol@dancol.org>
473         * emacs.rc: Use forward slashes in relative paths in order to
474         avoid complaints from Cygwin.  (Forward slashes work perfectly
475         well in the NT build.)
477 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
479         * inc/unistd.h (unsetenv): Provide a prototype.
481 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
483         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
484         (sys_putenv): Add prototype.
486         * config.nt (HAVE_UNSETENV): Define to 1.
488 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
490         * config.nt: Sync with autogen/config.in.
492 2012-11-24  Ken Brown  <kbrown@cornell.edu>
494         * config.nt (HAVE_MOUSE): Remove.
496 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
498         * config.nt: Sync with autogen/config.in.
499         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
500         Remove.
502 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
504         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
505         (Bug#12955)
507         * nmake.defs (SWITCHCHAR): Define to /.
509 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
511         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
512         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
513         (struct dirent): Rename from struct direct.  All uses changed.
514         * inc/sys/dir.h: Remove.
516 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
518         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
519         * config.nt (HAVE_GETCWD): Remove.
521 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
523         * nmake.defs: Use !if, not !ifdef.  For the details, see
524         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
526         * inc/stdint.h (INTPTR_MIN):
527         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
529 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
531         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
533 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
535         * config.nt: Sync with autogen/config.in.
536         (HAVE_FPATHCONF): Remove.
538 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
540         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
541         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
542         POSIX name for this flag is O_NONBLOCK.  All uses changed.
543         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
544         these really should be moved to a replacement <fcntl.h> if and
545         when that gets implemented.  In the meantime, include <fcntl.h>
546         to make sure we don't override its definitions.
548 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
550         * inc/sys/wait.h: New file, with prototype of waitpid and
551         definitions of macros it needs.
553         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
554         (sys_wait): Remove prototype.
556         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
558 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
560         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
561         to check if it's installed, redirect standard output and standard
562         error to the null device.
563         (ZIP_DIST): Don't build the "barebin" distribution.
565 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
567         * config.nt: Sync with autogen/config.in.
568         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
569         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
570         New macros.
572 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
574         * inc/unistd.h (faccessat): Add prototype.
575         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
576         2 moved from ms-w32.h.
578         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
580 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
582         Use faccessat, not access, when checking file permissions (Bug#12632).
583         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
584         (access): Remove.
585         (faccessat): New macro.
587 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
589         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
591 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
593         * config.nt: Sync with autogen/config.in.
594         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
595         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
597 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
599         * config.nt: Sync with autogen/config.in.
600         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
602 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
604         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
606 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
608         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
610         * config.nt (GETPGRP_VOID): Define to 1.
612 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
614         * config.nt: Sync with autogen/config.in.
616 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
618         * inc/pwd.h (getuid, geteuid): Add prototypes.
620         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
621         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
622         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
623         (sys_kill, getpagesize): Add prototypes for emulated functions.
625         * inc/grp.h (getgid, getegid): Add prototypes.
627         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
629         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
630         compiling with -std=gnu99.
632         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
633         could be used via --cflags switch to configure.bat.
635 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
637         * config.nt: Sync with autogen/config.in.
638         (HAVE_NTGUI): New macro.
640 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
642         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
643         compiler warnings when using the value.
645 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
647         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
648         'void *', for pointer arithmetics.
649         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
650         macro arguments in parentheses.
652 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
654         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
656 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
658         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
659         that are already defined.
661         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
662         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
663         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
665         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
666         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
667         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
668         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
669         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
670         Use DWORD_PTR instead of DWORD for compatibility with x64.
672         * nmake.defs: Support AMD64.
673         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
675         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
676         New macros.
678         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
679         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
680         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
681         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
682         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
683         DWORD, for compatibility with x64.
685         * emacs-x64.manifest: New file.
687         * emacs-x86.manifest: Renamed from emacs.manifest.
689 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
691         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
692         (struct itimerval): Define.
693         (getitimer, setitimer): Add prototypes.
695         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
696         with MinGW.
697         (SA_RESTART, SIGPROF): Define.
699         * config.nt (HAVE_SETITIMER): Define to 1.
701 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
703         * config.nt: Sync with autogen/config.in.
705 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
707         * config.nt: Sync with autogen/config.in.
708         (HAVE_TIMER_SETTIME): New macro.
710 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
712         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
714 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
716         Simplify and avoid signal-handling races (Bug#12471).
717         * inc/ms-w32.h (emacs_raise): New macro.
719 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
721         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
722         defined, as needed by giflib-5.0.0.  (Bug#12464)
724 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
726         * config.nt: Sync with autogen/config.in.
727         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
729 2012-09-17  Glenn Morris  <rgm@gnu.org>
731         * config.nt (COPYRIGHT): New.
733 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
735         Port _setjmp fix to POSIXish hosts as well as Microsoft.
736         * config.nt: Attempt to sync with autogen/config.in.
737         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
738         (_longjmp, _setjmp): Remove.
740 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
742         * config.nt: Sync with autogen/config.in.
743         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
744         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
745         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
747 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
749         * config.nt: Sync with autogen/config.in.
750         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
751         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
753 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
755         * configure.bat <use_extensions>: Don't leave it set in the
756         environment when the script exits.
758 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
760         * config.nt: Sync with autogen/config.in.
761         (NO_ABORT, SIGNAL_H_AHB): Remove.
763 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
765         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
767 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
769         * config.nt: Sync with autogen/config.in.
771 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
773         Simplify redefinition of 'abort' (Bug#12316).
774         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
776 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
778         * config.nt: Sync with autogen/config.in.
779         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
781 2012-09-01  Daniel Colascione  <dancol@dancol.org>
783         * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
785 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
787         * config.nt: Sync with autogen/config.in.
789 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
791         * config.nt: Sync with autogen/config.in.
792         (HAVE_POSIX_OPENPT): New macro.
794 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
796         * config.nt: Sync with autogen/config.in.
797         (_GL_INLINE_HEADER_BEGIN): Update.
799 2012-08-10  Glenn Morris  <rgm@gnu.org>
801         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
803 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
805         * config.nt: Sync with autogen/config.in.
806         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
807         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
809         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
811 2012-08-06  Glenn Morris  <rgm@gnu.org>
813         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
814         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
816 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
818         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
819         (PATH_DATA, PATH_DOC): Replace dummy directory names with
820         directories relative to %emacs_dir%.
821         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
822         to the use case of running un-installed Emacs.
824 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
826         * config.nt: Sync with autogen/config.in.
827         (DOS_NT, MSDOS): New macros.
828         (WRETCODE, wait3): Remove.
830         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
832 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
834         * inc/sys/stat.h (S_IFLNK): Define.
835         (S_ISLNK): A non-trivial definition.
836         (lstat): Prototype instead of a macro that redirects to 'stat'.
838 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
840         Use C99-style 'extern inline' if available.
841         * config.nt: Sync with autogen/config.in.
842         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
843         (_GL_INLINE_HEADER_END): New macros.
845 2012-08-02  Glenn Morris  <rgm@gnu.org>
847         * inc/ms-w32.h: Move here from ../src/s.
848         * config.nt (config_opsysfile): Change to <ms-w32.h>.
850 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
852         * config.nt: Sync with autogen/config.in.
853         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
854         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
855         New macros.
857 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
859         * config.nt: Sync with autogen/config.in.
860         Remove code moved to conf_post.h and include <conf_post.h>
861         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
862         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
864 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
866         * config.nt: Sync with autogen/config.in.
867         (HAVE_ENVIRON_DECL): New macro.
869 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
871         * inc/stdalign.h (_Alignas, alignas): Define.
873 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
875         Use Gnulib stdalign module (Bug#9772, Bug#9960).
876         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
878 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
880         * config.nt: Sync with autogen/config.in.
881         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
882         (SETUP_SLAVE_PTY): New macros.
884 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
886         * config.nt: Sync with autogen/config.in.
887         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
888         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
889         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
890         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
891         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
892         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
893         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
894         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
895         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
896         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
897         Set in src/s/ms-w32.h, not here.
899 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
901         * config.nt: Sync with autogen/config.in.
902         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
903         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
904         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
906 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
908         * config.nt: Sync with autogen/config.in.
910 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
912         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
914 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
916         * config.nt: Sync with autogen/config.in.
918 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
920         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
922 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
923             Eli Zaretskii  <eliz@gnu.org>
925         * config.nt: Complete rework to bring it in sync with autogen/config.in.
926         All Windows-specific code moved to src/s/ms-w32.h.
928 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
929             Eli Zaretskii  <eliz@gnu.org>
931         * configure.bat (enablechecking): Enable checks through src/config.h,
932         not the compiler's command line.
934         * nmake.defs (CHECKING_CFLAGS): Remove.
935         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
937         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
938         (CHECKING_CFLAGS): Remove.
939         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
941 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
943         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
944         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
945         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
946         (HAVE_MEMCMP): Remove, obsolete.
948 2012-06-30  Glenn Morris  <rgm@gnu.org>
950         * paths.h (PATH_SITELOADSEARCH): New.
952 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
954         * nmake.defs (CHECKING_CFLAGS):
955         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
957 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
959         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
961 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
963         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
964         * config.nt (_Noreturn): New macro.
965         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
966         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
968 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
970         * inc/sys/time.h (struct timespec): Don't define it here, it is
971         now defined in src/s/ms-w32.h.
973 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
975         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
976         * inc/sys/time.h (struct timespec): Define.
978 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
980         * makefile.w32-in (install-addpm): New target.
981         (dist): Depend on it.
982         (install-shortcuts): Depend on install-addpm instead of copying
983         addpm.exe as part of the recipe.  See
984         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
985         for the related problem and discussions.
987 2012-06-11  Glenn Morris  <rgm@gnu.org>
989         * config.nt (SYSTEM_TYPE): Define it.
991 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
993         * configure.bat (genmakefiles): Move the redirection away from the
994         end of the command, to avoid excess whitespace at the end of Make
995         variables created at configure time, and also avoid things like
996         "FOO1>>config.settings", where "1" gets interpreted as the file
997         descriptor and eaten up.  This fixes breakage introduced by the
998         last change, without reintroducing the bug fixed by that change.
1000 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1002         * nmake.defs (MWINDOWS): Define as
1003         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
1004         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
1006         * gmake.defs (MWINDOWS): Define as "-mwindows".
1008 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
1010         * config.nt (HAVE_SYSINFO): Remove; unused.
1012 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1014         * inc/stdalign.h: New file.
1016         * configure.bat: Ensure a space between %var% expansion and
1017         redirection symbol '>', which breaks when %var% ends in a digit,
1018         such as 1.
1020 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1022         Remove src/m/*.
1023         * config.nt: Do not include "m/intel386.h"; file was removed.
1024         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
1025         Move to src/lisp.h.
1026         (EMACS_INT_MAX): New macro.
1028 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1030         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
1031         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
1033         * config.nt (HAVE_FTIME): Remove undef; not needed.
1035 2012-05-01  Glenn Morris  <rgm@gnu.org>
1037         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
1039 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1041         * makefile.w32-in: Fix typo (Bug#10261).
1043 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
1045         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
1046         each runs makeinfo in its own subdirectory of 'doc'.
1047         (info-gmake): Depend on these new targets.
1049 2012-04-07  Glenn Morris  <rgm@gnu.org>
1051         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
1052         Bump version to 24.1.50.
1054 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1056         * configure.bat: Support building with libxml2.
1058         * INSTALL:
1059         * README.W32: Add information about libxml2.
1061 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1063         * makefile.w32-in: Convert to Unix EOL format.
1064         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
1065         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
1066         (bootstrap-gmake): Invoke the "clean" and build targets in 2
1067         separate commands, so they run in that order even under "make -j".
1069 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
1071         * config.nt: Discourage from defining HAVE_GETCWD.
1073 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1075         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
1076         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
1077         on other (parallel) Make job's toes.
1078         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
1079         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
1080         here.
1081         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
1082         Depend on create-tmp-dist-dir.
1084         * nmake.defs (DIRNAME): New variable.
1085         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1086         same-dir.tst.
1088         * gmake.defs (DIRNAME): New variable.
1089         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1090         same-dir.tst, to avoid conflicts between several (parallel) Make
1091         jobs.
1093 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
1095         Prevent endless re-spawning of cmdproxy.exe when some of its
1096         parent directories have access limitations.
1098         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
1099         and our own module name to short 8+3 aliases, if the original file
1100         names compare equal.  If GetShortPathName fails, compare the base
1101         names of the two file names, and only re-spawn the command line if
1102         the base-name comparison also fails.  (Bug#10674)
1104 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1106         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
1108 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
1110         * README.W32: Removed specific version information for libXpm
1111         included in the binary distribution for maintenance purposes.
1113 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
1115         * README.W32: Clarification for inclusion in source tarball (bug#9750).
1117         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1119         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1121         * makefile.w32-in (maybe-copy-distfiles)
1122         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1123         (create-tmp-dist-dir): Add to make --distfiles optional.
1124         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1126 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
1128         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1129         by other headers.
1131 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1133         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1134         (UINT64_MAX) [_WIN64]: Fix definition.
1135         (uintmax_t, intmax_t): Fix definitions.
1137         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1138         Provide correct definitions.
1140         * config.nt (HAVE_DECL_STRTOLL): Define.
1141         (va_copy) [_WIN64]: Provide a better definition.
1143 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
1145         * configure.bat: Fix typos.
1147 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
1149         * INSTALL: Elaborate on debugging fatal errors.
1151 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
1153         * README.W32: Update the GTK Windows download URL for libpng.
1155 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
1157         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1159 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
1161         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1162         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1163         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1164         (intmax_t, INT64_MAX): Add for MSVC.
1166         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1168 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
1170         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1172         Support MSVC build with newer versions of Visual Studio.
1173         * makefile.w32-in (clean-other-dirs-nmake)
1174         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1175         Update for current structure of doc/ subdirectories.
1177         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1179         * INSTALL: Update for newer versions of MSVC.
1181 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1183         Support MSVC build with newer versions of Visual Studio.
1184         * nmake.defs (USE_CRT_DLL): Define to 1.
1185         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1186         (D): New variable.
1188 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
1190         * runemacs.c (ensure_unicows_dll): New function, tries to load
1191         UNICOWS.DLL on Windows 9X.
1192         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1193         display a dialog to the effect that Emacs cannot be started.
1194         (Bug#8562)
1196 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
1198         * README.W32: Mention UNICOWS.DLL as prerequisite for running
1199         Emacs on Windows 9X.
1201 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
1203         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1204         distribution.  (Bug#9861)
1206 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
1208         * INSTALL: Update URL for GTK download page.
1210 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
1212         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1213         (Bug#9794) (Bug#641)
1215 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1217         * config.nt (HAVE_SNPRINTF): New macro.
1219 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1221         Assume freestanding C89 headers, string.h, stdlib.h.
1222         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1223         (STDC_HEADERS): Remove.
1224         Iinclude string.h, stdlib.h unconditionally.
1226 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
1228         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1229         [!__GNUC__]: New macros.
1231 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1233         Use 'inline', not 'INLINE'.
1234         * config.nt (INLINE): Remove.
1236 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
1238         * README.W32: Add information about GnuTLS libraries.
1240 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
1242         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1244 2011-05-07  Ben Key  <bkey76@gmail.com>
1246         * configure.bat: Renamed the fusercflags variable to escusercflags
1247         so that the variable name better matches its purpose, to be
1248         identical to usercflags with the exception that all quotes are
1249         escaped by the \ character.
1251         Renamed the fuserldflags variable to escuserldflags so that the
1252         variable name better matches its purpose, to be identical to
1253         userldflags with the exception that all quotes are escaped by
1254         the \ character.
1256         A new ESC_USER_CFLAGS variable is written to config.settings.
1257         This variable has the same value as the escusercflags variable.
1259         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1260         This variable is identical to the CFLAGS variable except that it
1261         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1263         These changes, along with some changes to src/makefile.w32-in,
1264         are required to extend my earlier fix to add support for
1265         --cflags and --ldflags options that include quotes so that it
1266         works whether make uses cmd or sh as the shell.
1268 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
1270         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
1271         definition of uintmax_t from here...
1272         * inc/stdint.h (uintmax_t): ...to here.
1273         (intptr_t) [!__GNUC__]: New typedef.
1275 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
1277         * config.nt: Prepare to configure 64-bit integers for older compilers.
1278         However, temporarily disable this change unless the temporary
1279         symbol WIDE_EMACS_INT is defined.
1280         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1281         "%I64d" work but long long and "%lld" do not.
1283 2011-05-05  Ben Key  <bkey76@gmail.com>
1285         * configure.bat: Added support for --cflags and --ldflags
1286         options that include quotes as long as command extensions are
1287         enabled.  Specifically when -I, -L, and similar flags are used
1288         to specify supplementary include and library directories a
1289         directory name that includes spaces may now be used if it is
1290         enclosed in quotes.
1292         * INSTALL: Documented the change to configure.bat.
1294 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1296         * INSTALL: Clarify GnuTLS support.
1298 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
1300         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1301         Define to 1 for MinGW of MSVC versions >= 1400.
1303 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
1305         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1307 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
1309         * inc/inttypes.h: New file.
1311         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1312         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1314 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1316         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1317         inside quotation marks and bail out.
1319 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1321         * cmdproxy.c (try_dequote_cmdline): New function.
1322         (main): Use it.
1324 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1326         * configure.bat: New options --without-gnutls and --lib, new build
1327         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
1328         library setup with trivial modifications.
1329         * INSTALL: Add instructions for GnuTLS support.
1330         * gmake.defs: Prefix USER_LIBS with -l.
1332 2011-04-15  Ben Key  <bkey76@gmail.com>
1334         * configure.bat: Modified the code that parses the --cflags and
1335         --ldflags options to support parameters that include the =
1336         character as long as they are enclosed in quotes.
1337         This functionality depends on command extensions.  Configure.bat now
1338         attempts to enable command extensions and displays a warning
1339         message if they could not be enabled.  If configure.bat could
1340         not enable command extensions the old parsing code is used that
1341         does not support parameters that include the = character.
1343         * INSTALL: Updated the file to describe the new functionality
1344         using text provided by Eli Zaretskii.
1346 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
1348         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1349         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1350         on the trunk on 2011-04-06.
1352 2011-03-27  Glenn Morris  <rgm@gnu.org>
1354         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1356 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
1358         * addpm.c (main): Remove unused variable `retval'.
1360         * preprep.c (main): Remove unused variable `ptr'.
1362 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
1364         * cmdproxy.c: Include <ctype.h>.
1365         (make_absolute): Remove unused variable `i'.
1367 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
1369         * Version 23.3 released.
1371 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
1373         * inc/unistd.h (readlink, symlink): Declare prototypes.
1375 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
1377         * config.nt (nlink_t): Define.
1379 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
1381         * inc/stdint.h: New file, to support compilation with tool chains
1382         that do not have stdint.h (e.g. MSVC).
1384 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
1386         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1387         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1388         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1389         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1390         (lstat): Define to stat.
1392 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
1394         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1395         "make-docfile" target in lib-src, before bootstrapping the src
1396         directory.  Needed since building in src needs to run make-docfile
1397         to produce globals.h.
1399 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1401         * config.nt (inline) [__GNUC__]: Define (for gnulib).
1403 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1405         * config.nt (VERSION): Uncomment definition.
1406         (restrict): Define.
1408         * inc/stdbool.h: New file.
1410 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1412         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1413         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1414         (bootstrap-clean-gmake, clean-other-dirs-nmake)
1415         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1416         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1417         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1418         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1419         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1421         * configure.bat: Create lib/makefile.
1423         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1424         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1425         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1426         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1428 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1430         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1432 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1434         * configure.bat (end): Unset environment variables used by this
1435         batch file.
1437         * INSTALL: Update the information about PNG support libraries.
1438         (Bug#7716)
1440         * README.W32: Update the information about PNG support libraries.
1442 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1444         * config.nt (EXTERNALLY_VISIBLE): Define.
1446 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1448         * INSTALL: Refer to `dynamic-library-alist'.
1450 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1452         * INSTALL: Add note about problematic characters passed to configure.
1454 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1456         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1457         emacs-src.tags: New file.
1459         * gmake.defs: Add a comment with a single quote to fix
1460         fontification.  (Bug#7102)
1462 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1464         * configure.bat: Fix the condition for copying paths.h into
1465         ../src/epaths.h.
1467 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1469         * addpm.c (entry, add_registry, main):
1470         * addsection.c (file_data, open_input_file, open_output_file)
1471         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1472         (COPY_CHUNK):
1473         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1474         (skip_nonspace, get_next_token, search_dir, make_absolute)
1475         (spawn, main):
1476         * preprep.c (file_data, open_input_file, open_output_file)
1477         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1478         Use const char*.
1480         * cmdproxy.c (stdin): Don't define, not used.
1481         (main): Don't assign remlen after last use.
1483 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1485         * configure.bat: Err out when the argument of --cflags contains
1486         invalid characters (check implemented only for GCC).  (Bug#6820)
1488 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1490         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1492 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1494         * addpm.c (add_registry): Set path for runemacs.exe to use.
1496 2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
1498         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1499         which has a 1024 char limit on Windows (bug#6647).
1501 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1503         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1504         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1506 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1508         * config.nt: Remove code referring to NO_REMAP, unused.
1510 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1512         Build binary distros on Windows using emacs-VERSION as root dir name.
1514         * makefile.w32-in: Copy README.W32 to installation directory
1515         during `make install'.  Remove README.W32 with `distclean' (in
1516         case Emacs was installed in place).  Use temporary directory to
1517         create distribution zip files in `dist' target.
1518         * zipdist.bat: Simplify code using temporary directory.
1520 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1522         * runemacs.c (set_user_model_id): Fix prototype.
1524 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1526         New make target for Windows platform: make dist (bug#6602)
1528         * INSTALL: Document new dist target and add section about
1529         creating binary distributions.
1530         * README.W32: Relocate from admin/nt/ directory.
1531         * configure.bat: New parameter `--distfiles'.
1532         * makefile.w32-in: Add version number, new target `dist'.
1533         Add new target `install-shortcuts'.
1534         * zipdist.bat: New file; create zipped binary distribution,
1535         replaces admin/nt/makedist.bat.
1537 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1539         * INSTALL: Add note about backslashes in Windows paths.
1540         Fix typos.  Simplify references to Windows versions.
1542 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1544         * addpm.c (add_registry, main):
1545         * cmdproxy.c (get_env_size):
1546         * ddeclient.c (main):
1547         * runemacs.c (set_user_model_id):
1548         Convert definitions to standard C.
1550 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1552         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1554 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1556         * configure.bat: New option --enable-checking.
1557         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1558         (CFLAGS): Include it.
1560 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1562         * config.nt (volatile): Remove definition.
1564 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1566         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1567         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1569 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1571         * config.nt (__P): Remove.
1573 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1575         * config.nt: Remove code depending on BSTRING.
1577 2010-06-03  Glenn Morris  <rgm@gnu.org>
1579         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1581 2010-05-13  Glenn Morris  <rgm@gnu.org>
1583         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1585 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1587         * Version 23.2 released.
1589 2010-05-04  Glenn Morris  <rgm@gnu.org>
1591         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1593 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1595         * emacs.manifest: Add trustInfo section to Windows manifest.
1597 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1599         * Branch for 23.2.
1601 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1603         * emacsclient.rc: Fix format of "LegalCopyright" value.
1605 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1607         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1609 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1611         * INSTALL: Update for CVS->Bazaar switchover.
1613 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1615         * configure.bat: Add #define PROFILING to config.h.
1617 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1619         * runemacs.c (set_user_model_id): Use standard types.
1621 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1623         * runemacs.c (set_user_model_id): New function.
1624         (WinMain): Use it.
1626 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1628         * Branch for 23.1.
1630 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1632         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1633         st_gid to unsigned.
1635         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1636         to unsigned.
1637         (getpwuid): Argument is now unsigned.
1638         uid_t is now unsigned.
1640 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1642         * INSTALL: Add comment about TCC; fix typos.
1644 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1646         * emacsclient.rc, emacs.rc: Swap name and description.
1647         Remove Windows versions.
1649 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1651         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1653         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1655         * addpm.c (main): Try using COM to create start menu shortcuts
1656         before resorting to DDE (Bug#202)
1657         Remove second command-line argument.
1659 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1661         * configure.bat: Untabify help message.
1663 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1665         * configure.bat: New option --with-svg.
1667         * INSTALL: Document experimental SVG support.
1669 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1671         * config.nt (PTR): Remove.
1673 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1675         * config.nt (LISTPROC, PROCATTR): Remove.
1677 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1679         * config.nt (LISTPROC, PROCATTR): New macros.
1681 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1683         * config.nt (MULTI_KBOARD): Remove.
1685 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1687         * configure.bat: New option --profile.
1688         * gmake.defs: Set cflags and ldflags for profiling when specified.
1690 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1692         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1694 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1696         * config.nt (HAVE_FACES): Remove, unused.
1698 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1699             Eli Zaretskii  <eliz@gnu.org>
1701         * nmake.defs (FONT_CFLAGS):
1702         * gmake.defs (FONT_CFLAGS): Remove.
1703         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1704         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1705         and _CRTAPI1.
1706         (ARCH_FLAGS): Don't include _X86_.
1708         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1710 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1712         * config.nt: Remove reference to UNEXEC_SRC.
1714 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1715             Eli Zaretskii  <eliz@gnu.org>
1717         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1718         Don't hardcode -gstabs+, use DEBUG_INFO.
1720         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1721         Default to stabs if the compiler does not support DWARF-2.
1722         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1724 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1726         * configure.bat: Remove code dealing with --disable-font-backend.
1728 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1730         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1731         better alignment.  Make st_size 64-bit wide.  Add new members
1732         st_uname and st_gname.
1734         * inc/grp.h (struct group): Add gr_gid member.
1736 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1738         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1739         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1740         a real file there is not a good idea.
1742 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1744         * makefile.w32-in (CLIENTRES): New variable and build target.
1745         (all): Depend on it.
1746         ($(TRES)): Use $(TRES) in rule.
1748 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1750         * configure.bat (success): Print "make" rather than "gmake", as that
1751         is what MinGW uses.
1753 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1755         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1756         Add copyright notice.
1758 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1760         * emacsclient.rc: New file.
1762         * INSTALL: Document make targets.
1764 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1766         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1767         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1768         (top-distclean, distclean, distclean-other-dirs-nmake)
1769         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1770         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1772 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1774         * inc/sys/stat.h: New file.
1776         * configure.bat: Add check for usp10.h.
1778 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1780         * INSTALL: Update Windows API requirements.
1782 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1784         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1786 2008-03-13  Glenn Morris  <rgm@gnu.org>
1788         * emacs.rc: Set version to 23.0.60.
1790 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1792         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1793         (EMACS_EXTRA_C_FLAGS): Include it.
1794         * configure.bat (usefontbackend): Default to Y.
1795         (--enable-font-backend): Replace with --disable-font-backend.
1796         (:withfont): Replace with :withoutfont.
1798 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1800         * icons/emacs.ico: Full alpha for 32x32 full color.
1801         Add 32x32 and 16x16 256 color versions.
1803 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1805         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1807 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1809         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1811 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1813         * icons/README: Update.
1815         * icons/emacs.ico: New icon.
1817 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1819         * addpm.c: Include malloc.h.
1820         (add_registry): Cast return value of alloca.
1822 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1824         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1826 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1828         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1829         conditional on existence of junk.o.  If %nocygwin% is already set
1830         to Y, skip to chkapiN instead of chkapi.
1831         (chkapi): Move "rm -f junk.c junk.o" to here.
1832         (chkapiN): New label.
1834 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1836         * makefile.w32-in: Remove unidata-gen related rules.
1838 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1840         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1842 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1844         * addpm.c (add_registry): Add an App Paths registry key.
1845         Look for GTK and add it to the DLL search path for Emacs if found.
1847 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1849         * configure.bat: In help, use generic names for the image libraries.
1851 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1853         * .cvsignore: Don't ignore .arch-inventory.
1855 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1857         * configure.bat: Make gcc the default compiler.
1859 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1861         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1862         Ignore return status.
1864         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1865         it out of the way of Windows generated file.
1866         Generate admin/unidata/makefile.
1868         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1869         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1870         (unidatagen-clean-SH): New targets.
1871         (bootstrap-nmake): Invoke unidatagen-nmake.
1872         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1874 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1876         * configure.bat (withfont): Set sep1 after modifying usercflags.
1878 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1880         * configure.bat: Rename --with-font-backend to --enable-font-backend
1881         for consistency with other platforms.
1883 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1885         * configure.bat: Add --with-font-backend option.
1887 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1889         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1890         permissions to NTFS ACLs.
1892 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1894         * config.nt: Remove HAVE_X11R5.
1896 2007-10-22  Jason Rumney  <jasonr@gnu.org>
1898         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1899         (strings.h, stdlib.h): Conditionally include.
1900         (w32_abort): Declare here.
1901         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
1903 2007-10-20  Jason Rumney  <jasonr@gnu.org>
1905         * makefile.w32-in (info-nmake): Change into correct directories.
1907 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
1909         * configure.bat (docflags, doldflags): New variables.
1910         (genmakefiles): Use them to work around problems with whitespace
1911         in arguments of the `if' command.
1913 2007-10-18  Jason Rumney  <jasonr@gnu.org>
1915         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1917 2007-09-27  Jason Rumney  <jasonr@gnu.org>
1919         * gmake.defs (COMCTL32): New system library.
1921         * nmake.defs (COMCTL32): New system library.
1923 2007-09-06  Glenn Morris  <rgm@gnu.org>
1925         * configure.bat:
1926         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
1927         Change from ../man to ../doc/emacs and ../doc/misc; and from
1928         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
1930 2007-08-29  Glenn Morris  <rgm@gnu.org>
1932         * emacs.rc: Increase version to 23.0.50.
1934 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
1936         * makefile.w32-in (bootstrap-nmake): Change directories once more.
1938 2007-07-25  Glenn Morris  <rgm@gnu.org>
1940         * Relicense all FSF files to GPLv3 or later.
1942         * COPYING: Switch to GPLv3.
1944 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
1946         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
1947         Depend on cmdproxy.
1948         (cleanall): Don't delete *~.
1950 2007-07-15  Jason Rumney  <jasonr@gnu.org>
1952         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
1953         be fully supported.
1955 2007-07-14  Jason Rumney  <jasonr@gnu.org>
1957         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
1958         of winsock.h.
1960 2007-07-11  Jason Rumney  <jasonr@gnu.org>
1962         * gmake.defs (OLE32): New library to link.
1964         * nmake.defs (OLE32): Likewise.
1966 2007-06-25  Jason Rumney  <jasonr@gnu.org>
1968         * cmdproxy.c (main): Set console codepages to "ANSI".
1970 2007-06-20  Jason Rumney  <jasonr@gnu.org>
1972         * configure.bat: Complain if image libraries are missing.
1974 2007-06-15  Jason Rumney  <jasonr@gnu.org>
1976         * emacs.manifest: New file.
1978         * emacs.rc: Use it.
1980 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
1982         * Version 22.1 released.
1984 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
1986         * INSTALL: Add information about where to find GDB, and warn
1987         against --no-debug option to configure.bat.
1989 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
1991         * INSTALL: Fix URL of EmacsW32 site where building with image
1992         support is described.
1994 2007-04-26  Glenn Morris  <rgm@gnu.org>
1996         * emacs.rc: Increase version to 22.1.50.
1998 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
2000         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
2002 2007-03-09  Richard Stallman  <rms@gnu.org>
2004         * INSTALL: Say explicitly this is not for Cygwin.
2006 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
2008         * INSTALL: Add URL of another site with detailed build instructions.
2010 2007-02-16  Glenn Morris  <rgm@gnu.org>
2012         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
2013         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
2014         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
2015         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
2016         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
2017         Restore all but two of icons deleted in previous change.
2019 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
2021         * icons/README: New file.
2023         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
2024         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
2025         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
2026         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
2027         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
2028         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
2029         Unused icons deleted.
2031 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
2033         * configure.bat: Update ../site-lisp/subdirs.el when needed.
2035 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
2037         * subdirs.el: Add "no-byte-compile: t" local variable.
2039 2007-01-10  Jason Rumney  <jasonr@gnu.org>
2041         * README: Update URLs and advice about reporting bugs.
2043 2006-12-29  Jason Rumney  <jasonr@gnu.org>
2045         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
2046         DEBUG_LINK.
2047         (DEBUG_LINK): Remove -debugtype:both.
2049 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
2051         * INSTALL: Update table of supported Make ports.  Show "make -j"
2052         command that is known to work.
2054         * configure.bat: Update table of supported Make ports.
2056 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
2058         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
2059         only in implicit rules.  Use literal "emacs.rc" instead.
2061 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
2063         * gmake.defs: Export XMFLAGS.
2065         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
2066         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
2068 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
2070         * INSTALL: Explain how to invoke GNU Make for parallel builds.
2072         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
2073         command-line argument to sub-Make in src, since src/makefile.w32-in
2074         invokes Make recursively during bootstrap.
2075         (clean): Delete stamp_BLD.
2076         (bootstrap): Make `all' explicitly in a recursive Make.
2078         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2079         stamp_BLD after creating the $(BLD) directory.
2081         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2082         stamp_BLD after creating the $(BLD) directory.
2084         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
2085         (preprep, $(TRES), runemacs)
2086         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
2087         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2088         Depend on stamp_BLD instead of on $(BLD).
2089         (XMFLAGS): New macro.
2090         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
2091         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
2092         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
2093         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2095 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
2097         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
2098         $(ALL_DEPS).
2099         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
2100         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2101         New dependency on $(BLD).
2102         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
2103         (bootstrap-gmake): Depend on addsection.
2105 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
2107         * runemacs.c (WinMain): Process all recognized arguments, not just
2108         the first one.  Remove unused variable sec_desc.
2110 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
2112         * config.nt (HAVE_LANGINFO_CODESET): Define.
2114         * inc/langinfo.h: New file.
2116         * inc/nl_types.h: New file.
2118 2006-09-15  Jay Belanger  <belanger@truman.edu>
2120         * COPYING: Replace "Library Public License" by "Lesser Public
2121         License" throughout.
2123 2006-07-27  Jason Rumney  <jasonr@gnu.org>
2125         * INSTALL: Add notes about Cygwin make to impatient section.
2127 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
2129         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2130         known to work.
2132 2006-03-12  Jason Rumney  <jasonr@gnu.org>
2134         * addpm.c (add_registry): Don't change the registry unless keys
2135         already exist from a previous version.
2137         * makefile.w32-in (install): Use -q when invoking addpm.
2139         * addpm.c (main): Accept -q as alternative for /q.
2141 2006-03-11  Jason Rumney  <jasonr@gnu.org>
2143         * runemacs.c (WinMain): Set screen buffer to 80x25.
2145 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
2147         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2148         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2150 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
2152         * INSTALL: Add explanation of how to debug with GDB starting from
2153         the Emacs Abort dialog.
2155 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
2157         * emacs.rc: Use new icons.
2159 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
2161         * emacs21.ico: Renamed from emacs.ico.
2162         * emacs.ico: New icons from Andrew Zhilin
2163         <andrew_zhilin@yahoo.com>.
2165 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
2167         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2169 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
2171         * .cvsignore: Add `obj' and `oo' for in-place installations.
2173 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
2175         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2177 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
2179         * configure.bat: Don't create lisp/Makefile.unix.
2181 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
2183         * .cvsignore: Add `makefile' and `config.log'.
2185 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
2187         Merge gnulib getopt implementation into Emacs.
2189         * inc/gettext.h: Remove; no longer needed now that
2190         lib-src/gettext.h exists.
2192 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
2194         * configure.bat: Finish config.log with a line that indicates that
2195         the configure step was successful.
2197 2005-07-04  Lute Kamstra  <lute@gnu.org>
2199         Update FSF's address in GPL notices.
2201 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
2203         * configure.bat: If their fc.exe returns a meaningful exit status,
2204         don't overwrite src/config.h and src/epaths.h with identical
2205         copies.
2207         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2208         changes.  Add a pointer to another site with detailed configure
2209         and build instructions.  Suggest to look at config.log when
2210         configure fails.  Add MinGW Make 3.80 to the list of successful
2211         combinations.
2213         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2214         "-mcpu=i686".
2216         * configure.bat: Update copyright years.
2217         Delete config.log before doing anything else.
2218         Write additional diagnostics to config.log in case of failures to
2219         compile test programs, including the failed test program itself.
2220         Add a test for support of -mtune=pentium4 switch to GCC; if it is
2221         supported, set up MCPU_FLAG variable on the various Makefiles to
2222         use that switch during compilations.  (This avoids GCC warning
2223         about -mcpu being deprecated.)
2225 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
2227         * addsection.c (copy_executable_and_add_section): Pass non-zero
2228         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2229         environment.  Print section names with %.8s.
2230         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2231         only if non-zero.  All callers changed.
2233 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
2235         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2236         `const void *', for consistency with POSIX.
2238 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
2240         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2242 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
2244         * INSTALL: Add more pointers to ports of Unix tools to Windows,
2245         and to the Emacs Wiki (which contains building instructions for
2246         Windows).  Reword image library instructions and remove obsolete
2247         incompatibility information.
2249 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
2251         * config.nt (HAVE_PWD_H): Undef.
2253 2004-06-07  Juanma Barranquero  <lektu@terra.es>
2255         * INSTALL: Clarify paragraph about compatibility between image
2256         libraries and builds of Emacs with several compilers.
2258 2004-06-06  Juanma Barranquero  <lektu@terra.es>
2260         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2261         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2262         calling non-existent cmdproxy.exe on bootstrapping after a
2263         previous install followed by realclean.
2265         * nmake.defs: Add quote in comment to resync font-locking.
2267 2004-06-04  Juanma Barranquero  <lektu@terra.es>
2269         * INSTALL: Reword the section on image support.  Add reference to
2270         GnuWin32.  Mention problems when mixing binaries from different
2271         compilers.
2273 2004-05-06  Jason Rumney  <jasonr@gnu.org>
2275         * configure.bat: Use -mno-cygwin to check for image libraries
2276         when needed.
2278 2004-05-03  Jason Rumney  <jasonr@gnu.org>
2280         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2281         * makefile.def: Remove.
2283         * nmake.defs (SYS_LDFLAGS): Add -nologo.
2285         * makefile.w32-in (info-gmake, info-nmake): New targets.
2286         (info): Use them.
2288 2004-04-23  Juanma Barranquero  <lektu@terra.es>
2290         * nmake.defs:
2291         * gmake.defs:
2292         * makefile.w32-in:
2293         * makefile.def:
2294         * makefile.nt: Add "-*- makefile -*-" mode tag.
2296 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
2298         * runemacs.c (WinMain): Let Emacs environment default to parent.
2300 2004-03-11  Jason Rumney  <jasonr@gnu.org>
2302         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2304 2004-03-10  Juanma Barranquero  <lektu@terra.es>
2306         * makefile.w32-in (install): Don't try to copy
2307         ../lib-src/fns-*.el, as it isn't used anymore.
2309 2004-01-28  Peter Runestig  <peter@runestig.com>
2311         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2313 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
2315         * .cvsignore: Add `.arch-inventory'.
2317 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
2319         * inc/grp.h: New file.
2321 2003-09-03  Peter Runestig  <peter@runestig.com>
2323         * configure.bat: Create ``makefile'' in directories man, lispref
2324         and lispintro.
2326         * makefile.w32-in (force-info, info): New targets.
2328         * envadd.bat: New file.
2330         * multi-install-info.bat: New file.
2332 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
2334         * config.nt (my_strftime): New define.
2336 2003-02-01  Jason Rumney  <jasonr@gnu.org>
2338         * configure.bat: Automatically detect libXpm.
2339         Suppress compiler output when testing for image libraries.
2340         Give names of un-found libraries in messages.
2342 2003-01-31  Juanma Barranquero  <lektu@terra.es>
2344         * configure.bat: Automatically detect giflib and tifflib.
2346 2003-01-29  Jason Rumney  <jasonr@gnu.org>
2348         * gmake.defs (CURDIR): Disable cygpath kludge.
2350 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
2352         * configure.bat: Avoid endless loop when configuring without image
2353         support.
2355 2003-01-26  Jason Rumney  <jasonr@gnu.org>
2357         * configure.bat: Automatically detect jpeglib.
2359 2003-01-25  Jason Rumney  <jasonr@gnu.org>
2361         * configure.bat: Automatically detect libpng.
2363 2003-01-21  Jason Rumney  <jasonr@gnu.org>
2365         * icons/hand.cur: New file.
2367 2003-01-21  David Ponce  <david@dponce.com>
2369         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2371 2003-01-15  Andrew Innes  <andrewi@gnu.org>
2373         * gmake.defs (CURDIR): Convert to native Windows format (with
2374         forward slashes), to support building with Cygwin builds of make.
2376 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
2378         * nmake.defs:
2379         * gmake.defs: Made changes so that Emacs would link with
2380         WinMM.lib.  This change was required for my addition of a Windows
2381         compatible implementation of play-sound-internal.
2383 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
2385         * emacs.rc: Version updated to 21.3.50.
2387 2002-06-13  Jason Rumney  <jasonr@gnu.org>
2389         * addpm.c (env_vars): Remove EMACSLOCKDIR.
2391         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2392         (maybe-bootstrap-SH): New targets.
2393         (all): Depend on maybe-bootstrap.
2395 2002-05-03  Jason Rumney  <jasonr@gnu.org>
2397         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2398         (sys_getpeername, fcntl): Declare as wrappers.
2400 2002-04-10  Juanma Barranquero  <lektu@terra.es>
2402         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2403         after compiling .el files.
2405 2002-03-20  Jason Rumney  <jasonr@gnu.org>
2407         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2408         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2410 2002-03-19  Kim F. Storm  <storm@cua.dk>
2412         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2413         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2414         (HAVE_SYS_UN_H): Undef.
2415         From David Ponce <dponce@voila.fr>.
2417 2002-03-13  Jason Rumney  <jasonr@gnu.org>
2419         * config.nt (STRFTIME_NO_POSIX2): Define.
2421 2002-02-18  Jason Rumney  <jasonr@gnu.org>
2423         * emacs.rc: Define VS_VERSION_INFO if not already.
2424         Update version info.
2426 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2428         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2429         pick up relevant bits of the Windows API definitions.
2431         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2432         pick up relevant bits of the Windows API definitions.
2434 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2436         * makefile.w32-in (bootstrap): Build addsection program before
2437         bootstrap (required for post-processing temacs.exe).
2439 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2441         * COPYING: New file.
2443 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2445         * makefile.w32-in (bootstrap-nmake):
2446         (bootstrap-gmake): Extend bootstrap process to first do
2447         bootstrap-clean in lisp dir and rebuild the DOC file.
2448         (bootstrap): Do a "normal" make after the bootstrap work.
2450 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2452         * INSTALL: Update table of versions of make that are suitable
2453         for building Emacs, based on recent feedback.
2455         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2457 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2459         * ftime-nostartup.bat: New file.
2461         * ftime.bat: Don't include libc.lib for profiling - the profiler
2462         corrupts part of memcpy.
2464 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2466         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2467         expansion.  From Juanma Barranquero <lektu@terra.es>.
2469 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2471         * (Version 21.1 released.)
2473 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2475         * inc/pwd.h (uid_t, gid_t): New typedefs.
2477 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2479         * Branch for 21.1.
2481 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2483         * README: Update the address of the mailing list and subscription
2484         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2486 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2488         * INSTALL: Suggest to avoid using WinZip.
2490         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2492 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2494         * INSTALL: Mention that "make install" can be "nmake install".
2496 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2498         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2499         since some versions of `mkdir' don't automatically create parent
2500         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2502 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2504         * subdirs.el: New file.
2506         * configure.bat: Copy subdirs.el to the site-lisp directory.
2508         * makefile.w32-in (install): Copy subdirs.el to the installation
2509         directory.
2511 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2513         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2515 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2517         * gmake.defs (sh_output): Don't use $(warning ...) to output
2518         messages, since that is not supported by GNU make 3.77.
2520 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2522         * INSTALL: Clarify that building with MSVC requires nmake.
2524 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2526         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2527         message that is to be ignored.
2529 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2531         * TODO: Remove file, since it is completely out of date.
2533         * README: Add copyright notice.
2535         * INSTALL: Add copyright notice.
2537 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2539         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2540         the environment.
2542         * gmake.defs (SETLOADPATH): Remove definition.
2543         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2544         environment.
2546 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2548         * configure.bat: Make the checkw32api* labels be distinct in the
2549         first 8 characters.
2551 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2553         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2554         escaped quotes.
2556         * gmake.defs (DEBUG_LINK): New macro.
2557         (LINK_FLAGS): Use it.
2559         * nmake.defs (DEBUG_LINK): New macro.
2560         (LINK_FLAGS): Use it.
2562 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2564         * INSTALL: Add --ldflags to configure line for building with
2565         recent versions of Cygwin GCC.
2567 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2569         * configure.bat: Use correct options when compiling a test program
2570         with Cygwin.  From David Ponce <dponce@voila.fr>.
2572 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2574         * _emacs: Remove obsolete file.
2576         * emacs.bat.in: Remove obsolete file.
2578         * debug.bat.in: Remove obsolete file.
2580         * inc/sys/socket.h: Add copyright notice.
2582         * paths.h: Add copyright notice.
2584         * makefile.nt: Update copyright notice.
2586         * makefile.def: Update copyright notice.
2588         * configure.bat: Update copyright notice.
2590         * nmake.defs: Add copyright notice.
2592         * gmake.defs: Add copyright notice.
2594         * makefile.w32-in: Add copyright notice.
2596 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2598         * nmake.defs (THISDIR): New definition.
2600         * gmake.defs (THISDIR): New definition.
2602 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2604         * configure.bat: Leave a space before >> only when there is a
2605         preceding digit.  Add a comment about the importance of this.
2607         * README: Replace outdated information.
2609         * INSTALL (Trouble-shooting): Add note about need to specify extra
2610         compiler flags with recent Cygwin ports of gcc.
2612 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2614         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2615         is not supported by Windows 9X's COMMAND.COM.
2617 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2619         * configure.bat: Make sure redirection is preceded by a blank, to
2620         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2621         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2623 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2625         * INSTALL: Copy the table of tested combinations of development
2626         tools from configure.bat.  Add suggestion to install Bash on
2627         Windows 9X.
2629         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2630         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2631         needs to be deleted, since command.com in Windows 9X doesn't grok
2632         more than one argument.
2634 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2636         * makefile.w32-in (cleanall-other-dirs-nmake):
2637         (cleanall-other-dirs-gmake): New targets.
2638         (cleanall): Invoke them.
2640 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2642         * addpm.c (env_vars): Add a version-independent site-lisp
2643         directory to EMACSLOADPATH, after the version dependent one.
2645 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2647         * README: Update info about compilers.
2649         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2650         select correct rule for invoking make in another directory.
2651         Amend rules accordingly.
2652         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2654         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2655         (COMPILER_TEMP_FILES): New definition.
2656         (MAKETYPE): New definition.
2658         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2659         (COMPILER_TEMP_FILES): New definition.
2660         (MAKETYPE): New definition.
2662         * makefile.def (EMACS_ICON_PATH): Delete definition.
2664         * configure.bat: Be careful not to add trailing spaces when
2665         outputting to config.settings.
2667 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2669         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2670         than the function.
2672 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2674         * makefile.w32-in (install): Copy directories to the correct
2675         places.
2676         (real_install): Remove obsolete target.
2678 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2680         * nmake.defs (CURDIR): New define.
2681         (INSTALL_DIR): Use it.
2683         * gmake.defs (NEW_CYGWIN): New define.
2684         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2685         so we need to adjust how we escape embedded quotes.
2686         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2687         relative to $(CURDIR).
2689 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2691         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2693 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2695         * makefile.w32-in (recompile): New target to recompile lisp
2696         directory.
2697         (recompile-CMD, recompile-SH): New support targets.
2699 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2701         * config.nt (NO_RETURN): Define it.
2703 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2705         * gmake.defs: Revert to Unix line endings.
2707         * nmake.defs: Revert to Unix line endings.
2709 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2711         * gmake.defs (SETLOADPATH): Change definition to work from any
2712         subdirectory.
2714 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2716         * makefile.w32-in: Revert to Unix line endings.
2718 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2720         * INSTALL: Add note about expected error messages when configure
2721         is run.
2723         * configure.bat: Simplify the generation of makefiles (don't need
2724         to generate various top-level targets that invoke make in other
2725         directories).
2727         * gmake.defs (SHELLTYPE): New define.
2728         (SETLOADPATH): New define.
2730         * nmake.defs (SHELLTYPE): New define.
2732         * makefile.w32-in: Standardize indentation somewhat.
2733         Add bootstrap support.
2734         Pass $(MFLAGS) when invoking make recursively.
2735         Add shell-specific variants of top-level targets that invoke make
2736         recursively in other directories, and add necessary computed
2737         dependencies.
2739 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2741         * makefile.w32-in: Change to DOS line endings.
2743         * configure.bat: Change to DOS line endings.
2745         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2746         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2748         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2749         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2751         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2752         -D_ANONYMOUS_STRUCT on compile line.
2753         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2754         (ARCH_CFLAGS): Change optimization flags to -O2.
2755         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2756         (ARGQUOTE, DQUOTE): New defines.
2758         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2759         -D_ANONYMOUS_STRUCT on compile line.
2760         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2761         (ARGQUOTE, DQUOTE): New defines.
2763 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2765         * configure.bat: New file.
2767         * gmake.defs: New file.
2769         * nmake.defs: New file.
2771         * makefile.w32-in: New file.
2773         * INSTALL: Rewrite to match new configure process.
2775         * config.nt [WINDOWSNT]: Don't declare getenv.
2776         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2778         * addpm.c (main): Accept /q to mean install based on addpm's
2779         location without asking.  Remove reference to emacs.bat which is
2780         now obsolete.
2782         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2784         * paths.h: Use forward slash as directory separator in all path
2785         definitions.
2786         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2788         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2790         * runemacs.c: Remove WIN32 define.
2792         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2793         not defined.
2795         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2796         (fd_set): Define to new name, after including winsock.h, so we can
2797         provide our own implementation.
2799 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2801         * ebuild.bat: Add support for specifying make arguments.
2803         * makefile.nt: Add support for `bootstrap' and related targets.
2805 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2807         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2809 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2811         * inc/sys/time.h: Add inclusion protection.
2813         * makefile.def (SYS_LDFLAGS): Add -nologo.
2815 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2817         * install.bat: Pass on command line arguments to make.
2819         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2821 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2823         * makefile.nt (all): Build leim if present.
2824         (install): Install leim if present.
2825         (clean): Clean leim if present.
2827         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2828         definition.
2830         * emacs.bat.in (EMACSLOADPATH): Include leim.
2832 1999-07-12  Richard Stallman  <rms@gnu.org>
2834         * Version 20.4 released.
2836 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2838         * emacs.rc: Use an icon with a transparent background, to be in
2839         keeping with other applications.
2841 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2843         * preprep.c: Fix typo.
2845 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2847         * config.h: Remove obsolete file.
2849         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2850         couple of unused switch cases that aren't defined on all
2851         platforms.
2853         * ftime.bat: Add another variation of the profile command, which
2854         only profiles extended commands.
2856 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2858         * cmdproxy.c (main): Fix parens.
2860 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2862         * cmdproxy.c (main): Call GetShortPathName to normalize program
2863         names for comparison.
2865 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2867         * makefile.def: Compile multiple .c files when possible.
2868         Use BLD instead of assuming i386.
2869         * makefile.nt: Remove common multiple file compilation commands.
2871 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2873         * cmdproxy.c (main): Add missing parens.
2875 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2877         * preprep.c: New program to allow dumped image to be profiled.
2879         * makefile.nt (preprep): New target.
2880         (ALL): Build it.
2882         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2884         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2885         Change prep options to profile libc functions and skip the startup
2886         code.
2888 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2890         * makefile.nt: Create installation directory as first step.
2892 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2894         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2895         ROUND_UP_DST.  Zeroes the alignment slop.
2896         (copy_executable_and_add_section): Update the
2897         SizeOfHeaders field properly.
2899 1999-01-27  Andrew Innes  <andrewi@gnu.org>
2901         * makefile.nt: Do make version comparison as strings.
2903 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
2905         * runemacs.c (WinMain): Pass explicit environment block to
2906         CreateProcess, to work around a bug in Windows 95/98.
2908 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
2910         * icons: New directory with Davenport's icons.
2911         * icons/sink.ico: Renamed from emacs.ico.
2913         * makefile.nt (install, fast_install): Install Windows icons
2914         into etc/icons.
2916         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2918 1999-01-17  Andrew Innes  <andrewi@gnu.org>
2920         * makefile.nt (ALL): List top-level targets.
2921         (addsection): New top-level target.
2922         (install): Copy fns-*.el to bin directory.
2924         * addsection.c: New program to add static heap section to
2925         temacs.exe after linking, in support of new unexec method.
2927 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
2929         * cmdproxy.c (spawn): Pass directory for child as parameter.
2930         (main): Save startup directory to give to spawn, then change
2931         directory to location of .exe in order not to prevent startup
2932         directory from being deleted.
2934 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
2936         * makefile.nt: Do string comparison of _NMAKE_VER.
2938 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
2940         * config.nt (LOCALTIME_CACHE): Define.
2942 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
2944         * install.bat: Convert to DOS format.
2946 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
2948         * cmdproxy.c (main): Set environment size only when running
2949         command.com.
2951 1998-11-03  Theodore Jump  <tjump@tertius.com>
2953         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
2954         (DEL_TREE): Use rd instead of rmdir.
2955         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
2956         * makefile.nt: Compile multiple source files when possible.
2958 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
2960         * cmdproxy.c (main): Treat command line options as case-insensitive.
2962 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
2964         * Version 20.3 released.
2966 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
2968         * addpm.c (main): Explicitly check result of message box for OK.
2970 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
2972         * inc/sys/file.h (D_OK): Define new macro.
2974 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
2976         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
2978 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
2980         * emacs.rc (VS_VERSION_INFO): Define.
2982 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
2984         * makefile.nt (emacs.bat, debug.bat): Create them in the
2985         installation directory.
2987 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
2989         * ddeclient.c: New file.  (Support program for performing limited
2990         interprocess communication on Windows.)
2992         * makefile.nt: Build ddeclient.
2994         * cmdproxy.c (main): Only set environment size for real shell, and
2995         provide extra directory argument, when running on Windows 95.
2997 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
2999         * cmdproxy.c (fail): Exit with a negative return value.
3000         (spawn): Return subprocess return code as an argument.
3001         Explicitly copy environment block.
3002         (main): Update to use return value argument with spawn.
3003         Retry if spawn failed when a subshell was not tried.
3005         * config.nt: Include new macros from src/config.in.
3006         (GNU_MALLOC, REL_ALLOC): Define.
3007         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
3008         (RE_TRANSLATE): Use char_table_translate.
3010         * makefile.def (CP_DIR): Preserve attributes.
3012         * makefile.nt (clean): Delete patch generated files, optimized
3013         build directory.
3015 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
3017         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
3019 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3021         * Version 20.2 released.
3023 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3025         * Version 20.1 released.
3027 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
3029         * debug.bat.in: New file.
3030         * makefile.nt (debug.bat): New target.
3032 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
3034         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
3035         Quote group name.  Allow different icons to be specified.
3037         * cmdproxy.c (get_env_size): New function.
3038         (spawn): Explicitly pass in environment when creating subprocess.
3039         (main): Cleanup error messages.
3040         Specify dynamically sized environment block for real shell.
3041         Pass on unhandled switches to real shell.
3042         Quote program name.
3044         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
3045         directory.
3046         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
3048         * runemacs.c (WinMain): Allow Emacs process to be started with
3049         high or low priority.
3051         * emacs.bat.in: Remove OS dependent operations.
3053 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
3055         * addpm.c (env_vars): No longer set INFOPATH.
3057         * cmdproxy.c (get_next_token): Null terminate token returned.
3059         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
3061 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
3063         * addpm.c (env_vars): Set SHELL to cmdproxy.
3064         (main): Initialize idDde to 0.
3065         Determine emacs_path from module file name.
3066         Prompt for install.
3068         * makefile.def (MSVCNT11): Conditionally define it.
3069         (BASE_LIBS): Do not use oldnames.lib.
3070         (SYS_LDFLAGS): Use pdb files.
3071         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
3072         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
3073         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
3075         * makefile.nt (ALL): Build cmdproxy.
3076         (cmdproxy): New target.
3077         (install): Install cmdproxy.
3079         * ftime.bat, debug.bat, cmdproxy.c: New files.
3081 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
3083         * inc/sys/socket.h (shutdown): Define.
3084         (sys_shutdown): Export.
3086 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3088         * config.nt (RE_TRANSLATE): Copy definition from config.in.
3090 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
3092         * config.nt: Update file comments.
3093         Update undefs added/removed in src/config.in.
3095 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
3097         * makefile.def, emacs.bat: Use windows95 and windowsnt instead
3098         of win95 and winnt, respectively.
3100 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
3102         * makefile.nt (real_install): Create site-lisp in installation dir.
3103         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
3104         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
3106 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3108         * Version 19.33 released.
3110 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
3112         * runemacs.c (WinMain): Put a space between the binary and its args.
3114 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3116         * Version 19.32 released.
3118 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
3120         * makefile.nt (clean): Use OBJDIR macro.
3122 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
3124         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3125         Not defined by default.
3126         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3127         (WinMain): Convert backslashes to slashes in env var values.
3129         * addpm.c (env_vars): Use slashes, not backslashes.
3131 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3133         * Version 19.31 released.
3135 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
3137         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3138         undo settings afterwards.
3140 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
3142         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3143         environment variable.
3145 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3147         * install.bat: Allow for optimized build.
3148         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3149         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3151 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3153         * addpm.c (REG_ROOT): Don't use a trailing backslash.
3154         (env_vars): Rename field emacs_path to emacs_dir.
3155         (main): Add link to runemacs instead of emacs.
3157         * install.bat: Check if INSTALL_DIR is passed as an argument.
3159         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3161         * makefile.nt: Build and install runemacs.exe.
3163         * runemacs.c: New file.
3165         * config.w95: File removed.
3167         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3168         inc/sys/socket.h, inc/sys/time.h: New header files.
3170         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3172 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
3174         * makefile.def (DEL): Defined.
3175         (DEL_TREE) [win95]: Defined.
3176         (SYS_LDFLAGS): Set executable versions to 3.10.
3178         * makefile.nt: Change uses of del to $(DEL).
3180 1996-01-17  Erik Naggum  <erik@naggum.no>
3182         * All files: Update FSF's address in comment preamble.
3184 1996-01-03  George V. Reilly  <georger@microcrafts.com>
3186         * emacs.ico: Now the proverbial kitchen sink icon.
3188 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3190         * Version 19.30 released.
3192 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
3194         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3196         * makefile.nt (install, fast_install, real_install, clean):
3197         Don't use switches to del not supported by Windows 95.
3199 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
3201         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3202         (install, fast_install): Change same-dir test to create test file in
3203         installation tree and thereby support read-only shares.
3204         (clean): Remove .pdb files.
3206         * makefile.def (NTGUI): New macro.
3207         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3209         * config.nt, config.w95: Update to latest src/config.in.
3211         * addpm.c (env_vars): New variable.
3212         (add_registry): New procedure.
3213         (main): Use values of configuration environment variables from
3214         the registry if defined, the process environment otherwise.
3216 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3218         * Version 19.29 released.
3220         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3222 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
3224         * makefile.nt: Define .c to .obj suffix rule.
3225         (addpm.obj): Compile directly, use CFLAGS.
3226         (addpm.exe): Link from addpm.obj.
3228         * makefile.def (MSVCNT11): Defined.
3229         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3230         (CFLAGS_COMMON): Defined.
3231         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3233 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
3235         * emacs.bat.in: Renamed from emacs.bat.
3236         (emacs_dir): Rename from emacs_path.
3237         Definition removed.
3239         * addpm.c: New file.
3240         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3241         (all): Depend upon $(BLD) and $(ALL).
3242         (install): Depend upon emacs.bat.
3243         Create program item for Emacs.
3244         (clean): Delete obj.
3245         (emacs.bat): Defined.
3246         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3248 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
3250         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3251         Add carriage returns; necessary for batch files on Windows 95.
3253 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
3255         * config.w95: Created.
3256         * config.h: Changed to config.nt.
3258         * makefile.nt (SUBDIRS): Commented out.
3259         (all, install, clean): Expand for-loops.
3260         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3262         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3263         (ARCH): New definition.
3264         (CPU, CONFIG_H, OS_TYPE): Defined.
3265         (INCLUDE, LIB): Checked if valid.
3266         (ntwin32.mak): Included.
3267         (AR, CC, LINK): New definition.
3268         (ADVAPI32, libc, BASE_LIBS): Defined.
3269         (SYS_LDFLAGS): New definition.
3270         Update comments and preprocessor conditionals.
3272         * emacs.bat (SHELL): Conditionally defined.
3273         (HOME): Conditionally defined.
3274         (emacs_path, HOME): Update comments.
3275         Turn off all echo.
3277 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
3279         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
3280         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
3281         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
3282         inc/sys/param.h: Removed carriage-returns.
3284 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
3286         * makefile.def (CVTRES): Defined.
3288         * emacs.ico, emacs.rc: New files by Kevin Gallo.
3290 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
3292         * src: Remove directory.
3294         * src\config.h, src\paths.h: Moved to parent dir, src removed.
3296 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
3298         * makefile.def (INSTALL_DIR): Change to generic directory.
3300         * emacs.bat: Added arguments when emacs.exe invoked.
3302         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3304 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
3306         * makefile.def (CC): In configuration section.
3307         (COMPAT_LIB): Defined.
3309 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
3311         * src/paths.h: New file.
3313         * src/config.h: New file.
3315         * inc/pwd.h: New file.
3317         * inc/sys/dir.h: New file.
3319         * inc/sys/file.h: New file.
3321         * inc/sys/ioctl.h: New file.
3323         * inc/sys/param.h: New file.
3325         * todo: New file.
3327         * README: New file.
3329         * makefile.nt: New file.
3331         * makefile.def: New file.
3333         * install.cmd: New file.
3335         * INSTALL: New file.
3337         * fast-install.cmd: New file.
3339         * emacs.cmd: New file.
3341         * ebuild.cmd: New file.
3343         * _emacs: New file.
3345 ;; Local Variables:
3346 ;; coding: utf-8
3347 ;; add-log-time-zone-rule: t
3348 ;; End:
3350   Copyright (C) 1995-1999, 2001-2014 Free Software Foundation, Inc.
3352   This file is part of GNU Emacs.
3354   GNU Emacs is free software: you can redistribute it and/or modify
3355   it under the terms of the GNU General Public License as published by
3356   the Free Software Foundation, either version 3 of the License, or
3357   (at your option) any later version.
3359   GNU Emacs is distributed in the hope that it will be useful,
3360   but WITHOUT ANY WARRANTY; without even the implied warranty of
3361   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3362   GNU General Public License for more details.
3364   You should have received a copy of the GNU General Public License
3365   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.