Fix MS-Windows build.
[emacs.git] / nt / ChangeLog
blobcf0853c7045764f79e3a4d47851e43780f3320cd
1 2013-08-26  Eli Zaretskii  <eliz@gnu.org>
3         * inc/sys/socket.h: Include stdint.h.  Include sysselect.h instead
4         of w32.h.
6 2013-08-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8         * configure.bat: Rather than disabling, make configure.bat produce
9         some warning that building with configure.bat is deprecated and
10         ask for confirmation to continue.
12 2013-08-25  Glenn Morris  <rgm@gnu.org>
14         * INSTALL: Refer to INSTALL.MSYS.
15         * configure.bat: Disable it.
17 2013-08-04  Eli Zaretskii  <eliz@gnu.org>
19         * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
21         * inc/ms-w32.h (mkostemp): Declare prototype.
22         (mktemp): Don't redirect to sys_mktemp.
24         * config.nt (HAVE_MKOSTEMP): Define to 1.  (Bug#15015)
26 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
28         * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
29         (FD_CLOEXEC): New macros.
31 2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>
33         Make file descriptors close-on-exec when possible (Bug#14803).
34         * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
35         otherwise, gnulib-tool complains given close-on-exec changes.
36         * inc/ms-w32.h (pipe): Remove.
37         * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
38         (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
40 2013-06-25  Juanma Barranquero  <lekktu@gmail.com>
42         * configure.bat: Add warning to the help text about using the
43         MSYS/MinGW building procedure.
45 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
47         * INSTALL.MSYS: mingw-get is not a GUI program (yet).
48         msys-automake is not suitable for MinGW builds.  Mention the
49         --enable-locallisppath switch to msysconfig.sh.  Suggested by
50         Óscar Fuentes <ofv@wanadoo.es>.
52 2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)
54         * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
56 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
58         * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
60 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
62         * inc/sys/time.h (struct timeval): Remove the _W64 guards.
64 2013-06-01  Eli Zaretskii  <eliz@gnu.org>
66         * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
67         avoid multiple definition errors on MinGW64.
69 2013-05-31  Eli Zaretskii  <eliz@gnu.org>
71         * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
72         'restrict', which is a C99 extension.  See
73         http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
74         and the following discussion for the problem this caused in the
75         old nt/configure.bat build.
77 2013-05-29  Eli Zaretskii  <eliz@gnu.org>
79         * Makefile.in (emacs.res): Include srcdir when preprocessing
80         resources, for out-of-tree builds.
81         (mostlyclean): Remove *.res files.
83 2013-05-17  Eli Zaretskii  <eliz@gnu.org>
85         * runemacs.c (WinMain): Support invocation of un-installed
86         nt/runemacs.exe, by looking for src/emacs.exe.
88 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
90         * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.  (Bug#14409)
92         * msysconfig.sh: New file.
94         * mingw-cfg.site: New file.
96         * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
98         * inc/unistd.h: Include pwd.h and sys/types.h.
100         * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
101         (timerclear): Define.
102         (gettimeofday): Adjust signature to be Posix compatible, by using
103         the 'restrict' keyword.
105         * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
106         (struct _stat, struct _stati64): Define.
108         * inc/sys/socket.h (timeval): Define only for MSVC.
109         (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
110         EMACS_CONFIG_H is defined.
111         (timeval): Undefine only for MSVC.
113         * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
114         (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
115         (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
116         (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
117         (fileno): Move definition after including stdio.h.
118         (sigset_t): Guard typedef by _W64.
120         * gnulib.mk: New file.
122         * epaths.nt: New file.
124         * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
125         copy of the file names there.
126         <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
127         literal strings.
129         * Makefile.in: New file.
131         * INSTALL.MSYS: New file.
133         * INSTALL: Mention INSTALL.MSYS.
135 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
137         * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
139 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
141         * config.nt: Sync with autogen/config.in.
142         (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
143         (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
144         (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
145         (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
146         (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
147         (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
148         (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
149         (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
150         (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
151         (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
153 2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
155         Use Gnulib ACL implementation, for benefit of Solaris etc.  (Bug#14295)
156         * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
157         * inc/ms-w32.h (EOPNOTSUPP): New macro.
159 2013-04-09  Ken Brown  <kbrown@cornell.edu>
161         * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
162         (Bug#12993)
164 2013-04-01  Eli Zaretskii  <eliz@gnu.org>
166         * README: A better documentation of ddeclient.exe.
168         * README.W32: A better documentation of ddeclient.exe.
170         * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
171         subdirectories.
173 2013-03-30  Eli Zaretskii  <eliz@gnu.org>
175         * inc/ms-w32.h (TERM_HEADER): Remove definition.
177         * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
178         ms-w32.h.
180 2013-03-29  Eli Zaretskii  <eliz@gnu.org>
182         * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
184         * config.nt (HAVE_COPYSIGN): Define.
186 2013-03-29  Juanma Barranquero  <lekktu@gmail.com>
188         * config.nt: Sync with autogen/config.in.
189         (HAVE_XKBGETKEYBOARD): Remove.
190         (HAVE_XKB): New macro.
192 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
194         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
195         (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
196         Depend on .exe files.
198         * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
199         avoid MinGW64 compiler warnings in editfns.c.
201         Fix rules for parallel builds.
202         * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
203         without the .exe suffix.
204         (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
205         targets.
206         (.PHONY): Remove.
208         * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
209         headers, since that's where _W64 is declared by MinGW64.
211 2013-03-26  Eli Zaretskii  <eliz@gnu.org>
213         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
214         (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
216         * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
217         define for MinGW64.
219         * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
220         for MinGW64.
222         Fix more incompatibilities between MinGW.org and MinGW64 headers
223         reported by Óscar Fuentes in
224         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
225         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
226         and in
227         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
228         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
229         For MinGW64, include sys/types.h and time.h.
230         (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
232         * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
234         * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
235         _W64.
236         (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
237         _TIMEZONE_DEFINED.
239         * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
241         * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
242         lstat, and fstatat.
244 2013-03-25  Eli Zaretskii  <eliz@gnu.org>
246         Fix incompatibilities between MinGW.org and MinGW64 headers
247         reported by Óscar Fuentes in
248         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
249         * inc/ms-w32.h (struct timespec): Don't define if
250         _TIMESPEC_DEFINED is already defined.
251         (sigset_t) [!_POSIX]: Typedef for MinGW64.
252         (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
253         including the first system header, to avoid redefinition if some
254         system header defines a default value.
256         * inc/sys/time.h (struct itimerval): Don't define if
257         _TIMESPEC_DEFINED is already defined.
259 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
261         Fix the MSVC build.  (Bug#13939)
262         * inc/stdint.h (UINTPTR_MAX): Define.
264         * nmake.defs (libc): Fix syntax of !if conditional.
266 2013-03-15  Juanma Barranquero  <lekktu@gmail.com>
268         * config.nt: Sync with autogen/config.in.
269         (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
270         (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
271         (HAVE_FDATASYNC): New macros.
273 2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
275         File synchronization fixes (Bug#13944).
276         * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
278 2013-03-05  Paul Eggert  <eggert@cs.ucla.edu>
280         FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
281         * inc/unistd.h (O_NOFOLLOW): New macro.
283 2013-03-04  Juanma Barranquero  <lekktu@gmail.com>
285         * config.nt: Sync with autogen/config.in.
286         (DATA_START, ORDINARY_LINK): Remove.
287         (HAVE_DATA_START, HAVE__PUTENV): New macros.
289 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
291         * inc/ms-w32.h (BOOT_TIME_FILE): Define.
293         * config.nt (CLASH_DETECTION): Define to 1.
295 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
297         * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
298         (Bug#9066)
299         (chown, logb): Remove, unused.
301 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
303         * config.nt: Sync with autogen/config.in.
304         (GC_MARK_STACK): Remove.
305         (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
306         (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
307         (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
309 2013-02-12  Eli Zaretskii  <eliz@gnu.org>
311         * inc/ms-w32.h: Add prototype for memrchr.
313 2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
315         Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
316         * inc/sys/stat.h (fstatat):
317         * inc/unistd.h (readlinkat): New decls.
319 2013-01-28  Eli Zaretskii  <eliz@gnu.org>
321         * inc/dirent.h (opendir): Update prototype.
323 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
325         * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
326         used in term.c.  (Bug#13387)
328 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
330         * config.nt: Sync with autogen/config.in.
331         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
333 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
335         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
336         in lib/filemode.c that broke the MS-Windows build.
337         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
339 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
341         * config.nt: Sync with autogen/config.in.
342         (BSD4_2): Remove.
344 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
346         * inc/sys/acl.h: New file.
348         * inc/ms-w32.h (ENOTSUP): Define if undefined.
350         * config.nt (HAVE_POSIX_ACL): Define.
352 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
354         * inc/ms-w32.h (sys_unlink): Provide prototype.
356 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
358         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
360 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
362         * config.nt: Sync with autogen/config.in.
363         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
365 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
367         * config.nt: Sync with autogen/config.in.
368         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
369         (ULIMIT_BREAK_VALUE): Remove.
371 2012-12-10  Daniel Colascione  <dancol@dancol.org>
373         * emacs.rc: Use forward slashes in relative paths in order to
374         avoid complaints from Cygwin.  (Forward slashes work perfectly
375         well in the NT build.)
377 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
379         * inc/unistd.h (unsetenv): Provide a prototype.
381 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
383         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
384         (sys_putenv): Add prototype.
386         * config.nt (HAVE_UNSETENV): Define to 1.
388 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
390         * config.nt: Sync with autogen/config.in.
392 2012-11-24  Ken Brown  <kbrown@cornell.edu>
394         * config.nt (HAVE_MOUSE): Remove.
396 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
398         * config.nt: Sync with autogen/config.in.
399         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
400         Remove.
402 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
404         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
405         (Bug#12955)
407         * nmake.defs (SWITCHCHAR): Define to /.
409 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
411         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
412         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
413         (struct dirent): Rename from struct direct.  All uses changed.
414         * inc/sys/dir.h: Remove.
416 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
418         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
419         * config.nt (HAVE_GETCWD): Remove.
421 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
423         * nmake.defs: Use !if, not !ifdef.  For the details, see
424         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
426         * inc/stdint.h (INTPTR_MIN):
427         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
429 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
431         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
433 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
435         * config.nt: Sync with autogen/config.in.
436         (HAVE_FPATHCONF): Remove.
438 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
440         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
441         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
442         POSIX name for this flag is O_NONBLOCK.  All uses changed.
443         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
444         these really should be moved to a replacement <fcntl.h> if and
445         when that gets implemented.  In the meantime, include <fcntl.h>
446         to make sure we don't override its definitions.
448 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
450         * inc/sys/wait.h: New file, with prototype of waitpid and
451         definitions of macros it needs.
453         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
454         (sys_wait): Remove prototype.
456         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
458 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
460         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
461         to check if it's installed, redirect standard output and standard
462         error to the null device.
463         (ZIP_DIST): Don't build the "barebin" distribution.
465 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
467         * config.nt: Sync with autogen/config.in.
468         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
469         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
470         New macros.
472 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
474         * inc/unistd.h (faccessat): Add prototype.
475         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
476         2 moved from ms-w32.h.
478         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
480 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
482         Use faccessat, not access, when checking file permissions (Bug#12632).
483         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
484         (access): Remove.
485         (faccessat): New macro.
487 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
489         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
491 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
493         * config.nt: Sync with autogen/config.in.
494         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
495         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
497 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
499         * config.nt: Sync with autogen/config.in.
500         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
502 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
504         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
506 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
508         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
510         * config.nt (GETPGRP_VOID): Define to 1.
512 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
514         * config.nt: Sync with autogen/config.in.
516 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
518         * inc/pwd.h (getuid, geteuid): Add prototypes.
520         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
521         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
522         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
523         (sys_kill, getpagesize): Add prototypes for emulated functions.
525         * inc/grp.h (getgid, getegid): Add prototypes.
527         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
529         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
530         compiling with -std=gnu99.
532         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
533         could be used via --cflags switch to configure.bat.
535 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
537         * config.nt: Sync with autogen/config.in.
538         (HAVE_NTGUI): New macro.
540 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
542         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
543         compiler warnings when using the value.
545 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
547         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
548         'void *', for pointer arithmetics.
549         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
550         macro arguments in parentheses.
552 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
554         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
556 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
558         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
559         that are already defined.
561         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
562         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
563         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
565         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
566         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
567         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
568         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
569         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
570         Use DWORD_PTR instead of DWORD for compatibility with x64.
572         * nmake.defs: Support AMD64.
573         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
575         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
576         New macros.
578         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
579         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
580         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
581         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
582         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
583         DWORD, for compatibility with x64.
585         * emacs-x64.manifest: New file.
587         * emacs-x86.manifest: Renamed from emacs.manifest.
589 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
591         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
592         (struct itimerval): Define.
593         (getitimer, setitimer): Add prototypes.
595         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
596         with MinGW.
597         (SA_RESTART, SIGPROF): Define.
599         * config.nt (HAVE_SETITIMER): Define to 1.
601 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
603         * config.nt: Sync with autogen/config.in.
605 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
607         * config.nt: Sync with autogen/config.in.
608         (HAVE_TIMER_SETTIME): New macro.
610 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
612         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
614 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
616         Simplify and avoid signal-handling races (Bug#12471).
617         * inc/ms-w32.h (emacs_raise): New macro.
619 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
621         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
622         defined, as needed by giflib-5.0.0.  (Bug#12464)
624 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
626         * config.nt: Sync with autogen/config.in.
627         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
629 2012-09-17  Glenn Morris  <rgm@gnu.org>
631         * config.nt (COPYRIGHT): New.
633 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
635         Port _setjmp fix to POSIXish hosts as well as Microsoft.
636         * config.nt: Attempt to sync with autogen/config.in.
637         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
638         (_longjmp, _setjmp): Remove.
640 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
642         * config.nt: Sync with autogen/config.in.
643         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
644         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
645         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
647 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
649         * config.nt: Sync with autogen/config.in.
650         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
651         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
653 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
655         * configure.bat <use_extensions>: Don't leave it set in the
656         environment when the script exits.
658 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
660         * config.nt: Sync with autogen/config.in.
661         (NO_ABORT, SIGNAL_H_AHB): Remove.
663 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
665         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
667 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
669         * config.nt: Sync with autogen/config.in.
671 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
673         Simplify redefinition of 'abort' (Bug#12316).
674         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
676 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
678         * config.nt: Sync with autogen/config.in.
679         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
681 2012-09-01  Daniel Colascione  <dancol@dancol.org>
683         * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
685 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
687         * config.nt: Sync with autogen/config.in.
689 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
691         * config.nt: Sync with autogen/config.in.
692         (HAVE_POSIX_OPENPT): New macro.
694 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
696         * config.nt: Sync with autogen/config.in.
697         (_GL_INLINE_HEADER_BEGIN): Update.
699 2012-08-10  Glenn Morris  <rgm@gnu.org>
701         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
703 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
705         * config.nt: Sync with autogen/config.in.
706         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
707         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
709         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
711 2012-08-06  Glenn Morris  <rgm@gnu.org>
713         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
714         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
716 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
718         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
719         (PATH_DATA, PATH_DOC): Replace dummy directory names with
720         directories relative to %emacs_dir%.
721         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
722         to the use case of running un-installed Emacs.
724 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
726         * config.nt: Sync with autogen/config.in.
727         (DOS_NT, MSDOS): New macros.
728         (WRETCODE, wait3): Remove.
730         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
732 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
734         * inc/sys/stat.h (S_IFLNK): Define.
735         (S_ISLNK): A non-trivial definition.
736         (lstat): Prototype instead of a macro that redirects to 'stat'.
738 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
740         Use C99-style 'extern inline' if available.
741         * config.nt: Sync with autogen/config.in.
742         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
743         (_GL_INLINE_HEADER_END): New macros.
745 2012-08-02  Glenn Morris  <rgm@gnu.org>
747         * inc/ms-w32.h: Move here from ../src/s.
748         * config.nt (config_opsysfile): Change to <ms-w32.h>.
750 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
752         * config.nt: Sync with autogen/config.in.
753         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
754         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
755         New macros.
757 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
759         * config.nt: Sync with autogen/config.in.
760         Remove code moved to conf_post.h and include <conf_post.h>
761         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
762         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
764 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
766         * config.nt: Sync with autogen/config.in.
767         (HAVE_ENVIRON_DECL): New macro.
769 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
771         * inc/stdalign.h (_Alignas, alignas): Define.
773 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
775         Use Gnulib stdalign module (Bug#9772, Bug#9960).
776         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
778 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
780         * config.nt: Sync with autogen/config.in.
781         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
782         (SETUP_SLAVE_PTY): New macros.
784 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
786         * config.nt: Sync with autogen/config.in.
787         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
788         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
789         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
790         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
791         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
792         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
793         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
794         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
795         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
796         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
797         Set in src/s/ms-w32.h, not here.
799 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
801         * config.nt: Sync with autogen/config.in.
802         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
803         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
804         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
806 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
808         * config.nt: Sync with autogen/config.in.
810 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
812         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
814 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
816         * config.nt: Sync with autogen/config.in.
818 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
820         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
822 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
823             Eli Zaretskii  <eliz@gnu.org>
825         * config.nt: Complete rework to bring it in sync with autogen/config.in.
826         All Windows-specific code moved to src/s/ms-w32.h.
828 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
829             Eli Zaretskii  <eliz@gnu.org>
831         * configure.bat (enablechecking): Enable checks through src/config.h,
832         not the compiler's command line.
834         * nmake.defs (CHECKING_CFLAGS): Remove.
835         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
837         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
838         (CHECKING_CFLAGS): Remove.
839         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
841 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
843         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
844         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
845         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
846         (HAVE_MEMCMP): Remove, obsolete.
848 2012-06-30  Glenn Morris  <rgm@gnu.org>
850         * paths.h (PATH_SITELOADSEARCH): New.
852 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
854         * nmake.defs (CHECKING_CFLAGS):
855         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
857 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
859         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
861 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
863         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
864         * config.nt (_Noreturn): New macro.
865         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
866         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
868 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
870         * inc/sys/time.h (struct timespec): Don't define it here, it is
871         now defined in src/s/ms-w32.h.
873 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
875         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
876         * inc/sys/time.h (struct timespec): Define.
878 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
880         * makefile.w32-in (install-addpm): New target.
881         (dist): Depend on it.
882         (install-shortcuts): Depend on install-addpm instead of copying
883         addpm.exe as part of the recipe.  See
884         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
885         for the related problem and discussions.
887 2012-06-11  Glenn Morris  <rgm@gnu.org>
889         * config.nt (SYSTEM_TYPE): Define it.
891 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
893         * configure.bat (genmakefiles): Move the redirection away from the
894         end of the command, to avoid excess whitespace at the end of Make
895         variables created at configure time, and also avoid things like
896         "FOO1>>config.settings", where "1" gets interpreted as the file
897         descriptor and eaten up.  This fixes breakage introduced by the
898         last change, without reintroducing the bug fixed by that change.
900 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
902         * nmake.defs (MWINDOWS): Define as
903         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
904         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
906         * gmake.defs (MWINDOWS): Define as "-mwindows".
908 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
910         * config.nt (HAVE_SYSINFO): Remove; unused.
912 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
914         * inc/stdalign.h: New file.
916         * configure.bat: Ensure a space between %var% expansion and
917         redirection symbol '>', which breaks when %var% ends in a digit,
918         such as 1.
920 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
922         Remove src/m/*.
923         * config.nt: Do not include "m/intel386.h"; file was removed.
924         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
925         Move to src/lisp.h.
926         (EMACS_INT_MAX): New macro.
928 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
930         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
931         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
933         * config.nt (HAVE_FTIME): Remove undef; not needed.
935 2012-05-01  Glenn Morris  <rgm@gnu.org>
937         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
939 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
941         * makefile.w32-in: Fix typo (Bug#10261).
943 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
945         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
946         each runs makeinfo in its own subdirectory of 'doc'.
947         (info-gmake): Depend on these new targets.
949 2012-04-07  Glenn Morris  <rgm@gnu.org>
951         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
952         Bump version to 24.1.50.
954 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
956         * configure.bat: Support building with libxml2.
958         * INSTALL:
959         * README.W32: Add information about libxml2.
961 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
963         * makefile.w32-in: Convert to Unix EOL format.
964         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
965         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
966         (bootstrap-gmake): Invoke the "clean" and build targets in 2
967         separate commands, so they run in that order even under "make -j".
969 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
971         * config.nt: Discourage from defining HAVE_GETCWD.
973 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
975         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
976         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
977         on other (parallel) Make job's toes.
978         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
979         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
980         here.
981         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
982         Depend on create-tmp-dist-dir.
984         * nmake.defs (DIRNAME): New variable.
985         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
986         same-dir.tst.
988         * gmake.defs (DIRNAME): New variable.
989         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
990         same-dir.tst, to avoid conflicts between several (parallel) Make
991         jobs.
993 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
995         Prevent endless re-spawning of cmdproxy.exe when some of its
996         parent directories have access limitations.
998         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
999         and our own module name to short 8+3 aliases, if the original file
1000         names compare equal.  If GetShortPathName fails, compare the base
1001         names of the two file names, and only re-spawn the command line if
1002         the base-name comparison also fails.  (Bug#10674)
1004 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1006         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
1008 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
1010         * README.W32: Removed specific version information for libXpm
1011         included in the binary distribution for maintenance purposes.
1013 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
1015         * README.W32: Clarification for inclusion in source tarball (bug#9750).
1017         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1019         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1021         * makefile.w32-in (maybe-copy-distfiles)
1022         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1023         (create-tmp-dist-dir): Add to make --distfiles optional.
1024         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1026 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
1028         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1029         by other headers.
1031 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1033         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1034         (UINT64_MAX) [_WIN64]: Fix definition.
1035         (uintmax_t, intmax_t): Fix definitions.
1037         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1038         Provide correct definitions.
1040         * config.nt (HAVE_DECL_STRTOLL): Define.
1041         (va_copy) [_WIN64]: Provide a better definition.
1043 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
1045         * configure.bat: Fix typos.
1047 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
1049         * INSTALL: Elaborate on debugging fatal errors.
1051 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
1053         * README.W32: Update the GTK Windows download URL for libpng.
1055 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
1057         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1059 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
1061         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1062         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1063         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1064         (intmax_t, INT64_MAX): Add for MSVC.
1066         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1068 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
1070         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1072         Support MSVC build with newer versions of Visual Studio.
1073         * makefile.w32-in (clean-other-dirs-nmake)
1074         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1075         Update for current structure of doc/ subdirectories.
1077         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1079         * INSTALL: Update for newer versions of MSVC.
1081 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1083         Support MSVC build with newer versions of Visual Studio.
1084         * nmake.defs (USE_CRT_DLL): Define to 1.
1085         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1086         (D): New variable.
1088 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
1090         * runemacs.c (ensure_unicows_dll): New function, tries to load
1091         UNICOWS.DLL on Windows 9X.
1092         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1093         display a dialog to the effect that Emacs cannot be started.
1094         (Bug#8562)
1096 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
1098         * README.W32: Mention UNICOWS.DLL as prerequisite for running
1099         Emacs on Windows 9X.
1101 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
1103         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1104         distribution.  (Bug#9861)
1106 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
1108         * INSTALL: Update URL for GTK download page.
1110 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
1112         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1113         (Bug#9794) (Bug#641)
1115 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1117         * config.nt (HAVE_SNPRINTF): New macro.
1119 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1121         Assume freestanding C89 headers, string.h, stdlib.h.
1122         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1123         (STDC_HEADERS): Remove.
1124         Iinclude string.h, stdlib.h unconditionally.
1126 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
1128         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1129         [!__GNUC__]: New macros.
1131 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1133         Use 'inline', not 'INLINE'.
1134         * config.nt (INLINE): Remove.
1136 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
1138         * README.W32: Add information about GnuTLS libraries.
1140 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
1142         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1144 2011-05-07  Ben Key  <bkey76@gmail.com>
1146         * configure.bat: Renamed the fusercflags variable to escusercflags
1147         so that the variable name better matches its purpose, to be
1148         identical to usercflags with the exception that all quotes are
1149         escaped by the \ character.
1151         Renamed the fuserldflags variable to escuserldflags so that the
1152         variable name better matches its purpose, to be identical to
1153         userldflags with the exception that all quotes are escaped by
1154         the \ character.
1156         A new ESC_USER_CFLAGS variable is written to config.settings.
1157         This variable has the same value as the escusercflags variable.
1159         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1160         This variable is identical to the CFLAGS variable except that it
1161         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1163         These changes, along with some changes to src/makefile.w32-in,
1164         are required to extend my earlier fix to add support for
1165         --cflags and --ldflags options that include quotes so that it
1166         works whether make uses cmd or sh as the shell.
1168 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
1170         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
1171         definition of uintmax_t from here...
1172         * inc/stdint.h (uintmax_t): ...to here.
1173         (intptr_t) [!__GNUC__]: New typedef.
1175 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
1177         * config.nt: Prepare to configure 64-bit integers for older compilers.
1178         However, temporarily disable this change unless the temporary
1179         symbol WIDE_EMACS_INT is defined.
1180         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1181         "%I64d" work but long long and "%lld" do not.
1183 2011-05-05  Ben Key  <bkey76@gmail.com>
1185         * configure.bat: Added support for --cflags and --ldflags
1186         options that include quotes as long as command extensions are
1187         enabled.  Specifically when -I, -L, and similar flags are used
1188         to specify supplementary include and library directories a
1189         directory name that includes spaces may now be used if it is
1190         enclosed in quotes.
1192         * INSTALL: Documented the change to configure.bat.
1194 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1196         * INSTALL: Clarify GnuTLS support.
1198 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
1200         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1201         Define to 1 for MinGW of MSVC versions >= 1400.
1203 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
1205         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1207 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
1209         * inc/inttypes.h: New file.
1211         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1212         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1214 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1216         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1217         inside quotation marks and bail out.
1219 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1221         * cmdproxy.c (try_dequote_cmdline): New function.
1222         (main): Use it.
1224 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1226         * configure.bat: New options --without-gnutls and --lib, new build
1227         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
1228         library setup with trivial modifications.
1229         * INSTALL: Add instructions for GnuTLS support.
1230         * gmake.defs: Prefix USER_LIBS with -l.
1232 2011-04-15  Ben Key  <bkey76@gmail.com>
1234         * configure.bat: Modified the code that parses the --cflags and
1235         --ldflags options to support parameters that include the =
1236         character as long as they are enclosed in quotes.
1237         This functionality depends on command extensions.  Configure.bat now
1238         attempts to enable command extensions and displays a warning
1239         message if they could not be enabled.  If configure.bat could
1240         not enable command extensions the old parsing code is used that
1241         does not support parameters that include the = character.
1243         * INSTALL: Updated the file to describe the new functionality
1244         using text provided by Eli Zaretskii.
1246 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
1248         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1249         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1250         on the trunk on 2011-04-06.
1252 2011-03-27  Glenn Morris  <rgm@gnu.org>
1254         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1256 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
1258         * addpm.c (main): Remove unused variable `retval'.
1260         * preprep.c (main): Remove unused variable `ptr'.
1262 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
1264         * cmdproxy.c: Include <ctype.h>.
1265         (make_absolute): Remove unused variable `i'.
1267 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
1269         * Version 23.3 released.
1271 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
1273         * inc/unistd.h (readlink, symlink): Declare prototypes.
1275 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
1277         * config.nt (nlink_t): Define.
1279 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
1281         * inc/stdint.h: New file, to support compilation with tool chains
1282         that do not have stdint.h (e.g. MSVC).
1284 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
1286         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1287         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1288         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1289         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1290         (lstat): Define to stat.
1292 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
1294         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1295         "make-docfile" target in lib-src, before bootstrapping the src
1296         directory.  Needed since building in src needs to run make-docfile
1297         to produce globals.h.
1299 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1301         * config.nt (inline) [__GNUC__]: Define (for gnulib).
1303 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1305         * config.nt (VERSION): Uncomment definition.
1306         (restrict): Define.
1308         * inc/stdbool.h: New file.
1310 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1312         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1313         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1314         (bootstrap-clean-gmake, clean-other-dirs-nmake)
1315         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1316         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1317         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1318         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1319         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1321         * configure.bat: Create lib/makefile.
1323         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1324         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1325         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1326         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1328 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1330         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1332 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1334         * configure.bat (end): Unset environment variables used by this
1335         batch file.
1337         * INSTALL: Update the information about PNG support libraries.
1338         (Bug#7716)
1340         * README.W32: Update the information about PNG support libraries.
1342 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1344         * config.nt (EXTERNALLY_VISIBLE): Define.
1346 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1348         * INSTALL: Refer to `dynamic-library-alist'.
1350 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1352         * INSTALL: Add note about problematic characters passed to configure.
1354 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1356         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1357         emacs-src.tags: New file.
1359         * gmake.defs: Add a comment with a single quote to fix
1360         fontification.  (Bug#7102)
1362 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1364         * configure.bat: Fix the condition for copying paths.h into
1365         ../src/epaths.h.
1367 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1369         * addpm.c (entry, add_registry, main):
1370         * addsection.c (file_data, open_input_file, open_output_file)
1371         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1372         (COPY_CHUNK):
1373         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1374         (skip_nonspace, get_next_token, search_dir, make_absolute)
1375         (spawn, main):
1376         * preprep.c (file_data, open_input_file, open_output_file)
1377         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1378         Use const char*.
1380         * cmdproxy.c (stdin): Don't define, not used.
1381         (main): Don't assign remlen after last use.
1383 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1385         * configure.bat: Err out when the argument of --cflags contains
1386         invalid characters (check implemented only for GCC).  (Bug#6820)
1388 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1390         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1392 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1394         * addpm.c (add_registry): Set path for runemacs.exe to use.
1396 2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
1398         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1399         which has a 1024 char limit on Windows (bug#6647).
1401 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1403         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1404         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1406 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1408         * config.nt: Remove code referring to NO_REMAP, unused.
1410 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1412         Build binary distros on Windows using emacs-VERSION as root dir name.
1414         * makefile.w32-in: Copy README.W32 to installation directory
1415         during `make install'.  Remove README.W32 with `distclean' (in
1416         case Emacs was installed in place).  Use temporary directory to
1417         create distribution zip files in `dist' target.
1418         * zipdist.bat: Simplify code using temporary directory.
1420 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1422         * runemacs.c (set_user_model_id): Fix prototype.
1424 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1426         New make target for Windows platform: make dist (bug#6602)
1428         * INSTALL: Document new dist target and add section about
1429         creating binary distributions.
1430         * README.W32: Relocate from admin/nt/ directory.
1431         * configure.bat: New parameter `--distfiles'.
1432         * makefile.w32-in: Add version number, new target `dist'.
1433         Add new target `install-shortcuts'.
1434         * zipdist.bat: New file; create zipped binary distribution,
1435         replaces admin/nt/makedist.bat.
1437 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1439         * INSTALL: Add note about backslashes in Windows paths.
1440         Fix typos.  Simplify references to Windows versions.
1442 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1444         * addpm.c (add_registry, main):
1445         * cmdproxy.c (get_env_size):
1446         * ddeclient.c (main):
1447         * runemacs.c (set_user_model_id):
1448         Convert definitions to standard C.
1450 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1452         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1454 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1456         * configure.bat: New option --enable-checking.
1457         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1458         (CFLAGS): Include it.
1460 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1462         * config.nt (volatile): Remove definition.
1464 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1466         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1467         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1469 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1471         * config.nt (__P): Remove.
1473 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1475         * config.nt: Remove code depending on BSTRING.
1477 2010-06-03  Glenn Morris  <rgm@gnu.org>
1479         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1481 2010-05-13  Glenn Morris  <rgm@gnu.org>
1483         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1485 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1487         * Version 23.2 released.
1489 2010-05-04  Glenn Morris  <rgm@gnu.org>
1491         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1493 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1495         * emacs.manifest: Add trustInfo section to Windows manifest.
1497 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1499         * Branch for 23.2.
1501 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1503         * emacsclient.rc: Fix format of "LegalCopyright" value.
1505 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1507         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1509 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1511         * INSTALL: Update for CVS->Bazaar switchover.
1513 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1515         * configure.bat: Add #define PROFILING to config.h.
1517 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1519         * runemacs.c (set_user_model_id): Use standard types.
1521 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1523         * runemacs.c (set_user_model_id): New function.
1524         (WinMain): Use it.
1526 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1528         * Branch for 23.1.
1530 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1532         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1533         st_gid to unsigned.
1535         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1536         to unsigned.
1537         (getpwuid): Argument is now unsigned.
1538         uid_t is now unsigned.
1540 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1542         * INSTALL: Add comment about TCC; fix typos.
1544 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1546         * emacsclient.rc, emacs.rc: Swap name and description.
1547         Remove Windows versions.
1549 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1551         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1553         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1555         * addpm.c (main): Try using COM to create start menu shortcuts
1556         before resorting to DDE (Bug#202)
1557         Remove second command-line argument.
1559 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1561         * configure.bat: Untabify help message.
1563 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1565         * configure.bat: New option --with-svg.
1567         * INSTALL: Document experimental SVG support.
1569 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1571         * config.nt (PTR): Remove.
1573 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1575         * config.nt (LISTPROC, PROCATTR): Remove.
1577 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1579         * config.nt (LISTPROC, PROCATTR): New macros.
1581 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1583         * config.nt (MULTI_KBOARD): Remove.
1585 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1587         * configure.bat: New option --profile.
1588         * gmake.defs: Set cflags and ldflags for profiling when specified.
1590 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1592         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1594 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1596         * config.nt (HAVE_FACES): Remove, unused.
1598 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1599             Eli Zaretskii  <eliz@gnu.org>
1601         * nmake.defs (FONT_CFLAGS):
1602         * gmake.defs (FONT_CFLAGS): Remove.
1603         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1604         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1605         and _CRTAPI1.
1606         (ARCH_FLAGS): Don't include _X86_.
1608         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1610 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1612         * config.nt: Remove reference to UNEXEC_SRC.
1614 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1615             Eli Zaretskii  <eliz@gnu.org>
1617         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1618         Don't hardcode -gstabs+, use DEBUG_INFO.
1620         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1621         Default to stabs if the compiler does not support DWARF-2.
1622         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1624 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1626         * configure.bat: Remove code dealing with --disable-font-backend.
1628 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1630         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1631         better alignment.  Make st_size 64-bit wide.  Add new members
1632         st_uname and st_gname.
1634         * inc/grp.h (struct group): Add gr_gid member.
1636 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1638         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1639         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1640         a real file there is not a good idea.
1642 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1644         * makefile.w32-in (CLIENTRES): New variable and build target.
1645         (all): Depend on it.
1646         ($(TRES)): Use $(TRES) in rule.
1648 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1650         * configure.bat (success): Print "make" rather than "gmake", as that
1651         is what MinGW uses.
1653 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1655         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1656         Add copyright notice.
1658 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1660         * emacsclient.rc: New file.
1662         * INSTALL: Document make targets.
1664 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1666         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1667         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1668         (top-distclean, distclean, distclean-other-dirs-nmake)
1669         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1670         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1672 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1674         * inc/sys/stat.h: New file.
1676         * configure.bat: Add check for usp10.h.
1678 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1680         * INSTALL: Update Windows API requirements.
1682 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1684         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1686 2008-03-13  Glenn Morris  <rgm@gnu.org>
1688         * emacs.rc: Set version to 23.0.60.
1690 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1692         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1693         (EMACS_EXTRA_C_FLAGS): Include it.
1694         * configure.bat (usefontbackend): Default to Y.
1695         (--enable-font-backend): Replace with --disable-font-backend.
1696         (:withfont): Replace with :withoutfont.
1698 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1700         * icons/emacs.ico: Full alpha for 32x32 full color.
1701         Add 32x32 and 16x16 256 color versions.
1703 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1705         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1707 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1709         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1711 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1713         * icons/README: Update.
1715         * icons/emacs.ico: New icon.
1717 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1719         * addpm.c: Include malloc.h.
1720         (add_registry): Cast return value of alloca.
1722 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1724         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1726 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1728         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1729         conditional on existence of junk.o.  If %nocygwin% is already set
1730         to Y, skip to chkapiN instead of chkapi.
1731         (chkapi): Move "rm -f junk.c junk.o" to here.
1732         (chkapiN): New label.
1734 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1736         * makefile.w32-in: Remove unidata-gen related rules.
1738 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1740         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1742 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1744         * addpm.c (add_registry): Add an App Paths registry key.
1745         Look for GTK and add it to the DLL search path for Emacs if found.
1747 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1749         * configure.bat: In help, use generic names for the image libraries.
1751 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1753         * .cvsignore: Don't ignore .arch-inventory.
1755 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1757         * configure.bat: Make gcc the default compiler.
1759 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1761         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1762         Ignore return status.
1764         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1765         it out of the way of Windows generated file.
1766         Generate admin/unidata/makefile.
1768         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1769         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1770         (unidatagen-clean-SH): New targets.
1771         (bootstrap-nmake): Invoke unidatagen-nmake.
1772         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1774 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1776         * configure.bat (withfont): Set sep1 after modifying usercflags.
1778 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1780         * configure.bat: Rename --with-font-backend to --enable-font-backend
1781         for consistency with other platforms.
1783 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1785         * configure.bat: Add --with-font-backend option.
1787 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1789         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1790         permissions to NTFS ACLs.
1792 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1794         * config.nt: Remove HAVE_X11R5.
1796 2007-10-22  Jason Rumney  <jasonr@gnu.org>
1798         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1799         (strings.h, stdlib.h): Conditionally include.
1800         (w32_abort): Declare here.
1801         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
1803 2007-10-20  Jason Rumney  <jasonr@gnu.org>
1805         * makefile.w32-in (info-nmake): Change into correct directories.
1807 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
1809         * configure.bat (docflags, doldflags): New variables.
1810         (genmakefiles): Use them to work around problems with whitespace
1811         in arguments of the `if' command.
1813 2007-10-18  Jason Rumney  <jasonr@gnu.org>
1815         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1817 2007-09-27  Jason Rumney  <jasonr@gnu.org>
1819         * gmake.defs (COMCTL32): New system library.
1821         * nmake.defs (COMCTL32): New system library.
1823 2007-09-06  Glenn Morris  <rgm@gnu.org>
1825         * configure.bat:
1826         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
1827         Change from ../man to ../doc/emacs and ../doc/misc; and from
1828         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
1830 2007-08-29  Glenn Morris  <rgm@gnu.org>
1832         * emacs.rc: Increase version to 23.0.50.
1834 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
1836         * makefile.w32-in (bootstrap-nmake): Change directories once more.
1838 2007-07-25  Glenn Morris  <rgm@gnu.org>
1840         * Relicense all FSF files to GPLv3 or later.
1842         * COPYING: Switch to GPLv3.
1844 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
1846         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
1847         Depend on cmdproxy.
1848         (cleanall): Don't delete *~.
1850 2007-07-15  Jason Rumney  <jasonr@gnu.org>
1852         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
1853         be fully supported.
1855 2007-07-14  Jason Rumney  <jasonr@gnu.org>
1857         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
1858         of winsock.h.
1860 2007-07-11  Jason Rumney  <jasonr@gnu.org>
1862         * gmake.defs (OLE32): New library to link.
1864         * nmake.defs (OLE32): Likewise.
1866 2007-06-25  Jason Rumney  <jasonr@gnu.org>
1868         * cmdproxy.c (main): Set console codepages to "ANSI".
1870 2007-06-20  Jason Rumney  <jasonr@gnu.org>
1872         * configure.bat: Complain if image libraries are missing.
1874 2007-06-15  Jason Rumney  <jasonr@gnu.org>
1876         * emacs.manifest: New file.
1878         * emacs.rc: Use it.
1880 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
1882         * Version 22.1 released.
1884 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
1886         * INSTALL: Add information about where to find GDB, and warn
1887         against --no-debug option to configure.bat.
1889 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
1891         * INSTALL: Fix URL of EmacsW32 site where building with image
1892         support is described.
1894 2007-04-26  Glenn Morris  <rgm@gnu.org>
1896         * emacs.rc: Increase version to 22.1.50.
1898 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
1900         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
1902 2007-03-09  Richard Stallman  <rms@gnu.org>
1904         * INSTALL: Say explicitly this is not for Cygwin.
1906 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
1908         * INSTALL: Add URL of another site with detailed build instructions.
1910 2007-02-16  Glenn Morris  <rgm@gnu.org>
1912         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
1913         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
1914         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
1915         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
1916         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
1917         Restore all but two of icons deleted in previous change.
1919 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
1921         * icons/README: New file.
1923         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
1924         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
1925         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
1926         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
1927         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
1928         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
1929         Unused icons deleted.
1931 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
1933         * configure.bat: Update ../site-lisp/subdirs.el when needed.
1935 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
1937         * subdirs.el: Add "no-byte-compile: t" local variable.
1939 2007-01-10  Jason Rumney  <jasonr@gnu.org>
1941         * README: Update URLs and advice about reporting bugs.
1943 2006-12-29  Jason Rumney  <jasonr@gnu.org>
1945         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
1946         DEBUG_LINK.
1947         (DEBUG_LINK): Remove -debugtype:both.
1949 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
1951         * INSTALL: Update table of supported Make ports.  Show "make -j"
1952         command that is known to work.
1954         * configure.bat: Update table of supported Make ports.
1956 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
1958         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
1959         only in implicit rules.  Use literal "emacs.rc" instead.
1961 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
1963         * gmake.defs: Export XMFLAGS.
1965         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
1966         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
1968 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
1970         * INSTALL: Explain how to invoke GNU Make for parallel builds.
1972         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
1973         command-line argument to sub-Make in src, since src/makefile.w32-in
1974         invokes Make recursively during bootstrap.
1975         (clean): Delete stamp_BLD.
1976         (bootstrap): Make `all' explicitly in a recursive Make.
1978         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1979         stamp_BLD after creating the $(BLD) directory.
1981         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1982         stamp_BLD after creating the $(BLD) directory.
1984         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
1985         (preprep, $(TRES), runemacs)
1986         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
1987         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1988         Depend on stamp_BLD instead of on $(BLD).
1989         (XMFLAGS): New macro.
1990         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
1991         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
1992         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
1993         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
1995 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
1997         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
1998         $(ALL_DEPS).
1999         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
2000         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2001         New dependency on $(BLD).
2002         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
2003         (bootstrap-gmake): Depend on addsection.
2005 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
2007         * runemacs.c (WinMain): Process all recognized arguments, not just
2008         the first one.  Remove unused variable sec_desc.
2010 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
2012         * config.nt (HAVE_LANGINFO_CODESET): Define.
2014         * inc/langinfo.h: New file.
2016         * inc/nl_types.h: New file.
2018 2006-09-15  Jay Belanger  <belanger@truman.edu>
2020         * COPYING: Replace "Library Public License" by "Lesser Public
2021         License" throughout.
2023 2006-07-27  Jason Rumney  <jasonr@gnu.org>
2025         * INSTALL: Add notes about Cygwin make to impatient section.
2027 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
2029         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2030         known to work.
2032 2006-03-12  Jason Rumney  <jasonr@gnu.org>
2034         * addpm.c (add_registry): Don't change the registry unless keys
2035         already exist from a previous version.
2037         * makefile.w32-in (install): Use -q when invoking addpm.
2039         * addpm.c (main): Accept -q as alternative for /q.
2041 2006-03-11  Jason Rumney  <jasonr@gnu.org>
2043         * runemacs.c (WinMain): Set screen buffer to 80x25.
2045 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
2047         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2048         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2050 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
2052         * INSTALL: Add explanation of how to debug with GDB starting from
2053         the Emacs Abort dialog.
2055 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
2057         * emacs.rc: Use new icons.
2059 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
2061         * emacs21.ico: Renamed from emacs.ico.
2062         * emacs.ico: New icons from Andrew Zhilin
2063         <andrew_zhilin@yahoo.com>.
2065 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
2067         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2069 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
2071         * .cvsignore: Add `obj' and `oo' for in-place installations.
2073 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
2075         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2077 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
2079         * configure.bat: Don't create lisp/Makefile.unix.
2081 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
2083         * .cvsignore: Add `makefile' and `config.log'.
2085 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
2087         Merge gnulib getopt implementation into Emacs.
2089         * inc/gettext.h: Remove; no longer needed now that
2090         lib-src/gettext.h exists.
2092 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
2094         * configure.bat: Finish config.log with a line that indicates that
2095         the configure step was successful.
2097 2005-07-04  Lute Kamstra  <lute@gnu.org>
2099         Update FSF's address in GPL notices.
2101 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
2103         * configure.bat: If their fc.exe returns a meaningful exit status,
2104         don't overwrite src/config.h and src/epaths.h with identical
2105         copies.
2107         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2108         changes.  Add a pointer to another site with detailed configure
2109         and build instructions.  Suggest to look at config.log when
2110         configure fails.  Add MinGW Make 3.80 to the list of successful
2111         combinations.
2113         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2114         "-mcpu=i686".
2116         * configure.bat: Update copyright years.
2117         Delete config.log before doing anything else.
2118         Write additional diagnostics to config.log in case of failures to
2119         compile test programs, including the failed test program itself.
2120         Add a test for support of -mtune=pentium4 switch to GCC; if it is
2121         supported, set up MCPU_FLAG variable on the various Makefiles to
2122         use that switch during compilations.  (This avoids GCC warning
2123         about -mcpu being deprecated.)
2125 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
2127         * addsection.c (copy_executable_and_add_section): Pass non-zero
2128         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2129         environment.  Print section names with %.8s.
2130         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2131         only if non-zero.  All callers changed.
2133 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
2135         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2136         `const void *', for consistency with POSIX.
2138 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
2140         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2142 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
2144         * INSTALL: Add more pointers to ports of Unix tools to Windows,
2145         and to the Emacs Wiki (which contains building instructions for
2146         Windows).  Reword image library instructions and remove obsolete
2147         incompatibility information.
2149 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
2151         * config.nt (HAVE_PWD_H): Undef.
2153 2004-06-07  Juanma Barranquero  <lektu@terra.es>
2155         * INSTALL: Clarify paragraph about compatibility between image
2156         libraries and builds of Emacs with several compilers.
2158 2004-06-06  Juanma Barranquero  <lektu@terra.es>
2160         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2161         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2162         calling non-existent cmdproxy.exe on bootstrapping after a
2163         previous install followed by realclean.
2165         * nmake.defs: Add quote in comment to resync font-locking.
2167 2004-06-04  Juanma Barranquero  <lektu@terra.es>
2169         * INSTALL: Reword the section on image support.  Add reference to
2170         GnuWin32.  Mention problems when mixing binaries from different
2171         compilers.
2173 2004-05-06  Jason Rumney  <jasonr@gnu.org>
2175         * configure.bat: Use -mno-cygwin to check for image libraries
2176         when needed.
2178 2004-05-03  Jason Rumney  <jasonr@gnu.org>
2180         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2181         * makefile.def: Remove.
2183         * nmake.defs (SYS_LDFLAGS): Add -nologo.
2185         * makefile.w32-in (info-gmake, info-nmake): New targets.
2186         (info): Use them.
2188 2004-04-23  Juanma Barranquero  <lektu@terra.es>
2190         * nmake.defs:
2191         * gmake.defs:
2192         * makefile.w32-in:
2193         * makefile.def:
2194         * makefile.nt: Add "-*- makefile -*-" mode tag.
2196 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
2198         * runemacs.c (WinMain): Let Emacs environment default to parent.
2200 2004-03-11  Jason Rumney  <jasonr@gnu.org>
2202         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2204 2004-03-10  Juanma Barranquero  <lektu@terra.es>
2206         * makefile.w32-in (install): Don't try to copy
2207         ../lib-src/fns-*.el, as it isn't used anymore.
2209 2004-01-28  Peter Runestig  <peter@runestig.com>
2211         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2213 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
2215         * .cvsignore: Add `.arch-inventory'.
2217 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
2219         * inc/grp.h: New file.
2221 2003-09-03  Peter Runestig  <peter@runestig.com>
2223         * configure.bat: Create ``makefile'' in directories man, lispref
2224         and lispintro.
2226         * makefile.w32-in (force-info, info): New targets.
2228         * envadd.bat: New file.
2230         * multi-install-info.bat: New file.
2232 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
2234         * config.nt (my_strftime): New define.
2236 2003-02-01  Jason Rumney  <jasonr@gnu.org>
2238         * configure.bat: Automatically detect libXpm.
2239         Suppress compiler output when testing for image libraries.
2240         Give names of un-found libraries in messages.
2242 2003-01-31  Juanma Barranquero  <lektu@terra.es>
2244         * configure.bat: Automatically detect giflib and tifflib.
2246 2003-01-29  Jason Rumney  <jasonr@gnu.org>
2248         * gmake.defs (CURDIR): Disable cygpath kludge.
2250 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
2252         * configure.bat: Avoid endless loop when configuring without image
2253         support.
2255 2003-01-26  Jason Rumney  <jasonr@gnu.org>
2257         * configure.bat: Automatically detect jpeglib.
2259 2003-01-25  Jason Rumney  <jasonr@gnu.org>
2261         * configure.bat: Automatically detect libpng.
2263 2003-01-21  Jason Rumney  <jasonr@gnu.org>
2265         * icons/hand.cur: New file.
2267 2003-01-21  David Ponce  <david@dponce.com>
2269         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2271 2003-01-15  Andrew Innes  <andrewi@gnu.org>
2273         * gmake.defs (CURDIR): Convert to native Windows format (with
2274         forward slashes), to support building with Cygwin builds of make.
2276 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
2278         * nmake.defs:
2279         * gmake.defs: Made changes so that Emacs would link with
2280         WinMM.lib.  This change was required for my addition of a Windows
2281         compatible implementation of play-sound-internal.
2283 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
2285         * emacs.rc: Version updated to 21.3.50.
2287 2002-06-13  Jason Rumney  <jasonr@gnu.org>
2289         * addpm.c (env_vars): Remove EMACSLOCKDIR.
2291         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2292         (maybe-bootstrap-SH): New targets.
2293         (all): Depend on maybe-bootstrap.
2295 2002-05-03  Jason Rumney  <jasonr@gnu.org>
2297         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2298         (sys_getpeername, fcntl): Declare as wrappers.
2300 2002-04-10  Juanma Barranquero  <lektu@terra.es>
2302         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2303         after compiling .el files.
2305 2002-03-20  Jason Rumney  <jasonr@gnu.org>
2307         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2308         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2310 2002-03-19  Kim F. Storm  <storm@cua.dk>
2312         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2313         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2314         (HAVE_SYS_UN_H): Undef.
2315         From David Ponce <dponce@voila.fr>.
2317 2002-03-13  Jason Rumney  <jasonr@gnu.org>
2319         * config.nt (STRFTIME_NO_POSIX2): Define.
2321 2002-02-18  Jason Rumney  <jasonr@gnu.org>
2323         * emacs.rc: Define VS_VERSION_INFO if not already.
2324         Update version info.
2326 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2328         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2329         pick up relevant bits of the Windows API definitions.
2331         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2332         pick up relevant bits of the Windows API definitions.
2334 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2336         * makefile.w32-in (bootstrap): Build addsection program before
2337         bootstrap (required for post-processing temacs.exe).
2339 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2341         * COPYING: New file.
2343 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2345         * makefile.w32-in (bootstrap-nmake):
2346         (bootstrap-gmake): Extend bootstrap process to first do
2347         bootstrap-clean in lisp dir and rebuild the DOC file.
2348         (bootstrap): Do a "normal" make after the bootstrap work.
2350 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2352         * INSTALL: Update table of versions of make that are suitable
2353         for building Emacs, based on recent feedback.
2355         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2357 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2359         * ftime-nostartup.bat: New file.
2361         * ftime.bat: Don't include libc.lib for profiling - the profiler
2362         corrupts part of memcpy.
2364 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2366         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2367         expansion.  From Juanma Barranquero <lektu@terra.es>.
2369 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2371         * (Version 21.1 released.)
2373 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2375         * inc/pwd.h (uid_t, gid_t): New typedefs.
2377 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2379         * Branch for 21.1.
2381 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2383         * README: Update the address of the mailing list and subscription
2384         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2386 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2388         * INSTALL: Suggest to avoid using WinZip.
2390         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2392 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2394         * INSTALL: Mention that "make install" can be "nmake install".
2396 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2398         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2399         since some versions of `mkdir' don't automatically create parent
2400         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2402 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2404         * subdirs.el: New file.
2406         * configure.bat: Copy subdirs.el to the site-lisp directory.
2408         * makefile.w32-in (install): Copy subdirs.el to the installation
2409         directory.
2411 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2413         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2415 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2417         * gmake.defs (sh_output): Don't use $(warning ...) to output
2418         messages, since that is not supported by GNU make 3.77.
2420 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2422         * INSTALL: Clarify that building with MSVC requires nmake.
2424 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2426         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2427         message that is to be ignored.
2429 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2431         * TODO: Remove file, since it is completely out of date.
2433         * README: Add copyright notice.
2435         * INSTALL: Add copyright notice.
2437 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2439         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2440         the environment.
2442         * gmake.defs (SETLOADPATH): Remove definition.
2443         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2444         environment.
2446 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2448         * configure.bat: Make the checkw32api* labels be distinct in the
2449         first 8 characters.
2451 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2453         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2454         escaped quotes.
2456         * gmake.defs (DEBUG_LINK): New macro.
2457         (LINK_FLAGS): Use it.
2459         * nmake.defs (DEBUG_LINK): New macro.
2460         (LINK_FLAGS): Use it.
2462 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2464         * INSTALL: Add --ldflags to configure line for building with
2465         recent versions of Cygwin GCC.
2467 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2469         * configure.bat: Use correct options when compiling a test program
2470         with Cygwin.  From David Ponce <dponce@voila.fr>.
2472 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2474         * _emacs: Remove obsolete file.
2476         * emacs.bat.in: Remove obsolete file.
2478         * debug.bat.in: Remove obsolete file.
2480         * inc/sys/socket.h: Add copyright notice.
2482         * paths.h: Add copyright notice.
2484         * makefile.nt: Update copyright notice.
2486         * makefile.def: Update copyright notice.
2488         * configure.bat: Update copyright notice.
2490         * nmake.defs: Add copyright notice.
2492         * gmake.defs: Add copyright notice.
2494         * makefile.w32-in: Add copyright notice.
2496 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2498         * nmake.defs (THISDIR): New definition.
2500         * gmake.defs (THISDIR): New definition.
2502 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2504         * configure.bat: Leave a space before >> only when there is a
2505         preceding digit.  Add a comment about the importance of this.
2507         * README: Replace outdated information.
2509         * INSTALL (Trouble-shooting): Add note about need to specify extra
2510         compiler flags with recent Cygwin ports of gcc.
2512 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2514         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2515         is not supported by Windows 9X's COMMAND.COM.
2517 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2519         * configure.bat: Make sure redirection is preceded by a blank, to
2520         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2521         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2523 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2525         * INSTALL: Copy the table of tested combinations of development
2526         tools from configure.bat.  Add suggestion to install Bash on
2527         Windows 9X.
2529         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2530         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2531         needs to be deleted, since command.com in Windows 9X doesn't grok
2532         more than one argument.
2534 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2536         * makefile.w32-in (cleanall-other-dirs-nmake):
2537         (cleanall-other-dirs-gmake): New targets.
2538         (cleanall): Invoke them.
2540 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2542         * addpm.c (env_vars): Add a version-independent site-lisp
2543         directory to EMACSLOADPATH, after the version dependent one.
2545 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2547         * README: Update info about compilers.
2549         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2550         select correct rule for invoking make in another directory.
2551         Amend rules accordingly.
2552         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2554         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2555         (COMPILER_TEMP_FILES): New definition.
2556         (MAKETYPE): New definition.
2558         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2559         (COMPILER_TEMP_FILES): New definition.
2560         (MAKETYPE): New definition.
2562         * makefile.def (EMACS_ICON_PATH): Delete definition.
2564         * configure.bat: Be careful not to add trailing spaces when
2565         outputting to config.settings.
2567 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2569         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2570         than the function.
2572 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2574         * makefile.w32-in (install): Copy directories to the correct
2575         places.
2576         (real_install): Remove obsolete target.
2578 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2580         * nmake.defs (CURDIR): New define.
2581         (INSTALL_DIR): Use it.
2583         * gmake.defs (NEW_CYGWIN): New define.
2584         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2585         so we need to adjust how we escape embedded quotes.
2586         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2587         relative to $(CURDIR).
2589 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2591         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2593 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2595         * makefile.w32-in (recompile): New target to recompile lisp
2596         directory.
2597         (recompile-CMD, recompile-SH): New support targets.
2599 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2601         * config.nt (NO_RETURN): Define it.
2603 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2605         * gmake.defs: Revert to Unix line endings.
2607         * nmake.defs: Revert to Unix line endings.
2609 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2611         * gmake.defs (SETLOADPATH): Change definition to work from any
2612         subdirectory.
2614 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2616         * makefile.w32-in: Revert to Unix line endings.
2618 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2620         * INSTALL: Add note about expected error messages when configure
2621         is run.
2623         * configure.bat: Simplify the generation of makefiles (don't need
2624         to generate various top-level targets that invoke make in other
2625         directories).
2627         * gmake.defs (SHELLTYPE): New define.
2628         (SETLOADPATH): New define.
2630         * nmake.defs (SHELLTYPE): New define.
2632         * makefile.w32-in: Standardize indentation somewhat.
2633         Add bootstrap support.
2634         Pass $(MFLAGS) when invoking make recursively.
2635         Add shell-specific variants of top-level targets that invoke make
2636         recursively in other directories, and add necessary computed
2637         dependencies.
2639 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2641         * makefile.w32-in: Change to DOS line endings.
2643         * configure.bat: Change to DOS line endings.
2645         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2646         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2648         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2649         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2651         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2652         -D_ANONYMOUS_STRUCT on compile line.
2653         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2654         (ARCH_CFLAGS): Change optimization flags to -O2.
2655         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2656         (ARGQUOTE, DQUOTE): New defines.
2658         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2659         -D_ANONYMOUS_STRUCT on compile line.
2660         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2661         (ARGQUOTE, DQUOTE): New defines.
2663 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2665         * configure.bat: New file.
2667         * gmake.defs: New file.
2669         * nmake.defs: New file.
2671         * makefile.w32-in: New file.
2673         * INSTALL: Rewrite to match new configure process.
2675         * config.nt [WINDOWSNT]: Don't declare getenv.
2676         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2678         * addpm.c (main): Accept /q to mean install based on addpm's
2679         location without asking.  Remove reference to emacs.bat which is
2680         now obsolete.
2682         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2684         * paths.h: Use forward slash as directory separator in all path
2685         definitions.
2686         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2688         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2690         * runemacs.c: Remove WIN32 define.
2692         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2693         not defined.
2695         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2696         (fd_set): Define to new name, after including winsock.h, so we can
2697         provide our own implementation.
2699 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2701         * ebuild.bat: Add support for specifying make arguments.
2703         * makefile.nt: Add support for `bootstrap' and related targets.
2705 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2707         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2709 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2711         * inc/sys/time.h: Add inclusion protection.
2713         * makefile.def (SYS_LDFLAGS): Add -nologo.
2715 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2717         * install.bat: Pass on command line arguments to make.
2719         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2721 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2723         * makefile.nt (all): Build leim if present.
2724         (install): Install leim if present.
2725         (clean): Clean leim if present.
2727         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2728         definition.
2730         * emacs.bat.in (EMACSLOADPATH): Include leim.
2732 1999-07-12  Richard Stallman  <rms@gnu.org>
2734         * Version 20.4 released.
2736 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2738         * emacs.rc: Use an icon with a transparent background, to be in
2739         keeping with other applications.
2741 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2743         * preprep.c: Fix typo.
2745 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2747         * config.h: Remove obsolete file.
2749         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2750         couple of unused switch cases that aren't defined on all
2751         platforms.
2753         * ftime.bat: Add another variation of the profile command, which
2754         only profiles extended commands.
2756 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2758         * cmdproxy.c (main): Fix parens.
2760 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2762         * cmdproxy.c (main): Call GetShortPathName to normalize program
2763         names for comparison.
2765 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2767         * makefile.def: Compile multiple .c files when possible.
2768         Use BLD instead of assuming i386.
2769         * makefile.nt: Remove common multiple file compilation commands.
2771 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2773         * cmdproxy.c (main): Add missing parens.
2775 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2777         * preprep.c: New program to allow dumped image to be profiled.
2779         * makefile.nt (preprep): New target.
2780         (ALL): Build it.
2782         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2784         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2785         Change prep options to profile libc functions and skip the startup
2786         code.
2788 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2790         * makefile.nt: Create installation directory as first step.
2792 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2794         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2795         ROUND_UP_DST.  Zeroes the alignment slop.
2796         (copy_executable_and_add_section): Update the
2797         SizeOfHeaders field properly.
2799 1999-01-27  Andrew Innes  <andrewi@gnu.org>
2801         * makefile.nt: Do make version comparison as strings.
2803 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
2805         * runemacs.c (WinMain): Pass explicit environment block to
2806         CreateProcess, to work around a bug in Windows 95/98.
2808 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
2810         * icons: New directory with Davenport's icons.
2811         * icons/sink.ico: Renamed from emacs.ico.
2813         * makefile.nt (install, fast_install): Install Windows icons
2814         into etc/icons.
2816         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2818 1999-01-17  Andrew Innes  <andrewi@gnu.org>
2820         * makefile.nt (ALL): List top-level targets.
2821         (addsection): New top-level target.
2822         (install): Copy fns-*.el to bin directory.
2824         * addsection.c: New program to add static heap section to
2825         temacs.exe after linking, in support of new unexec method.
2827 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
2829         * cmdproxy.c (spawn): Pass directory for child as parameter.
2830         (main): Save startup directory to give to spawn, then change
2831         directory to location of .exe in order not to prevent startup
2832         directory from being deleted.
2834 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
2836         * makefile.nt: Do string comparison of _NMAKE_VER.
2838 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
2840         * config.nt (LOCALTIME_CACHE): Define.
2842 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
2844         * install.bat: Convert to DOS format.
2846 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
2848         * cmdproxy.c (main): Set environment size only when running
2849         command.com.
2851 1998-11-03  Theodore Jump  <tjump@tertius.com>
2853         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
2854         (DEL_TREE): Use rd instead of rmdir.
2855         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
2856         * makefile.nt: Compile multiple source files when possible.
2858 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
2860         * cmdproxy.c (main): Treat command line options as case-insensitive.
2862 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
2864         * Version 20.3 released.
2866 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
2868         * addpm.c (main): Explicitly check result of message box for OK.
2870 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
2872         * inc/sys/file.h (D_OK): Define new macro.
2874 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
2876         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
2878 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
2880         * emacs.rc (VS_VERSION_INFO): Define.
2882 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
2884         * makefile.nt (emacs.bat, debug.bat): Create them in the
2885         installation directory.
2887 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
2889         * ddeclient.c: New file.  (Support program for performing limited
2890         interprocess communication on Windows.)
2892         * makefile.nt: Build ddeclient.
2894         * cmdproxy.c (main): Only set environment size for real shell, and
2895         provide extra directory argument, when running on Windows 95.
2897 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
2899         * cmdproxy.c (fail): Exit with a negative return value.
2900         (spawn): Return subprocess return code as an argument.
2901         Explicitly copy environment block.
2902         (main): Update to use return value argument with spawn.
2903         Retry if spawn failed when a subshell was not tried.
2905         * config.nt: Include new macros from src/config.in.
2906         (GNU_MALLOC, REL_ALLOC): Define.
2907         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
2908         (RE_TRANSLATE): Use char_table_translate.
2910         * makefile.def (CP_DIR): Preserve attributes.
2912         * makefile.nt (clean): Delete patch generated files, optimized
2913         build directory.
2915 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
2917         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
2919 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2921         * Version 20.2 released.
2923 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2925         * Version 20.1 released.
2927 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
2929         * debug.bat.in: New file.
2930         * makefile.nt (debug.bat): New target.
2932 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
2934         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
2935         Quote group name.  Allow different icons to be specified.
2937         * cmdproxy.c (get_env_size): New function.
2938         (spawn): Explicitly pass in environment when creating subprocess.
2939         (main): Cleanup error messages.
2940         Specify dynamically sized environment block for real shell.
2941         Pass on unhandled switches to real shell.
2942         Quote program name.
2944         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
2945         directory.
2946         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
2948         * runemacs.c (WinMain): Allow Emacs process to be started with
2949         high or low priority.
2951         * emacs.bat.in: Remove OS dependent operations.
2953 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
2955         * addpm.c (env_vars): No longer set INFOPATH.
2957         * cmdproxy.c (get_next_token): Null terminate token returned.
2959         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
2961 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
2963         * addpm.c (env_vars): Set SHELL to cmdproxy.
2964         (main): Initialize idDde to 0.
2965         Determine emacs_path from module file name.
2966         Prompt for install.
2968         * makefile.def (MSVCNT11): Conditionally define it.
2969         (BASE_LIBS): Do not use oldnames.lib.
2970         (SYS_LDFLAGS): Use pdb files.
2971         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
2972         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
2973         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
2975         * makefile.nt (ALL): Build cmdproxy.
2976         (cmdproxy): New target.
2977         (install): Install cmdproxy.
2979         * ftime.bat, debug.bat, cmdproxy.c: New files.
2981 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
2983         * inc/sys/socket.h (shutdown): Define.
2984         (sys_shutdown): Export.
2986 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2988         * config.nt (RE_TRANSLATE): Copy definition from config.in.
2990 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
2992         * config.nt: Update file comments.
2993         Update undefs added/removed in src/config.in.
2995 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
2997         * makefile.def, emacs.bat: Use windows95 and windowsnt instead
2998         of win95 and winnt, respectively.
3000 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
3002         * makefile.nt (real_install): Create site-lisp in installation dir.
3003         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
3004         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
3006 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3008         * Version 19.33 released.
3010 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
3012         * runemacs.c (WinMain): Put a space between the binary and its args.
3014 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3016         * Version 19.32 released.
3018 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
3020         * makefile.nt (clean): Use OBJDIR macro.
3022 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
3024         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3025         Not defined by default.
3026         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3027         (WinMain): Convert backslashes to slashes in env var values.
3029         * addpm.c (env_vars): Use slashes, not backslashes.
3031 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3033         * Version 19.31 released.
3035 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
3037         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3038         undo settings afterwards.
3040 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
3042         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3043         environment variable.
3045 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3047         * install.bat: Allow for optimized build.
3048         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3049         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3051 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3053         * addpm.c (REG_ROOT): Don't use a trailing backslash.
3054         (env_vars): Rename field emacs_path to emacs_dir.
3055         (main): Add link to runemacs instead of emacs.
3057         * install.bat: Check if INSTALL_DIR is passed as an argument.
3059         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3061         * makefile.nt: Build and install runemacs.exe.
3063         * runemacs.c: New file.
3065         * config.w95: File removed.
3067         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3068         inc/sys/socket.h, inc/sys/time.h: New header files.
3070         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3072 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
3074         * makefile.def (DEL): Defined.
3075         (DEL_TREE) [win95]: Defined.
3076         (SYS_LDFLAGS): Set executable versions to 3.10.
3078         * makefile.nt: Change uses of del to $(DEL).
3080 1996-01-17  Erik Naggum  <erik@naggum.no>
3082         * All files: Update FSF's address in comment preamble.
3084 1996-01-03  George V. Reilly  <georger@microcrafts.com>
3086         * emacs.ico: Now the proverbial kitchen sink icon.
3088 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3090         * Version 19.30 released.
3092 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
3094         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3096         * makefile.nt (install, fast_install, real_install, clean):
3097         Don't use switches to del not supported by Windows 95.
3099 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
3101         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3102         (install, fast_install): Change same-dir test to create test file in
3103         installation tree and thereby support read-only shares.
3104         (clean): Remove .pdb files.
3106         * makefile.def (NTGUI): New macro.
3107         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3109         * config.nt, config.w95: Update to latest src/config.in.
3111         * addpm.c (env_vars): New variable.
3112         (add_registry): New procedure.
3113         (main): Use values of configuration environment variables from
3114         the registry if defined, the process environment otherwise.
3116 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3118         * Version 19.29 released.
3120         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3122 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
3124         * makefile.nt: Define .c to .obj suffix rule.
3125         (addpm.obj): Compile directly, use CFLAGS.
3126         (addpm.exe): Link from addpm.obj.
3128         * makefile.def (MSVCNT11): Defined.
3129         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3130         (CFLAGS_COMMON): Defined.
3131         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3133 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
3135         * emacs.bat.in: Renamed from emacs.bat.
3136         (emacs_dir): Rename from emacs_path.
3137         Definition removed.
3139         * addpm.c: New file.
3140         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3141         (all): Depend upon $(BLD) and $(ALL).
3142         (install): Depend upon emacs.bat.
3143         Create program item for Emacs.
3144         (clean): Delete obj.
3145         (emacs.bat): Defined.
3146         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3148 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
3150         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3151         Add carriage returns; necessary for batch files on Windows 95.
3153 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
3155         * config.w95: Created.
3156         * config.h: Changed to config.nt.
3158         * makefile.nt (SUBDIRS): Commented out.
3159         (all, install, clean): Expand for-loops.
3160         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3162         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3163         (ARCH): New definition.
3164         (CPU, CONFIG_H, OS_TYPE): Defined.
3165         (INCLUDE, LIB): Checked if valid.
3166         (ntwin32.mak): Included.
3167         (AR, CC, LINK): New definition.
3168         (ADVAPI32, libc, BASE_LIBS): Defined.
3169         (SYS_LDFLAGS): New definition.
3170         Update comments and preprocessor conditionals.
3172         * emacs.bat (SHELL): Conditionally defined.
3173         (HOME): Conditionally defined.
3174         (emacs_path, HOME): Update comments.
3175         Turn off all echo.
3177 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
3179         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
3180         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
3181         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
3182         inc/sys/param.h: Removed carriage-returns.
3184 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
3186         * makefile.def (CVTRES): Defined.
3188         * emacs.ico, emacs.rc: New files by Kevin Gallo.
3190 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
3192         * src: Remove directory.
3194         * src\config.h, src\paths.h: Moved to parent dir, src removed.
3196 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
3198         * makefile.def (INSTALL_DIR): Change to generic directory.
3200         * emacs.bat: Added arguments when emacs.exe invoked.
3202         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3204 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
3206         * makefile.def (CC): In configuration section.
3207         (COMPAT_LIB): Defined.
3209 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
3211         * src/paths.h: New file.
3213         * src/config.h: New file.
3215         * inc/pwd.h: New file.
3217         * inc/sys/dir.h: New file.
3219         * inc/sys/file.h: New file.
3221         * inc/sys/ioctl.h: New file.
3223         * inc/sys/param.h: New file.
3225         * todo: New file.
3227         * README: New file.
3229         * makefile.nt: New file.
3231         * makefile.def: New file.
3233         * install.cmd: New file.
3235         * INSTALL: New file.
3237         * fast-install.cmd: New file.
3239         * emacs.cmd: New file.
3241         * ebuild.cmd: New file.
3243         * _emacs: New file.
3245 ;; Local Variables:
3246 ;; coding: utf-8
3247 ;; add-log-time-zone-rule: t
3248 ;; End:
3250   Copyright (C) 1995-1999, 2001-2013 Free Software Foundation, Inc.
3252   This file is part of GNU Emacs.
3254   GNU Emacs is free software: you can redistribute it and/or modify
3255   it under the terms of the GNU General Public License as published by
3256   the Free Software Foundation, either version 3 of the License, or
3257   (at your option) any later version.
3259   GNU Emacs is distributed in the hope that it will be useful,
3260   but WITHOUT ANY WARRANTY; without even the implied warranty of
3261   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3262   GNU General Public License for more details.
3264   You should have received a copy of the GNU General Public License
3265   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.