merge from trunk
[emacs.git] / nt / ChangeLog
blobebc823071a355d9c7a48daed80d3bde43f445b32
1 2013-08-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3         * configure.bat: Rather than disabling, make configure.bat produce
4         some warning that building with configure.bat is deprecated and
5         ask for confirmation to continue.
7 2013-08-25  Glenn Morris  <rgm@gnu.org>
9         * INSTALL: Refer to INSTALL.MSYS.
10         * configure.bat: Disable it.
12 2013-08-04  Eli Zaretskii  <eliz@gnu.org>
14         * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
16         * inc/ms-w32.h (mkostemp): Declare prototype.
17         (mktemp): Don't redirect to sys_mktemp.
19         * config.nt (HAVE_MKOSTEMP): Define to 1.  (Bug#15015)
21 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
23         * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
24         (FD_CLOEXEC): New macros.
26 2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>
28         Make file descriptors close-on-exec when possible (Bug#14803).
29         * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
30         otherwise, gnulib-tool complains given close-on-exec changes.
31         * inc/ms-w32.h (pipe): Remove.
32         * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
33         (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
35 2013-06-25  Juanma Barranquero  <lekktu@gmail.com>
37         * configure.bat: Add warning to the help text about using the
38         MSYS/MinGW building procedure.
40 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
42         * INSTALL.MSYS: mingw-get is not a GUI program (yet).
43         msys-automake is not suitable for MinGW builds.  Mention the
44         --enable-locallisppath switch to msysconfig.sh.  Suggested by
45         Óscar Fuentes <ofv@wanadoo.es>.
47 2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)
49         * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
51 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
53         * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
55 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
57         * inc/sys/time.h (struct timeval): Remove the _W64 guards.
59 2013-06-01  Eli Zaretskii  <eliz@gnu.org>
61         * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
62         avoid multiple definition errors on MinGW64.
64 2013-05-31  Eli Zaretskii  <eliz@gnu.org>
66         * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
67         'restrict', which is a C99 extension.  See
68         http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
69         and the following discussion for the problem this caused in the
70         old nt/configure.bat build.
72 2013-05-29  Eli Zaretskii  <eliz@gnu.org>
74         * Makefile.in (emacs.res): Include srcdir when preprocessing
75         resources, for out-of-tree builds.
76         (mostlyclean): Remove *.res files.
78 2013-05-17  Eli Zaretskii  <eliz@gnu.org>
80         * runemacs.c (WinMain): Support invocation of un-installed
81         nt/runemacs.exe, by looking for src/emacs.exe.
83 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
85         * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.  (Bug#14409)
87         * msysconfig.sh: New file.
89         * mingw-cfg.site: New file.
91         * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
93         * inc/unistd.h: Include pwd.h and sys/types.h.
95         * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
96         (timerclear): Define.
97         (gettimeofday): Adjust signature to be Posix compatible, by using
98         the 'restrict' keyword.
100         * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
101         (struct _stat, struct _stati64): Define.
103         * inc/sys/socket.h (timeval): Define only for MSVC.
104         (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
105         EMACS_CONFIG_H is defined.
106         (timeval): Undefine only for MSVC.
108         * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
109         (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
110         (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
111         (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
112         (fileno): Move definition after including stdio.h.
113         (sigset_t): Guard typedef by _W64.
115         * gnulib.mk: New file.
117         * epaths.nt: New file.
119         * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
120         copy of the file names there.
121         <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
122         literal strings.
124         * Makefile.in: New file.
126         * INSTALL.MSYS: New file.
128         * INSTALL: Mention INSTALL.MSYS.
130 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
132         * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
134 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
136         * config.nt: Sync with autogen/config.in.
137         (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
138         (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
139         (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
140         (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
141         (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
142         (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
143         (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
144         (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
145         (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
146         (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
148 2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
150         Use Gnulib ACL implementation, for benefit of Solaris etc.  (Bug#14295)
151         * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
152         * inc/ms-w32.h (EOPNOTSUPP): New macro.
154 2013-04-09  Ken Brown  <kbrown@cornell.edu>
156         * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
157         (Bug#12993)
159 2013-04-01  Eli Zaretskii  <eliz@gnu.org>
161         * README: A better documentation of ddeclient.exe.
163         * README.W32: A better documentation of ddeclient.exe.
165         * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
166         subdirectories.
168 2013-03-30  Eli Zaretskii  <eliz@gnu.org>
170         * inc/ms-w32.h (TERM_HEADER): Remove definition.
172         * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
173         ms-w32.h.
175 2013-03-29  Eli Zaretskii  <eliz@gnu.org>
177         * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
179         * config.nt (HAVE_COPYSIGN): Define.
181 2013-03-29  Juanma Barranquero  <lekktu@gmail.com>
183         * config.nt: Sync with autogen/config.in.
184         (HAVE_XKBGETKEYBOARD): Remove.
185         (HAVE_XKB): New macro.
187 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
189         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
190         (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
191         Depend on .exe files.
193         * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
194         avoid MinGW64 compiler warnings in editfns.c.
196         Fix rules for parallel builds.
197         * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
198         without the .exe suffix.
199         (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
200         targets.
201         (.PHONY): Remove.
203         * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
204         headers, since that's where _W64 is declared by MinGW64.
206 2013-03-26  Eli Zaretskii  <eliz@gnu.org>
208         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
209         (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
211         * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
212         define for MinGW64.
214         * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
215         for MinGW64.
217         Fix more incompatibilities between MinGW.org and MinGW64 headers
218         reported by Óscar Fuentes in
219         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
220         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
221         and in
222         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
223         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
224         For MinGW64, include sys/types.h and time.h.
225         (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
227         * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
229         * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
230         _W64.
231         (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
232         _TIMEZONE_DEFINED.
234         * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
236         * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
237         lstat, and fstatat.
239 2013-03-25  Eli Zaretskii  <eliz@gnu.org>
241         Fix incompatibilities between MinGW.org and MinGW64 headers
242         reported by Óscar Fuentes in
243         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
244         * inc/ms-w32.h (struct timespec): Don't define if
245         _TIMESPEC_DEFINED is already defined.
246         (sigset_t) [!_POSIX]: Typedef for MinGW64.
247         (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
248         including the first system header, to avoid redefinition if some
249         system header defines a default value.
251         * inc/sys/time.h (struct itimerval): Don't define if
252         _TIMESPEC_DEFINED is already defined.
254 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
256         Fix the MSVC build.  (Bug#13939)
257         * inc/stdint.h (UINTPTR_MAX): Define.
259         * nmake.defs (libc): Fix syntax of !if conditional.
261 2013-03-15  Juanma Barranquero  <lekktu@gmail.com>
263         * config.nt: Sync with autogen/config.in.
264         (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
265         (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
266         (HAVE_FDATASYNC): New macros.
268 2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
270         File synchronization fixes (Bug#13944).
271         * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
273 2013-03-05  Paul Eggert  <eggert@cs.ucla.edu>
275         FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
276         * inc/unistd.h (O_NOFOLLOW): New macro.
278 2013-03-04  Juanma Barranquero  <lekktu@gmail.com>
280         * config.nt: Sync with autogen/config.in.
281         (DATA_START, ORDINARY_LINK): Remove.
282         (HAVE_DATA_START, HAVE__PUTENV): New macros.
284 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
286         * inc/ms-w32.h (BOOT_TIME_FILE): Define.
288         * config.nt (CLASH_DETECTION): Define to 1.
290 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
292         * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
293         (Bug#9066)
294         (chown, logb): Remove, unused.
296 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
298         * config.nt: Sync with autogen/config.in.
299         (GC_MARK_STACK): Remove.
300         (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
301         (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
302         (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
304 2013-02-12  Eli Zaretskii  <eliz@gnu.org>
306         * inc/ms-w32.h: Add prototype for memrchr.
308 2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
310         Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
311         * inc/sys/stat.h (fstatat):
312         * inc/unistd.h (readlinkat): New decls.
314 2013-01-28  Eli Zaretskii  <eliz@gnu.org>
316         * inc/dirent.h (opendir): Update prototype.
318 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
320         * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
321         used in term.c.  (Bug#13387)
323 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
325         * config.nt: Sync with autogen/config.in.
326         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
328 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
330         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
331         in lib/filemode.c that broke the MS-Windows build.
332         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
334 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
336         * config.nt: Sync with autogen/config.in.
337         (BSD4_2): Remove.
339 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
341         * inc/sys/acl.h: New file.
343         * inc/ms-w32.h (ENOTSUP): Define if undefined.
345         * config.nt (HAVE_POSIX_ACL): Define.
347 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
349         * inc/ms-w32.h (sys_unlink): Provide prototype.
351 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
353         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
355 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
357         * config.nt: Sync with autogen/config.in.
358         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
360 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
362         * config.nt: Sync with autogen/config.in.
363         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
364         (ULIMIT_BREAK_VALUE): Remove.
366 2012-12-10  Daniel Colascione  <dancol@dancol.org>
368         * emacs.rc: Use forward slashes in relative paths in order to
369         avoid complaints from Cygwin.  (Forward slashes work perfectly
370         well in the NT build.)
372 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
374         * inc/unistd.h (unsetenv): Provide a prototype.
376 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
378         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
379         (sys_putenv): Add prototype.
381         * config.nt (HAVE_UNSETENV): Define to 1.
383 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
385         * config.nt: Sync with autogen/config.in.
387 2012-11-24  Ken Brown  <kbrown@cornell.edu>
389         * config.nt (HAVE_MOUSE): Remove.
391 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
393         * config.nt: Sync with autogen/config.in.
394         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
395         Remove.
397 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
399         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
400         (Bug#12955)
402         * nmake.defs (SWITCHCHAR): Define to /.
404 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
406         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
407         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
408         (struct dirent): Rename from struct direct.  All uses changed.
409         * inc/sys/dir.h: Remove.
411 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
413         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
414         * config.nt (HAVE_GETCWD): Remove.
416 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
418         * nmake.defs: Use !if, not !ifdef.  For the details, see
419         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
421         * inc/stdint.h (INTPTR_MIN):
422         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
424 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
426         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
428 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
430         * config.nt: Sync with autogen/config.in.
431         (HAVE_FPATHCONF): Remove.
433 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
435         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
436         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
437         POSIX name for this flag is O_NONBLOCK.  All uses changed.
438         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
439         these really should be moved to a replacement <fcntl.h> if and
440         when that gets implemented.  In the meantime, include <fcntl.h>
441         to make sure we don't override its definitions.
443 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
445         * inc/sys/wait.h: New file, with prototype of waitpid and
446         definitions of macros it needs.
448         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
449         (sys_wait): Remove prototype.
451         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
453 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
455         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
456         to check if it's installed, redirect standard output and standard
457         error to the null device.
458         (ZIP_DIST): Don't build the "barebin" distribution.
460 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
462         * config.nt: Sync with autogen/config.in.
463         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
464         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
465         New macros.
467 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
469         * inc/unistd.h (faccessat): Add prototype.
470         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
471         2 moved from ms-w32.h.
473         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
475 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
477         Use faccessat, not access, when checking file permissions (Bug#12632).
478         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
479         (access): Remove.
480         (faccessat): New macro.
482 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
484         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
486 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
488         * config.nt: Sync with autogen/config.in.
489         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
490         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
492 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
494         * config.nt: Sync with autogen/config.in.
495         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
497 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
499         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
501 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
503         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
505         * config.nt (GETPGRP_VOID): Define to 1.
507 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
509         * config.nt: Sync with autogen/config.in.
511 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
513         * inc/pwd.h (getuid, geteuid): Add prototypes.
515         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
516         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
517         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
518         (sys_kill, getpagesize): Add prototypes for emulated functions.
520         * inc/grp.h (getgid, getegid): Add prototypes.
522         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
524         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
525         compiling with -std=gnu99.
527         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
528         could be used via --cflags switch to configure.bat.
530 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
532         * config.nt: Sync with autogen/config.in.
533         (HAVE_NTGUI): New macro.
535 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
537         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
538         compiler warnings when using the value.
540 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
542         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
543         'void *', for pointer arithmetics.
544         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
545         macro arguments in parentheses.
547 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
549         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
551 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
553         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
554         that are already defined.
556         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
557         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
558         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
560         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
561         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
562         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
563         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
564         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
565         Use DWORD_PTR instead of DWORD for compatibility with x64.
567         * nmake.defs: Support AMD64.
568         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
570         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
571         New macros.
573         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
574         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
575         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
576         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
577         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
578         DWORD, for compatibility with x64.
580         * emacs-x64.manifest: New file.
582         * emacs-x86.manifest: Renamed from emacs.manifest.
584 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
586         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
587         (struct itimerval): Define.
588         (getitimer, setitimer): Add prototypes.
590         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
591         with MinGW.
592         (SA_RESTART, SIGPROF): Define.
594         * config.nt (HAVE_SETITIMER): Define to 1.
596 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
598         * config.nt: Sync with autogen/config.in.
600 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
602         * config.nt: Sync with autogen/config.in.
603         (HAVE_TIMER_SETTIME): New macro.
605 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
607         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
609 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
611         Simplify and avoid signal-handling races (Bug#12471).
612         * inc/ms-w32.h (emacs_raise): New macro.
614 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
616         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
617         defined, as needed by giflib-5.0.0.  (Bug#12464)
619 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
621         * config.nt: Sync with autogen/config.in.
622         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
624 2012-09-17  Glenn Morris  <rgm@gnu.org>
626         * config.nt (COPYRIGHT): New.
628 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
630         Port _setjmp fix to POSIXish hosts as well as Microsoft.
631         * config.nt: Attempt to sync with autogen/config.in.
632         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
633         (_longjmp, _setjmp): Remove.
635 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
637         * config.nt: Sync with autogen/config.in.
638         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
639         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
640         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
642 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
644         * config.nt: Sync with autogen/config.in.
645         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
646         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
648 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
650         * configure.bat <use_extensions>: Don't leave it set in the
651         environment when the script exits.
653 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
655         * config.nt: Sync with autogen/config.in.
656         (NO_ABORT, SIGNAL_H_AHB): Remove.
658 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
660         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
662 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
664         * config.nt: Sync with autogen/config.in.
666 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
668         Simplify redefinition of 'abort' (Bug#12316).
669         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
671 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
673         * config.nt: Sync with autogen/config.in.
674         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
676 2012-09-01  Daniel Colascione  <dancol@dancol.org>
678         * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
680 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
682         * config.nt: Sync with autogen/config.in.
684 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
686         * config.nt: Sync with autogen/config.in.
687         (HAVE_POSIX_OPENPT): New macro.
689 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
691         * config.nt: Sync with autogen/config.in.
692         (_GL_INLINE_HEADER_BEGIN): Update.
694 2012-08-10  Glenn Morris  <rgm@gnu.org>
696         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
698 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
700         * config.nt: Sync with autogen/config.in.
701         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
702         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
704         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
706 2012-08-06  Glenn Morris  <rgm@gnu.org>
708         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
709         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
711 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
713         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
714         (PATH_DATA, PATH_DOC): Replace dummy directory names with
715         directories relative to %emacs_dir%.
716         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
717         to the use case of running un-installed Emacs.
719 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
721         * config.nt: Sync with autogen/config.in.
722         (DOS_NT, MSDOS): New macros.
723         (WRETCODE, wait3): Remove.
725         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
727 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
729         * inc/sys/stat.h (S_IFLNK): Define.
730         (S_ISLNK): A non-trivial definition.
731         (lstat): Prototype instead of a macro that redirects to 'stat'.
733 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
735         Use C99-style 'extern inline' if available.
736         * config.nt: Sync with autogen/config.in.
737         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
738         (_GL_INLINE_HEADER_END): New macros.
740 2012-08-02  Glenn Morris  <rgm@gnu.org>
742         * inc/ms-w32.h: Move here from ../src/s.
743         * config.nt (config_opsysfile): Change to <ms-w32.h>.
745 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
747         * config.nt: Sync with autogen/config.in.
748         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
749         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
750         New macros.
752 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
754         * config.nt: Sync with autogen/config.in.
755         Remove code moved to conf_post.h and include <conf_post.h>
756         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
757         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
759 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
761         * config.nt: Sync with autogen/config.in.
762         (HAVE_ENVIRON_DECL): New macro.
764 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
766         * inc/stdalign.h (_Alignas, alignas): Define.
768 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
770         Use Gnulib stdalign module (Bug#9772, Bug#9960).
771         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
773 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
775         * config.nt: Sync with autogen/config.in.
776         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
777         (SETUP_SLAVE_PTY): New macros.
779 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
781         * config.nt: Sync with autogen/config.in.
782         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
783         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
784         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
785         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
786         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
787         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
788         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
789         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
790         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
791         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
792         Set in src/s/ms-w32.h, not here.
794 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
796         * config.nt: Sync with autogen/config.in.
797         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
798         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
799         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
801 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
803         * config.nt: Sync with autogen/config.in.
805 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
807         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
809 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
811         * config.nt: Sync with autogen/config.in.
813 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
815         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
817 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
818             Eli Zaretskii  <eliz@gnu.org>
820         * config.nt: Complete rework to bring it in sync with autogen/config.in.
821         All Windows-specific code moved to src/s/ms-w32.h.
823 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
824             Eli Zaretskii  <eliz@gnu.org>
826         * configure.bat (enablechecking): Enable checks through src/config.h,
827         not the compiler's command line.
829         * nmake.defs (CHECKING_CFLAGS): Remove.
830         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
832         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
833         (CHECKING_CFLAGS): Remove.
834         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
836 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
838         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
839         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
840         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
841         (HAVE_MEMCMP): Remove, obsolete.
843 2012-06-30  Glenn Morris  <rgm@gnu.org>
845         * paths.h (PATH_SITELOADSEARCH): New.
847 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
849         * nmake.defs (CHECKING_CFLAGS):
850         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
852 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
854         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
856 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
858         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
859         * config.nt (_Noreturn): New macro.
860         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
861         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
863 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
865         * inc/sys/time.h (struct timespec): Don't define it here, it is
866         now defined in src/s/ms-w32.h.
868 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
870         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
871         * inc/sys/time.h (struct timespec): Define.
873 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
875         * makefile.w32-in (install-addpm): New target.
876         (dist): Depend on it.
877         (install-shortcuts): Depend on install-addpm instead of copying
878         addpm.exe as part of the recipe.  See
879         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
880         for the related problem and discussions.
882 2012-06-11  Glenn Morris  <rgm@gnu.org>
884         * config.nt (SYSTEM_TYPE): Define it.
886 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
888         * configure.bat (genmakefiles): Move the redirection away from the
889         end of the command, to avoid excess whitespace at the end of Make
890         variables created at configure time, and also avoid things like
891         "FOO1>>config.settings", where "1" gets interpreted as the file
892         descriptor and eaten up.  This fixes breakage introduced by the
893         last change, without reintroducing the bug fixed by that change.
895 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
897         * nmake.defs (MWINDOWS): Define as
898         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
899         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
901         * gmake.defs (MWINDOWS): Define as "-mwindows".
903 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
905         * config.nt (HAVE_SYSINFO): Remove; unused.
907 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
909         * inc/stdalign.h: New file.
911         * configure.bat: Ensure a space between %var% expansion and
912         redirection symbol '>', which breaks when %var% ends in a digit,
913         such as 1.
915 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
917         Remove src/m/*.
918         * config.nt: Do not include "m/intel386.h"; file was removed.
919         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
920         Move to src/lisp.h.
921         (EMACS_INT_MAX): New macro.
923 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
925         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
926         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
928         * config.nt (HAVE_FTIME): Remove undef; not needed.
930 2012-05-01  Glenn Morris  <rgm@gnu.org>
932         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
934 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
936         * makefile.w32-in: Fix typo (Bug#10261).
938 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
940         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
941         each runs makeinfo in its own subdirectory of 'doc'.
942         (info-gmake): Depend on these new targets.
944 2012-04-07  Glenn Morris  <rgm@gnu.org>
946         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
947         Bump version to 24.1.50.
949 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
951         * configure.bat: Support building with libxml2.
953         * INSTALL:
954         * README.W32: Add information about libxml2.
956 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
958         * makefile.w32-in: Convert to Unix EOL format.
959         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
960         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
961         (bootstrap-gmake): Invoke the "clean" and build targets in 2
962         separate commands, so they run in that order even under "make -j".
964 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
966         * config.nt: Discourage from defining HAVE_GETCWD.
968 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
970         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
971         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
972         on other (parallel) Make job's toes.
973         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
974         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
975         here.
976         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
977         Depend on create-tmp-dist-dir.
979         * nmake.defs (DIRNAME): New variable.
980         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
981         same-dir.tst.
983         * gmake.defs (DIRNAME): New variable.
984         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
985         same-dir.tst, to avoid conflicts between several (parallel) Make
986         jobs.
988 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
990         Prevent endless re-spawning of cmdproxy.exe when some of its
991         parent directories have access limitations.
993         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
994         and our own module name to short 8+3 aliases, if the original file
995         names compare equal.  If GetShortPathName fails, compare the base
996         names of the two file names, and only re-spawn the command line if
997         the base-name comparison also fails.  (Bug#10674)
999 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1001         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
1003 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
1005         * README.W32: Removed specific version information for libXpm
1006         included in the binary distribution for maintenance purposes.
1008 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
1010         * README.W32: Clarification for inclusion in source tarball (bug#9750).
1012         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1014         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1016         * makefile.w32-in (maybe-copy-distfiles)
1017         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1018         (create-tmp-dist-dir): Add to make --distfiles optional.
1019         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1021 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
1023         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1024         by other headers.
1026 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1028         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1029         (UINT64_MAX) [_WIN64]: Fix definition.
1030         (uintmax_t, intmax_t): Fix definitions.
1032         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1033         Provide correct definitions.
1035         * config.nt (HAVE_DECL_STRTOLL): Define.
1036         (va_copy) [_WIN64]: Provide a better definition.
1038 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
1040         * configure.bat: Fix typos.
1042 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
1044         * INSTALL: Elaborate on debugging fatal errors.
1046 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
1048         * README.W32: Update the GTK Windows download URL for libpng.
1050 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
1052         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1054 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
1056         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1057         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1058         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1059         (intmax_t, INT64_MAX): Add for MSVC.
1061         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1063 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
1065         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1067         Support MSVC build with newer versions of Visual Studio.
1068         * makefile.w32-in (clean-other-dirs-nmake)
1069         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1070         Update for current structure of doc/ subdirectories.
1072         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1074         * INSTALL: Update for newer versions of MSVC.
1076 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1078         Support MSVC build with newer versions of Visual Studio.
1079         * nmake.defs (USE_CRT_DLL): Define to 1.
1080         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1081         (D): New variable.
1083 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
1085         * runemacs.c (ensure_unicows_dll): New function, tries to load
1086         UNICOWS.DLL on Windows 9X.
1087         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1088         display a dialog to the effect that Emacs cannot be started.
1089         (Bug#8562)
1091 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
1093         * README.W32: Mention UNICOWS.DLL as prerequisite for running
1094         Emacs on Windows 9X.
1096 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
1098         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1099         distribution.  (Bug#9861)
1101 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
1103         * INSTALL: Update URL for GTK download page.
1105 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
1107         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1108         (Bug#9794) (Bug#641)
1110 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1112         * config.nt (HAVE_SNPRINTF): New macro.
1114 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1116         Assume freestanding C89 headers, string.h, stdlib.h.
1117         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1118         (STDC_HEADERS): Remove.
1119         Iinclude string.h, stdlib.h unconditionally.
1121 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
1123         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1124         [!__GNUC__]: New macros.
1126 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1128         Use 'inline', not 'INLINE'.
1129         * config.nt (INLINE): Remove.
1131 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
1133         * README.W32: Add information about GnuTLS libraries.
1135 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
1137         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1139 2011-05-07  Ben Key  <bkey76@gmail.com>
1141         * configure.bat: Renamed the fusercflags variable to escusercflags
1142         so that the variable name better matches its purpose, to be
1143         identical to usercflags with the exception that all quotes are
1144         escaped by the \ character.
1146         Renamed the fuserldflags variable to escuserldflags so that the
1147         variable name better matches its purpose, to be identical to
1148         userldflags with the exception that all quotes are escaped by
1149         the \ character.
1151         A new ESC_USER_CFLAGS variable is written to config.settings.
1152         This variable has the same value as the escusercflags variable.
1154         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1155         This variable is identical to the CFLAGS variable except that it
1156         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1158         These changes, along with some changes to src/makefile.w32-in,
1159         are required to extend my earlier fix to add support for
1160         --cflags and --ldflags options that include quotes so that it
1161         works whether make uses cmd or sh as the shell.
1163 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
1165         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
1166         definition of uintmax_t from here...
1167         * inc/stdint.h (uintmax_t): ...to here.
1168         (intptr_t) [!__GNUC__]: New typedef.
1170 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
1172         * config.nt: Prepare to configure 64-bit integers for older compilers.
1173         However, temporarily disable this change unless the temporary
1174         symbol WIDE_EMACS_INT is defined.
1175         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1176         "%I64d" work but long long and "%lld" do not.
1178 2011-05-05  Ben Key  <bkey76@gmail.com>
1180         * configure.bat: Added support for --cflags and --ldflags
1181         options that include quotes as long as command extensions are
1182         enabled.  Specifically when -I, -L, and similar flags are used
1183         to specify supplementary include and library directories a
1184         directory name that includes spaces may now be used if it is
1185         enclosed in quotes.
1187         * INSTALL: Documented the change to configure.bat.
1189 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1191         * INSTALL: Clarify GnuTLS support.
1193 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
1195         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1196         Define to 1 for MinGW of MSVC versions >= 1400.
1198 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
1200         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1202 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
1204         * inc/inttypes.h: New file.
1206         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1207         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1209 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1211         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1212         inside quotation marks and bail out.
1214 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1216         * cmdproxy.c (try_dequote_cmdline): New function.
1217         (main): Use it.
1219 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1221         * configure.bat: New options --without-gnutls and --lib, new build
1222         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
1223         library setup with trivial modifications.
1224         * INSTALL: Add instructions for GnuTLS support.
1225         * gmake.defs: Prefix USER_LIBS with -l.
1227 2011-04-15  Ben Key  <bkey76@gmail.com>
1229         * configure.bat: Modified the code that parses the --cflags and
1230         --ldflags options to support parameters that include the =
1231         character as long as they are enclosed in quotes.
1232         This functionality depends on command extensions.  Configure.bat now
1233         attempts to enable command extensions and displays a warning
1234         message if they could not be enabled.  If configure.bat could
1235         not enable command extensions the old parsing code is used that
1236         does not support parameters that include the = character.
1238         * INSTALL: Updated the file to describe the new functionality
1239         using text provided by Eli Zaretskii.
1241 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
1243         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1244         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1245         on the trunk on 2011-04-06.
1247 2011-03-27  Glenn Morris  <rgm@gnu.org>
1249         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1251 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
1253         * addpm.c (main): Remove unused variable `retval'.
1255         * preprep.c (main): Remove unused variable `ptr'.
1257 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
1259         * cmdproxy.c: Include <ctype.h>.
1260         (make_absolute): Remove unused variable `i'.
1262 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
1264         * Version 23.3 released.
1266 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
1268         * inc/unistd.h (readlink, symlink): Declare prototypes.
1270 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
1272         * config.nt (nlink_t): Define.
1274 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
1276         * inc/stdint.h: New file, to support compilation with tool chains
1277         that do not have stdint.h (e.g. MSVC).
1279 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
1281         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1282         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1283         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1284         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1285         (lstat): Define to stat.
1287 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
1289         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1290         "make-docfile" target in lib-src, before bootstrapping the src
1291         directory.  Needed since building in src needs to run make-docfile
1292         to produce globals.h.
1294 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1296         * config.nt (inline) [__GNUC__]: Define (for gnulib).
1298 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1300         * config.nt (VERSION): Uncomment definition.
1301         (restrict): Define.
1303         * inc/stdbool.h: New file.
1305 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1307         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1308         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1309         (bootstrap-clean-gmake, clean-other-dirs-nmake)
1310         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1311         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1312         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1313         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1314         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1316         * configure.bat: Create lib/makefile.
1318         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1319         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1320         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1321         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1323 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1325         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1327 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1329         * configure.bat (end): Unset environment variables used by this
1330         batch file.
1332         * INSTALL: Update the information about PNG support libraries.
1333         (Bug#7716)
1335         * README.W32: Update the information about PNG support libraries.
1337 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1339         * config.nt (EXTERNALLY_VISIBLE): Define.
1341 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1343         * INSTALL: Refer to `dynamic-library-alist'.
1345 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1347         * INSTALL: Add note about problematic characters passed to configure.
1349 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1351         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1352         emacs-src.tags: New file.
1354         * gmake.defs: Add a comment with a single quote to fix
1355         fontification.  (Bug#7102)
1357 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1359         * configure.bat: Fix the condition for copying paths.h into
1360         ../src/epaths.h.
1362 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1364         * addpm.c (entry, add_registry, main):
1365         * addsection.c (file_data, open_input_file, open_output_file)
1366         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1367         (COPY_CHUNK):
1368         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1369         (skip_nonspace, get_next_token, search_dir, make_absolute)
1370         (spawn, main):
1371         * preprep.c (file_data, open_input_file, open_output_file)
1372         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1373         Use const char*.
1375         * cmdproxy.c (stdin): Don't define, not used.
1376         (main): Don't assign remlen after last use.
1378 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1380         * configure.bat: Err out when the argument of --cflags contains
1381         invalid characters (check implemented only for GCC).  (Bug#6820)
1383 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1385         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1387 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1389         * addpm.c (add_registry): Set path for runemacs.exe to use.
1391 2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
1393         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1394         which has a 1024 char limit on Windows (bug#6647).
1396 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1398         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1399         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1401 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1403         * config.nt: Remove code referring to NO_REMAP, unused.
1405 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1407         Build binary distros on Windows using emacs-VERSION as root dir name.
1409         * makefile.w32-in: Copy README.W32 to installation directory
1410         during `make install'.  Remove README.W32 with `distclean' (in
1411         case Emacs was installed in place).  Use temporary directory to
1412         create distribution zip files in `dist' target.
1413         * zipdist.bat: Simplify code using temporary directory.
1415 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1417         * runemacs.c (set_user_model_id): Fix prototype.
1419 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1421         New make target for Windows platform: make dist (bug#6602)
1423         * INSTALL: Document new dist target and add section about
1424         creating binary distributions.
1425         * README.W32: Relocate from admin/nt/ directory.
1426         * configure.bat: New parameter `--distfiles'.
1427         * makefile.w32-in: Add version number, new target `dist'.
1428         Add new target `install-shortcuts'.
1429         * zipdist.bat: New file; create zipped binary distribution,
1430         replaces admin/nt/makedist.bat.
1432 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1434         * INSTALL: Add note about backslashes in Windows paths.
1435         Fix typos.  Simplify references to Windows versions.
1437 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1439         * addpm.c (add_registry, main):
1440         * cmdproxy.c (get_env_size):
1441         * ddeclient.c (main):
1442         * runemacs.c (set_user_model_id):
1443         Convert definitions to standard C.
1445 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1447         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1449 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1451         * configure.bat: New option --enable-checking.
1452         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1453         (CFLAGS): Include it.
1455 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1457         * config.nt (volatile): Remove definition.
1459 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1461         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1462         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1464 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1466         * config.nt (__P): Remove.
1468 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1470         * config.nt: Remove code depending on BSTRING.
1472 2010-06-03  Glenn Morris  <rgm@gnu.org>
1474         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1476 2010-05-13  Glenn Morris  <rgm@gnu.org>
1478         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1480 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1482         * Version 23.2 released.
1484 2010-05-04  Glenn Morris  <rgm@gnu.org>
1486         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1488 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1490         * emacs.manifest: Add trustInfo section to Windows manifest.
1492 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1494         * Branch for 23.2.
1496 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1498         * emacsclient.rc: Fix format of "LegalCopyright" value.
1500 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1502         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1504 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1506         * INSTALL: Update for CVS->Bazaar switchover.
1508 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1510         * configure.bat: Add #define PROFILING to config.h.
1512 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1514         * runemacs.c (set_user_model_id): Use standard types.
1516 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1518         * runemacs.c (set_user_model_id): New function.
1519         (WinMain): Use it.
1521 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1523         * Branch for 23.1.
1525 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1527         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1528         st_gid to unsigned.
1530         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1531         to unsigned.
1532         (getpwuid): Argument is now unsigned.
1533         uid_t is now unsigned.
1535 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1537         * INSTALL: Add comment about TCC; fix typos.
1539 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1541         * emacsclient.rc, emacs.rc: Swap name and description.
1542         Remove Windows versions.
1544 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1546         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1548         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1550         * addpm.c (main): Try using COM to create start menu shortcuts
1551         before resorting to DDE (Bug#202)
1552         Remove second command-line argument.
1554 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1556         * configure.bat: Untabify help message.
1558 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1560         * configure.bat: New option --with-svg.
1562         * INSTALL: Document experimental SVG support.
1564 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1566         * config.nt (PTR): Remove.
1568 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1570         * config.nt (LISTPROC, PROCATTR): Remove.
1572 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1574         * config.nt (LISTPROC, PROCATTR): New macros.
1576 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1578         * config.nt (MULTI_KBOARD): Remove.
1580 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1582         * configure.bat: New option --profile.
1583         * gmake.defs: Set cflags and ldflags for profiling when specified.
1585 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1587         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1589 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1591         * config.nt (HAVE_FACES): Remove, unused.
1593 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1594             Eli Zaretskii  <eliz@gnu.org>
1596         * nmake.defs (FONT_CFLAGS):
1597         * gmake.defs (FONT_CFLAGS): Remove.
1598         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1599         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1600         and _CRTAPI1.
1601         (ARCH_FLAGS): Don't include _X86_.
1603         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1605 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1607         * config.nt: Remove reference to UNEXEC_SRC.
1609 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1610             Eli Zaretskii  <eliz@gnu.org>
1612         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1613         Don't hardcode -gstabs+, use DEBUG_INFO.
1615         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1616         Default to stabs if the compiler does not support DWARF-2.
1617         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1619 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1621         * configure.bat: Remove code dealing with --disable-font-backend.
1623 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1625         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1626         better alignment.  Make st_size 64-bit wide.  Add new members
1627         st_uname and st_gname.
1629         * inc/grp.h (struct group): Add gr_gid member.
1631 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1633         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1634         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1635         a real file there is not a good idea.
1637 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1639         * makefile.w32-in (CLIENTRES): New variable and build target.
1640         (all): Depend on it.
1641         ($(TRES)): Use $(TRES) in rule.
1643 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1645         * configure.bat (success): Print "make" rather than "gmake", as that
1646         is what MinGW uses.
1648 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1650         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1651         Add copyright notice.
1653 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1655         * emacsclient.rc: New file.
1657         * INSTALL: Document make targets.
1659 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1661         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1662         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1663         (top-distclean, distclean, distclean-other-dirs-nmake)
1664         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1665         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1667 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1669         * inc/sys/stat.h: New file.
1671         * configure.bat: Add check for usp10.h.
1673 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1675         * INSTALL: Update Windows API requirements.
1677 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1679         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1681 2008-03-13  Glenn Morris  <rgm@gnu.org>
1683         * emacs.rc: Set version to 23.0.60.
1685 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1687         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1688         (EMACS_EXTRA_C_FLAGS): Include it.
1689         * configure.bat (usefontbackend): Default to Y.
1690         (--enable-font-backend): Replace with --disable-font-backend.
1691         (:withfont): Replace with :withoutfont.
1693 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1695         * icons/emacs.ico: Full alpha for 32x32 full color.
1696         Add 32x32 and 16x16 256 color versions.
1698 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1700         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1702 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1704         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1706 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1708         * icons/README: Update.
1710         * icons/emacs.ico: New icon.
1712 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1714         * addpm.c: Include malloc.h.
1715         (add_registry): Cast return value of alloca.
1717 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1719         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1721 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1723         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1724         conditional on existence of junk.o.  If %nocygwin% is already set
1725         to Y, skip to chkapiN instead of chkapi.
1726         (chkapi): Move "rm -f junk.c junk.o" to here.
1727         (chkapiN): New label.
1729 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1731         * makefile.w32-in: Remove unidata-gen related rules.
1733 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1735         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1737 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1739         * addpm.c (add_registry): Add an App Paths registry key.
1740         Look for GTK and add it to the DLL search path for Emacs if found.
1742 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1744         * configure.bat: In help, use generic names for the image libraries.
1746 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1748         * .cvsignore: Don't ignore .arch-inventory.
1750 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1752         * configure.bat: Make gcc the default compiler.
1754 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1756         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1757         Ignore return status.
1759         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1760         it out of the way of Windows generated file.
1761         Generate admin/unidata/makefile.
1763         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1764         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1765         (unidatagen-clean-SH): New targets.
1766         (bootstrap-nmake): Invoke unidatagen-nmake.
1767         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1769 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1771         * configure.bat (withfont): Set sep1 after modifying usercflags.
1773 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1775         * configure.bat: Rename --with-font-backend to --enable-font-backend
1776         for consistency with other platforms.
1778 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1780         * configure.bat: Add --with-font-backend option.
1782 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1784         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1785         permissions to NTFS ACLs.
1787 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1789         * config.nt: Remove HAVE_X11R5.
1791 2007-10-22  Jason Rumney  <jasonr@gnu.org>
1793         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1794         (strings.h, stdlib.h): Conditionally include.
1795         (w32_abort): Declare here.
1796         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
1798 2007-10-20  Jason Rumney  <jasonr@gnu.org>
1800         * makefile.w32-in (info-nmake): Change into correct directories.
1802 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
1804         * configure.bat (docflags, doldflags): New variables.
1805         (genmakefiles): Use them to work around problems with whitespace
1806         in arguments of the `if' command.
1808 2007-10-18  Jason Rumney  <jasonr@gnu.org>
1810         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1812 2007-09-27  Jason Rumney  <jasonr@gnu.org>
1814         * gmake.defs (COMCTL32): New system library.
1816         * nmake.defs (COMCTL32): New system library.
1818 2007-09-06  Glenn Morris  <rgm@gnu.org>
1820         * configure.bat:
1821         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
1822         Change from ../man to ../doc/emacs and ../doc/misc; and from
1823         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
1825 2007-08-29  Glenn Morris  <rgm@gnu.org>
1827         * emacs.rc: Increase version to 23.0.50.
1829 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
1831         * makefile.w32-in (bootstrap-nmake): Change directories once more.
1833 2007-07-25  Glenn Morris  <rgm@gnu.org>
1835         * Relicense all FSF files to GPLv3 or later.
1837         * COPYING: Switch to GPLv3.
1839 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
1841         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
1842         Depend on cmdproxy.
1843         (cleanall): Don't delete *~.
1845 2007-07-15  Jason Rumney  <jasonr@gnu.org>
1847         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
1848         be fully supported.
1850 2007-07-14  Jason Rumney  <jasonr@gnu.org>
1852         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
1853         of winsock.h.
1855 2007-07-11  Jason Rumney  <jasonr@gnu.org>
1857         * gmake.defs (OLE32): New library to link.
1859         * nmake.defs (OLE32): Likewise.
1861 2007-06-25  Jason Rumney  <jasonr@gnu.org>
1863         * cmdproxy.c (main): Set console codepages to "ANSI".
1865 2007-06-20  Jason Rumney  <jasonr@gnu.org>
1867         * configure.bat: Complain if image libraries are missing.
1869 2007-06-15  Jason Rumney  <jasonr@gnu.org>
1871         * emacs.manifest: New file.
1873         * emacs.rc: Use it.
1875 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
1877         * Version 22.1 released.
1879 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
1881         * INSTALL: Add information about where to find GDB, and warn
1882         against --no-debug option to configure.bat.
1884 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
1886         * INSTALL: Fix URL of EmacsW32 site where building with image
1887         support is described.
1889 2007-04-26  Glenn Morris  <rgm@gnu.org>
1891         * emacs.rc: Increase version to 22.1.50.
1893 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
1895         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
1897 2007-03-09  Richard Stallman  <rms@gnu.org>
1899         * INSTALL: Say explicitly this is not for Cygwin.
1901 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
1903         * INSTALL: Add URL of another site with detailed build instructions.
1905 2007-02-16  Glenn Morris  <rgm@gnu.org>
1907         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
1908         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
1909         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
1910         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
1911         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
1912         Restore all but two of icons deleted in previous change.
1914 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
1916         * icons/README: New file.
1918         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
1919         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
1920         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
1921         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
1922         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
1923         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
1924         Unused icons deleted.
1926 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
1928         * configure.bat: Update ../site-lisp/subdirs.el when needed.
1930 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
1932         * subdirs.el: Add "no-byte-compile: t" local variable.
1934 2007-01-10  Jason Rumney  <jasonr@gnu.org>
1936         * README: Update URLs and advice about reporting bugs.
1938 2006-12-29  Jason Rumney  <jasonr@gnu.org>
1940         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
1941         DEBUG_LINK.
1942         (DEBUG_LINK): Remove -debugtype:both.
1944 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
1946         * INSTALL: Update table of supported Make ports.  Show "make -j"
1947         command that is known to work.
1949         * configure.bat: Update table of supported Make ports.
1951 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
1953         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
1954         only in implicit rules.  Use literal "emacs.rc" instead.
1956 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
1958         * gmake.defs: Export XMFLAGS.
1960         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
1961         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
1963 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
1965         * INSTALL: Explain how to invoke GNU Make for parallel builds.
1967         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
1968         command-line argument to sub-Make in src, since src/makefile.w32-in
1969         invokes Make recursively during bootstrap.
1970         (clean): Delete stamp_BLD.
1971         (bootstrap): Make `all' explicitly in a recursive Make.
1973         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1974         stamp_BLD after creating the $(BLD) directory.
1976         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1977         stamp_BLD after creating the $(BLD) directory.
1979         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
1980         (preprep, $(TRES), runemacs)
1981         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
1982         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1983         Depend on stamp_BLD instead of on $(BLD).
1984         (XMFLAGS): New macro.
1985         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
1986         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
1987         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
1988         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
1990 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
1992         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
1993         $(ALL_DEPS).
1994         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
1995         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1996         New dependency on $(BLD).
1997         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
1998         (bootstrap-gmake): Depend on addsection.
2000 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
2002         * runemacs.c (WinMain): Process all recognized arguments, not just
2003         the first one.  Remove unused variable sec_desc.
2005 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
2007         * config.nt (HAVE_LANGINFO_CODESET): Define.
2009         * inc/langinfo.h: New file.
2011         * inc/nl_types.h: New file.
2013 2006-09-15  Jay Belanger  <belanger@truman.edu>
2015         * COPYING: Replace "Library Public License" by "Lesser Public
2016         License" throughout.
2018 2006-07-27  Jason Rumney  <jasonr@gnu.org>
2020         * INSTALL: Add notes about Cygwin make to impatient section.
2022 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
2024         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2025         known to work.
2027 2006-03-12  Jason Rumney  <jasonr@gnu.org>
2029         * addpm.c (add_registry): Don't change the registry unless keys
2030         already exist from a previous version.
2032         * makefile.w32-in (install): Use -q when invoking addpm.
2034         * addpm.c (main): Accept -q as alternative for /q.
2036 2006-03-11  Jason Rumney  <jasonr@gnu.org>
2038         * runemacs.c (WinMain): Set screen buffer to 80x25.
2040 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
2042         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2043         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2045 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
2047         * INSTALL: Add explanation of how to debug with GDB starting from
2048         the Emacs Abort dialog.
2050 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
2052         * emacs.rc: Use new icons.
2054 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
2056         * emacs21.ico: Renamed from emacs.ico.
2057         * emacs.ico: New icons from Andrew Zhilin
2058         <andrew_zhilin@yahoo.com>.
2060 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
2062         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2064 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
2066         * .cvsignore: Add `obj' and `oo' for in-place installations.
2068 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
2070         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2072 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
2074         * configure.bat: Don't create lisp/Makefile.unix.
2076 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
2078         * .cvsignore: Add `makefile' and `config.log'.
2080 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
2082         Merge gnulib getopt implementation into Emacs.
2084         * inc/gettext.h: Remove; no longer needed now that
2085         lib-src/gettext.h exists.
2087 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
2089         * configure.bat: Finish config.log with a line that indicates that
2090         the configure step was successful.
2092 2005-07-04  Lute Kamstra  <lute@gnu.org>
2094         Update FSF's address in GPL notices.
2096 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
2098         * configure.bat: If their fc.exe returns a meaningful exit status,
2099         don't overwrite src/config.h and src/epaths.h with identical
2100         copies.
2102         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2103         changes.  Add a pointer to another site with detailed configure
2104         and build instructions.  Suggest to look at config.log when
2105         configure fails.  Add MinGW Make 3.80 to the list of successful
2106         combinations.
2108         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2109         "-mcpu=i686".
2111         * configure.bat: Update copyright years.
2112         Delete config.log before doing anything else.
2113         Write additional diagnostics to config.log in case of failures to
2114         compile test programs, including the failed test program itself.
2115         Add a test for support of -mtune=pentium4 switch to GCC; if it is
2116         supported, set up MCPU_FLAG variable on the various Makefiles to
2117         use that switch during compilations.  (This avoids GCC warning
2118         about -mcpu being deprecated.)
2120 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
2122         * addsection.c (copy_executable_and_add_section): Pass non-zero
2123         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2124         environment.  Print section names with %.8s.
2125         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2126         only if non-zero.  All callers changed.
2128 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
2130         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2131         `const void *', for consistency with POSIX.
2133 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
2135         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2137 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
2139         * INSTALL: Add more pointers to ports of Unix tools to Windows,
2140         and to the Emacs Wiki (which contains building instructions for
2141         Windows).  Reword image library instructions and remove obsolete
2142         incompatibility information.
2144 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
2146         * config.nt (HAVE_PWD_H): Undef.
2148 2004-06-07  Juanma Barranquero  <lektu@terra.es>
2150         * INSTALL: Clarify paragraph about compatibility between image
2151         libraries and builds of Emacs with several compilers.
2153 2004-06-06  Juanma Barranquero  <lektu@terra.es>
2155         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2156         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2157         calling non-existent cmdproxy.exe on bootstrapping after a
2158         previous install followed by realclean.
2160         * nmake.defs: Add quote in comment to resync font-locking.
2162 2004-06-04  Juanma Barranquero  <lektu@terra.es>
2164         * INSTALL: Reword the section on image support.  Add reference to
2165         GnuWin32.  Mention problems when mixing binaries from different
2166         compilers.
2168 2004-05-06  Jason Rumney  <jasonr@gnu.org>
2170         * configure.bat: Use -mno-cygwin to check for image libraries
2171         when needed.
2173 2004-05-03  Jason Rumney  <jasonr@gnu.org>
2175         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2176         * makefile.def: Remove.
2178         * nmake.defs (SYS_LDFLAGS): Add -nologo.
2180         * makefile.w32-in (info-gmake, info-nmake): New targets.
2181         (info): Use them.
2183 2004-04-23  Juanma Barranquero  <lektu@terra.es>
2185         * nmake.defs:
2186         * gmake.defs:
2187         * makefile.w32-in:
2188         * makefile.def:
2189         * makefile.nt: Add "-*- makefile -*-" mode tag.
2191 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
2193         * runemacs.c (WinMain): Let Emacs environment default to parent.
2195 2004-03-11  Jason Rumney  <jasonr@gnu.org>
2197         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2199 2004-03-10  Juanma Barranquero  <lektu@terra.es>
2201         * makefile.w32-in (install): Don't try to copy
2202         ../lib-src/fns-*.el, as it isn't used anymore.
2204 2004-01-28  Peter Runestig  <peter@runestig.com>
2206         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2208 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
2210         * .cvsignore: Add `.arch-inventory'.
2212 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
2214         * inc/grp.h: New file.
2216 2003-09-03  Peter Runestig  <peter@runestig.com>
2218         * configure.bat: Create ``makefile'' in directories man, lispref
2219         and lispintro.
2221         * makefile.w32-in (force-info, info): New targets.
2223         * envadd.bat: New file.
2225         * multi-install-info.bat: New file.
2227 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
2229         * config.nt (my_strftime): New define.
2231 2003-02-01  Jason Rumney  <jasonr@gnu.org>
2233         * configure.bat: Automatically detect libXpm.
2234         Suppress compiler output when testing for image libraries.
2235         Give names of un-found libraries in messages.
2237 2003-01-31  Juanma Barranquero  <lektu@terra.es>
2239         * configure.bat: Automatically detect giflib and tifflib.
2241 2003-01-29  Jason Rumney  <jasonr@gnu.org>
2243         * gmake.defs (CURDIR): Disable cygpath kludge.
2245 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
2247         * configure.bat: Avoid endless loop when configuring without image
2248         support.
2250 2003-01-26  Jason Rumney  <jasonr@gnu.org>
2252         * configure.bat: Automatically detect jpeglib.
2254 2003-01-25  Jason Rumney  <jasonr@gnu.org>
2256         * configure.bat: Automatically detect libpng.
2258 2003-01-21  Jason Rumney  <jasonr@gnu.org>
2260         * icons/hand.cur: New file.
2262 2003-01-21  David Ponce  <david@dponce.com>
2264         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2266 2003-01-15  Andrew Innes  <andrewi@gnu.org>
2268         * gmake.defs (CURDIR): Convert to native Windows format (with
2269         forward slashes), to support building with Cygwin builds of make.
2271 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
2273         * nmake.defs:
2274         * gmake.defs: Made changes so that Emacs would link with
2275         WinMM.lib.  This change was required for my addition of a Windows
2276         compatible implementation of play-sound-internal.
2278 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
2280         * emacs.rc: Version updated to 21.3.50.
2282 2002-06-13  Jason Rumney  <jasonr@gnu.org>
2284         * addpm.c (env_vars): Remove EMACSLOCKDIR.
2286         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2287         (maybe-bootstrap-SH): New targets.
2288         (all): Depend on maybe-bootstrap.
2290 2002-05-03  Jason Rumney  <jasonr@gnu.org>
2292         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2293         (sys_getpeername, fcntl): Declare as wrappers.
2295 2002-04-10  Juanma Barranquero  <lektu@terra.es>
2297         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2298         after compiling .el files.
2300 2002-03-20  Jason Rumney  <jasonr@gnu.org>
2302         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2303         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2305 2002-03-19  Kim F. Storm  <storm@cua.dk>
2307         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2308         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2309         (HAVE_SYS_UN_H): Undef.
2310         From David Ponce <dponce@voila.fr>.
2312 2002-03-13  Jason Rumney  <jasonr@gnu.org>
2314         * config.nt (STRFTIME_NO_POSIX2): Define.
2316 2002-02-18  Jason Rumney  <jasonr@gnu.org>
2318         * emacs.rc: Define VS_VERSION_INFO if not already.
2319         Update version info.
2321 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2323         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2324         pick up relevant bits of the Windows API definitions.
2326         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2327         pick up relevant bits of the Windows API definitions.
2329 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2331         * makefile.w32-in (bootstrap): Build addsection program before
2332         bootstrap (required for post-processing temacs.exe).
2334 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2336         * COPYING: New file.
2338 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2340         * makefile.w32-in (bootstrap-nmake):
2341         (bootstrap-gmake): Extend bootstrap process to first do
2342         bootstrap-clean in lisp dir and rebuild the DOC file.
2343         (bootstrap): Do a "normal" make after the bootstrap work.
2345 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2347         * INSTALL: Update table of versions of make that are suitable
2348         for building Emacs, based on recent feedback.
2350         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2352 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2354         * ftime-nostartup.bat: New file.
2356         * ftime.bat: Don't include libc.lib for profiling - the profiler
2357         corrupts part of memcpy.
2359 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2361         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2362         expansion.  From Juanma Barranquero <lektu@terra.es>.
2364 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2366         * (Version 21.1 released.)
2368 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2370         * inc/pwd.h (uid_t, gid_t): New typedefs.
2372 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2374         * Branch for 21.1.
2376 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2378         * README: Update the address of the mailing list and subscription
2379         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2381 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2383         * INSTALL: Suggest to avoid using WinZip.
2385         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2387 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2389         * INSTALL: Mention that "make install" can be "nmake install".
2391 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2393         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2394         since some versions of `mkdir' don't automatically create parent
2395         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2397 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2399         * subdirs.el: New file.
2401         * configure.bat: Copy subdirs.el to the site-lisp directory.
2403         * makefile.w32-in (install): Copy subdirs.el to the installation
2404         directory.
2406 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2408         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2410 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2412         * gmake.defs (sh_output): Don't use $(warning ...) to output
2413         messages, since that is not supported by GNU make 3.77.
2415 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2417         * INSTALL: Clarify that building with MSVC requires nmake.
2419 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2421         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2422         message that is to be ignored.
2424 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2426         * TODO: Remove file, since it is completely out of date.
2428         * README: Add copyright notice.
2430         * INSTALL: Add copyright notice.
2432 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2434         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2435         the environment.
2437         * gmake.defs (SETLOADPATH): Remove definition.
2438         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2439         environment.
2441 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2443         * configure.bat: Make the checkw32api* labels be distinct in the
2444         first 8 characters.
2446 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2448         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2449         escaped quotes.
2451         * gmake.defs (DEBUG_LINK): New macro.
2452         (LINK_FLAGS): Use it.
2454         * nmake.defs (DEBUG_LINK): New macro.
2455         (LINK_FLAGS): Use it.
2457 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2459         * INSTALL: Add --ldflags to configure line for building with
2460         recent versions of Cygwin GCC.
2462 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2464         * configure.bat: Use correct options when compiling a test program
2465         with Cygwin.  From David Ponce <dponce@voila.fr>.
2467 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2469         * _emacs: Remove obsolete file.
2471         * emacs.bat.in: Remove obsolete file.
2473         * debug.bat.in: Remove obsolete file.
2475         * inc/sys/socket.h: Add copyright notice.
2477         * paths.h: Add copyright notice.
2479         * makefile.nt: Update copyright notice.
2481         * makefile.def: Update copyright notice.
2483         * configure.bat: Update copyright notice.
2485         * nmake.defs: Add copyright notice.
2487         * gmake.defs: Add copyright notice.
2489         * makefile.w32-in: Add copyright notice.
2491 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2493         * nmake.defs (THISDIR): New definition.
2495         * gmake.defs (THISDIR): New definition.
2497 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2499         * configure.bat: Leave a space before >> only when there is a
2500         preceding digit.  Add a comment about the importance of this.
2502         * README: Replace outdated information.
2504         * INSTALL (Trouble-shooting): Add note about need to specify extra
2505         compiler flags with recent Cygwin ports of gcc.
2507 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2509         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2510         is not supported by Windows 9X's COMMAND.COM.
2512 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2514         * configure.bat: Make sure redirection is preceded by a blank, to
2515         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2516         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2518 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2520         * INSTALL: Copy the table of tested combinations of development
2521         tools from configure.bat.  Add suggestion to install Bash on
2522         Windows 9X.
2524         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2525         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2526         needs to be deleted, since command.com in Windows 9X doesn't grok
2527         more than one argument.
2529 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2531         * makefile.w32-in (cleanall-other-dirs-nmake):
2532         (cleanall-other-dirs-gmake): New targets.
2533         (cleanall): Invoke them.
2535 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2537         * addpm.c (env_vars): Add a version-independent site-lisp
2538         directory to EMACSLOADPATH, after the version dependent one.
2540 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2542         * README: Update info about compilers.
2544         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2545         select correct rule for invoking make in another directory.
2546         Amend rules accordingly.
2547         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2549         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2550         (COMPILER_TEMP_FILES): New definition.
2551         (MAKETYPE): New definition.
2553         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2554         (COMPILER_TEMP_FILES): New definition.
2555         (MAKETYPE): New definition.
2557         * makefile.def (EMACS_ICON_PATH): Delete definition.
2559         * configure.bat: Be careful not to add trailing spaces when
2560         outputting to config.settings.
2562 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2564         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2565         than the function.
2567 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2569         * makefile.w32-in (install): Copy directories to the correct
2570         places.
2571         (real_install): Remove obsolete target.
2573 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2575         * nmake.defs (CURDIR): New define.
2576         (INSTALL_DIR): Use it.
2578         * gmake.defs (NEW_CYGWIN): New define.
2579         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2580         so we need to adjust how we escape embedded quotes.
2581         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2582         relative to $(CURDIR).
2584 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2586         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2588 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2590         * makefile.w32-in (recompile): New target to recompile lisp
2591         directory.
2592         (recompile-CMD, recompile-SH): New support targets.
2594 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2596         * config.nt (NO_RETURN): Define it.
2598 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2600         * gmake.defs: Revert to Unix line endings.
2602         * nmake.defs: Revert to Unix line endings.
2604 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2606         * gmake.defs (SETLOADPATH): Change definition to work from any
2607         subdirectory.
2609 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2611         * makefile.w32-in: Revert to Unix line endings.
2613 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2615         * INSTALL: Add note about expected error messages when configure
2616         is run.
2618         * configure.bat: Simplify the generation of makefiles (don't need
2619         to generate various top-level targets that invoke make in other
2620         directories).
2622         * gmake.defs (SHELLTYPE): New define.
2623         (SETLOADPATH): New define.
2625         * nmake.defs (SHELLTYPE): New define.
2627         * makefile.w32-in: Standardize indentation somewhat.
2628         Add bootstrap support.
2629         Pass $(MFLAGS) when invoking make recursively.
2630         Add shell-specific variants of top-level targets that invoke make
2631         recursively in other directories, and add necessary computed
2632         dependencies.
2634 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2636         * makefile.w32-in: Change to DOS line endings.
2638         * configure.bat: Change to DOS line endings.
2640         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2641         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2643         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2644         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2646         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2647         -D_ANONYMOUS_STRUCT on compile line.
2648         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2649         (ARCH_CFLAGS): Change optimization flags to -O2.
2650         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2651         (ARGQUOTE, DQUOTE): New defines.
2653         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2654         -D_ANONYMOUS_STRUCT on compile line.
2655         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2656         (ARGQUOTE, DQUOTE): New defines.
2658 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2660         * configure.bat: New file.
2662         * gmake.defs: New file.
2664         * nmake.defs: New file.
2666         * makefile.w32-in: New file.
2668         * INSTALL: Rewrite to match new configure process.
2670         * config.nt [WINDOWSNT]: Don't declare getenv.
2671         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2673         * addpm.c (main): Accept /q to mean install based on addpm's
2674         location without asking.  Remove reference to emacs.bat which is
2675         now obsolete.
2677         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2679         * paths.h: Use forward slash as directory separator in all path
2680         definitions.
2681         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2683         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2685         * runemacs.c: Remove WIN32 define.
2687         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2688         not defined.
2690         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2691         (fd_set): Define to new name, after including winsock.h, so we can
2692         provide our own implementation.
2694 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2696         * ebuild.bat: Add support for specifying make arguments.
2698         * makefile.nt: Add support for `bootstrap' and related targets.
2700 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2702         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2704 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2706         * inc/sys/time.h: Add inclusion protection.
2708         * makefile.def (SYS_LDFLAGS): Add -nologo.
2710 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2712         * install.bat: Pass on command line arguments to make.
2714         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2716 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2718         * makefile.nt (all): Build leim if present.
2719         (install): Install leim if present.
2720         (clean): Clean leim if present.
2722         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2723         definition.
2725         * emacs.bat.in (EMACSLOADPATH): Include leim.
2727 1999-07-12  Richard Stallman  <rms@gnu.org>
2729         * Version 20.4 released.
2731 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2733         * emacs.rc: Use an icon with a transparent background, to be in
2734         keeping with other applications.
2736 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2738         * preprep.c: Fix typo.
2740 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2742         * config.h: Remove obsolete file.
2744         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2745         couple of unused switch cases that aren't defined on all
2746         platforms.
2748         * ftime.bat: Add another variation of the profile command, which
2749         only profiles extended commands.
2751 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2753         * cmdproxy.c (main): Fix parens.
2755 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2757         * cmdproxy.c (main): Call GetShortPathName to normalize program
2758         names for comparison.
2760 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2762         * makefile.def: Compile multiple .c files when possible.
2763         Use BLD instead of assuming i386.
2764         * makefile.nt: Remove common multiple file compilation commands.
2766 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2768         * cmdproxy.c (main): Add missing parens.
2770 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2772         * preprep.c: New program to allow dumped image to be profiled.
2774         * makefile.nt (preprep): New target.
2775         (ALL): Build it.
2777         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2779         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2780         Change prep options to profile libc functions and skip the startup
2781         code.
2783 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2785         * makefile.nt: Create installation directory as first step.
2787 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2789         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2790         ROUND_UP_DST.  Zeroes the alignment slop.
2791         (copy_executable_and_add_section): Update the
2792         SizeOfHeaders field properly.
2794 1999-01-27  Andrew Innes  <andrewi@gnu.org>
2796         * makefile.nt: Do make version comparison as strings.
2798 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
2800         * runemacs.c (WinMain): Pass explicit environment block to
2801         CreateProcess, to work around a bug in Windows 95/98.
2803 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
2805         * icons: New directory with Davenport's icons.
2806         * icons/sink.ico: Renamed from emacs.ico.
2808         * makefile.nt (install, fast_install): Install Windows icons
2809         into etc/icons.
2811         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2813 1999-01-17  Andrew Innes  <andrewi@gnu.org>
2815         * makefile.nt (ALL): List top-level targets.
2816         (addsection): New top-level target.
2817         (install): Copy fns-*.el to bin directory.
2819         * addsection.c: New program to add static heap section to
2820         temacs.exe after linking, in support of new unexec method.
2822 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
2824         * cmdproxy.c (spawn): Pass directory for child as parameter.
2825         (main): Save startup directory to give to spawn, then change
2826         directory to location of .exe in order not to prevent startup
2827         directory from being deleted.
2829 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
2831         * makefile.nt: Do string comparison of _NMAKE_VER.
2833 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
2835         * config.nt (LOCALTIME_CACHE): Define.
2837 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
2839         * install.bat: Convert to DOS format.
2841 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
2843         * cmdproxy.c (main): Set environment size only when running
2844         command.com.
2846 1998-11-03  Theodore Jump  <tjump@tertius.com>
2848         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
2849         (DEL_TREE): Use rd instead of rmdir.
2850         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
2851         * makefile.nt: Compile multiple source files when possible.
2853 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
2855         * cmdproxy.c (main): Treat command line options as case-insensitive.
2857 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
2859         * Version 20.3 released.
2861 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
2863         * addpm.c (main): Explicitly check result of message box for OK.
2865 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
2867         * inc/sys/file.h (D_OK): Define new macro.
2869 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
2871         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
2873 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
2875         * emacs.rc (VS_VERSION_INFO): Define.
2877 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
2879         * makefile.nt (emacs.bat, debug.bat): Create them in the
2880         installation directory.
2882 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
2884         * ddeclient.c: New file.  (Support program for performing limited
2885         interprocess communication on Windows.)
2887         * makefile.nt: Build ddeclient.
2889         * cmdproxy.c (main): Only set environment size for real shell, and
2890         provide extra directory argument, when running on Windows 95.
2892 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
2894         * cmdproxy.c (fail): Exit with a negative return value.
2895         (spawn): Return subprocess return code as an argument.
2896         Explicitly copy environment block.
2897         (main): Update to use return value argument with spawn.
2898         Retry if spawn failed when a subshell was not tried.
2900         * config.nt: Include new macros from src/config.in.
2901         (GNU_MALLOC, REL_ALLOC): Define.
2902         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
2903         (RE_TRANSLATE): Use char_table_translate.
2905         * makefile.def (CP_DIR): Preserve attributes.
2907         * makefile.nt (clean): Delete patch generated files, optimized
2908         build directory.
2910 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
2912         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
2914 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2916         * Version 20.2 released.
2918 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2920         * Version 20.1 released.
2922 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
2924         * debug.bat.in: New file.
2925         * makefile.nt (debug.bat): New target.
2927 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
2929         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
2930         Quote group name.  Allow different icons to be specified.
2932         * cmdproxy.c (get_env_size): New function.
2933         (spawn): Explicitly pass in environment when creating subprocess.
2934         (main): Cleanup error messages.
2935         Specify dynamically sized environment block for real shell.
2936         Pass on unhandled switches to real shell.
2937         Quote program name.
2939         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
2940         directory.
2941         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
2943         * runemacs.c (WinMain): Allow Emacs process to be started with
2944         high or low priority.
2946         * emacs.bat.in: Remove OS dependent operations.
2948 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
2950         * addpm.c (env_vars): No longer set INFOPATH.
2952         * cmdproxy.c (get_next_token): Null terminate token returned.
2954         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
2956 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
2958         * addpm.c (env_vars): Set SHELL to cmdproxy.
2959         (main): Initialize idDde to 0.
2960         Determine emacs_path from module file name.
2961         Prompt for install.
2963         * makefile.def (MSVCNT11): Conditionally define it.
2964         (BASE_LIBS): Do not use oldnames.lib.
2965         (SYS_LDFLAGS): Use pdb files.
2966         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
2967         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
2968         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
2970         * makefile.nt (ALL): Build cmdproxy.
2971         (cmdproxy): New target.
2972         (install): Install cmdproxy.
2974         * ftime.bat, debug.bat, cmdproxy.c: New files.
2976 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
2978         * inc/sys/socket.h (shutdown): Define.
2979         (sys_shutdown): Export.
2981 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2983         * config.nt (RE_TRANSLATE): Copy definition from config.in.
2985 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
2987         * config.nt: Update file comments.
2988         Update undefs added/removed in src/config.in.
2990 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
2992         * makefile.def, emacs.bat: Use windows95 and windowsnt instead
2993         of win95 and winnt, respectively.
2995 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
2997         * makefile.nt (real_install): Create site-lisp in installation dir.
2998         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
2999         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
3001 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3003         * Version 19.33 released.
3005 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
3007         * runemacs.c (WinMain): Put a space between the binary and its args.
3009 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3011         * Version 19.32 released.
3013 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
3015         * makefile.nt (clean): Use OBJDIR macro.
3017 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
3019         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3020         Not defined by default.
3021         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3022         (WinMain): Convert backslashes to slashes in env var values.
3024         * addpm.c (env_vars): Use slashes, not backslashes.
3026 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3028         * Version 19.31 released.
3030 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
3032         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3033         undo settings afterwards.
3035 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
3037         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3038         environment variable.
3040 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3042         * install.bat: Allow for optimized build.
3043         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3044         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3046 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3048         * addpm.c (REG_ROOT): Don't use a trailing backslash.
3049         (env_vars): Rename field emacs_path to emacs_dir.
3050         (main): Add link to runemacs instead of emacs.
3052         * install.bat: Check if INSTALL_DIR is passed as an argument.
3054         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3056         * makefile.nt: Build and install runemacs.exe.
3058         * runemacs.c: New file.
3060         * config.w95: File removed.
3062         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3063         inc/sys/socket.h, inc/sys/time.h: New header files.
3065         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3067 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
3069         * makefile.def (DEL): Defined.
3070         (DEL_TREE) [win95]: Defined.
3071         (SYS_LDFLAGS): Set executable versions to 3.10.
3073         * makefile.nt: Change uses of del to $(DEL).
3075 1996-01-17  Erik Naggum  <erik@naggum.no>
3077         * All files: Update FSF's address in comment preamble.
3079 1996-01-03  George V. Reilly  <georger@microcrafts.com>
3081         * emacs.ico: Now the proverbial kitchen sink icon.
3083 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3085         * Version 19.30 released.
3087 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
3089         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3091         * makefile.nt (install, fast_install, real_install, clean):
3092         Don't use switches to del not supported by Windows 95.
3094 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
3096         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3097         (install, fast_install): Change same-dir test to create test file in
3098         installation tree and thereby support read-only shares.
3099         (clean): Remove .pdb files.
3101         * makefile.def (NTGUI): New macro.
3102         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3104         * config.nt, config.w95: Update to latest src/config.in.
3106         * addpm.c (env_vars): New variable.
3107         (add_registry): New procedure.
3108         (main): Use values of configuration environment variables from
3109         the registry if defined, the process environment otherwise.
3111 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3113         * Version 19.29 released.
3115         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3117 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
3119         * makefile.nt: Define .c to .obj suffix rule.
3120         (addpm.obj): Compile directly, use CFLAGS.
3121         (addpm.exe): Link from addpm.obj.
3123         * makefile.def (MSVCNT11): Defined.
3124         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3125         (CFLAGS_COMMON): Defined.
3126         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3128 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
3130         * emacs.bat.in: Renamed from emacs.bat.
3131         (emacs_dir): Rename from emacs_path.
3132         Definition removed.
3134         * addpm.c: New file.
3135         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3136         (all): Depend upon $(BLD) and $(ALL).
3137         (install): Depend upon emacs.bat.
3138         Create program item for Emacs.
3139         (clean): Delete obj.
3140         (emacs.bat): Defined.
3141         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3143 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
3145         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3146         Add carriage returns; necessary for batch files on Windows 95.
3148 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
3150         * config.w95: Created.
3151         * config.h: Changed to config.nt.
3153         * makefile.nt (SUBDIRS): Commented out.
3154         (all, install, clean): Expand for-loops.
3155         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3157         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3158         (ARCH): New definition.
3159         (CPU, CONFIG_H, OS_TYPE): Defined.
3160         (INCLUDE, LIB): Checked if valid.
3161         (ntwin32.mak): Included.
3162         (AR, CC, LINK): New definition.
3163         (ADVAPI32, libc, BASE_LIBS): Defined.
3164         (SYS_LDFLAGS): New definition.
3165         Update comments and preprocessor conditionals.
3167         * emacs.bat (SHELL): Conditionally defined.
3168         (HOME): Conditionally defined.
3169         (emacs_path, HOME): Update comments.
3170         Turn off all echo.
3172 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
3174         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
3175         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
3176         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
3177         inc/sys/param.h: Removed carriage-returns.
3179 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
3181         * makefile.def (CVTRES): Defined.
3183         * emacs.ico, emacs.rc: New files by Kevin Gallo.
3185 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
3187         * src: Remove directory.
3189         * src\config.h, src\paths.h: Moved to parent dir, src removed.
3191 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
3193         * makefile.def (INSTALL_DIR): Change to generic directory.
3195         * emacs.bat: Added arguments when emacs.exe invoked.
3197         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3199 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
3201         * makefile.def (CC): In configuration section.
3202         (COMPAT_LIB): Defined.
3204 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
3206         * src/paths.h: New file.
3208         * src/config.h: New file.
3210         * inc/pwd.h: New file.
3212         * inc/sys/dir.h: New file.
3214         * inc/sys/file.h: New file.
3216         * inc/sys/ioctl.h: New file.
3218         * inc/sys/param.h: New file.
3220         * todo: New file.
3222         * README: New file.
3224         * makefile.nt: New file.
3226         * makefile.def: New file.
3228         * install.cmd: New file.
3230         * INSTALL: New file.
3232         * fast-install.cmd: New file.
3234         * emacs.cmd: New file.
3236         * ebuild.cmd: New file.
3238         * _emacs: New file.
3240 ;; Local Variables:
3241 ;; coding: utf-8
3242 ;; add-log-time-zone-rule: t
3243 ;; End:
3245   Copyright (C) 1995-1999, 2001-2013 Free Software Foundation, Inc.
3247   This file is part of GNU Emacs.
3249   GNU Emacs is free software: you can redistribute it and/or modify
3250   it under the terms of the GNU General Public License as published by
3251   the Free Software Foundation, either version 3 of the License, or
3252   (at your option) any later version.
3254   GNU Emacs is distributed in the hope that it will be useful,
3255   but WITHOUT ANY WARRANTY; without even the implied warranty of
3256   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3257   GNU General Public License for more details.
3259   You should have received a copy of the GNU General Public License
3260   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.