Fix my previous change.
[emacs.git] / nt / ChangeLog
blobfeaf2cd783391ec9b0cf820c649b7ffff76a0da6
1 2013-12-23  Eli Zaretskii  <eliz@gnu.org>
3         * README.W32:
4         * INSTALL: Update instructions for downloading and using image
5         libraries in general, and librsvg in particular.
7 2013-12-16  Eli Zaretskii  <eliz@gnu.org>
9         * emacs-x64.manifest:
10         * emacs-x86.manifest: Declare that we target Windows 8.1 as well
11         as earlier versions.  This is so GetVersion and GetVersionEx APIs
12         used for bug reporting and other purposes return accurate version
13         number on Windows 8.1.  See the discussion on MSDN
14         http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx
15         for more details.
17 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
19         * inc/ms-w32.h (MAX_UTF8_PATH): New macro.
20         (opendir, closedir, readdir, seekdir): Redirect to replacement
21         functions.
22         * inc/dirent.h: Make d_name[] be MAXNAMELEN*4 characters long.
24 2013-11-27  Glenn Morris  <rgm@gnu.org>
26         * README.W32:
27         * addpm.c (env_vars):
28         * epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
29         * paths.h (PATH_LOADSEARCH): No more leim directory.
31 2013-11-26  Glenn Morris  <rgm@gnu.org>
33         * epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.
35 2013-11-12  Dani Moncayo  <dmoncayo@gmail.com>
37         * msysconfig.sh: Remove.
38         * INSTALL: Update for this.
40 2013-11-09  Glenn Morris  <rgm@gnu.org>
42         * mingw-cfg.site: No need for this to be executable.
44 2013-10-24  Glenn Morris  <rgm@gnu.org>
46         * Makefile.in ($(DESTDIR)${archlibdir}):
47         Avoid non-portable "`\" nesting.
49         * Makefile.in (abs_top_srcdir): New, set by configure.
51 2013-10-23  Glenn Morris  <rgm@gnu.org>
53         * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
54         Quote entities that might contain whitespace.
56 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
58         * inc/mingw_time.h: New file.
60         * inc/ms-w32.h: Include mingw_time.h instead of doing its job.
62 2013-10-12  Eli Zaretskii  <eliz@gnu.org>
64         * inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
65         the layout of 'struct dirent' be compatible with MinGW32 runtime
66         versions 4.0 and later.
68         * inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
69         (__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
70         defined, but not for MinGW64.
71         (_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
72         use of 32-bit time_t type.
74 2013-10-07  Paul Eggert  <eggert@cs.ucla.edu>
76         Improve support for popcount and counting trailing zeros (Bug#15550).
77         * gnulib.mk: Merge changes from ../lib/gnulib.mk.
79 2013-10-04  Paul Eggert  <eggert@cs.ucla.edu>
81         * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
83 2013-09-20  Eli Zaretskii  <eliz@gnu.org>
85         * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
86         to avoid gnulib replacement of 'struct timeval' and the resulting
87         compilation of lib/gettimeofday.c with incompatible version of
88         gettimeofday.  Related discussions on emacs-devel:
89         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
90         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html
92 2013-08-31  Glenn Morris  <rgm@gnu.org>
94         * INSTALL: Rename from INSTALL.MSYS.
95         * INSTALL.OLD: Rename from INSTALL.
96         * configure.bat: Update for INSTALL name changes.
98 2013-08-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
100         * configure.bat: Rather than disabling, make configure.bat produce
101         some warning that building with configure.bat is deprecated and
102         ask for confirmation to continue.
104 2013-08-25  Glenn Morris  <rgm@gnu.org>
106         * INSTALL: Refer to INSTALL.MSYS.
107         * configure.bat: Disable it.
109 2013-08-04  Eli Zaretskii  <eliz@gnu.org>
111         * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
113         * inc/ms-w32.h (mkostemp): Declare prototype.
114         (mktemp): Don't redirect to sys_mktemp.
116         * config.nt (HAVE_MKOSTEMP): Define to 1.  (Bug#15015)
118 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
120         * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
121         (FD_CLOEXEC): New macros.
123 2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>
125         Make file descriptors close-on-exec when possible (Bug#14803).
126         * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
127         otherwise, gnulib-tool complains given close-on-exec changes.
128         * inc/ms-w32.h (pipe): Remove.
129         * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
130         (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
132 2013-06-25  Juanma Barranquero  <lekktu@gmail.com>
134         * configure.bat: Add warning to the help text about using the
135         MSYS/MinGW building procedure.
137 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
139         * INSTALL.MSYS: mingw-get is not a GUI program (yet).
140         msys-automake is not suitable for MinGW builds.  Mention the
141         --enable-locallisppath switch to msysconfig.sh.  Suggested by
142         Óscar Fuentes <ofv@wanadoo.es>.
144 2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)
146         * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
148 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
150         * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
152 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
154         * inc/sys/time.h (struct timeval): Remove the _W64 guards.
156 2013-06-01  Eli Zaretskii  <eliz@gnu.org>
158         * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
159         avoid multiple definition errors on MinGW64.
161 2013-05-31  Eli Zaretskii  <eliz@gnu.org>
163         * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
164         'restrict', which is a C99 extension.  See
165         http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
166         and the following discussion for the problem this caused in the
167         old nt/configure.bat build.
169 2013-05-29  Eli Zaretskii  <eliz@gnu.org>
171         * Makefile.in (emacs.res): Include srcdir when preprocessing
172         resources, for out-of-tree builds.
173         (mostlyclean): Remove *.res files.
175 2013-05-17  Eli Zaretskii  <eliz@gnu.org>
177         * runemacs.c (WinMain): Support invocation of un-installed
178         nt/runemacs.exe, by looking for src/emacs.exe.
180 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
182         * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.  (Bug#14409)
184         * msysconfig.sh: New file.
186         * mingw-cfg.site: New file.
188         * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
190         * inc/unistd.h: Include pwd.h and sys/types.h.
192         * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
193         (timerclear): Define.
194         (gettimeofday): Adjust signature to be Posix compatible, by using
195         the 'restrict' keyword.
197         * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
198         (struct _stat, struct _stati64): Define.
200         * inc/sys/socket.h (timeval): Define only for MSVC.
201         (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
202         EMACS_CONFIG_H is defined.
203         (timeval): Undefine only for MSVC.
205         * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
206         (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
207         (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
208         (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
209         (fileno): Move definition after including stdio.h.
210         (sigset_t): Guard typedef by _W64.
212         * gnulib.mk: New file.
214         * epaths.nt: New file.
216         * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
217         copy of the file names there.
218         <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
219         literal strings.
221         * Makefile.in: New file.
223         * INSTALL.MSYS: New file.
225         * INSTALL: Mention INSTALL.MSYS.
227 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
229         * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
231 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
233         * config.nt: Sync with autogen/config.in.
234         (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
235         (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
236         (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
237         (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
238         (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
239         (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
240         (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
241         (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
242         (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
243         (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
245 2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
247         Use Gnulib ACL implementation, for benefit of Solaris etc.  (Bug#14295)
248         * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
249         * inc/ms-w32.h (EOPNOTSUPP): New macro.
251 2013-04-09  Ken Brown  <kbrown@cornell.edu>
253         * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
254         (Bug#12993)
256 2013-04-01  Eli Zaretskii  <eliz@gnu.org>
258         * README: A better documentation of ddeclient.exe.
260         * README.W32: A better documentation of ddeclient.exe.
262         * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
263         subdirectories.
265 2013-03-30  Eli Zaretskii  <eliz@gnu.org>
267         * inc/ms-w32.h (TERM_HEADER): Remove definition.
269         * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
270         ms-w32.h.
272 2013-03-29  Eli Zaretskii  <eliz@gnu.org>
274         * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
276         * config.nt (HAVE_COPYSIGN): Define.
278 2013-03-29  Juanma Barranquero  <lekktu@gmail.com>
280         * config.nt: Sync with autogen/config.in.
281         (HAVE_XKBGETKEYBOARD): Remove.
282         (HAVE_XKB): New macro.
284 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
286         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
287         (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
288         Depend on .exe files.
290         * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
291         avoid MinGW64 compiler warnings in editfns.c.
293         Fix rules for parallel builds.
294         * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
295         without the .exe suffix.
296         (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
297         targets.
298         (.PHONY): Remove.
300         * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
301         headers, since that's where _W64 is declared by MinGW64.
303 2013-03-26  Eli Zaretskii  <eliz@gnu.org>
305         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
306         (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
308         * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
309         define for MinGW64.
311         * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
312         for MinGW64.
314         Fix more incompatibilities between MinGW.org and MinGW64 headers
315         reported by Óscar Fuentes in
316         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
317         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
318         and in
319         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
320         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
321         For MinGW64, include sys/types.h and time.h.
322         (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
324         * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
326         * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
327         _W64.
328         (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
329         _TIMEZONE_DEFINED.
331         * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
333         * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
334         lstat, and fstatat.
336 2013-03-25  Eli Zaretskii  <eliz@gnu.org>
338         Fix incompatibilities between MinGW.org and MinGW64 headers
339         reported by Óscar Fuentes in
340         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
341         * inc/ms-w32.h (struct timespec): Don't define if
342         _TIMESPEC_DEFINED is already defined.
343         (sigset_t) [!_POSIX]: Typedef for MinGW64.
344         (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
345         including the first system header, to avoid redefinition if some
346         system header defines a default value.
348         * inc/sys/time.h (struct itimerval): Don't define if
349         _TIMESPEC_DEFINED is already defined.
351 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
353         Fix the MSVC build.  (Bug#13939)
354         * inc/stdint.h (UINTPTR_MAX): Define.
356         * nmake.defs (libc): Fix syntax of !if conditional.
358 2013-03-15  Juanma Barranquero  <lekktu@gmail.com>
360         * config.nt: Sync with autogen/config.in.
361         (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
362         (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
363         (HAVE_FDATASYNC): New macros.
365 2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
367         File synchronization fixes (Bug#13944).
368         * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
370 2013-03-05  Paul Eggert  <eggert@cs.ucla.edu>
372         FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
373         * inc/unistd.h (O_NOFOLLOW): New macro.
375 2013-03-04  Juanma Barranquero  <lekktu@gmail.com>
377         * config.nt: Sync with autogen/config.in.
378         (DATA_START, ORDINARY_LINK): Remove.
379         (HAVE_DATA_START, HAVE__PUTENV): New macros.
381 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
383         * inc/ms-w32.h (BOOT_TIME_FILE): Define.
385         * config.nt (CLASH_DETECTION): Define to 1.
387 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
389         * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
390         (Bug#9066)
391         (chown, logb): Remove, unused.
393 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
395         * config.nt: Sync with autogen/config.in.
396         (GC_MARK_STACK): Remove.
397         (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
398         (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
399         (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
401 2013-02-12  Eli Zaretskii  <eliz@gnu.org>
403         * inc/ms-w32.h: Add prototype for memrchr.
405 2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
407         Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
408         * inc/sys/stat.h (fstatat):
409         * inc/unistd.h (readlinkat): New decls.
411 2013-01-28  Eli Zaretskii  <eliz@gnu.org>
413         * inc/dirent.h (opendir): Update prototype.
415 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
417         * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
418         used in term.c.  (Bug#13387)
420 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
422         * config.nt: Sync with autogen/config.in.
423         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
425 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
427         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
428         in lib/filemode.c that broke the MS-Windows build.
429         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
431 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
433         * config.nt: Sync with autogen/config.in.
434         (BSD4_2): Remove.
436 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
438         * inc/sys/acl.h: New file.
440         * inc/ms-w32.h (ENOTSUP): Define if undefined.
442         * config.nt (HAVE_POSIX_ACL): Define.
444 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
446         * inc/ms-w32.h (sys_unlink): Provide prototype.
448 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
450         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
452 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
454         * config.nt: Sync with autogen/config.in.
455         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
457 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
459         * config.nt: Sync with autogen/config.in.
460         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
461         (ULIMIT_BREAK_VALUE): Remove.
463 2012-12-10  Daniel Colascione  <dancol@dancol.org>
465         * emacs.rc: Use forward slashes in relative paths in order to
466         avoid complaints from Cygwin.  (Forward slashes work perfectly
467         well in the NT build.)
469 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
471         * inc/unistd.h (unsetenv): Provide a prototype.
473 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
475         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
476         (sys_putenv): Add prototype.
478         * config.nt (HAVE_UNSETENV): Define to 1.
480 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
482         * config.nt: Sync with autogen/config.in.
484 2012-11-24  Ken Brown  <kbrown@cornell.edu>
486         * config.nt (HAVE_MOUSE): Remove.
488 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
490         * config.nt: Sync with autogen/config.in.
491         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
492         Remove.
494 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
496         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
497         (Bug#12955)
499         * nmake.defs (SWITCHCHAR): Define to /.
501 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
503         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
504         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
505         (struct dirent): Rename from struct direct.  All uses changed.
506         * inc/sys/dir.h: Remove.
508 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
510         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
511         * config.nt (HAVE_GETCWD): Remove.
513 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
515         * nmake.defs: Use !if, not !ifdef.  For the details, see
516         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
518         * inc/stdint.h (INTPTR_MIN):
519         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
521 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
523         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
525 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
527         * config.nt: Sync with autogen/config.in.
528         (HAVE_FPATHCONF): Remove.
530 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
532         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
533         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
534         POSIX name for this flag is O_NONBLOCK.  All uses changed.
535         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
536         these really should be moved to a replacement <fcntl.h> if and
537         when that gets implemented.  In the meantime, include <fcntl.h>
538         to make sure we don't override its definitions.
540 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
542         * inc/sys/wait.h: New file, with prototype of waitpid and
543         definitions of macros it needs.
545         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
546         (sys_wait): Remove prototype.
548         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
550 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
552         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
553         to check if it's installed, redirect standard output and standard
554         error to the null device.
555         (ZIP_DIST): Don't build the "barebin" distribution.
557 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
559         * config.nt: Sync with autogen/config.in.
560         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
561         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
562         New macros.
564 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
566         * inc/unistd.h (faccessat): Add prototype.
567         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
568         2 moved from ms-w32.h.
570         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
572 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
574         Use faccessat, not access, when checking file permissions (Bug#12632).
575         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
576         (access): Remove.
577         (faccessat): New macro.
579 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
581         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
583 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
585         * config.nt: Sync with autogen/config.in.
586         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
587         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
589 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
591         * config.nt: Sync with autogen/config.in.
592         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
594 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
596         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
598 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
600         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
602         * config.nt (GETPGRP_VOID): Define to 1.
604 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
606         * config.nt: Sync with autogen/config.in.
608 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
610         * inc/pwd.h (getuid, geteuid): Add prototypes.
612         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
613         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
614         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
615         (sys_kill, getpagesize): Add prototypes for emulated functions.
617         * inc/grp.h (getgid, getegid): Add prototypes.
619         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
621         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
622         compiling with -std=gnu99.
624         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
625         could be used via --cflags switch to configure.bat.
627 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
629         * config.nt: Sync with autogen/config.in.
630         (HAVE_NTGUI): New macro.
632 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
634         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
635         compiler warnings when using the value.
637 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
639         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
640         'void *', for pointer arithmetics.
641         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
642         macro arguments in parentheses.
644 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
646         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
648 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
650         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
651         that are already defined.
653         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
654         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
655         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
657         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
658         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
659         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
660         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
661         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
662         Use DWORD_PTR instead of DWORD for compatibility with x64.
664         * nmake.defs: Support AMD64.
665         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
667         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
668         New macros.
670         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
671         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
672         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
673         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
674         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
675         DWORD, for compatibility with x64.
677         * emacs-x64.manifest: New file.
679         * emacs-x86.manifest: Renamed from emacs.manifest.
681 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
683         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
684         (struct itimerval): Define.
685         (getitimer, setitimer): Add prototypes.
687         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
688         with MinGW.
689         (SA_RESTART, SIGPROF): Define.
691         * config.nt (HAVE_SETITIMER): Define to 1.
693 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
695         * config.nt: Sync with autogen/config.in.
697 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
699         * config.nt: Sync with autogen/config.in.
700         (HAVE_TIMER_SETTIME): New macro.
702 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
704         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
706 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
708         Simplify and avoid signal-handling races (Bug#12471).
709         * inc/ms-w32.h (emacs_raise): New macro.
711 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
713         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
714         defined, as needed by giflib-5.0.0.  (Bug#12464)
716 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
718         * config.nt: Sync with autogen/config.in.
719         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
721 2012-09-17  Glenn Morris  <rgm@gnu.org>
723         * config.nt (COPYRIGHT): New.
725 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
727         Port _setjmp fix to POSIXish hosts as well as Microsoft.
728         * config.nt: Attempt to sync with autogen/config.in.
729         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
730         (_longjmp, _setjmp): Remove.
732 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
734         * config.nt: Sync with autogen/config.in.
735         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
736         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
737         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
739 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
741         * config.nt: Sync with autogen/config.in.
742         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
743         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
745 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
747         * configure.bat <use_extensions>: Don't leave it set in the
748         environment when the script exits.
750 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
752         * config.nt: Sync with autogen/config.in.
753         (NO_ABORT, SIGNAL_H_AHB): Remove.
755 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
757         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
759 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
761         * config.nt: Sync with autogen/config.in.
763 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
765         Simplify redefinition of 'abort' (Bug#12316).
766         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
768 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
770         * config.nt: Sync with autogen/config.in.
771         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
773 2012-09-01  Daniel Colascione  <dancol@dancol.org>
775         * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
777 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
779         * config.nt: Sync with autogen/config.in.
781 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
783         * config.nt: Sync with autogen/config.in.
784         (HAVE_POSIX_OPENPT): New macro.
786 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
788         * config.nt: Sync with autogen/config.in.
789         (_GL_INLINE_HEADER_BEGIN): Update.
791 2012-08-10  Glenn Morris  <rgm@gnu.org>
793         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
795 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
797         * config.nt: Sync with autogen/config.in.
798         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
799         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
801         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
803 2012-08-06  Glenn Morris  <rgm@gnu.org>
805         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
806         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
808 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
810         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
811         (PATH_DATA, PATH_DOC): Replace dummy directory names with
812         directories relative to %emacs_dir%.
813         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
814         to the use case of running un-installed Emacs.
816 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
818         * config.nt: Sync with autogen/config.in.
819         (DOS_NT, MSDOS): New macros.
820         (WRETCODE, wait3): Remove.
822         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
824 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
826         * inc/sys/stat.h (S_IFLNK): Define.
827         (S_ISLNK): A non-trivial definition.
828         (lstat): Prototype instead of a macro that redirects to 'stat'.
830 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
832         Use C99-style 'extern inline' if available.
833         * config.nt: Sync with autogen/config.in.
834         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
835         (_GL_INLINE_HEADER_END): New macros.
837 2012-08-02  Glenn Morris  <rgm@gnu.org>
839         * inc/ms-w32.h: Move here from ../src/s.
840         * config.nt (config_opsysfile): Change to <ms-w32.h>.
842 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
844         * config.nt: Sync with autogen/config.in.
845         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
846         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
847         New macros.
849 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
851         * config.nt: Sync with autogen/config.in.
852         Remove code moved to conf_post.h and include <conf_post.h>
853         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
854         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
856 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
858         * config.nt: Sync with autogen/config.in.
859         (HAVE_ENVIRON_DECL): New macro.
861 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
863         * inc/stdalign.h (_Alignas, alignas): Define.
865 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
867         Use Gnulib stdalign module (Bug#9772, Bug#9960).
868         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
870 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
872         * config.nt: Sync with autogen/config.in.
873         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
874         (SETUP_SLAVE_PTY): New macros.
876 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
878         * config.nt: Sync with autogen/config.in.
879         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
880         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
881         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
882         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
883         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
884         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
885         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
886         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
887         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
888         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
889         Set in src/s/ms-w32.h, not here.
891 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
893         * config.nt: Sync with autogen/config.in.
894         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
895         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
896         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
898 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
900         * config.nt: Sync with autogen/config.in.
902 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
904         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
906 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
908         * config.nt: Sync with autogen/config.in.
910 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
912         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
914 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
915             Eli Zaretskii  <eliz@gnu.org>
917         * config.nt: Complete rework to bring it in sync with autogen/config.in.
918         All Windows-specific code moved to src/s/ms-w32.h.
920 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
921             Eli Zaretskii  <eliz@gnu.org>
923         * configure.bat (enablechecking): Enable checks through src/config.h,
924         not the compiler's command line.
926         * nmake.defs (CHECKING_CFLAGS): Remove.
927         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
929         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
930         (CHECKING_CFLAGS): Remove.
931         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
933 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
935         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
936         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
937         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
938         (HAVE_MEMCMP): Remove, obsolete.
940 2012-06-30  Glenn Morris  <rgm@gnu.org>
942         * paths.h (PATH_SITELOADSEARCH): New.
944 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
946         * nmake.defs (CHECKING_CFLAGS):
947         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
949 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
951         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
953 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
955         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
956         * config.nt (_Noreturn): New macro.
957         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
958         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
960 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
962         * inc/sys/time.h (struct timespec): Don't define it here, it is
963         now defined in src/s/ms-w32.h.
965 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
967         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
968         * inc/sys/time.h (struct timespec): Define.
970 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
972         * makefile.w32-in (install-addpm): New target.
973         (dist): Depend on it.
974         (install-shortcuts): Depend on install-addpm instead of copying
975         addpm.exe as part of the recipe.  See
976         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
977         for the related problem and discussions.
979 2012-06-11  Glenn Morris  <rgm@gnu.org>
981         * config.nt (SYSTEM_TYPE): Define it.
983 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
985         * configure.bat (genmakefiles): Move the redirection away from the
986         end of the command, to avoid excess whitespace at the end of Make
987         variables created at configure time, and also avoid things like
988         "FOO1>>config.settings", where "1" gets interpreted as the file
989         descriptor and eaten up.  This fixes breakage introduced by the
990         last change, without reintroducing the bug fixed by that change.
992 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
994         * nmake.defs (MWINDOWS): Define as
995         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
996         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
998         * gmake.defs (MWINDOWS): Define as "-mwindows".
1000 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
1002         * config.nt (HAVE_SYSINFO): Remove; unused.
1004 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1006         * inc/stdalign.h: New file.
1008         * configure.bat: Ensure a space between %var% expansion and
1009         redirection symbol '>', which breaks when %var% ends in a digit,
1010         such as 1.
1012 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1014         Remove src/m/*.
1015         * config.nt: Do not include "m/intel386.h"; file was removed.
1016         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
1017         Move to src/lisp.h.
1018         (EMACS_INT_MAX): New macro.
1020 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1022         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
1023         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
1025         * config.nt (HAVE_FTIME): Remove undef; not needed.
1027 2012-05-01  Glenn Morris  <rgm@gnu.org>
1029         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
1031 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1033         * makefile.w32-in: Fix typo (Bug#10261).
1035 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
1037         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
1038         each runs makeinfo in its own subdirectory of 'doc'.
1039         (info-gmake): Depend on these new targets.
1041 2012-04-07  Glenn Morris  <rgm@gnu.org>
1043         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
1044         Bump version to 24.1.50.
1046 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1048         * configure.bat: Support building with libxml2.
1050         * INSTALL:
1051         * README.W32: Add information about libxml2.
1053 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1055         * makefile.w32-in: Convert to Unix EOL format.
1056         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
1057         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
1058         (bootstrap-gmake): Invoke the "clean" and build targets in 2
1059         separate commands, so they run in that order even under "make -j".
1061 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
1063         * config.nt: Discourage from defining HAVE_GETCWD.
1065 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1067         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
1068         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
1069         on other (parallel) Make job's toes.
1070         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
1071         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
1072         here.
1073         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
1074         Depend on create-tmp-dist-dir.
1076         * nmake.defs (DIRNAME): New variable.
1077         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1078         same-dir.tst.
1080         * gmake.defs (DIRNAME): New variable.
1081         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1082         same-dir.tst, to avoid conflicts between several (parallel) Make
1083         jobs.
1085 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
1087         Prevent endless re-spawning of cmdproxy.exe when some of its
1088         parent directories have access limitations.
1090         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
1091         and our own module name to short 8+3 aliases, if the original file
1092         names compare equal.  If GetShortPathName fails, compare the base
1093         names of the two file names, and only re-spawn the command line if
1094         the base-name comparison also fails.  (Bug#10674)
1096 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1098         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
1100 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
1102         * README.W32: Removed specific version information for libXpm
1103         included in the binary distribution for maintenance purposes.
1105 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
1107         * README.W32: Clarification for inclusion in source tarball (bug#9750).
1109         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1111         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1113         * makefile.w32-in (maybe-copy-distfiles)
1114         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1115         (create-tmp-dist-dir): Add to make --distfiles optional.
1116         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1118 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
1120         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1121         by other headers.
1123 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1125         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1126         (UINT64_MAX) [_WIN64]: Fix definition.
1127         (uintmax_t, intmax_t): Fix definitions.
1129         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1130         Provide correct definitions.
1132         * config.nt (HAVE_DECL_STRTOLL): Define.
1133         (va_copy) [_WIN64]: Provide a better definition.
1135 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
1137         * configure.bat: Fix typos.
1139 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
1141         * INSTALL: Elaborate on debugging fatal errors.
1143 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
1145         * README.W32: Update the GTK Windows download URL for libpng.
1147 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
1149         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1151 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
1153         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1154         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1155         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1156         (intmax_t, INT64_MAX): Add for MSVC.
1158         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1160 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
1162         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1164         Support MSVC build with newer versions of Visual Studio.
1165         * makefile.w32-in (clean-other-dirs-nmake)
1166         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1167         Update for current structure of doc/ subdirectories.
1169         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1171         * INSTALL: Update for newer versions of MSVC.
1173 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1175         Support MSVC build with newer versions of Visual Studio.
1176         * nmake.defs (USE_CRT_DLL): Define to 1.
1177         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1178         (D): New variable.
1180 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
1182         * runemacs.c (ensure_unicows_dll): New function, tries to load
1183         UNICOWS.DLL on Windows 9X.
1184         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1185         display a dialog to the effect that Emacs cannot be started.
1186         (Bug#8562)
1188 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
1190         * README.W32: Mention UNICOWS.DLL as prerequisite for running
1191         Emacs on Windows 9X.
1193 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
1195         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1196         distribution.  (Bug#9861)
1198 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
1200         * INSTALL: Update URL for GTK download page.
1202 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
1204         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1205         (Bug#9794) (Bug#641)
1207 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1209         * config.nt (HAVE_SNPRINTF): New macro.
1211 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1213         Assume freestanding C89 headers, string.h, stdlib.h.
1214         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1215         (STDC_HEADERS): Remove.
1216         Iinclude string.h, stdlib.h unconditionally.
1218 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
1220         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1221         [!__GNUC__]: New macros.
1223 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1225         Use 'inline', not 'INLINE'.
1226         * config.nt (INLINE): Remove.
1228 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
1230         * README.W32: Add information about GnuTLS libraries.
1232 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
1234         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1236 2011-05-07  Ben Key  <bkey76@gmail.com>
1238         * configure.bat: Renamed the fusercflags variable to escusercflags
1239         so that the variable name better matches its purpose, to be
1240         identical to usercflags with the exception that all quotes are
1241         escaped by the \ character.
1243         Renamed the fuserldflags variable to escuserldflags so that the
1244         variable name better matches its purpose, to be identical to
1245         userldflags with the exception that all quotes are escaped by
1246         the \ character.
1248         A new ESC_USER_CFLAGS variable is written to config.settings.
1249         This variable has the same value as the escusercflags variable.
1251         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1252         This variable is identical to the CFLAGS variable except that it
1253         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1255         These changes, along with some changes to src/makefile.w32-in,
1256         are required to extend my earlier fix to add support for
1257         --cflags and --ldflags options that include quotes so that it
1258         works whether make uses cmd or sh as the shell.
1260 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
1262         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
1263         definition of uintmax_t from here...
1264         * inc/stdint.h (uintmax_t): ...to here.
1265         (intptr_t) [!__GNUC__]: New typedef.
1267 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
1269         * config.nt: Prepare to configure 64-bit integers for older compilers.
1270         However, temporarily disable this change unless the temporary
1271         symbol WIDE_EMACS_INT is defined.
1272         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1273         "%I64d" work but long long and "%lld" do not.
1275 2011-05-05  Ben Key  <bkey76@gmail.com>
1277         * configure.bat: Added support for --cflags and --ldflags
1278         options that include quotes as long as command extensions are
1279         enabled.  Specifically when -I, -L, and similar flags are used
1280         to specify supplementary include and library directories a
1281         directory name that includes spaces may now be used if it is
1282         enclosed in quotes.
1284         * INSTALL: Documented the change to configure.bat.
1286 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1288         * INSTALL: Clarify GnuTLS support.
1290 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
1292         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1293         Define to 1 for MinGW of MSVC versions >= 1400.
1295 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
1297         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1299 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
1301         * inc/inttypes.h: New file.
1303         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1304         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1306 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1308         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1309         inside quotation marks and bail out.
1311 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1313         * cmdproxy.c (try_dequote_cmdline): New function.
1314         (main): Use it.
1316 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1318         * configure.bat: New options --without-gnutls and --lib, new build
1319         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
1320         library setup with trivial modifications.
1321         * INSTALL: Add instructions for GnuTLS support.
1322         * gmake.defs: Prefix USER_LIBS with -l.
1324 2011-04-15  Ben Key  <bkey76@gmail.com>
1326         * configure.bat: Modified the code that parses the --cflags and
1327         --ldflags options to support parameters that include the =
1328         character as long as they are enclosed in quotes.
1329         This functionality depends on command extensions.  Configure.bat now
1330         attempts to enable command extensions and displays a warning
1331         message if they could not be enabled.  If configure.bat could
1332         not enable command extensions the old parsing code is used that
1333         does not support parameters that include the = character.
1335         * INSTALL: Updated the file to describe the new functionality
1336         using text provided by Eli Zaretskii.
1338 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
1340         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1341         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1342         on the trunk on 2011-04-06.
1344 2011-03-27  Glenn Morris  <rgm@gnu.org>
1346         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1348 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
1350         * addpm.c (main): Remove unused variable `retval'.
1352         * preprep.c (main): Remove unused variable `ptr'.
1354 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
1356         * cmdproxy.c: Include <ctype.h>.
1357         (make_absolute): Remove unused variable `i'.
1359 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
1361         * Version 23.3 released.
1363 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
1365         * inc/unistd.h (readlink, symlink): Declare prototypes.
1367 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
1369         * config.nt (nlink_t): Define.
1371 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
1373         * inc/stdint.h: New file, to support compilation with tool chains
1374         that do not have stdint.h (e.g. MSVC).
1376 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
1378         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1379         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1380         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1381         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1382         (lstat): Define to stat.
1384 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
1386         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1387         "make-docfile" target in lib-src, before bootstrapping the src
1388         directory.  Needed since building in src needs to run make-docfile
1389         to produce globals.h.
1391 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1393         * config.nt (inline) [__GNUC__]: Define (for gnulib).
1395 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1397         * config.nt (VERSION): Uncomment definition.
1398         (restrict): Define.
1400         * inc/stdbool.h: New file.
1402 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1404         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1405         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1406         (bootstrap-clean-gmake, clean-other-dirs-nmake)
1407         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1408         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1409         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1410         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1411         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1413         * configure.bat: Create lib/makefile.
1415         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1416         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1417         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1418         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1420 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1422         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1424 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1426         * configure.bat (end): Unset environment variables used by this
1427         batch file.
1429         * INSTALL: Update the information about PNG support libraries.
1430         (Bug#7716)
1432         * README.W32: Update the information about PNG support libraries.
1434 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1436         * config.nt (EXTERNALLY_VISIBLE): Define.
1438 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1440         * INSTALL: Refer to `dynamic-library-alist'.
1442 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1444         * INSTALL: Add note about problematic characters passed to configure.
1446 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1448         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1449         emacs-src.tags: New file.
1451         * gmake.defs: Add a comment with a single quote to fix
1452         fontification.  (Bug#7102)
1454 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1456         * configure.bat: Fix the condition for copying paths.h into
1457         ../src/epaths.h.
1459 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1461         * addpm.c (entry, add_registry, main):
1462         * addsection.c (file_data, open_input_file, open_output_file)
1463         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1464         (COPY_CHUNK):
1465         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1466         (skip_nonspace, get_next_token, search_dir, make_absolute)
1467         (spawn, main):
1468         * preprep.c (file_data, open_input_file, open_output_file)
1469         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1470         Use const char*.
1472         * cmdproxy.c (stdin): Don't define, not used.
1473         (main): Don't assign remlen after last use.
1475 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1477         * configure.bat: Err out when the argument of --cflags contains
1478         invalid characters (check implemented only for GCC).  (Bug#6820)
1480 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1482         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1484 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1486         * addpm.c (add_registry): Set path for runemacs.exe to use.
1488 2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
1490         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1491         which has a 1024 char limit on Windows (bug#6647).
1493 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1495         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1496         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1498 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1500         * config.nt: Remove code referring to NO_REMAP, unused.
1502 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1504         Build binary distros on Windows using emacs-VERSION as root dir name.
1506         * makefile.w32-in: Copy README.W32 to installation directory
1507         during `make install'.  Remove README.W32 with `distclean' (in
1508         case Emacs was installed in place).  Use temporary directory to
1509         create distribution zip files in `dist' target.
1510         * zipdist.bat: Simplify code using temporary directory.
1512 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1514         * runemacs.c (set_user_model_id): Fix prototype.
1516 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1518         New make target for Windows platform: make dist (bug#6602)
1520         * INSTALL: Document new dist target and add section about
1521         creating binary distributions.
1522         * README.W32: Relocate from admin/nt/ directory.
1523         * configure.bat: New parameter `--distfiles'.
1524         * makefile.w32-in: Add version number, new target `dist'.
1525         Add new target `install-shortcuts'.
1526         * zipdist.bat: New file; create zipped binary distribution,
1527         replaces admin/nt/makedist.bat.
1529 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1531         * INSTALL: Add note about backslashes in Windows paths.
1532         Fix typos.  Simplify references to Windows versions.
1534 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1536         * addpm.c (add_registry, main):
1537         * cmdproxy.c (get_env_size):
1538         * ddeclient.c (main):
1539         * runemacs.c (set_user_model_id):
1540         Convert definitions to standard C.
1542 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1544         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1546 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1548         * configure.bat: New option --enable-checking.
1549         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1550         (CFLAGS): Include it.
1552 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1554         * config.nt (volatile): Remove definition.
1556 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1558         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1559         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1561 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1563         * config.nt (__P): Remove.
1565 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1567         * config.nt: Remove code depending on BSTRING.
1569 2010-06-03  Glenn Morris  <rgm@gnu.org>
1571         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1573 2010-05-13  Glenn Morris  <rgm@gnu.org>
1575         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1577 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1579         * Version 23.2 released.
1581 2010-05-04  Glenn Morris  <rgm@gnu.org>
1583         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1585 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1587         * emacs.manifest: Add trustInfo section to Windows manifest.
1589 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1591         * Branch for 23.2.
1593 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1595         * emacsclient.rc: Fix format of "LegalCopyright" value.
1597 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1599         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1601 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1603         * INSTALL: Update for CVS->Bazaar switchover.
1605 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1607         * configure.bat: Add #define PROFILING to config.h.
1609 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1611         * runemacs.c (set_user_model_id): Use standard types.
1613 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1615         * runemacs.c (set_user_model_id): New function.
1616         (WinMain): Use it.
1618 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1620         * Branch for 23.1.
1622 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1624         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1625         st_gid to unsigned.
1627         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1628         to unsigned.
1629         (getpwuid): Argument is now unsigned.
1630         uid_t is now unsigned.
1632 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1634         * INSTALL: Add comment about TCC; fix typos.
1636 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1638         * emacsclient.rc, emacs.rc: Swap name and description.
1639         Remove Windows versions.
1641 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1643         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1645         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1647         * addpm.c (main): Try using COM to create start menu shortcuts
1648         before resorting to DDE (Bug#202)
1649         Remove second command-line argument.
1651 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1653         * configure.bat: Untabify help message.
1655 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1657         * configure.bat: New option --with-svg.
1659         * INSTALL: Document experimental SVG support.
1661 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1663         * config.nt (PTR): Remove.
1665 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1667         * config.nt (LISTPROC, PROCATTR): Remove.
1669 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1671         * config.nt (LISTPROC, PROCATTR): New macros.
1673 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1675         * config.nt (MULTI_KBOARD): Remove.
1677 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1679         * configure.bat: New option --profile.
1680         * gmake.defs: Set cflags and ldflags for profiling when specified.
1682 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1684         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1686 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1688         * config.nt (HAVE_FACES): Remove, unused.
1690 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1691             Eli Zaretskii  <eliz@gnu.org>
1693         * nmake.defs (FONT_CFLAGS):
1694         * gmake.defs (FONT_CFLAGS): Remove.
1695         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1696         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1697         and _CRTAPI1.
1698         (ARCH_FLAGS): Don't include _X86_.
1700         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1702 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1704         * config.nt: Remove reference to UNEXEC_SRC.
1706 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1707             Eli Zaretskii  <eliz@gnu.org>
1709         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1710         Don't hardcode -gstabs+, use DEBUG_INFO.
1712         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1713         Default to stabs if the compiler does not support DWARF-2.
1714         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1716 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1718         * configure.bat: Remove code dealing with --disable-font-backend.
1720 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1722         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1723         better alignment.  Make st_size 64-bit wide.  Add new members
1724         st_uname and st_gname.
1726         * inc/grp.h (struct group): Add gr_gid member.
1728 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1730         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1731         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1732         a real file there is not a good idea.
1734 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1736         * makefile.w32-in (CLIENTRES): New variable and build target.
1737         (all): Depend on it.
1738         ($(TRES)): Use $(TRES) in rule.
1740 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1742         * configure.bat (success): Print "make" rather than "gmake", as that
1743         is what MinGW uses.
1745 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1747         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1748         Add copyright notice.
1750 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1752         * emacsclient.rc: New file.
1754         * INSTALL: Document make targets.
1756 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1758         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1759         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1760         (top-distclean, distclean, distclean-other-dirs-nmake)
1761         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1762         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1764 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1766         * inc/sys/stat.h: New file.
1768         * configure.bat: Add check for usp10.h.
1770 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1772         * INSTALL: Update Windows API requirements.
1774 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1776         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1778 2008-03-13  Glenn Morris  <rgm@gnu.org>
1780         * emacs.rc: Set version to 23.0.60.
1782 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1784         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1785         (EMACS_EXTRA_C_FLAGS): Include it.
1786         * configure.bat (usefontbackend): Default to Y.
1787         (--enable-font-backend): Replace with --disable-font-backend.
1788         (:withfont): Replace with :withoutfont.
1790 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1792         * icons/emacs.ico: Full alpha for 32x32 full color.
1793         Add 32x32 and 16x16 256 color versions.
1795 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1797         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1799 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1801         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1803 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1805         * icons/README: Update.
1807         * icons/emacs.ico: New icon.
1809 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1811         * addpm.c: Include malloc.h.
1812         (add_registry): Cast return value of alloca.
1814 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1816         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1818 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1820         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1821         conditional on existence of junk.o.  If %nocygwin% is already set
1822         to Y, skip to chkapiN instead of chkapi.
1823         (chkapi): Move "rm -f junk.c junk.o" to here.
1824         (chkapiN): New label.
1826 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1828         * makefile.w32-in: Remove unidata-gen related rules.
1830 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1832         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1834 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1836         * addpm.c (add_registry): Add an App Paths registry key.
1837         Look for GTK and add it to the DLL search path for Emacs if found.
1839 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1841         * configure.bat: In help, use generic names for the image libraries.
1843 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1845         * .cvsignore: Don't ignore .arch-inventory.
1847 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1849         * configure.bat: Make gcc the default compiler.
1851 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1853         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1854         Ignore return status.
1856         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1857         it out of the way of Windows generated file.
1858         Generate admin/unidata/makefile.
1860         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1861         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1862         (unidatagen-clean-SH): New targets.
1863         (bootstrap-nmake): Invoke unidatagen-nmake.
1864         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1866 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1868         * configure.bat (withfont): Set sep1 after modifying usercflags.
1870 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1872         * configure.bat: Rename --with-font-backend to --enable-font-backend
1873         for consistency with other platforms.
1875 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1877         * configure.bat: Add --with-font-backend option.
1879 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1881         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1882         permissions to NTFS ACLs.
1884 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1886         * config.nt: Remove HAVE_X11R5.
1888 2007-10-22  Jason Rumney  <jasonr@gnu.org>
1890         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1891         (strings.h, stdlib.h): Conditionally include.
1892         (w32_abort): Declare here.
1893         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
1895 2007-10-20  Jason Rumney  <jasonr@gnu.org>
1897         * makefile.w32-in (info-nmake): Change into correct directories.
1899 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
1901         * configure.bat (docflags, doldflags): New variables.
1902         (genmakefiles): Use them to work around problems with whitespace
1903         in arguments of the `if' command.
1905 2007-10-18  Jason Rumney  <jasonr@gnu.org>
1907         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1909 2007-09-27  Jason Rumney  <jasonr@gnu.org>
1911         * gmake.defs (COMCTL32): New system library.
1913         * nmake.defs (COMCTL32): New system library.
1915 2007-09-06  Glenn Morris  <rgm@gnu.org>
1917         * configure.bat:
1918         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
1919         Change from ../man to ../doc/emacs and ../doc/misc; and from
1920         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
1922 2007-08-29  Glenn Morris  <rgm@gnu.org>
1924         * emacs.rc: Increase version to 23.0.50.
1926 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
1928         * makefile.w32-in (bootstrap-nmake): Change directories once more.
1930 2007-07-25  Glenn Morris  <rgm@gnu.org>
1932         * Relicense all FSF files to GPLv3 or later.
1934         * COPYING: Switch to GPLv3.
1936 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
1938         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
1939         Depend on cmdproxy.
1940         (cleanall): Don't delete *~.
1942 2007-07-15  Jason Rumney  <jasonr@gnu.org>
1944         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
1945         be fully supported.
1947 2007-07-14  Jason Rumney  <jasonr@gnu.org>
1949         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
1950         of winsock.h.
1952 2007-07-11  Jason Rumney  <jasonr@gnu.org>
1954         * gmake.defs (OLE32): New library to link.
1956         * nmake.defs (OLE32): Likewise.
1958 2007-06-25  Jason Rumney  <jasonr@gnu.org>
1960         * cmdproxy.c (main): Set console codepages to "ANSI".
1962 2007-06-20  Jason Rumney  <jasonr@gnu.org>
1964         * configure.bat: Complain if image libraries are missing.
1966 2007-06-15  Jason Rumney  <jasonr@gnu.org>
1968         * emacs.manifest: New file.
1970         * emacs.rc: Use it.
1972 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
1974         * Version 22.1 released.
1976 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
1978         * INSTALL: Add information about where to find GDB, and warn
1979         against --no-debug option to configure.bat.
1981 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
1983         * INSTALL: Fix URL of EmacsW32 site where building with image
1984         support is described.
1986 2007-04-26  Glenn Morris  <rgm@gnu.org>
1988         * emacs.rc: Increase version to 22.1.50.
1990 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
1992         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
1994 2007-03-09  Richard Stallman  <rms@gnu.org>
1996         * INSTALL: Say explicitly this is not for Cygwin.
1998 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
2000         * INSTALL: Add URL of another site with detailed build instructions.
2002 2007-02-16  Glenn Morris  <rgm@gnu.org>
2004         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
2005         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
2006         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
2007         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
2008         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
2009         Restore all but two of icons deleted in previous change.
2011 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
2013         * icons/README: New file.
2015         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
2016         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
2017         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
2018         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
2019         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
2020         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
2021         Unused icons deleted.
2023 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
2025         * configure.bat: Update ../site-lisp/subdirs.el when needed.
2027 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
2029         * subdirs.el: Add "no-byte-compile: t" local variable.
2031 2007-01-10  Jason Rumney  <jasonr@gnu.org>
2033         * README: Update URLs and advice about reporting bugs.
2035 2006-12-29  Jason Rumney  <jasonr@gnu.org>
2037         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
2038         DEBUG_LINK.
2039         (DEBUG_LINK): Remove -debugtype:both.
2041 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
2043         * INSTALL: Update table of supported Make ports.  Show "make -j"
2044         command that is known to work.
2046         * configure.bat: Update table of supported Make ports.
2048 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
2050         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
2051         only in implicit rules.  Use literal "emacs.rc" instead.
2053 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
2055         * gmake.defs: Export XMFLAGS.
2057         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
2058         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
2060 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
2062         * INSTALL: Explain how to invoke GNU Make for parallel builds.
2064         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
2065         command-line argument to sub-Make in src, since src/makefile.w32-in
2066         invokes Make recursively during bootstrap.
2067         (clean): Delete stamp_BLD.
2068         (bootstrap): Make `all' explicitly in a recursive Make.
2070         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2071         stamp_BLD after creating the $(BLD) directory.
2073         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2074         stamp_BLD after creating the $(BLD) directory.
2076         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
2077         (preprep, $(TRES), runemacs)
2078         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
2079         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2080         Depend on stamp_BLD instead of on $(BLD).
2081         (XMFLAGS): New macro.
2082         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
2083         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
2084         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
2085         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2087 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
2089         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
2090         $(ALL_DEPS).
2091         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
2092         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2093         New dependency on $(BLD).
2094         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
2095         (bootstrap-gmake): Depend on addsection.
2097 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
2099         * runemacs.c (WinMain): Process all recognized arguments, not just
2100         the first one.  Remove unused variable sec_desc.
2102 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
2104         * config.nt (HAVE_LANGINFO_CODESET): Define.
2106         * inc/langinfo.h: New file.
2108         * inc/nl_types.h: New file.
2110 2006-09-15  Jay Belanger  <belanger@truman.edu>
2112         * COPYING: Replace "Library Public License" by "Lesser Public
2113         License" throughout.
2115 2006-07-27  Jason Rumney  <jasonr@gnu.org>
2117         * INSTALL: Add notes about Cygwin make to impatient section.
2119 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
2121         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2122         known to work.
2124 2006-03-12  Jason Rumney  <jasonr@gnu.org>
2126         * addpm.c (add_registry): Don't change the registry unless keys
2127         already exist from a previous version.
2129         * makefile.w32-in (install): Use -q when invoking addpm.
2131         * addpm.c (main): Accept -q as alternative for /q.
2133 2006-03-11  Jason Rumney  <jasonr@gnu.org>
2135         * runemacs.c (WinMain): Set screen buffer to 80x25.
2137 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
2139         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2140         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2142 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
2144         * INSTALL: Add explanation of how to debug with GDB starting from
2145         the Emacs Abort dialog.
2147 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
2149         * emacs.rc: Use new icons.
2151 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
2153         * emacs21.ico: Renamed from emacs.ico.
2154         * emacs.ico: New icons from Andrew Zhilin
2155         <andrew_zhilin@yahoo.com>.
2157 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
2159         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2161 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
2163         * .cvsignore: Add `obj' and `oo' for in-place installations.
2165 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
2167         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2169 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
2171         * configure.bat: Don't create lisp/Makefile.unix.
2173 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
2175         * .cvsignore: Add `makefile' and `config.log'.
2177 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
2179         Merge gnulib getopt implementation into Emacs.
2181         * inc/gettext.h: Remove; no longer needed now that
2182         lib-src/gettext.h exists.
2184 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
2186         * configure.bat: Finish config.log with a line that indicates that
2187         the configure step was successful.
2189 2005-07-04  Lute Kamstra  <lute@gnu.org>
2191         Update FSF's address in GPL notices.
2193 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
2195         * configure.bat: If their fc.exe returns a meaningful exit status,
2196         don't overwrite src/config.h and src/epaths.h with identical
2197         copies.
2199         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2200         changes.  Add a pointer to another site with detailed configure
2201         and build instructions.  Suggest to look at config.log when
2202         configure fails.  Add MinGW Make 3.80 to the list of successful
2203         combinations.
2205         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2206         "-mcpu=i686".
2208         * configure.bat: Update copyright years.
2209         Delete config.log before doing anything else.
2210         Write additional diagnostics to config.log in case of failures to
2211         compile test programs, including the failed test program itself.
2212         Add a test for support of -mtune=pentium4 switch to GCC; if it is
2213         supported, set up MCPU_FLAG variable on the various Makefiles to
2214         use that switch during compilations.  (This avoids GCC warning
2215         about -mcpu being deprecated.)
2217 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
2219         * addsection.c (copy_executable_and_add_section): Pass non-zero
2220         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2221         environment.  Print section names with %.8s.
2222         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2223         only if non-zero.  All callers changed.
2225 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
2227         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2228         `const void *', for consistency with POSIX.
2230 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
2232         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2234 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
2236         * INSTALL: Add more pointers to ports of Unix tools to Windows,
2237         and to the Emacs Wiki (which contains building instructions for
2238         Windows).  Reword image library instructions and remove obsolete
2239         incompatibility information.
2241 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
2243         * config.nt (HAVE_PWD_H): Undef.
2245 2004-06-07  Juanma Barranquero  <lektu@terra.es>
2247         * INSTALL: Clarify paragraph about compatibility between image
2248         libraries and builds of Emacs with several compilers.
2250 2004-06-06  Juanma Barranquero  <lektu@terra.es>
2252         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2253         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2254         calling non-existent cmdproxy.exe on bootstrapping after a
2255         previous install followed by realclean.
2257         * nmake.defs: Add quote in comment to resync font-locking.
2259 2004-06-04  Juanma Barranquero  <lektu@terra.es>
2261         * INSTALL: Reword the section on image support.  Add reference to
2262         GnuWin32.  Mention problems when mixing binaries from different
2263         compilers.
2265 2004-05-06  Jason Rumney  <jasonr@gnu.org>
2267         * configure.bat: Use -mno-cygwin to check for image libraries
2268         when needed.
2270 2004-05-03  Jason Rumney  <jasonr@gnu.org>
2272         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2273         * makefile.def: Remove.
2275         * nmake.defs (SYS_LDFLAGS): Add -nologo.
2277         * makefile.w32-in (info-gmake, info-nmake): New targets.
2278         (info): Use them.
2280 2004-04-23  Juanma Barranquero  <lektu@terra.es>
2282         * nmake.defs:
2283         * gmake.defs:
2284         * makefile.w32-in:
2285         * makefile.def:
2286         * makefile.nt: Add "-*- makefile -*-" mode tag.
2288 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
2290         * runemacs.c (WinMain): Let Emacs environment default to parent.
2292 2004-03-11  Jason Rumney  <jasonr@gnu.org>
2294         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2296 2004-03-10  Juanma Barranquero  <lektu@terra.es>
2298         * makefile.w32-in (install): Don't try to copy
2299         ../lib-src/fns-*.el, as it isn't used anymore.
2301 2004-01-28  Peter Runestig  <peter@runestig.com>
2303         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2305 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
2307         * .cvsignore: Add `.arch-inventory'.
2309 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
2311         * inc/grp.h: New file.
2313 2003-09-03  Peter Runestig  <peter@runestig.com>
2315         * configure.bat: Create ``makefile'' in directories man, lispref
2316         and lispintro.
2318         * makefile.w32-in (force-info, info): New targets.
2320         * envadd.bat: New file.
2322         * multi-install-info.bat: New file.
2324 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
2326         * config.nt (my_strftime): New define.
2328 2003-02-01  Jason Rumney  <jasonr@gnu.org>
2330         * configure.bat: Automatically detect libXpm.
2331         Suppress compiler output when testing for image libraries.
2332         Give names of un-found libraries in messages.
2334 2003-01-31  Juanma Barranquero  <lektu@terra.es>
2336         * configure.bat: Automatically detect giflib and tifflib.
2338 2003-01-29  Jason Rumney  <jasonr@gnu.org>
2340         * gmake.defs (CURDIR): Disable cygpath kludge.
2342 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
2344         * configure.bat: Avoid endless loop when configuring without image
2345         support.
2347 2003-01-26  Jason Rumney  <jasonr@gnu.org>
2349         * configure.bat: Automatically detect jpeglib.
2351 2003-01-25  Jason Rumney  <jasonr@gnu.org>
2353         * configure.bat: Automatically detect libpng.
2355 2003-01-21  Jason Rumney  <jasonr@gnu.org>
2357         * icons/hand.cur: New file.
2359 2003-01-21  David Ponce  <david@dponce.com>
2361         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2363 2003-01-15  Andrew Innes  <andrewi@gnu.org>
2365         * gmake.defs (CURDIR): Convert to native Windows format (with
2366         forward slashes), to support building with Cygwin builds of make.
2368 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
2370         * nmake.defs:
2371         * gmake.defs: Made changes so that Emacs would link with
2372         WinMM.lib.  This change was required for my addition of a Windows
2373         compatible implementation of play-sound-internal.
2375 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
2377         * emacs.rc: Version updated to 21.3.50.
2379 2002-06-13  Jason Rumney  <jasonr@gnu.org>
2381         * addpm.c (env_vars): Remove EMACSLOCKDIR.
2383         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2384         (maybe-bootstrap-SH): New targets.
2385         (all): Depend on maybe-bootstrap.
2387 2002-05-03  Jason Rumney  <jasonr@gnu.org>
2389         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2390         (sys_getpeername, fcntl): Declare as wrappers.
2392 2002-04-10  Juanma Barranquero  <lektu@terra.es>
2394         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2395         after compiling .el files.
2397 2002-03-20  Jason Rumney  <jasonr@gnu.org>
2399         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2400         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2402 2002-03-19  Kim F. Storm  <storm@cua.dk>
2404         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2405         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2406         (HAVE_SYS_UN_H): Undef.
2407         From David Ponce <dponce@voila.fr>.
2409 2002-03-13  Jason Rumney  <jasonr@gnu.org>
2411         * config.nt (STRFTIME_NO_POSIX2): Define.
2413 2002-02-18  Jason Rumney  <jasonr@gnu.org>
2415         * emacs.rc: Define VS_VERSION_INFO if not already.
2416         Update version info.
2418 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2420         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2421         pick up relevant bits of the Windows API definitions.
2423         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2424         pick up relevant bits of the Windows API definitions.
2426 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2428         * makefile.w32-in (bootstrap): Build addsection program before
2429         bootstrap (required for post-processing temacs.exe).
2431 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2433         * COPYING: New file.
2435 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2437         * makefile.w32-in (bootstrap-nmake):
2438         (bootstrap-gmake): Extend bootstrap process to first do
2439         bootstrap-clean in lisp dir and rebuild the DOC file.
2440         (bootstrap): Do a "normal" make after the bootstrap work.
2442 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2444         * INSTALL: Update table of versions of make that are suitable
2445         for building Emacs, based on recent feedback.
2447         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2449 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2451         * ftime-nostartup.bat: New file.
2453         * ftime.bat: Don't include libc.lib for profiling - the profiler
2454         corrupts part of memcpy.
2456 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2458         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2459         expansion.  From Juanma Barranquero <lektu@terra.es>.
2461 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2463         * (Version 21.1 released.)
2465 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2467         * inc/pwd.h (uid_t, gid_t): New typedefs.
2469 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2471         * Branch for 21.1.
2473 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2475         * README: Update the address of the mailing list and subscription
2476         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2478 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2480         * INSTALL: Suggest to avoid using WinZip.
2482         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2484 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2486         * INSTALL: Mention that "make install" can be "nmake install".
2488 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2490         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2491         since some versions of `mkdir' don't automatically create parent
2492         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2494 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2496         * subdirs.el: New file.
2498         * configure.bat: Copy subdirs.el to the site-lisp directory.
2500         * makefile.w32-in (install): Copy subdirs.el to the installation
2501         directory.
2503 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2505         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2507 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2509         * gmake.defs (sh_output): Don't use $(warning ...) to output
2510         messages, since that is not supported by GNU make 3.77.
2512 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2514         * INSTALL: Clarify that building with MSVC requires nmake.
2516 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2518         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2519         message that is to be ignored.
2521 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2523         * TODO: Remove file, since it is completely out of date.
2525         * README: Add copyright notice.
2527         * INSTALL: Add copyright notice.
2529 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2531         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2532         the environment.
2534         * gmake.defs (SETLOADPATH): Remove definition.
2535         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2536         environment.
2538 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2540         * configure.bat: Make the checkw32api* labels be distinct in the
2541         first 8 characters.
2543 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2545         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2546         escaped quotes.
2548         * gmake.defs (DEBUG_LINK): New macro.
2549         (LINK_FLAGS): Use it.
2551         * nmake.defs (DEBUG_LINK): New macro.
2552         (LINK_FLAGS): Use it.
2554 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2556         * INSTALL: Add --ldflags to configure line for building with
2557         recent versions of Cygwin GCC.
2559 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2561         * configure.bat: Use correct options when compiling a test program
2562         with Cygwin.  From David Ponce <dponce@voila.fr>.
2564 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2566         * _emacs: Remove obsolete file.
2568         * emacs.bat.in: Remove obsolete file.
2570         * debug.bat.in: Remove obsolete file.
2572         * inc/sys/socket.h: Add copyright notice.
2574         * paths.h: Add copyright notice.
2576         * makefile.nt: Update copyright notice.
2578         * makefile.def: Update copyright notice.
2580         * configure.bat: Update copyright notice.
2582         * nmake.defs: Add copyright notice.
2584         * gmake.defs: Add copyright notice.
2586         * makefile.w32-in: Add copyright notice.
2588 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2590         * nmake.defs (THISDIR): New definition.
2592         * gmake.defs (THISDIR): New definition.
2594 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2596         * configure.bat: Leave a space before >> only when there is a
2597         preceding digit.  Add a comment about the importance of this.
2599         * README: Replace outdated information.
2601         * INSTALL (Trouble-shooting): Add note about need to specify extra
2602         compiler flags with recent Cygwin ports of gcc.
2604 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2606         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2607         is not supported by Windows 9X's COMMAND.COM.
2609 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2611         * configure.bat: Make sure redirection is preceded by a blank, to
2612         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2613         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2615 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2617         * INSTALL: Copy the table of tested combinations of development
2618         tools from configure.bat.  Add suggestion to install Bash on
2619         Windows 9X.
2621         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2622         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2623         needs to be deleted, since command.com in Windows 9X doesn't grok
2624         more than one argument.
2626 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2628         * makefile.w32-in (cleanall-other-dirs-nmake):
2629         (cleanall-other-dirs-gmake): New targets.
2630         (cleanall): Invoke them.
2632 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2634         * addpm.c (env_vars): Add a version-independent site-lisp
2635         directory to EMACSLOADPATH, after the version dependent one.
2637 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2639         * README: Update info about compilers.
2641         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2642         select correct rule for invoking make in another directory.
2643         Amend rules accordingly.
2644         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2646         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2647         (COMPILER_TEMP_FILES): New definition.
2648         (MAKETYPE): New definition.
2650         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2651         (COMPILER_TEMP_FILES): New definition.
2652         (MAKETYPE): New definition.
2654         * makefile.def (EMACS_ICON_PATH): Delete definition.
2656         * configure.bat: Be careful not to add trailing spaces when
2657         outputting to config.settings.
2659 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2661         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2662         than the function.
2664 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2666         * makefile.w32-in (install): Copy directories to the correct
2667         places.
2668         (real_install): Remove obsolete target.
2670 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2672         * nmake.defs (CURDIR): New define.
2673         (INSTALL_DIR): Use it.
2675         * gmake.defs (NEW_CYGWIN): New define.
2676         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2677         so we need to adjust how we escape embedded quotes.
2678         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2679         relative to $(CURDIR).
2681 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2683         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2685 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2687         * makefile.w32-in (recompile): New target to recompile lisp
2688         directory.
2689         (recompile-CMD, recompile-SH): New support targets.
2691 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2693         * config.nt (NO_RETURN): Define it.
2695 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2697         * gmake.defs: Revert to Unix line endings.
2699         * nmake.defs: Revert to Unix line endings.
2701 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2703         * gmake.defs (SETLOADPATH): Change definition to work from any
2704         subdirectory.
2706 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2708         * makefile.w32-in: Revert to Unix line endings.
2710 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2712         * INSTALL: Add note about expected error messages when configure
2713         is run.
2715         * configure.bat: Simplify the generation of makefiles (don't need
2716         to generate various top-level targets that invoke make in other
2717         directories).
2719         * gmake.defs (SHELLTYPE): New define.
2720         (SETLOADPATH): New define.
2722         * nmake.defs (SHELLTYPE): New define.
2724         * makefile.w32-in: Standardize indentation somewhat.
2725         Add bootstrap support.
2726         Pass $(MFLAGS) when invoking make recursively.
2727         Add shell-specific variants of top-level targets that invoke make
2728         recursively in other directories, and add necessary computed
2729         dependencies.
2731 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2733         * makefile.w32-in: Change to DOS line endings.
2735         * configure.bat: Change to DOS line endings.
2737         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2738         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2740         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2741         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2743         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2744         -D_ANONYMOUS_STRUCT on compile line.
2745         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2746         (ARCH_CFLAGS): Change optimization flags to -O2.
2747         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2748         (ARGQUOTE, DQUOTE): New defines.
2750         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2751         -D_ANONYMOUS_STRUCT on compile line.
2752         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2753         (ARGQUOTE, DQUOTE): New defines.
2755 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2757         * configure.bat: New file.
2759         * gmake.defs: New file.
2761         * nmake.defs: New file.
2763         * makefile.w32-in: New file.
2765         * INSTALL: Rewrite to match new configure process.
2767         * config.nt [WINDOWSNT]: Don't declare getenv.
2768         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2770         * addpm.c (main): Accept /q to mean install based on addpm's
2771         location without asking.  Remove reference to emacs.bat which is
2772         now obsolete.
2774         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2776         * paths.h: Use forward slash as directory separator in all path
2777         definitions.
2778         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2780         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2782         * runemacs.c: Remove WIN32 define.
2784         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2785         not defined.
2787         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2788         (fd_set): Define to new name, after including winsock.h, so we can
2789         provide our own implementation.
2791 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2793         * ebuild.bat: Add support for specifying make arguments.
2795         * makefile.nt: Add support for `bootstrap' and related targets.
2797 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2799         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2801 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2803         * inc/sys/time.h: Add inclusion protection.
2805         * makefile.def (SYS_LDFLAGS): Add -nologo.
2807 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2809         * install.bat: Pass on command line arguments to make.
2811         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2813 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2815         * makefile.nt (all): Build leim if present.
2816         (install): Install leim if present.
2817         (clean): Clean leim if present.
2819         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2820         definition.
2822         * emacs.bat.in (EMACSLOADPATH): Include leim.
2824 1999-07-12  Richard Stallman  <rms@gnu.org>
2826         * Version 20.4 released.
2828 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2830         * emacs.rc: Use an icon with a transparent background, to be in
2831         keeping with other applications.
2833 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2835         * preprep.c: Fix typo.
2837 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2839         * config.h: Remove obsolete file.
2841         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2842         couple of unused switch cases that aren't defined on all
2843         platforms.
2845         * ftime.bat: Add another variation of the profile command, which
2846         only profiles extended commands.
2848 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2850         * cmdproxy.c (main): Fix parens.
2852 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2854         * cmdproxy.c (main): Call GetShortPathName to normalize program
2855         names for comparison.
2857 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2859         * makefile.def: Compile multiple .c files when possible.
2860         Use BLD instead of assuming i386.
2861         * makefile.nt: Remove common multiple file compilation commands.
2863 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2865         * cmdproxy.c (main): Add missing parens.
2867 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2869         * preprep.c: New program to allow dumped image to be profiled.
2871         * makefile.nt (preprep): New target.
2872         (ALL): Build it.
2874         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2876         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2877         Change prep options to profile libc functions and skip the startup
2878         code.
2880 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2882         * makefile.nt: Create installation directory as first step.
2884 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2886         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2887         ROUND_UP_DST.  Zeroes the alignment slop.
2888         (copy_executable_and_add_section): Update the
2889         SizeOfHeaders field properly.
2891 1999-01-27  Andrew Innes  <andrewi@gnu.org>
2893         * makefile.nt: Do make version comparison as strings.
2895 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
2897         * runemacs.c (WinMain): Pass explicit environment block to
2898         CreateProcess, to work around a bug in Windows 95/98.
2900 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
2902         * icons: New directory with Davenport's icons.
2903         * icons/sink.ico: Renamed from emacs.ico.
2905         * makefile.nt (install, fast_install): Install Windows icons
2906         into etc/icons.
2908         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2910 1999-01-17  Andrew Innes  <andrewi@gnu.org>
2912         * makefile.nt (ALL): List top-level targets.
2913         (addsection): New top-level target.
2914         (install): Copy fns-*.el to bin directory.
2916         * addsection.c: New program to add static heap section to
2917         temacs.exe after linking, in support of new unexec method.
2919 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
2921         * cmdproxy.c (spawn): Pass directory for child as parameter.
2922         (main): Save startup directory to give to spawn, then change
2923         directory to location of .exe in order not to prevent startup
2924         directory from being deleted.
2926 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
2928         * makefile.nt: Do string comparison of _NMAKE_VER.
2930 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
2932         * config.nt (LOCALTIME_CACHE): Define.
2934 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
2936         * install.bat: Convert to DOS format.
2938 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
2940         * cmdproxy.c (main): Set environment size only when running
2941         command.com.
2943 1998-11-03  Theodore Jump  <tjump@tertius.com>
2945         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
2946         (DEL_TREE): Use rd instead of rmdir.
2947         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
2948         * makefile.nt: Compile multiple source files when possible.
2950 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
2952         * cmdproxy.c (main): Treat command line options as case-insensitive.
2954 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
2956         * Version 20.3 released.
2958 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
2960         * addpm.c (main): Explicitly check result of message box for OK.
2962 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
2964         * inc/sys/file.h (D_OK): Define new macro.
2966 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
2968         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
2970 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
2972         * emacs.rc (VS_VERSION_INFO): Define.
2974 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
2976         * makefile.nt (emacs.bat, debug.bat): Create them in the
2977         installation directory.
2979 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
2981         * ddeclient.c: New file.  (Support program for performing limited
2982         interprocess communication on Windows.)
2984         * makefile.nt: Build ddeclient.
2986         * cmdproxy.c (main): Only set environment size for real shell, and
2987         provide extra directory argument, when running on Windows 95.
2989 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
2991         * cmdproxy.c (fail): Exit with a negative return value.
2992         (spawn): Return subprocess return code as an argument.
2993         Explicitly copy environment block.
2994         (main): Update to use return value argument with spawn.
2995         Retry if spawn failed when a subshell was not tried.
2997         * config.nt: Include new macros from src/config.in.
2998         (GNU_MALLOC, REL_ALLOC): Define.
2999         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
3000         (RE_TRANSLATE): Use char_table_translate.
3002         * makefile.def (CP_DIR): Preserve attributes.
3004         * makefile.nt (clean): Delete patch generated files, optimized
3005         build directory.
3007 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
3009         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
3011 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3013         * Version 20.2 released.
3015 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3017         * Version 20.1 released.
3019 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
3021         * debug.bat.in: New file.
3022         * makefile.nt (debug.bat): New target.
3024 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
3026         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
3027         Quote group name.  Allow different icons to be specified.
3029         * cmdproxy.c (get_env_size): New function.
3030         (spawn): Explicitly pass in environment when creating subprocess.
3031         (main): Cleanup error messages.
3032         Specify dynamically sized environment block for real shell.
3033         Pass on unhandled switches to real shell.
3034         Quote program name.
3036         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
3037         directory.
3038         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
3040         * runemacs.c (WinMain): Allow Emacs process to be started with
3041         high or low priority.
3043         * emacs.bat.in: Remove OS dependent operations.
3045 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
3047         * addpm.c (env_vars): No longer set INFOPATH.
3049         * cmdproxy.c (get_next_token): Null terminate token returned.
3051         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
3053 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
3055         * addpm.c (env_vars): Set SHELL to cmdproxy.
3056         (main): Initialize idDde to 0.
3057         Determine emacs_path from module file name.
3058         Prompt for install.
3060         * makefile.def (MSVCNT11): Conditionally define it.
3061         (BASE_LIBS): Do not use oldnames.lib.
3062         (SYS_LDFLAGS): Use pdb files.
3063         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
3064         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
3065         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
3067         * makefile.nt (ALL): Build cmdproxy.
3068         (cmdproxy): New target.
3069         (install): Install cmdproxy.
3071         * ftime.bat, debug.bat, cmdproxy.c: New files.
3073 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
3075         * inc/sys/socket.h (shutdown): Define.
3076         (sys_shutdown): Export.
3078 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3080         * config.nt (RE_TRANSLATE): Copy definition from config.in.
3082 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
3084         * config.nt: Update file comments.
3085         Update undefs added/removed in src/config.in.
3087 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
3089         * makefile.def, emacs.bat: Use windows95 and windowsnt instead
3090         of win95 and winnt, respectively.
3092 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
3094         * makefile.nt (real_install): Create site-lisp in installation dir.
3095         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
3096         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
3098 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3100         * Version 19.33 released.
3102 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
3104         * runemacs.c (WinMain): Put a space between the binary and its args.
3106 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3108         * Version 19.32 released.
3110 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
3112         * makefile.nt (clean): Use OBJDIR macro.
3114 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
3116         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3117         Not defined by default.
3118         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3119         (WinMain): Convert backslashes to slashes in env var values.
3121         * addpm.c (env_vars): Use slashes, not backslashes.
3123 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3125         * Version 19.31 released.
3127 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
3129         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3130         undo settings afterwards.
3132 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
3134         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3135         environment variable.
3137 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3139         * install.bat: Allow for optimized build.
3140         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3141         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3143 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3145         * addpm.c (REG_ROOT): Don't use a trailing backslash.
3146         (env_vars): Rename field emacs_path to emacs_dir.
3147         (main): Add link to runemacs instead of emacs.
3149         * install.bat: Check if INSTALL_DIR is passed as an argument.
3151         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3153         * makefile.nt: Build and install runemacs.exe.
3155         * runemacs.c: New file.
3157         * config.w95: File removed.
3159         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3160         inc/sys/socket.h, inc/sys/time.h: New header files.
3162         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3164 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
3166         * makefile.def (DEL): Defined.
3167         (DEL_TREE) [win95]: Defined.
3168         (SYS_LDFLAGS): Set executable versions to 3.10.
3170         * makefile.nt: Change uses of del to $(DEL).
3172 1996-01-17  Erik Naggum  <erik@naggum.no>
3174         * All files: Update FSF's address in comment preamble.
3176 1996-01-03  George V. Reilly  <georger@microcrafts.com>
3178         * emacs.ico: Now the proverbial kitchen sink icon.
3180 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3182         * Version 19.30 released.
3184 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
3186         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3188         * makefile.nt (install, fast_install, real_install, clean):
3189         Don't use switches to del not supported by Windows 95.
3191 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
3193         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3194         (install, fast_install): Change same-dir test to create test file in
3195         installation tree and thereby support read-only shares.
3196         (clean): Remove .pdb files.
3198         * makefile.def (NTGUI): New macro.
3199         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3201         * config.nt, config.w95: Update to latest src/config.in.
3203         * addpm.c (env_vars): New variable.
3204         (add_registry): New procedure.
3205         (main): Use values of configuration environment variables from
3206         the registry if defined, the process environment otherwise.
3208 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3210         * Version 19.29 released.
3212         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3214 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
3216         * makefile.nt: Define .c to .obj suffix rule.
3217         (addpm.obj): Compile directly, use CFLAGS.
3218         (addpm.exe): Link from addpm.obj.
3220         * makefile.def (MSVCNT11): Defined.
3221         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3222         (CFLAGS_COMMON): Defined.
3223         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3225 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
3227         * emacs.bat.in: Renamed from emacs.bat.
3228         (emacs_dir): Rename from emacs_path.
3229         Definition removed.
3231         * addpm.c: New file.
3232         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3233         (all): Depend upon $(BLD) and $(ALL).
3234         (install): Depend upon emacs.bat.
3235         Create program item for Emacs.
3236         (clean): Delete obj.
3237         (emacs.bat): Defined.
3238         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3240 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
3242         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3243         Add carriage returns; necessary for batch files on Windows 95.
3245 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
3247         * config.w95: Created.
3248         * config.h: Changed to config.nt.
3250         * makefile.nt (SUBDIRS): Commented out.
3251         (all, install, clean): Expand for-loops.
3252         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3254         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3255         (ARCH): New definition.
3256         (CPU, CONFIG_H, OS_TYPE): Defined.
3257         (INCLUDE, LIB): Checked if valid.
3258         (ntwin32.mak): Included.
3259         (AR, CC, LINK): New definition.
3260         (ADVAPI32, libc, BASE_LIBS): Defined.
3261         (SYS_LDFLAGS): New definition.
3262         Update comments and preprocessor conditionals.
3264         * emacs.bat (SHELL): Conditionally defined.
3265         (HOME): Conditionally defined.
3266         (emacs_path, HOME): Update comments.
3267         Turn off all echo.
3269 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
3271         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
3272         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
3273         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
3274         inc/sys/param.h: Removed carriage-returns.
3276 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
3278         * makefile.def (CVTRES): Defined.
3280         * emacs.ico, emacs.rc: New files by Kevin Gallo.
3282 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
3284         * src: Remove directory.
3286         * src\config.h, src\paths.h: Moved to parent dir, src removed.
3288 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
3290         * makefile.def (INSTALL_DIR): Change to generic directory.
3292         * emacs.bat: Added arguments when emacs.exe invoked.
3294         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3296 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
3298         * makefile.def (CC): In configuration section.
3299         (COMPAT_LIB): Defined.
3301 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
3303         * src/paths.h: New file.
3305         * src/config.h: New file.
3307         * inc/pwd.h: New file.
3309         * inc/sys/dir.h: New file.
3311         * inc/sys/file.h: New file.
3313         * inc/sys/ioctl.h: New file.
3315         * inc/sys/param.h: New file.
3317         * todo: New file.
3319         * README: New file.
3321         * makefile.nt: New file.
3323         * makefile.def: New file.
3325         * install.cmd: New file.
3327         * INSTALL: New file.
3329         * fast-install.cmd: New file.
3331         * emacs.cmd: New file.
3333         * ebuild.cmd: New file.
3335         * _emacs: New file.
3337 ;; Local Variables:
3338 ;; coding: utf-8
3339 ;; add-log-time-zone-rule: t
3340 ;; End:
3342   Copyright (C) 1995-1999, 2001-2013 Free Software Foundation, Inc.
3344   This file is part of GNU Emacs.
3346   GNU Emacs is free software: you can redistribute it and/or modify
3347   it under the terms of the GNU General Public License as published by
3348   the Free Software Foundation, either version 3 of the License, or
3349   (at your option) any later version.
3351   GNU Emacs is distributed in the hope that it will be useful,
3352   but WITHOUT ANY WARRANTY; without even the implied warranty of
3353   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3354   GNU General Public License for more details.
3356   You should have received a copy of the GNU General Public License
3357   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.