Implement mkostemp for MS-Windows.
[emacs.git] / nt / ChangeLog
blob23c0c74b6f14f98de3433bd7e91506e3f78d466c
1 2013-08-04  Eli Zaretskii  <eliz@gnu.org>
3         * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of
4         "yes".
6         * inc/ms-w32.h (mkostemp): Declare prototype.
8         * config.nt (HAVE_MKOSTEMP): Define to 1.  (Bug#15015)
10 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
12         * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
13         (FD_CLOEXEC): New macros.
15 2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>
17         Make file descriptors close-on-exec when possible (Bug#14803).
18         * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
19         otherwise, gnulib-tool complains given close-on-exec changes.
20         * inc/ms-w32.h (pipe): Remove.
21         * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
22         (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
24 2013-06-25  Juanma Barranquero  <lekktu@gmail.com>
26         * configure.bat: Add warning to the help text about using the
27         MSYS/MinGW building procedure.
29 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
31         * INSTALL.MSYS: mingw-get is not a GUI program (yet).
32         msys-automake is not suitable for MinGW builds.  Mention the
33         --enable-locallisppath switch to msysconfig.sh.  Suggested by
34         Óscar Fuentes <ofv@wanadoo.es>.
36 2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)
38         * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
40 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
42         * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
44 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
46         * inc/sys/time.h (struct timeval): Remove the _W64 guards.
48 2013-06-01  Eli Zaretskii  <eliz@gnu.org>
50         * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
51         avoid multiple definition errors on MinGW64.
53 2013-05-31  Eli Zaretskii  <eliz@gnu.org>
55         * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
56         'restrict', which is a C99 extension.  See
57         http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
58         and the following discussion for the problem this caused in the
59         old nt/configure.bat build.
61 2013-05-29  Eli Zaretskii  <eliz@gnu.org>
63         * Makefile.in (emacs.res): Include srcdir when preprocessing
64         resources, for out-of-tree builds.
65         (mostlyclean): Remove *.res files.
67 2013-05-17  Eli Zaretskii  <eliz@gnu.org>
69         * runemacs.c (WinMain): Support invocation of un-installed
70         nt/runemacs.exe, by looking for src/emacs.exe.
72 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
74         * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.  (Bug#14409)
76         * msysconfig.sh: New file.
78         * mingw-cfg.site: New file.
80         * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
82         * inc/unistd.h: Include pwd.h and sys/types.h.
84         * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
85         (timerclear): Define.
86         (gettimeofday): Adjust signature to be Posix compatible, by using
87         the 'restrict' keyword.
89         * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
90         (struct _stat, struct _stati64): Define.
92         * inc/sys/socket.h (timeval): Define only for MSVC.
93         (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
94         EMACS_CONFIG_H is defined.
95         (timeval): Undefine only for MSVC.
97         * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
98         (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
99         (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
100         (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
101         (fileno): Move definition after including stdio.h.
102         (sigset_t): Guard typedef by _W64.
104         * gnulib.mk: New file.
106         * epaths.nt: New file.
108         * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
109         copy of the file names there.
110         <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
111         literal strings.
113         * Makefile.in: New file.
115         * INSTALL.MSYS: New file.
117         * INSTALL: Mention INSTALL.MSYS.
119 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
121         * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
123 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
125         * config.nt: Sync with autogen/config.in.
126         (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
127         (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
128         (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
129         (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
130         (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
131         (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
132         (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
133         (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
134         (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
135         (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
137 2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
139         Use Gnulib ACL implementation, for benefit of Solaris etc.  (Bug#14295)
140         * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
141         * inc/ms-w32.h (EOPNOTSUPP): New macro.
143 2013-04-09  Ken Brown  <kbrown@cornell.edu>
145         * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
146         (Bug#12993)
148 2013-04-01  Eli Zaretskii  <eliz@gnu.org>
150         * README: A better documentation of ddeclient.exe.
152         * README.W32: A better documentation of ddeclient.exe.
154         * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
155         subdirectories.
157 2013-03-30  Eli Zaretskii  <eliz@gnu.org>
159         * inc/ms-w32.h (TERM_HEADER): Remove definition.
161         * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
162         ms-w32.h.
164 2013-03-29  Eli Zaretskii  <eliz@gnu.org>
166         * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
168         * config.nt (HAVE_COPYSIGN): Define.
170 2013-03-29  Juanma Barranquero  <lekktu@gmail.com>
172         * config.nt: Sync with autogen/config.in.
173         (HAVE_XKBGETKEYBOARD): Remove.
174         (HAVE_XKB): New macro.
176 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
178         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
179         (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
180         Depend on .exe files.
182         * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
183         avoid MinGW64 compiler warnings in editfns.c.
185         Fix rules for parallel builds.
186         * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
187         without the .exe suffix.
188         (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
189         targets.
190         (.PHONY): Remove.
192         * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
193         headers, since that's where _W64 is declared by MinGW64.
195 2013-03-26  Eli Zaretskii  <eliz@gnu.org>
197         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
198         (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
200         * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
201         define for MinGW64.
203         * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
204         for MinGW64.
206         Fix more incompatibilities between MinGW.org and MinGW64 headers
207         reported by Óscar Fuentes in
208         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
209         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
210         and in
211         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
212         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
213         For MinGW64, include sys/types.h and time.h.
214         (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
216         * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
218         * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
219         _W64.
220         (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
221         _TIMEZONE_DEFINED.
223         * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
225         * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
226         lstat, and fstatat.
228 2013-03-25  Eli Zaretskii  <eliz@gnu.org>
230         Fix incompatibilities between MinGW.org and MinGW64 headers
231         reported by Óscar Fuentes in
232         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
233         * inc/ms-w32.h (struct timespec): Don't define if
234         _TIMESPEC_DEFINED is already defined.
235         (sigset_t) [!_POSIX]: Typedef for MinGW64.
236         (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
237         including the first system header, to avoid redefinition if some
238         system header defines a default value.
240         * inc/sys/time.h (struct itimerval): Don't define if
241         _TIMESPEC_DEFINED is already defined.
243 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
245         Fix the MSVC build.  (Bug#13939)
246         * inc/stdint.h (UINTPTR_MAX): Define.
248         * nmake.defs (libc): Fix syntax of !if conditional.
250 2013-03-15  Juanma Barranquero  <lekktu@gmail.com>
252         * config.nt: Sync with autogen/config.in.
253         (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
254         (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
255         (HAVE_FDATASYNC): New macros.
257 2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
259         File synchronization fixes (Bug#13944).
260         * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
262 2013-03-05  Paul Eggert  <eggert@cs.ucla.edu>
264         FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
265         * inc/unistd.h (O_NOFOLLOW): New macro.
267 2013-03-04  Juanma Barranquero  <lekktu@gmail.com>
269         * config.nt: Sync with autogen/config.in.
270         (DATA_START, ORDINARY_LINK): Remove.
271         (HAVE_DATA_START, HAVE__PUTENV): New macros.
273 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
275         * inc/ms-w32.h (BOOT_TIME_FILE): Define.
277         * config.nt (CLASH_DETECTION): Define to 1.
279 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
281         * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
282         (Bug#9066)
283         (chown, logb): Remove, unused.
285 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
287         * config.nt: Sync with autogen/config.in.
288         (GC_MARK_STACK): Remove.
289         (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
290         (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
291         (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
293 2013-02-12  Eli Zaretskii  <eliz@gnu.org>
295         * inc/ms-w32.h: Add prototype for memrchr.
297 2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
299         Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
300         * inc/sys/stat.h (fstatat):
301         * inc/unistd.h (readlinkat): New decls.
303 2013-01-28  Eli Zaretskii  <eliz@gnu.org>
305         * inc/dirent.h (opendir): Update prototype.
307 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
309         * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
310         used in term.c.  (Bug#13387)
312 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
314         * config.nt: Sync with autogen/config.in.
315         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
317 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
319         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
320         in lib/filemode.c that broke the MS-Windows build.
321         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
323 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
325         * config.nt: Sync with autogen/config.in.
326         (BSD4_2): Remove.
328 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
330         * inc/sys/acl.h: New file.
332         * inc/ms-w32.h (ENOTSUP): Define if undefined.
334         * config.nt (HAVE_POSIX_ACL): Define.
336 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
338         * inc/ms-w32.h (sys_unlink): Provide prototype.
340 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
342         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
344 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
346         * config.nt: Sync with autogen/config.in.
347         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
349 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
351         * config.nt: Sync with autogen/config.in.
352         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
353         (ULIMIT_BREAK_VALUE): Remove.
355 2012-12-10  Daniel Colascione  <dancol@dancol.org>
357         * emacs.rc: Use forward slashes in relative paths in order to
358         avoid complaints from Cygwin.  (Forward slashes work perfectly
359         well in the NT build.)
361 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
363         * inc/unistd.h (unsetenv): Provide a prototype.
365 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
367         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
368         (sys_putenv): Add prototype.
370         * config.nt (HAVE_UNSETENV): Define to 1.
372 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
374         * config.nt: Sync with autogen/config.in.
376 2012-11-24  Ken Brown  <kbrown@cornell.edu>
378         * config.nt (HAVE_MOUSE): Remove.
380 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
382         * config.nt: Sync with autogen/config.in.
383         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
384         Remove.
386 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
388         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
389         (Bug#12955)
391         * nmake.defs (SWITCHCHAR): Define to /.
393 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
395         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
396         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
397         (struct dirent): Rename from struct direct.  All uses changed.
398         * inc/sys/dir.h: Remove.
400 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
402         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
403         * config.nt (HAVE_GETCWD): Remove.
405 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
407         * nmake.defs: Use !if, not !ifdef.  For the details, see
408         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
410         * inc/stdint.h (INTPTR_MIN):
411         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
413 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
415         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
417 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
419         * config.nt: Sync with autogen/config.in.
420         (HAVE_FPATHCONF): Remove.
422 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
424         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
425         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
426         POSIX name for this flag is O_NONBLOCK.  All uses changed.
427         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
428         these really should be moved to a replacement <fcntl.h> if and
429         when that gets implemented.  In the meantime, include <fcntl.h>
430         to make sure we don't override its definitions.
432 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
434         * inc/sys/wait.h: New file, with prototype of waitpid and
435         definitions of macros it needs.
437         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
438         (sys_wait): Remove prototype.
440         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
442 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
444         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
445         to check if it's installed, redirect standard output and standard
446         error to the null device.
447         (ZIP_DIST): Don't build the "barebin" distribution.
449 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
451         * config.nt: Sync with autogen/config.in.
452         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
453         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
454         New macros.
456 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
458         * inc/unistd.h (faccessat): Add prototype.
459         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
460         2 moved from ms-w32.h.
462         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
464 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
466         Use faccessat, not access, when checking file permissions (Bug#12632).
467         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
468         (access): Remove.
469         (faccessat): New macro.
471 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
473         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
475 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
477         * config.nt: Sync with autogen/config.in.
478         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
479         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
481 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
483         * config.nt: Sync with autogen/config.in.
484         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
486 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
488         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
490 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
492         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
494         * config.nt (GETPGRP_VOID): Define to 1.
496 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
498         * config.nt: Sync with autogen/config.in.
500 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
502         * inc/pwd.h (getuid, geteuid): Add prototypes.
504         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
505         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
506         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
507         (sys_kill, getpagesize): Add prototypes for emulated functions.
509         * inc/grp.h (getgid, getegid): Add prototypes.
511         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
513         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
514         compiling with -std=gnu99.
516         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
517         could be used via --cflags switch to configure.bat.
519 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
521         * config.nt: Sync with autogen/config.in.
522         (HAVE_NTGUI): New macro.
524 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
526         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
527         compiler warnings when using the value.
529 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
531         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
532         'void *', for pointer arithmetics.
533         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
534         macro arguments in parentheses.
536 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
538         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
540 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
542         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
543         that are already defined.
545         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
546         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
547         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
549         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
550         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
551         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
552         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
553         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
554         Use DWORD_PTR instead of DWORD for compatibility with x64.
556         * nmake.defs: Support AMD64.
557         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
559         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
560         New macros.
562         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
563         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
564         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
565         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
566         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
567         DWORD, for compatibility with x64.
569         * emacs-x64.manifest: New file.
571         * emacs-x86.manifest: Renamed from emacs.manifest.
573 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
575         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
576         (struct itimerval): Define.
577         (getitimer, setitimer): Add prototypes.
579         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
580         with MinGW.
581         (SA_RESTART, SIGPROF): Define.
583         * config.nt (HAVE_SETITIMER): Define to 1.
585 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
587         * config.nt: Sync with autogen/config.in.
589 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
591         * config.nt: Sync with autogen/config.in.
592         (HAVE_TIMER_SETTIME): New macro.
594 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
596         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
598 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
600         Simplify and avoid signal-handling races (Bug#12471).
601         * inc/ms-w32.h (emacs_raise): New macro.
603 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
605         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
606         defined, as needed by giflib-5.0.0.  (Bug#12464)
608 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
610         * config.nt: Sync with autogen/config.in.
611         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
613 2012-09-17  Glenn Morris  <rgm@gnu.org>
615         * config.nt (COPYRIGHT): New.
617 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
619         Port _setjmp fix to POSIXish hosts as well as Microsoft.
620         * config.nt: Attempt to sync with autogen/config.in.
621         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
622         (_longjmp, _setjmp): Remove.
624 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
626         * config.nt: Sync with autogen/config.in.
627         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
628         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
629         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
631 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
633         * config.nt: Sync with autogen/config.in.
634         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
635         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
637 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
639         * configure.bat <use_extensions>: Don't leave it set in the
640         environment when the script exits.
642 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
644         * config.nt: Sync with autogen/config.in.
645         (NO_ABORT, SIGNAL_H_AHB): Remove.
647 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
649         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
651 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
653         * config.nt: Sync with autogen/config.in.
655 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
657         Simplify redefinition of 'abort' (Bug#12316).
658         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
660 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
662         * config.nt: Sync with autogen/config.in.
663         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
665 2012-09-01  Daniel Colascione  <dancol@dancol.org>
667         * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
669 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
671         * config.nt: Sync with autogen/config.in.
673 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
675         * config.nt: Sync with autogen/config.in.
676         (HAVE_POSIX_OPENPT): New macro.
678 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
680         * config.nt: Sync with autogen/config.in.
681         (_GL_INLINE_HEADER_BEGIN): Update.
683 2012-08-10  Glenn Morris  <rgm@gnu.org>
685         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
687 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
689         * config.nt: Sync with autogen/config.in.
690         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
691         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
693         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
695 2012-08-06  Glenn Morris  <rgm@gnu.org>
697         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
698         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
700 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
702         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
703         (PATH_DATA, PATH_DOC): Replace dummy directory names with
704         directories relative to %emacs_dir%.
705         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
706         to the use case of running un-installed Emacs.
708 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
710         * config.nt: Sync with autogen/config.in.
711         (DOS_NT, MSDOS): New macros.
712         (WRETCODE, wait3): Remove.
714         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
716 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
718         * inc/sys/stat.h (S_IFLNK): Define.
719         (S_ISLNK): A non-trivial definition.
720         (lstat): Prototype instead of a macro that redirects to 'stat'.
722 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
724         Use C99-style 'extern inline' if available.
725         * config.nt: Sync with autogen/config.in.
726         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
727         (_GL_INLINE_HEADER_END): New macros.
729 2012-08-02  Glenn Morris  <rgm@gnu.org>
731         * inc/ms-w32.h: Move here from ../src/s.
732         * config.nt (config_opsysfile): Change to <ms-w32.h>.
734 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
736         * config.nt: Sync with autogen/config.in.
737         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
738         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
739         New macros.
741 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
743         * config.nt: Sync with autogen/config.in.
744         Remove code moved to conf_post.h and include <conf_post.h>
745         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
746         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
748 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
750         * config.nt: Sync with autogen/config.in.
751         (HAVE_ENVIRON_DECL): New macro.
753 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
755         * inc/stdalign.h (_Alignas, alignas): Define.
757 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
759         Use Gnulib stdalign module (Bug#9772, Bug#9960).
760         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
762 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
764         * config.nt: Sync with autogen/config.in.
765         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
766         (SETUP_SLAVE_PTY): New macros.
768 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
770         * config.nt: Sync with autogen/config.in.
771         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
772         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
773         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
774         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
775         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
776         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
777         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
778         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
779         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
780         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
781         Set in src/s/ms-w32.h, not here.
783 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
785         * config.nt: Sync with autogen/config.in.
786         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
787         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
788         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
790 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
792         * config.nt: Sync with autogen/config.in.
794 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
796         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
798 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
800         * config.nt: Sync with autogen/config.in.
802 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
804         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
806 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
807             Eli Zaretskii  <eliz@gnu.org>
809         * config.nt: Complete rework to bring it in sync with autogen/config.in.
810         All Windows-specific code moved to src/s/ms-w32.h.
812 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
813             Eli Zaretskii  <eliz@gnu.org>
815         * configure.bat (enablechecking): Enable checks through src/config.h,
816         not the compiler's command line.
818         * nmake.defs (CHECKING_CFLAGS): Remove.
819         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
821         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
822         (CHECKING_CFLAGS): Remove.
823         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
825 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
827         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
828         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
829         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
830         (HAVE_MEMCMP): Remove, obsolete.
832 2012-06-30  Glenn Morris  <rgm@gnu.org>
834         * paths.h (PATH_SITELOADSEARCH): New.
836 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
838         * nmake.defs (CHECKING_CFLAGS):
839         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
841 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
843         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
845 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
847         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
848         * config.nt (_Noreturn): New macro.
849         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
850         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
852 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
854         * inc/sys/time.h (struct timespec): Don't define it here, it is
855         now defined in src/s/ms-w32.h.
857 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
859         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
860         * inc/sys/time.h (struct timespec): Define.
862 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
864         * makefile.w32-in (install-addpm): New target.
865         (dist): Depend on it.
866         (install-shortcuts): Depend on install-addpm instead of copying
867         addpm.exe as part of the recipe.  See
868         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
869         for the related problem and discussions.
871 2012-06-11  Glenn Morris  <rgm@gnu.org>
873         * config.nt (SYSTEM_TYPE): Define it.
875 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
877         * configure.bat (genmakefiles): Move the redirection away from the
878         end of the command, to avoid excess whitespace at the end of Make
879         variables created at configure time, and also avoid things like
880         "FOO1>>config.settings", where "1" gets interpreted as the file
881         descriptor and eaten up.  This fixes breakage introduced by the
882         last change, without reintroducing the bug fixed by that change.
884 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
886         * nmake.defs (MWINDOWS): Define as
887         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
888         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
890         * gmake.defs (MWINDOWS): Define as "-mwindows".
892 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
894         * config.nt (HAVE_SYSINFO): Remove; unused.
896 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
898         * inc/stdalign.h: New file.
900         * configure.bat: Ensure a space between %var% expansion and
901         redirection symbol '>', which breaks when %var% ends in a digit,
902         such as 1.
904 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
906         Remove src/m/*.
907         * config.nt: Do not include "m/intel386.h"; file was removed.
908         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
909         Move to src/lisp.h.
910         (EMACS_INT_MAX): New macro.
912 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
914         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
915         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
917         * config.nt (HAVE_FTIME): Remove undef; not needed.
919 2012-05-01  Glenn Morris  <rgm@gnu.org>
921         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
923 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
925         * makefile.w32-in: Fix typo (Bug#10261).
927 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
929         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
930         each runs makeinfo in its own subdirectory of 'doc'.
931         (info-gmake): Depend on these new targets.
933 2012-04-07  Glenn Morris  <rgm@gnu.org>
935         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
936         Bump version to 24.1.50.
938 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
940         * configure.bat: Support building with libxml2.
942         * INSTALL:
943         * README.W32: Add information about libxml2.
945 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
947         * makefile.w32-in: Convert to Unix EOL format.
948         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
949         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
950         (bootstrap-gmake): Invoke the "clean" and build targets in 2
951         separate commands, so they run in that order even under "make -j".
953 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
955         * config.nt: Discourage from defining HAVE_GETCWD.
957 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
959         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
960         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
961         on other (parallel) Make job's toes.
962         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
963         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
964         here.
965         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
966         Depend on create-tmp-dist-dir.
968         * nmake.defs (DIRNAME): New variable.
969         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
970         same-dir.tst.
972         * gmake.defs (DIRNAME): New variable.
973         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
974         same-dir.tst, to avoid conflicts between several (parallel) Make
975         jobs.
977 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
979         Prevent endless re-spawning of cmdproxy.exe when some of its
980         parent directories have access limitations.
982         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
983         and our own module name to short 8+3 aliases, if the original file
984         names compare equal.  If GetShortPathName fails, compare the base
985         names of the two file names, and only re-spawn the command line if
986         the base-name comparison also fails.  (Bug#10674)
988 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
990         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
992 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
994         * README.W32: Removed specific version information for libXpm
995         included in the binary distribution for maintenance purposes.
997 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
999         * README.W32: Clarification for inclusion in source tarball (bug#9750).
1001         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1003         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1005         * makefile.w32-in (maybe-copy-distfiles)
1006         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1007         (create-tmp-dist-dir): Add to make --distfiles optional.
1008         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1010 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
1012         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1013         by other headers.
1015 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1017         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1018         (UINT64_MAX) [_WIN64]: Fix definition.
1019         (uintmax_t, intmax_t): Fix definitions.
1021         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1022         Provide correct definitions.
1024         * config.nt (HAVE_DECL_STRTOLL): Define.
1025         (va_copy) [_WIN64]: Provide a better definition.
1027 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
1029         * configure.bat: Fix typos.
1031 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
1033         * INSTALL: Elaborate on debugging fatal errors.
1035 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
1037         * README.W32: Update the GTK Windows download URL for libpng.
1039 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
1041         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1043 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
1045         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1046         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1047         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1048         (intmax_t, INT64_MAX): Add for MSVC.
1050         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1052 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
1054         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1056         Support MSVC build with newer versions of Visual Studio.
1057         * makefile.w32-in (clean-other-dirs-nmake)
1058         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1059         Update for current structure of doc/ subdirectories.
1061         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1063         * INSTALL: Update for newer versions of MSVC.
1065 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1067         Support MSVC build with newer versions of Visual Studio.
1068         * nmake.defs (USE_CRT_DLL): Define to 1.
1069         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1070         (D): New variable.
1072 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
1074         * runemacs.c (ensure_unicows_dll): New function, tries to load
1075         UNICOWS.DLL on Windows 9X.
1076         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1077         display a dialog to the effect that Emacs cannot be started.
1078         (Bug#8562)
1080 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
1082         * README.W32: Mention UNICOWS.DLL as prerequisite for running
1083         Emacs on Windows 9X.
1085 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
1087         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1088         distribution.  (Bug#9861)
1090 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
1092         * INSTALL: Update URL for GTK download page.
1094 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
1096         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1097         (Bug#9794) (Bug#641)
1099 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1101         * config.nt (HAVE_SNPRINTF): New macro.
1103 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1105         Assume freestanding C89 headers, string.h, stdlib.h.
1106         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1107         (STDC_HEADERS): Remove.
1108         Iinclude string.h, stdlib.h unconditionally.
1110 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
1112         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1113         [!__GNUC__]: New macros.
1115 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1117         Use 'inline', not 'INLINE'.
1118         * config.nt (INLINE): Remove.
1120 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
1122         * README.W32: Add information about GnuTLS libraries.
1124 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
1126         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1128 2011-05-07  Ben Key  <bkey76@gmail.com>
1130         * configure.bat: Renamed the fusercflags variable to escusercflags
1131         so that the variable name better matches its purpose, to be
1132         identical to usercflags with the exception that all quotes are
1133         escaped by the \ character.
1135         Renamed the fuserldflags variable to escuserldflags so that the
1136         variable name better matches its purpose, to be identical to
1137         userldflags with the exception that all quotes are escaped by
1138         the \ character.
1140         A new ESC_USER_CFLAGS variable is written to config.settings.
1141         This variable has the same value as the escusercflags variable.
1143         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1144         This variable is identical to the CFLAGS variable except that it
1145         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1147         These changes, along with some changes to src/makefile.w32-in,
1148         are required to extend my earlier fix to add support for
1149         --cflags and --ldflags options that include quotes so that it
1150         works whether make uses cmd or sh as the shell.
1152 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
1154         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
1155         definition of uintmax_t from here...
1156         * inc/stdint.h (uintmax_t): ...to here.
1157         (intptr_t) [!__GNUC__]: New typedef.
1159 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
1161         * config.nt: Prepare to configure 64-bit integers for older compilers.
1162         However, temporarily disable this change unless the temporary
1163         symbol WIDE_EMACS_INT is defined.
1164         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1165         "%I64d" work but long long and "%lld" do not.
1167 2011-05-05  Ben Key  <bkey76@gmail.com>
1169         * configure.bat: Added support for --cflags and --ldflags
1170         options that include quotes as long as command extensions are
1171         enabled.  Specifically when -I, -L, and similar flags are used
1172         to specify supplementary include and library directories a
1173         directory name that includes spaces may now be used if it is
1174         enclosed in quotes.
1176         * INSTALL: Documented the change to configure.bat.
1178 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1180         * INSTALL: Clarify GnuTLS support.
1182 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
1184         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1185         Define to 1 for MinGW of MSVC versions >= 1400.
1187 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
1189         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1191 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
1193         * inc/inttypes.h: New file.
1195         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1196         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1198 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1200         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1201         inside quotation marks and bail out.
1203 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1205         * cmdproxy.c (try_dequote_cmdline): New function.
1206         (main): Use it.
1208 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1210         * configure.bat: New options --without-gnutls and --lib, new build
1211         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
1212         library setup with trivial modifications.
1213         * INSTALL: Add instructions for GnuTLS support.
1214         * gmake.defs: Prefix USER_LIBS with -l.
1216 2011-04-15  Ben Key  <bkey76@gmail.com>
1218         * configure.bat: Modified the code that parses the --cflags and
1219         --ldflags options to support parameters that include the =
1220         character as long as they are enclosed in quotes.
1221         This functionality depends on command extensions.  Configure.bat now
1222         attempts to enable command extensions and displays a warning
1223         message if they could not be enabled.  If configure.bat could
1224         not enable command extensions the old parsing code is used that
1225         does not support parameters that include the = character.
1227         * INSTALL: Updated the file to describe the new functionality
1228         using text provided by Eli Zaretskii.
1230 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
1232         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1233         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1234         on the trunk on 2011-04-06.
1236 2011-03-27  Glenn Morris  <rgm@gnu.org>
1238         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1240 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
1242         * addpm.c (main): Remove unused variable `retval'.
1244         * preprep.c (main): Remove unused variable `ptr'.
1246 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
1248         * cmdproxy.c: Include <ctype.h>.
1249         (make_absolute): Remove unused variable `i'.
1251 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
1253         * Version 23.3 released.
1255 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
1257         * inc/unistd.h (readlink, symlink): Declare prototypes.
1259 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
1261         * config.nt (nlink_t): Define.
1263 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
1265         * inc/stdint.h: New file, to support compilation with tool chains
1266         that do not have stdint.h (e.g. MSVC).
1268 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
1270         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1271         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1272         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1273         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1274         (lstat): Define to stat.
1276 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
1278         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1279         "make-docfile" target in lib-src, before bootstrapping the src
1280         directory.  Needed since building in src needs to run make-docfile
1281         to produce globals.h.
1283 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1285         * config.nt (inline) [__GNUC__]: Define (for gnulib).
1287 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1289         * config.nt (VERSION): Uncomment definition.
1290         (restrict): Define.
1292         * inc/stdbool.h: New file.
1294 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1296         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1297         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1298         (bootstrap-clean-gmake, clean-other-dirs-nmake)
1299         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1300         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1301         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1302         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1303         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1305         * configure.bat: Create lib/makefile.
1307         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1308         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1309         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1310         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1312 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1314         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1316 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1318         * configure.bat (end): Unset environment variables used by this
1319         batch file.
1321         * INSTALL: Update the information about PNG support libraries.
1322         (Bug#7716)
1324         * README.W32: Update the information about PNG support libraries.
1326 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1328         * config.nt (EXTERNALLY_VISIBLE): Define.
1330 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1332         * INSTALL: Refer to `dynamic-library-alist'.
1334 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1336         * INSTALL: Add note about problematic characters passed to configure.
1338 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1340         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1341         emacs-src.tags: New file.
1343         * gmake.defs: Add a comment with a single quote to fix
1344         fontification.  (Bug#7102)
1346 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1348         * configure.bat: Fix the condition for copying paths.h into
1349         ../src/epaths.h.
1351 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1353         * addpm.c (entry, add_registry, main):
1354         * addsection.c (file_data, open_input_file, open_output_file)
1355         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1356         (COPY_CHUNK):
1357         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1358         (skip_nonspace, get_next_token, search_dir, make_absolute)
1359         (spawn, main):
1360         * preprep.c (file_data, open_input_file, open_output_file)
1361         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1362         Use const char*.
1364         * cmdproxy.c (stdin): Don't define, not used.
1365         (main): Don't assign remlen after last use.
1367 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1369         * configure.bat: Err out when the argument of --cflags contains
1370         invalid characters (check implemented only for GCC).  (Bug#6820)
1372 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1374         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1376 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1378         * addpm.c (add_registry): Set path for runemacs.exe to use.
1380 2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
1382         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1383         which has a 1024 char limit on Windows (bug#6647).
1385 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1387         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1388         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1390 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1392         * config.nt: Remove code referring to NO_REMAP, unused.
1394 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1396         Build binary distros on Windows using emacs-VERSION as root dir name.
1398         * makefile.w32-in: Copy README.W32 to installation directory
1399         during `make install'.  Remove README.W32 with `distclean' (in
1400         case Emacs was installed in place).  Use temporary directory to
1401         create distribution zip files in `dist' target.
1402         * zipdist.bat: Simplify code using temporary directory.
1404 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1406         * runemacs.c (set_user_model_id): Fix prototype.
1408 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1410         New make target for Windows platform: make dist (bug#6602)
1412         * INSTALL: Document new dist target and add section about
1413         creating binary distributions.
1414         * README.W32: Relocate from admin/nt/ directory.
1415         * configure.bat: New parameter `--distfiles'.
1416         * makefile.w32-in: Add version number, new target `dist'.
1417         Add new target `install-shortcuts'.
1418         * zipdist.bat: New file; create zipped binary distribution,
1419         replaces admin/nt/makedist.bat.
1421 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1423         * INSTALL: Add note about backslashes in Windows paths.
1424         Fix typos.  Simplify references to Windows versions.
1426 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1428         * addpm.c (add_registry, main):
1429         * cmdproxy.c (get_env_size):
1430         * ddeclient.c (main):
1431         * runemacs.c (set_user_model_id):
1432         Convert definitions to standard C.
1434 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1436         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1438 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1440         * configure.bat: New option --enable-checking.
1441         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1442         (CFLAGS): Include it.
1444 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1446         * config.nt (volatile): Remove definition.
1448 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1450         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1451         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1453 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1455         * config.nt (__P): Remove.
1457 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1459         * config.nt: Remove code depending on BSTRING.
1461 2010-06-03  Glenn Morris  <rgm@gnu.org>
1463         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1465 2010-05-13  Glenn Morris  <rgm@gnu.org>
1467         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1469 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1471         * Version 23.2 released.
1473 2010-05-04  Glenn Morris  <rgm@gnu.org>
1475         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1477 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1479         * emacs.manifest: Add trustInfo section to Windows manifest.
1481 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1483         * Branch for 23.2.
1485 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1487         * emacsclient.rc: Fix format of "LegalCopyright" value.
1489 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1491         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1493 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1495         * INSTALL: Update for CVS->Bazaar switchover.
1497 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1499         * configure.bat: Add #define PROFILING to config.h.
1501 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1503         * runemacs.c (set_user_model_id): Use standard types.
1505 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1507         * runemacs.c (set_user_model_id): New function.
1508         (WinMain): Use it.
1510 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1512         * Branch for 23.1.
1514 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1516         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1517         st_gid to unsigned.
1519         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1520         to unsigned.
1521         (getpwuid): Argument is now unsigned.
1522         uid_t is now unsigned.
1524 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1526         * INSTALL: Add comment about TCC; fix typos.
1528 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1530         * emacsclient.rc, emacs.rc: Swap name and description.
1531         Remove Windows versions.
1533 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1535         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1537         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1539         * addpm.c (main): Try using COM to create start menu shortcuts
1540         before resorting to DDE (Bug#202)
1541         Remove second command-line argument.
1543 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1545         * configure.bat: Untabify help message.
1547 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1549         * configure.bat: New option --with-svg.
1551         * INSTALL: Document experimental SVG support.
1553 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1555         * config.nt (PTR): Remove.
1557 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1559         * config.nt (LISTPROC, PROCATTR): Remove.
1561 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1563         * config.nt (LISTPROC, PROCATTR): New macros.
1565 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1567         * config.nt (MULTI_KBOARD): Remove.
1569 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1571         * configure.bat: New option --profile.
1572         * gmake.defs: Set cflags and ldflags for profiling when specified.
1574 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1576         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1578 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1580         * config.nt (HAVE_FACES): Remove, unused.
1582 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1583             Eli Zaretskii  <eliz@gnu.org>
1585         * nmake.defs (FONT_CFLAGS):
1586         * gmake.defs (FONT_CFLAGS): Remove.
1587         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1588         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1589         and _CRTAPI1.
1590         (ARCH_FLAGS): Don't include _X86_.
1592         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1594 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1596         * config.nt: Remove reference to UNEXEC_SRC.
1598 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1599             Eli Zaretskii  <eliz@gnu.org>
1601         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1602         Don't hardcode -gstabs+, use DEBUG_INFO.
1604         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1605         Default to stabs if the compiler does not support DWARF-2.
1606         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1608 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1610         * configure.bat: Remove code dealing with --disable-font-backend.
1612 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1614         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1615         better alignment.  Make st_size 64-bit wide.  Add new members
1616         st_uname and st_gname.
1618         * inc/grp.h (struct group): Add gr_gid member.
1620 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1622         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1623         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1624         a real file there is not a good idea.
1626 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1628         * makefile.w32-in (CLIENTRES): New variable and build target.
1629         (all): Depend on it.
1630         ($(TRES)): Use $(TRES) in rule.
1632 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1634         * configure.bat (success): Print "make" rather than "gmake", as that
1635         is what MinGW uses.
1637 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1639         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1640         Add copyright notice.
1642 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1644         * emacsclient.rc: New file.
1646         * INSTALL: Document make targets.
1648 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1650         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1651         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1652         (top-distclean, distclean, distclean-other-dirs-nmake)
1653         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1654         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1656 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1658         * inc/sys/stat.h: New file.
1660         * configure.bat: Add check for usp10.h.
1662 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1664         * INSTALL: Update Windows API requirements.
1666 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1668         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1670 2008-03-13  Glenn Morris  <rgm@gnu.org>
1672         * emacs.rc: Set version to 23.0.60.
1674 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1676         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1677         (EMACS_EXTRA_C_FLAGS): Include it.
1678         * configure.bat (usefontbackend): Default to Y.
1679         (--enable-font-backend): Replace with --disable-font-backend.
1680         (:withfont): Replace with :withoutfont.
1682 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1684         * icons/emacs.ico: Full alpha for 32x32 full color.
1685         Add 32x32 and 16x16 256 color versions.
1687 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1689         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1691 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1693         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1695 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1697         * icons/README: Update.
1699         * icons/emacs.ico: New icon.
1701 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1703         * addpm.c: Include malloc.h.
1704         (add_registry): Cast return value of alloca.
1706 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1708         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1710 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1712         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1713         conditional on existence of junk.o.  If %nocygwin% is already set
1714         to Y, skip to chkapiN instead of chkapi.
1715         (chkapi): Move "rm -f junk.c junk.o" to here.
1716         (chkapiN): New label.
1718 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1720         * makefile.w32-in: Remove unidata-gen related rules.
1722 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1724         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1726 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1728         * addpm.c (add_registry): Add an App Paths registry key.
1729         Look for GTK and add it to the DLL search path for Emacs if found.
1731 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1733         * configure.bat: In help, use generic names for the image libraries.
1735 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1737         * .cvsignore: Don't ignore .arch-inventory.
1739 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1741         * configure.bat: Make gcc the default compiler.
1743 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1745         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1746         Ignore return status.
1748         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1749         it out of the way of Windows generated file.
1750         Generate admin/unidata/makefile.
1752         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1753         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1754         (unidatagen-clean-SH): New targets.
1755         (bootstrap-nmake): Invoke unidatagen-nmake.
1756         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1758 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1760         * configure.bat (withfont): Set sep1 after modifying usercflags.
1762 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1764         * configure.bat: Rename --with-font-backend to --enable-font-backend
1765         for consistency with other platforms.
1767 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1769         * configure.bat: Add --with-font-backend option.
1771 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1773         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1774         permissions to NTFS ACLs.
1776 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1778         * config.nt: Remove HAVE_X11R5.
1780 2007-10-22  Jason Rumney  <jasonr@gnu.org>
1782         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1783         (strings.h, stdlib.h): Conditionally include.
1784         (w32_abort): Declare here.
1785         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
1787 2007-10-20  Jason Rumney  <jasonr@gnu.org>
1789         * makefile.w32-in (info-nmake): Change into correct directories.
1791 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
1793         * configure.bat (docflags, doldflags): New variables.
1794         (genmakefiles): Use them to work around problems with whitespace
1795         in arguments of the `if' command.
1797 2007-10-18  Jason Rumney  <jasonr@gnu.org>
1799         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1801 2007-09-27  Jason Rumney  <jasonr@gnu.org>
1803         * gmake.defs (COMCTL32): New system library.
1805         * nmake.defs (COMCTL32): New system library.
1807 2007-09-06  Glenn Morris  <rgm@gnu.org>
1809         * configure.bat:
1810         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
1811         Change from ../man to ../doc/emacs and ../doc/misc; and from
1812         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
1814 2007-08-29  Glenn Morris  <rgm@gnu.org>
1816         * emacs.rc: Increase version to 23.0.50.
1818 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
1820         * makefile.w32-in (bootstrap-nmake): Change directories once more.
1822 2007-07-25  Glenn Morris  <rgm@gnu.org>
1824         * Relicense all FSF files to GPLv3 or later.
1826         * COPYING: Switch to GPLv3.
1828 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
1830         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
1831         Depend on cmdproxy.
1832         (cleanall): Don't delete *~.
1834 2007-07-15  Jason Rumney  <jasonr@gnu.org>
1836         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
1837         be fully supported.
1839 2007-07-14  Jason Rumney  <jasonr@gnu.org>
1841         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
1842         of winsock.h.
1844 2007-07-11  Jason Rumney  <jasonr@gnu.org>
1846         * gmake.defs (OLE32): New library to link.
1848         * nmake.defs (OLE32): Likewise.
1850 2007-06-25  Jason Rumney  <jasonr@gnu.org>
1852         * cmdproxy.c (main): Set console codepages to "ANSI".
1854 2007-06-20  Jason Rumney  <jasonr@gnu.org>
1856         * configure.bat: Complain if image libraries are missing.
1858 2007-06-15  Jason Rumney  <jasonr@gnu.org>
1860         * emacs.manifest: New file.
1862         * emacs.rc: Use it.
1864 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
1866         * Version 22.1 released.
1868 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
1870         * INSTALL: Add information about where to find GDB, and warn
1871         against --no-debug option to configure.bat.
1873 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
1875         * INSTALL: Fix URL of EmacsW32 site where building with image
1876         support is described.
1878 2007-04-26  Glenn Morris  <rgm@gnu.org>
1880         * emacs.rc: Increase version to 22.1.50.
1882 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
1884         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
1886 2007-03-09  Richard Stallman  <rms@gnu.org>
1888         * INSTALL: Say explicitly this is not for Cygwin.
1890 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
1892         * INSTALL: Add URL of another site with detailed build instructions.
1894 2007-02-16  Glenn Morris  <rgm@gnu.org>
1896         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
1897         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
1898         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
1899         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
1900         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
1901         Restore all but two of icons deleted in previous change.
1903 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
1905         * icons/README: New file.
1907         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
1908         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
1909         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
1910         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
1911         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
1912         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
1913         Unused icons deleted.
1915 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
1917         * configure.bat: Update ../site-lisp/subdirs.el when needed.
1919 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
1921         * subdirs.el: Add "no-byte-compile: t" local variable.
1923 2007-01-10  Jason Rumney  <jasonr@gnu.org>
1925         * README: Update URLs and advice about reporting bugs.
1927 2006-12-29  Jason Rumney  <jasonr@gnu.org>
1929         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
1930         DEBUG_LINK.
1931         (DEBUG_LINK): Remove -debugtype:both.
1933 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
1935         * INSTALL: Update table of supported Make ports.  Show "make -j"
1936         command that is known to work.
1938         * configure.bat: Update table of supported Make ports.
1940 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
1942         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
1943         only in implicit rules.  Use literal "emacs.rc" instead.
1945 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
1947         * gmake.defs: Export XMFLAGS.
1949         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
1950         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
1952 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
1954         * INSTALL: Explain how to invoke GNU Make for parallel builds.
1956         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
1957         command-line argument to sub-Make in src, since src/makefile.w32-in
1958         invokes Make recursively during bootstrap.
1959         (clean): Delete stamp_BLD.
1960         (bootstrap): Make `all' explicitly in a recursive Make.
1962         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1963         stamp_BLD after creating the $(BLD) directory.
1965         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1966         stamp_BLD after creating the $(BLD) directory.
1968         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
1969         (preprep, $(TRES), runemacs)
1970         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
1971         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1972         Depend on stamp_BLD instead of on $(BLD).
1973         (XMFLAGS): New macro.
1974         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
1975         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
1976         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
1977         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
1979 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
1981         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
1982         $(ALL_DEPS).
1983         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
1984         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1985         New dependency on $(BLD).
1986         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
1987         (bootstrap-gmake): Depend on addsection.
1989 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
1991         * runemacs.c (WinMain): Process all recognized arguments, not just
1992         the first one.  Remove unused variable sec_desc.
1994 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
1996         * config.nt (HAVE_LANGINFO_CODESET): Define.
1998         * inc/langinfo.h: New file.
2000         * inc/nl_types.h: New file.
2002 2006-09-15  Jay Belanger  <belanger@truman.edu>
2004         * COPYING: Replace "Library Public License" by "Lesser Public
2005         License" throughout.
2007 2006-07-27  Jason Rumney  <jasonr@gnu.org>
2009         * INSTALL: Add notes about Cygwin make to impatient section.
2011 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
2013         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2014         known to work.
2016 2006-03-12  Jason Rumney  <jasonr@gnu.org>
2018         * addpm.c (add_registry): Don't change the registry unless keys
2019         already exist from a previous version.
2021         * makefile.w32-in (install): Use -q when invoking addpm.
2023         * addpm.c (main): Accept -q as alternative for /q.
2025 2006-03-11  Jason Rumney  <jasonr@gnu.org>
2027         * runemacs.c (WinMain): Set screen buffer to 80x25.
2029 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
2031         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2032         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2034 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
2036         * INSTALL: Add explanation of how to debug with GDB starting from
2037         the Emacs Abort dialog.
2039 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
2041         * emacs.rc: Use new icons.
2043 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
2045         * emacs21.ico: Renamed from emacs.ico.
2046         * emacs.ico: New icons from Andrew Zhilin
2047         <andrew_zhilin@yahoo.com>.
2049 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
2051         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2053 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
2055         * .cvsignore: Add `obj' and `oo' for in-place installations.
2057 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
2059         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2061 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
2063         * configure.bat: Don't create lisp/Makefile.unix.
2065 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
2067         * .cvsignore: Add `makefile' and `config.log'.
2069 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
2071         Merge gnulib getopt implementation into Emacs.
2073         * inc/gettext.h: Remove; no longer needed now that
2074         lib-src/gettext.h exists.
2076 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
2078         * configure.bat: Finish config.log with a line that indicates that
2079         the configure step was successful.
2081 2005-07-04  Lute Kamstra  <lute@gnu.org>
2083         Update FSF's address in GPL notices.
2085 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
2087         * configure.bat: If their fc.exe returns a meaningful exit status,
2088         don't overwrite src/config.h and src/epaths.h with identical
2089         copies.
2091         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2092         changes.  Add a pointer to another site with detailed configure
2093         and build instructions.  Suggest to look at config.log when
2094         configure fails.  Add MinGW Make 3.80 to the list of successful
2095         combinations.
2097         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2098         "-mcpu=i686".
2100         * configure.bat: Update copyright years.
2101         Delete config.log before doing anything else.
2102         Write additional diagnostics to config.log in case of failures to
2103         compile test programs, including the failed test program itself.
2104         Add a test for support of -mtune=pentium4 switch to GCC; if it is
2105         supported, set up MCPU_FLAG variable on the various Makefiles to
2106         use that switch during compilations.  (This avoids GCC warning
2107         about -mcpu being deprecated.)
2109 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
2111         * addsection.c (copy_executable_and_add_section): Pass non-zero
2112         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2113         environment.  Print section names with %.8s.
2114         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2115         only if non-zero.  All callers changed.
2117 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
2119         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2120         `const void *', for consistency with POSIX.
2122 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
2124         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2126 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
2128         * INSTALL: Add more pointers to ports of Unix tools to Windows,
2129         and to the Emacs Wiki (which contains building instructions for
2130         Windows).  Reword image library instructions and remove obsolete
2131         incompatibility information.
2133 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
2135         * config.nt (HAVE_PWD_H): Undef.
2137 2004-06-07  Juanma Barranquero  <lektu@terra.es>
2139         * INSTALL: Clarify paragraph about compatibility between image
2140         libraries and builds of Emacs with several compilers.
2142 2004-06-06  Juanma Barranquero  <lektu@terra.es>
2144         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2145         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2146         calling non-existent cmdproxy.exe on bootstrapping after a
2147         previous install followed by realclean.
2149         * nmake.defs: Add quote in comment to resync font-locking.
2151 2004-06-04  Juanma Barranquero  <lektu@terra.es>
2153         * INSTALL: Reword the section on image support.  Add reference to
2154         GnuWin32.  Mention problems when mixing binaries from different
2155         compilers.
2157 2004-05-06  Jason Rumney  <jasonr@gnu.org>
2159         * configure.bat: Use -mno-cygwin to check for image libraries
2160         when needed.
2162 2004-05-03  Jason Rumney  <jasonr@gnu.org>
2164         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2165         * makefile.def: Remove.
2167         * nmake.defs (SYS_LDFLAGS): Add -nologo.
2169         * makefile.w32-in (info-gmake, info-nmake): New targets.
2170         (info): Use them.
2172 2004-04-23  Juanma Barranquero  <lektu@terra.es>
2174         * nmake.defs:
2175         * gmake.defs:
2176         * makefile.w32-in:
2177         * makefile.def:
2178         * makefile.nt: Add "-*- makefile -*-" mode tag.
2180 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
2182         * runemacs.c (WinMain): Let Emacs environment default to parent.
2184 2004-03-11  Jason Rumney  <jasonr@gnu.org>
2186         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2188 2004-03-10  Juanma Barranquero  <lektu@terra.es>
2190         * makefile.w32-in (install): Don't try to copy
2191         ../lib-src/fns-*.el, as it isn't used anymore.
2193 2004-01-28  Peter Runestig  <peter@runestig.com>
2195         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2197 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
2199         * .cvsignore: Add `.arch-inventory'.
2201 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
2203         * inc/grp.h: New file.
2205 2003-09-03  Peter Runestig  <peter@runestig.com>
2207         * configure.bat: Create ``makefile'' in directories man, lispref
2208         and lispintro.
2210         * makefile.w32-in (force-info, info): New targets.
2212         * envadd.bat: New file.
2214         * multi-install-info.bat: New file.
2216 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
2218         * config.nt (my_strftime): New define.
2220 2003-02-01  Jason Rumney  <jasonr@gnu.org>
2222         * configure.bat: Automatically detect libXpm.
2223         Suppress compiler output when testing for image libraries.
2224         Give names of un-found libraries in messages.
2226 2003-01-31  Juanma Barranquero  <lektu@terra.es>
2228         * configure.bat: Automatically detect giflib and tifflib.
2230 2003-01-29  Jason Rumney  <jasonr@gnu.org>
2232         * gmake.defs (CURDIR): Disable cygpath kludge.
2234 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
2236         * configure.bat: Avoid endless loop when configuring without image
2237         support.
2239 2003-01-26  Jason Rumney  <jasonr@gnu.org>
2241         * configure.bat: Automatically detect jpeglib.
2243 2003-01-25  Jason Rumney  <jasonr@gnu.org>
2245         * configure.bat: Automatically detect libpng.
2247 2003-01-21  Jason Rumney  <jasonr@gnu.org>
2249         * icons/hand.cur: New file.
2251 2003-01-21  David Ponce  <david@dponce.com>
2253         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2255 2003-01-15  Andrew Innes  <andrewi@gnu.org>
2257         * gmake.defs (CURDIR): Convert to native Windows format (with
2258         forward slashes), to support building with Cygwin builds of make.
2260 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
2262         * nmake.defs:
2263         * gmake.defs: Made changes so that Emacs would link with
2264         WinMM.lib.  This change was required for my addition of a Windows
2265         compatible implementation of play-sound-internal.
2267 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
2269         * emacs.rc: Version updated to 21.3.50.
2271 2002-06-13  Jason Rumney  <jasonr@gnu.org>
2273         * addpm.c (env_vars): Remove EMACSLOCKDIR.
2275         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2276         (maybe-bootstrap-SH): New targets.
2277         (all): Depend on maybe-bootstrap.
2279 2002-05-03  Jason Rumney  <jasonr@gnu.org>
2281         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2282         (sys_getpeername, fcntl): Declare as wrappers.
2284 2002-04-10  Juanma Barranquero  <lektu@terra.es>
2286         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2287         after compiling .el files.
2289 2002-03-20  Jason Rumney  <jasonr@gnu.org>
2291         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2292         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2294 2002-03-19  Kim F. Storm  <storm@cua.dk>
2296         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2297         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2298         (HAVE_SYS_UN_H): Undef.
2299         From David Ponce <dponce@voila.fr>.
2301 2002-03-13  Jason Rumney  <jasonr@gnu.org>
2303         * config.nt (STRFTIME_NO_POSIX2): Define.
2305 2002-02-18  Jason Rumney  <jasonr@gnu.org>
2307         * emacs.rc: Define VS_VERSION_INFO if not already.
2308         Update version info.
2310 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2312         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2313         pick up relevant bits of the Windows API definitions.
2315         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2316         pick up relevant bits of the Windows API definitions.
2318 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2320         * makefile.w32-in (bootstrap): Build addsection program before
2321         bootstrap (required for post-processing temacs.exe).
2323 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2325         * COPYING: New file.
2327 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2329         * makefile.w32-in (bootstrap-nmake):
2330         (bootstrap-gmake): Extend bootstrap process to first do
2331         bootstrap-clean in lisp dir and rebuild the DOC file.
2332         (bootstrap): Do a "normal" make after the bootstrap work.
2334 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2336         * INSTALL: Update table of versions of make that are suitable
2337         for building Emacs, based on recent feedback.
2339         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2341 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2343         * ftime-nostartup.bat: New file.
2345         * ftime.bat: Don't include libc.lib for profiling - the profiler
2346         corrupts part of memcpy.
2348 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2350         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2351         expansion.  From Juanma Barranquero <lektu@terra.es>.
2353 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2355         * (Version 21.1 released.)
2357 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2359         * inc/pwd.h (uid_t, gid_t): New typedefs.
2361 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2363         * Branch for 21.1.
2365 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2367         * README: Update the address of the mailing list and subscription
2368         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2370 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2372         * INSTALL: Suggest to avoid using WinZip.
2374         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2376 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2378         * INSTALL: Mention that "make install" can be "nmake install".
2380 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2382         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2383         since some versions of `mkdir' don't automatically create parent
2384         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2386 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2388         * subdirs.el: New file.
2390         * configure.bat: Copy subdirs.el to the site-lisp directory.
2392         * makefile.w32-in (install): Copy subdirs.el to the installation
2393         directory.
2395 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2397         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2399 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2401         * gmake.defs (sh_output): Don't use $(warning ...) to output
2402         messages, since that is not supported by GNU make 3.77.
2404 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2406         * INSTALL: Clarify that building with MSVC requires nmake.
2408 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2410         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2411         message that is to be ignored.
2413 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2415         * TODO: Remove file, since it is completely out of date.
2417         * README: Add copyright notice.
2419         * INSTALL: Add copyright notice.
2421 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2423         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2424         the environment.
2426         * gmake.defs (SETLOADPATH): Remove definition.
2427         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2428         environment.
2430 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2432         * configure.bat: Make the checkw32api* labels be distinct in the
2433         first 8 characters.
2435 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2437         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2438         escaped quotes.
2440         * gmake.defs (DEBUG_LINK): New macro.
2441         (LINK_FLAGS): Use it.
2443         * nmake.defs (DEBUG_LINK): New macro.
2444         (LINK_FLAGS): Use it.
2446 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2448         * INSTALL: Add --ldflags to configure line for building with
2449         recent versions of Cygwin GCC.
2451 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2453         * configure.bat: Use correct options when compiling a test program
2454         with Cygwin.  From David Ponce <dponce@voila.fr>.
2456 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2458         * _emacs: Remove obsolete file.
2460         * emacs.bat.in: Remove obsolete file.
2462         * debug.bat.in: Remove obsolete file.
2464         * inc/sys/socket.h: Add copyright notice.
2466         * paths.h: Add copyright notice.
2468         * makefile.nt: Update copyright notice.
2470         * makefile.def: Update copyright notice.
2472         * configure.bat: Update copyright notice.
2474         * nmake.defs: Add copyright notice.
2476         * gmake.defs: Add copyright notice.
2478         * makefile.w32-in: Add copyright notice.
2480 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2482         * nmake.defs (THISDIR): New definition.
2484         * gmake.defs (THISDIR): New definition.
2486 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2488         * configure.bat: Leave a space before >> only when there is a
2489         preceding digit.  Add a comment about the importance of this.
2491         * README: Replace outdated information.
2493         * INSTALL (Trouble-shooting): Add note about need to specify extra
2494         compiler flags with recent Cygwin ports of gcc.
2496 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2498         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2499         is not supported by Windows 9X's COMMAND.COM.
2501 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2503         * configure.bat: Make sure redirection is preceded by a blank, to
2504         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2505         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2507 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2509         * INSTALL: Copy the table of tested combinations of development
2510         tools from configure.bat.  Add suggestion to install Bash on
2511         Windows 9X.
2513         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2514         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2515         needs to be deleted, since command.com in Windows 9X doesn't grok
2516         more than one argument.
2518 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2520         * makefile.w32-in (cleanall-other-dirs-nmake):
2521         (cleanall-other-dirs-gmake): New targets.
2522         (cleanall): Invoke them.
2524 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2526         * addpm.c (env_vars): Add a version-independent site-lisp
2527         directory to EMACSLOADPATH, after the version dependent one.
2529 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2531         * README: Update info about compilers.
2533         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2534         select correct rule for invoking make in another directory.
2535         Amend rules accordingly.
2536         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2538         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2539         (COMPILER_TEMP_FILES): New definition.
2540         (MAKETYPE): New definition.
2542         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2543         (COMPILER_TEMP_FILES): New definition.
2544         (MAKETYPE): New definition.
2546         * makefile.def (EMACS_ICON_PATH): Delete definition.
2548         * configure.bat: Be careful not to add trailing spaces when
2549         outputting to config.settings.
2551 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2553         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2554         than the function.
2556 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2558         * makefile.w32-in (install): Copy directories to the correct
2559         places.
2560         (real_install): Remove obsolete target.
2562 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2564         * nmake.defs (CURDIR): New define.
2565         (INSTALL_DIR): Use it.
2567         * gmake.defs (NEW_CYGWIN): New define.
2568         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2569         so we need to adjust how we escape embedded quotes.
2570         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2571         relative to $(CURDIR).
2573 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2575         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2577 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2579         * makefile.w32-in (recompile): New target to recompile lisp
2580         directory.
2581         (recompile-CMD, recompile-SH): New support targets.
2583 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2585         * config.nt (NO_RETURN): Define it.
2587 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2589         * gmake.defs: Revert to Unix line endings.
2591         * nmake.defs: Revert to Unix line endings.
2593 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2595         * gmake.defs (SETLOADPATH): Change definition to work from any
2596         subdirectory.
2598 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2600         * makefile.w32-in: Revert to Unix line endings.
2602 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2604         * INSTALL: Add note about expected error messages when configure
2605         is run.
2607         * configure.bat: Simplify the generation of makefiles (don't need
2608         to generate various top-level targets that invoke make in other
2609         directories).
2611         * gmake.defs (SHELLTYPE): New define.
2612         (SETLOADPATH): New define.
2614         * nmake.defs (SHELLTYPE): New define.
2616         * makefile.w32-in: Standardize indentation somewhat.
2617         Add bootstrap support.
2618         Pass $(MFLAGS) when invoking make recursively.
2619         Add shell-specific variants of top-level targets that invoke make
2620         recursively in other directories, and add necessary computed
2621         dependencies.
2623 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2625         * makefile.w32-in: Change to DOS line endings.
2627         * configure.bat: Change to DOS line endings.
2629         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2630         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2632         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2633         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2635         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2636         -D_ANONYMOUS_STRUCT on compile line.
2637         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2638         (ARCH_CFLAGS): Change optimization flags to -O2.
2639         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2640         (ARGQUOTE, DQUOTE): New defines.
2642         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2643         -D_ANONYMOUS_STRUCT on compile line.
2644         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2645         (ARGQUOTE, DQUOTE): New defines.
2647 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2649         * configure.bat: New file.
2651         * gmake.defs: New file.
2653         * nmake.defs: New file.
2655         * makefile.w32-in: New file.
2657         * INSTALL: Rewrite to match new configure process.
2659         * config.nt [WINDOWSNT]: Don't declare getenv.
2660         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2662         * addpm.c (main): Accept /q to mean install based on addpm's
2663         location without asking.  Remove reference to emacs.bat which is
2664         now obsolete.
2666         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2668         * paths.h: Use forward slash as directory separator in all path
2669         definitions.
2670         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2672         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2674         * runemacs.c: Remove WIN32 define.
2676         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2677         not defined.
2679         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2680         (fd_set): Define to new name, after including winsock.h, so we can
2681         provide our own implementation.
2683 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2685         * ebuild.bat: Add support for specifying make arguments.
2687         * makefile.nt: Add support for `bootstrap' and related targets.
2689 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2691         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2693 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2695         * inc/sys/time.h: Add inclusion protection.
2697         * makefile.def (SYS_LDFLAGS): Add -nologo.
2699 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2701         * install.bat: Pass on command line arguments to make.
2703         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2705 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2707         * makefile.nt (all): Build leim if present.
2708         (install): Install leim if present.
2709         (clean): Clean leim if present.
2711         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2712         definition.
2714         * emacs.bat.in (EMACSLOADPATH): Include leim.
2716 1999-07-12  Richard Stallman  <rms@gnu.org>
2718         * Version 20.4 released.
2720 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2722         * emacs.rc: Use an icon with a transparent background, to be in
2723         keeping with other applications.
2725 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2727         * preprep.c: Fix typo.
2729 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2731         * config.h: Remove obsolete file.
2733         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2734         couple of unused switch cases that aren't defined on all
2735         platforms.
2737         * ftime.bat: Add another variation of the profile command, which
2738         only profiles extended commands.
2740 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2742         * cmdproxy.c (main): Fix parens.
2744 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2746         * cmdproxy.c (main): Call GetShortPathName to normalize program
2747         names for comparison.
2749 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2751         * makefile.def: Compile multiple .c files when possible.
2752         Use BLD instead of assuming i386.
2753         * makefile.nt: Remove common multiple file compilation commands.
2755 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2757         * cmdproxy.c (main): Add missing parens.
2759 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2761         * preprep.c: New program to allow dumped image to be profiled.
2763         * makefile.nt (preprep): New target.
2764         (ALL): Build it.
2766         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2768         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2769         Change prep options to profile libc functions and skip the startup
2770         code.
2772 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2774         * makefile.nt: Create installation directory as first step.
2776 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2778         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2779         ROUND_UP_DST.  Zeroes the alignment slop.
2780         (copy_executable_and_add_section): Update the
2781         SizeOfHeaders field properly.
2783 1999-01-27  Andrew Innes  <andrewi@gnu.org>
2785         * makefile.nt: Do make version comparison as strings.
2787 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
2789         * runemacs.c (WinMain): Pass explicit environment block to
2790         CreateProcess, to work around a bug in Windows 95/98.
2792 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
2794         * icons: New directory with Davenport's icons.
2795         * icons/sink.ico: Renamed from emacs.ico.
2797         * makefile.nt (install, fast_install): Install Windows icons
2798         into etc/icons.
2800         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2802 1999-01-17  Andrew Innes  <andrewi@gnu.org>
2804         * makefile.nt (ALL): List top-level targets.
2805         (addsection): New top-level target.
2806         (install): Copy fns-*.el to bin directory.
2808         * addsection.c: New program to add static heap section to
2809         temacs.exe after linking, in support of new unexec method.
2811 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
2813         * cmdproxy.c (spawn): Pass directory for child as parameter.
2814         (main): Save startup directory to give to spawn, then change
2815         directory to location of .exe in order not to prevent startup
2816         directory from being deleted.
2818 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
2820         * makefile.nt: Do string comparison of _NMAKE_VER.
2822 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
2824         * config.nt (LOCALTIME_CACHE): Define.
2826 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
2828         * install.bat: Convert to DOS format.
2830 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
2832         * cmdproxy.c (main): Set environment size only when running
2833         command.com.
2835 1998-11-03  Theodore Jump  <tjump@tertius.com>
2837         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
2838         (DEL_TREE): Use rd instead of rmdir.
2839         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
2840         * makefile.nt: Compile multiple source files when possible.
2842 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
2844         * cmdproxy.c (main): Treat command line options as case-insensitive.
2846 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
2848         * Version 20.3 released.
2850 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
2852         * addpm.c (main): Explicitly check result of message box for OK.
2854 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
2856         * inc/sys/file.h (D_OK): Define new macro.
2858 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
2860         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
2862 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
2864         * emacs.rc (VS_VERSION_INFO): Define.
2866 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
2868         * makefile.nt (emacs.bat, debug.bat): Create them in the
2869         installation directory.
2871 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
2873         * ddeclient.c: New file.  (Support program for performing limited
2874         interprocess communication on Windows.)
2876         * makefile.nt: Build ddeclient.
2878         * cmdproxy.c (main): Only set environment size for real shell, and
2879         provide extra directory argument, when running on Windows 95.
2881 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
2883         * cmdproxy.c (fail): Exit with a negative return value.
2884         (spawn): Return subprocess return code as an argument.
2885         Explicitly copy environment block.
2886         (main): Update to use return value argument with spawn.
2887         Retry if spawn failed when a subshell was not tried.
2889         * config.nt: Include new macros from src/config.in.
2890         (GNU_MALLOC, REL_ALLOC): Define.
2891         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
2892         (RE_TRANSLATE): Use char_table_translate.
2894         * makefile.def (CP_DIR): Preserve attributes.
2896         * makefile.nt (clean): Delete patch generated files, optimized
2897         build directory.
2899 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
2901         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
2903 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2905         * Version 20.2 released.
2907 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2909         * Version 20.1 released.
2911 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
2913         * debug.bat.in: New file.
2914         * makefile.nt (debug.bat): New target.
2916 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
2918         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
2919         Quote group name.  Allow different icons to be specified.
2921         * cmdproxy.c (get_env_size): New function.
2922         (spawn): Explicitly pass in environment when creating subprocess.
2923         (main): Cleanup error messages.
2924         Specify dynamically sized environment block for real shell.
2925         Pass on unhandled switches to real shell.
2926         Quote program name.
2928         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
2929         directory.
2930         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
2932         * runemacs.c (WinMain): Allow Emacs process to be started with
2933         high or low priority.
2935         * emacs.bat.in: Remove OS dependent operations.
2937 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
2939         * addpm.c (env_vars): No longer set INFOPATH.
2941         * cmdproxy.c (get_next_token): Null terminate token returned.
2943         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
2945 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
2947         * addpm.c (env_vars): Set SHELL to cmdproxy.
2948         (main): Initialize idDde to 0.
2949         Determine emacs_path from module file name.
2950         Prompt for install.
2952         * makefile.def (MSVCNT11): Conditionally define it.
2953         (BASE_LIBS): Do not use oldnames.lib.
2954         (SYS_LDFLAGS): Use pdb files.
2955         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
2956         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
2957         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
2959         * makefile.nt (ALL): Build cmdproxy.
2960         (cmdproxy): New target.
2961         (install): Install cmdproxy.
2963         * ftime.bat, debug.bat, cmdproxy.c: New files.
2965 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
2967         * inc/sys/socket.h (shutdown): Define.
2968         (sys_shutdown): Export.
2970 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2972         * config.nt (RE_TRANSLATE): Copy definition from config.in.
2974 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
2976         * config.nt: Update file comments.
2977         Update undefs added/removed in src/config.in.
2979 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
2981         * makefile.def, emacs.bat: Use windows95 and windowsnt instead
2982         of win95 and winnt, respectively.
2984 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
2986         * makefile.nt (real_install): Create site-lisp in installation dir.
2987         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
2988         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
2990 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2992         * Version 19.33 released.
2994 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
2996         * runemacs.c (WinMain): Put a space between the binary and its args.
2998 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3000         * Version 19.32 released.
3002 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
3004         * makefile.nt (clean): Use OBJDIR macro.
3006 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
3008         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3009         Not defined by default.
3010         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3011         (WinMain): Convert backslashes to slashes in env var values.
3013         * addpm.c (env_vars): Use slashes, not backslashes.
3015 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3017         * Version 19.31 released.
3019 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
3021         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3022         undo settings afterwards.
3024 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
3026         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3027         environment variable.
3029 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3031         * install.bat: Allow for optimized build.
3032         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3033         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3035 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3037         * addpm.c (REG_ROOT): Don't use a trailing backslash.
3038         (env_vars): Rename field emacs_path to emacs_dir.
3039         (main): Add link to runemacs instead of emacs.
3041         * install.bat: Check if INSTALL_DIR is passed as an argument.
3043         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3045         * makefile.nt: Build and install runemacs.exe.
3047         * runemacs.c: New file.
3049         * config.w95: File removed.
3051         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3052         inc/sys/socket.h, inc/sys/time.h: New header files.
3054         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3056 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
3058         * makefile.def (DEL): Defined.
3059         (DEL_TREE) [win95]: Defined.
3060         (SYS_LDFLAGS): Set executable versions to 3.10.
3062         * makefile.nt: Change uses of del to $(DEL).
3064 1996-01-17  Erik Naggum  <erik@naggum.no>
3066         * All files: Update FSF's address in comment preamble.
3068 1996-01-03  George V. Reilly  <georger@microcrafts.com>
3070         * emacs.ico: Now the proverbial kitchen sink icon.
3072 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3074         * Version 19.30 released.
3076 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
3078         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3080         * makefile.nt (install, fast_install, real_install, clean):
3081         Don't use switches to del not supported by Windows 95.
3083 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
3085         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3086         (install, fast_install): Change same-dir test to create test file in
3087         installation tree and thereby support read-only shares.
3088         (clean): Remove .pdb files.
3090         * makefile.def (NTGUI): New macro.
3091         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3093         * config.nt, config.w95: Update to latest src/config.in.
3095         * addpm.c (env_vars): New variable.
3096         (add_registry): New procedure.
3097         (main): Use values of configuration environment variables from
3098         the registry if defined, the process environment otherwise.
3100 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3102         * Version 19.29 released.
3104         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3106 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
3108         * makefile.nt: Define .c to .obj suffix rule.
3109         (addpm.obj): Compile directly, use CFLAGS.
3110         (addpm.exe): Link from addpm.obj.
3112         * makefile.def (MSVCNT11): Defined.
3113         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3114         (CFLAGS_COMMON): Defined.
3115         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3117 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
3119         * emacs.bat.in: Renamed from emacs.bat.
3120         (emacs_dir): Rename from emacs_path.
3121         Definition removed.
3123         * addpm.c: New file.
3124         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3125         (all): Depend upon $(BLD) and $(ALL).
3126         (install): Depend upon emacs.bat.
3127         Create program item for Emacs.
3128         (clean): Delete obj.
3129         (emacs.bat): Defined.
3130         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3132 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
3134         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3135         Add carriage returns; necessary for batch files on Windows 95.
3137 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
3139         * config.w95: Created.
3140         * config.h: Changed to config.nt.
3142         * makefile.nt (SUBDIRS): Commented out.
3143         (all, install, clean): Expand for-loops.
3144         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3146         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3147         (ARCH): New definition.
3148         (CPU, CONFIG_H, OS_TYPE): Defined.
3149         (INCLUDE, LIB): Checked if valid.
3150         (ntwin32.mak): Included.
3151         (AR, CC, LINK): New definition.
3152         (ADVAPI32, libc, BASE_LIBS): Defined.
3153         (SYS_LDFLAGS): New definition.
3154         Update comments and preprocessor conditionals.
3156         * emacs.bat (SHELL): Conditionally defined.
3157         (HOME): Conditionally defined.
3158         (emacs_path, HOME): Update comments.
3159         Turn off all echo.
3161 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
3163         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
3164         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
3165         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
3166         inc/sys/param.h: Removed carriage-returns.
3168 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
3170         * makefile.def (CVTRES): Defined.
3172         * emacs.ico, emacs.rc: New files by Kevin Gallo.
3174 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
3176         * src: Remove directory.
3178         * src\config.h, src\paths.h: Moved to parent dir, src removed.
3180 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
3182         * makefile.def (INSTALL_DIR): Change to generic directory.
3184         * emacs.bat: Added arguments when emacs.exe invoked.
3186         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3188 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
3190         * makefile.def (CC): In configuration section.
3191         (COMPAT_LIB): Defined.
3193 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
3195         * src/paths.h: New file.
3197         * src/config.h: New file.
3199         * inc/pwd.h: New file.
3201         * inc/sys/dir.h: New file.
3203         * inc/sys/file.h: New file.
3205         * inc/sys/ioctl.h: New file.
3207         * inc/sys/param.h: New file.
3209         * todo: New file.
3211         * README: New file.
3213         * makefile.nt: New file.
3215         * makefile.def: New file.
3217         * install.cmd: New file.
3219         * INSTALL: New file.
3221         * fast-install.cmd: New file.
3223         * emacs.cmd: New file.
3225         * ebuild.cmd: New file.
3227         * _emacs: New file.
3229 ;; Local Variables:
3230 ;; coding: utf-8
3231 ;; add-log-time-zone-rule: t
3232 ;; End:
3234   Copyright (C) 1995-1999, 2001-2013 Free Software Foundation, Inc.
3236   This file is part of GNU Emacs.
3238   GNU Emacs is free software: you can redistribute it and/or modify
3239   it under the terms of the GNU General Public License as published by
3240   the Free Software Foundation, either version 3 of the License, or
3241   (at your option) any later version.
3243   GNU Emacs is distributed in the hope that it will be useful,
3244   but WITHOUT ANY WARRANTY; without even the implied warranty of
3245   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3246   GNU General Public License for more details.
3248   You should have received a copy of the GNU General Public License
3249   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.