Document negative argument of replacement commands.
[emacs.git] / nt / ChangeLog
blob8c1e928036c8d3a3e7581d434da11aaed8fa05a6
1 2013-12-16  Eli Zaretskii  <eliz@gnu.org>
3         * emacs-x64.manifest:
4         * emacs-x86.manifest: Declare that we target Windows 8.1 as well
5         as earlier versions.  This is so GetVersion and GetVersionEx APIs
6         used for bug reporting and other purposes return accurate version
7         number on Windows 8.1.  See the discussion on MSDN
8         http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx
9         for more details.
11 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
13         * inc/ms-w32.h (MAX_UTF8_PATH): New macro.
14         (opendir, closedir, readdir, seekdir): Redirect to replacement
15         functions.
16         * inc/dirent.h: Make d_name[] be MAXNAMELEN*4 characters long.
18 2013-11-27  Glenn Morris  <rgm@gnu.org>
20         * README.W32:
21         * addpm.c (env_vars):
22         * epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
23         * paths.h (PATH_LOADSEARCH): No more leim directory.
25 2013-11-26  Glenn Morris  <rgm@gnu.org>
27         * epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.
29 2013-11-12  Dani Moncayo  <dmoncayo@gmail.com>
31         * msysconfig.sh: Remove.
32         * INSTALL: Update for this.
34 2013-11-09  Glenn Morris  <rgm@gnu.org>
36         * mingw-cfg.site: No need for this to be executable.
38 2013-10-24  Glenn Morris  <rgm@gnu.org>
40         * Makefile.in ($(DESTDIR)${archlibdir}):
41         Avoid non-portable "`\" nesting.
43         * Makefile.in (abs_top_srcdir): New, set by configure.
45 2013-10-23  Glenn Morris  <rgm@gnu.org>
47         * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
48         Quote entities that might contain whitespace.
50 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
52         * inc/mingw_time.h: New file.
54         * inc/ms-w32.h: Include mingw_time.h instead of doing its job.
56 2013-10-12  Eli Zaretskii  <eliz@gnu.org>
58         * inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
59         the layout of 'struct dirent' be compatible with MinGW32 runtime
60         versions 4.0 and later.
62         * inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
63         (__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
64         defined, but not for MinGW64.
65         (_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
66         use of 32-bit time_t type.
68 2013-10-07  Paul Eggert  <eggert@cs.ucla.edu>
70         Improve support for popcount and counting trailing zeros (Bug#15550).
71         * gnulib.mk: Merge changes from ../lib/gnulib.mk.
73 2013-10-04  Paul Eggert  <eggert@cs.ucla.edu>
75         * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
77 2013-09-20  Eli Zaretskii  <eliz@gnu.org>
79         * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
80         to avoid gnulib replacement of 'struct timeval' and the resulting
81         compilation of lib/gettimeofday.c with incompatible version of
82         gettimeofday.  Related discussions on emacs-devel:
83         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
84         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html
86 2013-08-31  Glenn Morris  <rgm@gnu.org>
88         * INSTALL: Rename from INSTALL.MSYS.
89         * INSTALL.OLD: Rename from INSTALL.
90         * configure.bat: Update for INSTALL name changes.
92 2013-08-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
94         * configure.bat: Rather than disabling, make configure.bat produce
95         some warning that building with configure.bat is deprecated and
96         ask for confirmation to continue.
98 2013-08-25  Glenn Morris  <rgm@gnu.org>
100         * INSTALL: Refer to INSTALL.MSYS.
101         * configure.bat: Disable it.
103 2013-08-04  Eli Zaretskii  <eliz@gnu.org>
105         * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
107         * inc/ms-w32.h (mkostemp): Declare prototype.
108         (mktemp): Don't redirect to sys_mktemp.
110         * config.nt (HAVE_MKOSTEMP): Define to 1.  (Bug#15015)
112 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
114         * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
115         (FD_CLOEXEC): New macros.
117 2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>
119         Make file descriptors close-on-exec when possible (Bug#14803).
120         * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
121         otherwise, gnulib-tool complains given close-on-exec changes.
122         * inc/ms-w32.h (pipe): Remove.
123         * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
124         (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
126 2013-06-25  Juanma Barranquero  <lekktu@gmail.com>
128         * configure.bat: Add warning to the help text about using the
129         MSYS/MinGW building procedure.
131 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
133         * INSTALL.MSYS: mingw-get is not a GUI program (yet).
134         msys-automake is not suitable for MinGW builds.  Mention the
135         --enable-locallisppath switch to msysconfig.sh.  Suggested by
136         Óscar Fuentes <ofv@wanadoo.es>.
138 2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)
140         * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
142 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
144         * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
146 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
148         * inc/sys/time.h (struct timeval): Remove the _W64 guards.
150 2013-06-01  Eli Zaretskii  <eliz@gnu.org>
152         * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
153         avoid multiple definition errors on MinGW64.
155 2013-05-31  Eli Zaretskii  <eliz@gnu.org>
157         * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
158         'restrict', which is a C99 extension.  See
159         http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
160         and the following discussion for the problem this caused in the
161         old nt/configure.bat build.
163 2013-05-29  Eli Zaretskii  <eliz@gnu.org>
165         * Makefile.in (emacs.res): Include srcdir when preprocessing
166         resources, for out-of-tree builds.
167         (mostlyclean): Remove *.res files.
169 2013-05-17  Eli Zaretskii  <eliz@gnu.org>
171         * runemacs.c (WinMain): Support invocation of un-installed
172         nt/runemacs.exe, by looking for src/emacs.exe.
174 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
176         * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.  (Bug#14409)
178         * msysconfig.sh: New file.
180         * mingw-cfg.site: New file.
182         * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
184         * inc/unistd.h: Include pwd.h and sys/types.h.
186         * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
187         (timerclear): Define.
188         (gettimeofday): Adjust signature to be Posix compatible, by using
189         the 'restrict' keyword.
191         * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
192         (struct _stat, struct _stati64): Define.
194         * inc/sys/socket.h (timeval): Define only for MSVC.
195         (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
196         EMACS_CONFIG_H is defined.
197         (timeval): Undefine only for MSVC.
199         * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
200         (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
201         (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
202         (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
203         (fileno): Move definition after including stdio.h.
204         (sigset_t): Guard typedef by _W64.
206         * gnulib.mk: New file.
208         * epaths.nt: New file.
210         * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
211         copy of the file names there.
212         <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
213         literal strings.
215         * Makefile.in: New file.
217         * INSTALL.MSYS: New file.
219         * INSTALL: Mention INSTALL.MSYS.
221 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
223         * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
225 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
227         * config.nt: Sync with autogen/config.in.
228         (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
229         (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
230         (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
231         (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
232         (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
233         (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
234         (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
235         (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
236         (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
237         (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
239 2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
241         Use Gnulib ACL implementation, for benefit of Solaris etc.  (Bug#14295)
242         * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
243         * inc/ms-w32.h (EOPNOTSUPP): New macro.
245 2013-04-09  Ken Brown  <kbrown@cornell.edu>
247         * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
248         (Bug#12993)
250 2013-04-01  Eli Zaretskii  <eliz@gnu.org>
252         * README: A better documentation of ddeclient.exe.
254         * README.W32: A better documentation of ddeclient.exe.
256         * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
257         subdirectories.
259 2013-03-30  Eli Zaretskii  <eliz@gnu.org>
261         * inc/ms-w32.h (TERM_HEADER): Remove definition.
263         * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
264         ms-w32.h.
266 2013-03-29  Eli Zaretskii  <eliz@gnu.org>
268         * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
270         * config.nt (HAVE_COPYSIGN): Define.
272 2013-03-29  Juanma Barranquero  <lekktu@gmail.com>
274         * config.nt: Sync with autogen/config.in.
275         (HAVE_XKBGETKEYBOARD): Remove.
276         (HAVE_XKB): New macro.
278 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
280         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
281         (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
282         Depend on .exe files.
284         * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
285         avoid MinGW64 compiler warnings in editfns.c.
287         Fix rules for parallel builds.
288         * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
289         without the .exe suffix.
290         (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
291         targets.
292         (.PHONY): Remove.
294         * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
295         headers, since that's where _W64 is declared by MinGW64.
297 2013-03-26  Eli Zaretskii  <eliz@gnu.org>
299         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
300         (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
302         * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
303         define for MinGW64.
305         * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
306         for MinGW64.
308         Fix more incompatibilities between MinGW.org and MinGW64 headers
309         reported by Óscar Fuentes in
310         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
311         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
312         and in
313         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
314         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
315         For MinGW64, include sys/types.h and time.h.
316         (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
318         * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
320         * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
321         _W64.
322         (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
323         _TIMEZONE_DEFINED.
325         * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
327         * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
328         lstat, and fstatat.
330 2013-03-25  Eli Zaretskii  <eliz@gnu.org>
332         Fix incompatibilities between MinGW.org and MinGW64 headers
333         reported by Óscar Fuentes in
334         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
335         * inc/ms-w32.h (struct timespec): Don't define if
336         _TIMESPEC_DEFINED is already defined.
337         (sigset_t) [!_POSIX]: Typedef for MinGW64.
338         (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
339         including the first system header, to avoid redefinition if some
340         system header defines a default value.
342         * inc/sys/time.h (struct itimerval): Don't define if
343         _TIMESPEC_DEFINED is already defined.
345 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
347         Fix the MSVC build.  (Bug#13939)
348         * inc/stdint.h (UINTPTR_MAX): Define.
350         * nmake.defs (libc): Fix syntax of !if conditional.
352 2013-03-15  Juanma Barranquero  <lekktu@gmail.com>
354         * config.nt: Sync with autogen/config.in.
355         (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
356         (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
357         (HAVE_FDATASYNC): New macros.
359 2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
361         File synchronization fixes (Bug#13944).
362         * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
364 2013-03-05  Paul Eggert  <eggert@cs.ucla.edu>
366         FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
367         * inc/unistd.h (O_NOFOLLOW): New macro.
369 2013-03-04  Juanma Barranquero  <lekktu@gmail.com>
371         * config.nt: Sync with autogen/config.in.
372         (DATA_START, ORDINARY_LINK): Remove.
373         (HAVE_DATA_START, HAVE__PUTENV): New macros.
375 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
377         * inc/ms-w32.h (BOOT_TIME_FILE): Define.
379         * config.nt (CLASH_DETECTION): Define to 1.
381 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
383         * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
384         (Bug#9066)
385         (chown, logb): Remove, unused.
387 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
389         * config.nt: Sync with autogen/config.in.
390         (GC_MARK_STACK): Remove.
391         (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
392         (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
393         (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
395 2013-02-12  Eli Zaretskii  <eliz@gnu.org>
397         * inc/ms-w32.h: Add prototype for memrchr.
399 2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
401         Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
402         * inc/sys/stat.h (fstatat):
403         * inc/unistd.h (readlinkat): New decls.
405 2013-01-28  Eli Zaretskii  <eliz@gnu.org>
407         * inc/dirent.h (opendir): Update prototype.
409 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
411         * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
412         used in term.c.  (Bug#13387)
414 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
416         * config.nt: Sync with autogen/config.in.
417         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
419 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
421         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
422         in lib/filemode.c that broke the MS-Windows build.
423         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
425 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
427         * config.nt: Sync with autogen/config.in.
428         (BSD4_2): Remove.
430 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
432         * inc/sys/acl.h: New file.
434         * inc/ms-w32.h (ENOTSUP): Define if undefined.
436         * config.nt (HAVE_POSIX_ACL): Define.
438 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
440         * inc/ms-w32.h (sys_unlink): Provide prototype.
442 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
444         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
446 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
448         * config.nt: Sync with autogen/config.in.
449         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
451 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
453         * config.nt: Sync with autogen/config.in.
454         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
455         (ULIMIT_BREAK_VALUE): Remove.
457 2012-12-10  Daniel Colascione  <dancol@dancol.org>
459         * emacs.rc: Use forward slashes in relative paths in order to
460         avoid complaints from Cygwin.  (Forward slashes work perfectly
461         well in the NT build.)
463 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
465         * inc/unistd.h (unsetenv): Provide a prototype.
467 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
469         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
470         (sys_putenv): Add prototype.
472         * config.nt (HAVE_UNSETENV): Define to 1.
474 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
476         * config.nt: Sync with autogen/config.in.
478 2012-11-24  Ken Brown  <kbrown@cornell.edu>
480         * config.nt (HAVE_MOUSE): Remove.
482 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
484         * config.nt: Sync with autogen/config.in.
485         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
486         Remove.
488 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
490         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
491         (Bug#12955)
493         * nmake.defs (SWITCHCHAR): Define to /.
495 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
497         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
498         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
499         (struct dirent): Rename from struct direct.  All uses changed.
500         * inc/sys/dir.h: Remove.
502 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
504         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
505         * config.nt (HAVE_GETCWD): Remove.
507 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
509         * nmake.defs: Use !if, not !ifdef.  For the details, see
510         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
512         * inc/stdint.h (INTPTR_MIN):
513         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
515 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
517         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
519 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
521         * config.nt: Sync with autogen/config.in.
522         (HAVE_FPATHCONF): Remove.
524 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
526         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
527         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
528         POSIX name for this flag is O_NONBLOCK.  All uses changed.
529         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
530         these really should be moved to a replacement <fcntl.h> if and
531         when that gets implemented.  In the meantime, include <fcntl.h>
532         to make sure we don't override its definitions.
534 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
536         * inc/sys/wait.h: New file, with prototype of waitpid and
537         definitions of macros it needs.
539         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
540         (sys_wait): Remove prototype.
542         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
544 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
546         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
547         to check if it's installed, redirect standard output and standard
548         error to the null device.
549         (ZIP_DIST): Don't build the "barebin" distribution.
551 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
553         * config.nt: Sync with autogen/config.in.
554         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
555         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
556         New macros.
558 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
560         * inc/unistd.h (faccessat): Add prototype.
561         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
562         2 moved from ms-w32.h.
564         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
566 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
568         Use faccessat, not access, when checking file permissions (Bug#12632).
569         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
570         (access): Remove.
571         (faccessat): New macro.
573 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
575         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
577 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
579         * config.nt: Sync with autogen/config.in.
580         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
581         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
583 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
585         * config.nt: Sync with autogen/config.in.
586         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
588 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
590         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
592 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
594         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
596         * config.nt (GETPGRP_VOID): Define to 1.
598 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
600         * config.nt: Sync with autogen/config.in.
602 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
604         * inc/pwd.h (getuid, geteuid): Add prototypes.
606         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
607         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
608         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
609         (sys_kill, getpagesize): Add prototypes for emulated functions.
611         * inc/grp.h (getgid, getegid): Add prototypes.
613         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
615         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
616         compiling with -std=gnu99.
618         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
619         could be used via --cflags switch to configure.bat.
621 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
623         * config.nt: Sync with autogen/config.in.
624         (HAVE_NTGUI): New macro.
626 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
628         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
629         compiler warnings when using the value.
631 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
633         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
634         'void *', for pointer arithmetics.
635         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
636         macro arguments in parentheses.
638 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
640         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
642 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
644         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
645         that are already defined.
647         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
648         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
649         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
651         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
652         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
653         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
654         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
655         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
656         Use DWORD_PTR instead of DWORD for compatibility with x64.
658         * nmake.defs: Support AMD64.
659         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
661         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
662         New macros.
664         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
665         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
666         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
667         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
668         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
669         DWORD, for compatibility with x64.
671         * emacs-x64.manifest: New file.
673         * emacs-x86.manifest: Renamed from emacs.manifest.
675 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
677         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
678         (struct itimerval): Define.
679         (getitimer, setitimer): Add prototypes.
681         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
682         with MinGW.
683         (SA_RESTART, SIGPROF): Define.
685         * config.nt (HAVE_SETITIMER): Define to 1.
687 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
689         * config.nt: Sync with autogen/config.in.
691 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
693         * config.nt: Sync with autogen/config.in.
694         (HAVE_TIMER_SETTIME): New macro.
696 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
698         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
700 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
702         Simplify and avoid signal-handling races (Bug#12471).
703         * inc/ms-w32.h (emacs_raise): New macro.
705 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
707         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
708         defined, as needed by giflib-5.0.0.  (Bug#12464)
710 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
712         * config.nt: Sync with autogen/config.in.
713         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
715 2012-09-17  Glenn Morris  <rgm@gnu.org>
717         * config.nt (COPYRIGHT): New.
719 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
721         Port _setjmp fix to POSIXish hosts as well as Microsoft.
722         * config.nt: Attempt to sync with autogen/config.in.
723         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
724         (_longjmp, _setjmp): Remove.
726 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
728         * config.nt: Sync with autogen/config.in.
729         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
730         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
731         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
733 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
735         * config.nt: Sync with autogen/config.in.
736         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
737         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
739 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
741         * configure.bat <use_extensions>: Don't leave it set in the
742         environment when the script exits.
744 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
746         * config.nt: Sync with autogen/config.in.
747         (NO_ABORT, SIGNAL_H_AHB): Remove.
749 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
751         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
753 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
755         * config.nt: Sync with autogen/config.in.
757 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
759         Simplify redefinition of 'abort' (Bug#12316).
760         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
762 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
764         * config.nt: Sync with autogen/config.in.
765         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
767 2012-09-01  Daniel Colascione  <dancol@dancol.org>
769         * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
771 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
773         * config.nt: Sync with autogen/config.in.
775 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
777         * config.nt: Sync with autogen/config.in.
778         (HAVE_POSIX_OPENPT): New macro.
780 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
782         * config.nt: Sync with autogen/config.in.
783         (_GL_INLINE_HEADER_BEGIN): Update.
785 2012-08-10  Glenn Morris  <rgm@gnu.org>
787         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
789 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
791         * config.nt: Sync with autogen/config.in.
792         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
793         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
795         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
797 2012-08-06  Glenn Morris  <rgm@gnu.org>
799         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
800         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
802 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
804         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
805         (PATH_DATA, PATH_DOC): Replace dummy directory names with
806         directories relative to %emacs_dir%.
807         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
808         to the use case of running un-installed Emacs.
810 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
812         * config.nt: Sync with autogen/config.in.
813         (DOS_NT, MSDOS): New macros.
814         (WRETCODE, wait3): Remove.
816         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
818 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
820         * inc/sys/stat.h (S_IFLNK): Define.
821         (S_ISLNK): A non-trivial definition.
822         (lstat): Prototype instead of a macro that redirects to 'stat'.
824 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
826         Use C99-style 'extern inline' if available.
827         * config.nt: Sync with autogen/config.in.
828         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
829         (_GL_INLINE_HEADER_END): New macros.
831 2012-08-02  Glenn Morris  <rgm@gnu.org>
833         * inc/ms-w32.h: Move here from ../src/s.
834         * config.nt (config_opsysfile): Change to <ms-w32.h>.
836 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
838         * config.nt: Sync with autogen/config.in.
839         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
840         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
841         New macros.
843 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
845         * config.nt: Sync with autogen/config.in.
846         Remove code moved to conf_post.h and include <conf_post.h>
847         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
848         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
850 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
852         * config.nt: Sync with autogen/config.in.
853         (HAVE_ENVIRON_DECL): New macro.
855 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
857         * inc/stdalign.h (_Alignas, alignas): Define.
859 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
861         Use Gnulib stdalign module (Bug#9772, Bug#9960).
862         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
864 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
866         * config.nt: Sync with autogen/config.in.
867         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
868         (SETUP_SLAVE_PTY): New macros.
870 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
872         * config.nt: Sync with autogen/config.in.
873         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
874         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
875         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
876         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
877         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
878         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
879         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
880         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
881         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
882         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
883         Set in src/s/ms-w32.h, not here.
885 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
887         * config.nt: Sync with autogen/config.in.
888         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
889         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
890         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
892 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
894         * config.nt: Sync with autogen/config.in.
896 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
898         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
900 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
902         * config.nt: Sync with autogen/config.in.
904 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
906         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
908 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
909             Eli Zaretskii  <eliz@gnu.org>
911         * config.nt: Complete rework to bring it in sync with autogen/config.in.
912         All Windows-specific code moved to src/s/ms-w32.h.
914 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
915             Eli Zaretskii  <eliz@gnu.org>
917         * configure.bat (enablechecking): Enable checks through src/config.h,
918         not the compiler's command line.
920         * nmake.defs (CHECKING_CFLAGS): Remove.
921         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
923         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
924         (CHECKING_CFLAGS): Remove.
925         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
927 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
929         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
930         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
931         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
932         (HAVE_MEMCMP): Remove, obsolete.
934 2012-06-30  Glenn Morris  <rgm@gnu.org>
936         * paths.h (PATH_SITELOADSEARCH): New.
938 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
940         * nmake.defs (CHECKING_CFLAGS):
941         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
943 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
945         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
947 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
949         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
950         * config.nt (_Noreturn): New macro.
951         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
952         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
954 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
956         * inc/sys/time.h (struct timespec): Don't define it here, it is
957         now defined in src/s/ms-w32.h.
959 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
961         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
962         * inc/sys/time.h (struct timespec): Define.
964 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
966         * makefile.w32-in (install-addpm): New target.
967         (dist): Depend on it.
968         (install-shortcuts): Depend on install-addpm instead of copying
969         addpm.exe as part of the recipe.  See
970         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
971         for the related problem and discussions.
973 2012-06-11  Glenn Morris  <rgm@gnu.org>
975         * config.nt (SYSTEM_TYPE): Define it.
977 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
979         * configure.bat (genmakefiles): Move the redirection away from the
980         end of the command, to avoid excess whitespace at the end of Make
981         variables created at configure time, and also avoid things like
982         "FOO1>>config.settings", where "1" gets interpreted as the file
983         descriptor and eaten up.  This fixes breakage introduced by the
984         last change, without reintroducing the bug fixed by that change.
986 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
988         * nmake.defs (MWINDOWS): Define as
989         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
990         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
992         * gmake.defs (MWINDOWS): Define as "-mwindows".
994 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
996         * config.nt (HAVE_SYSINFO): Remove; unused.
998 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1000         * inc/stdalign.h: New file.
1002         * configure.bat: Ensure a space between %var% expansion and
1003         redirection symbol '>', which breaks when %var% ends in a digit,
1004         such as 1.
1006 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1008         Remove src/m/*.
1009         * config.nt: Do not include "m/intel386.h"; file was removed.
1010         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
1011         Move to src/lisp.h.
1012         (EMACS_INT_MAX): New macro.
1014 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1016         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
1017         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
1019         * config.nt (HAVE_FTIME): Remove undef; not needed.
1021 2012-05-01  Glenn Morris  <rgm@gnu.org>
1023         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
1025 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1027         * makefile.w32-in: Fix typo (Bug#10261).
1029 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
1031         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
1032         each runs makeinfo in its own subdirectory of 'doc'.
1033         (info-gmake): Depend on these new targets.
1035 2012-04-07  Glenn Morris  <rgm@gnu.org>
1037         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
1038         Bump version to 24.1.50.
1040 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1042         * configure.bat: Support building with libxml2.
1044         * INSTALL:
1045         * README.W32: Add information about libxml2.
1047 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1049         * makefile.w32-in: Convert to Unix EOL format.
1050         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
1051         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
1052         (bootstrap-gmake): Invoke the "clean" and build targets in 2
1053         separate commands, so they run in that order even under "make -j".
1055 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
1057         * config.nt: Discourage from defining HAVE_GETCWD.
1059 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1061         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
1062         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
1063         on other (parallel) Make job's toes.
1064         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
1065         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
1066         here.
1067         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
1068         Depend on create-tmp-dist-dir.
1070         * nmake.defs (DIRNAME): New variable.
1071         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1072         same-dir.tst.
1074         * gmake.defs (DIRNAME): New variable.
1075         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1076         same-dir.tst, to avoid conflicts between several (parallel) Make
1077         jobs.
1079 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
1081         Prevent endless re-spawning of cmdproxy.exe when some of its
1082         parent directories have access limitations.
1084         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
1085         and our own module name to short 8+3 aliases, if the original file
1086         names compare equal.  If GetShortPathName fails, compare the base
1087         names of the two file names, and only re-spawn the command line if
1088         the base-name comparison also fails.  (Bug#10674)
1090 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1092         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
1094 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
1096         * README.W32: Removed specific version information for libXpm
1097         included in the binary distribution for maintenance purposes.
1099 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
1101         * README.W32: Clarification for inclusion in source tarball (bug#9750).
1103         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1105         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1107         * makefile.w32-in (maybe-copy-distfiles)
1108         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1109         (create-tmp-dist-dir): Add to make --distfiles optional.
1110         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1112 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
1114         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1115         by other headers.
1117 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1119         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1120         (UINT64_MAX) [_WIN64]: Fix definition.
1121         (uintmax_t, intmax_t): Fix definitions.
1123         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1124         Provide correct definitions.
1126         * config.nt (HAVE_DECL_STRTOLL): Define.
1127         (va_copy) [_WIN64]: Provide a better definition.
1129 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
1131         * configure.bat: Fix typos.
1133 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
1135         * INSTALL: Elaborate on debugging fatal errors.
1137 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
1139         * README.W32: Update the GTK Windows download URL for libpng.
1141 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
1143         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1145 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
1147         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1148         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1149         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1150         (intmax_t, INT64_MAX): Add for MSVC.
1152         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1154 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
1156         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1158         Support MSVC build with newer versions of Visual Studio.
1159         * makefile.w32-in (clean-other-dirs-nmake)
1160         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1161         Update for current structure of doc/ subdirectories.
1163         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1165         * INSTALL: Update for newer versions of MSVC.
1167 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1169         Support MSVC build with newer versions of Visual Studio.
1170         * nmake.defs (USE_CRT_DLL): Define to 1.
1171         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1172         (D): New variable.
1174 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
1176         * runemacs.c (ensure_unicows_dll): New function, tries to load
1177         UNICOWS.DLL on Windows 9X.
1178         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1179         display a dialog to the effect that Emacs cannot be started.
1180         (Bug#8562)
1182 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
1184         * README.W32: Mention UNICOWS.DLL as prerequisite for running
1185         Emacs on Windows 9X.
1187 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
1189         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1190         distribution.  (Bug#9861)
1192 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
1194         * INSTALL: Update URL for GTK download page.
1196 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
1198         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1199         (Bug#9794) (Bug#641)
1201 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1203         * config.nt (HAVE_SNPRINTF): New macro.
1205 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1207         Assume freestanding C89 headers, string.h, stdlib.h.
1208         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1209         (STDC_HEADERS): Remove.
1210         Iinclude string.h, stdlib.h unconditionally.
1212 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
1214         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1215         [!__GNUC__]: New macros.
1217 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1219         Use 'inline', not 'INLINE'.
1220         * config.nt (INLINE): Remove.
1222 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
1224         * README.W32: Add information about GnuTLS libraries.
1226 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
1228         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1230 2011-05-07  Ben Key  <bkey76@gmail.com>
1232         * configure.bat: Renamed the fusercflags variable to escusercflags
1233         so that the variable name better matches its purpose, to be
1234         identical to usercflags with the exception that all quotes are
1235         escaped by the \ character.
1237         Renamed the fuserldflags variable to escuserldflags so that the
1238         variable name better matches its purpose, to be identical to
1239         userldflags with the exception that all quotes are escaped by
1240         the \ character.
1242         A new ESC_USER_CFLAGS variable is written to config.settings.
1243         This variable has the same value as the escusercflags variable.
1245         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1246         This variable is identical to the CFLAGS variable except that it
1247         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1249         These changes, along with some changes to src/makefile.w32-in,
1250         are required to extend my earlier fix to add support for
1251         --cflags and --ldflags options that include quotes so that it
1252         works whether make uses cmd or sh as the shell.
1254 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
1256         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
1257         definition of uintmax_t from here...
1258         * inc/stdint.h (uintmax_t): ...to here.
1259         (intptr_t) [!__GNUC__]: New typedef.
1261 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
1263         * config.nt: Prepare to configure 64-bit integers for older compilers.
1264         However, temporarily disable this change unless the temporary
1265         symbol WIDE_EMACS_INT is defined.
1266         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1267         "%I64d" work but long long and "%lld" do not.
1269 2011-05-05  Ben Key  <bkey76@gmail.com>
1271         * configure.bat: Added support for --cflags and --ldflags
1272         options that include quotes as long as command extensions are
1273         enabled.  Specifically when -I, -L, and similar flags are used
1274         to specify supplementary include and library directories a
1275         directory name that includes spaces may now be used if it is
1276         enclosed in quotes.
1278         * INSTALL: Documented the change to configure.bat.
1280 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1282         * INSTALL: Clarify GnuTLS support.
1284 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
1286         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1287         Define to 1 for MinGW of MSVC versions >= 1400.
1289 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
1291         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1293 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
1295         * inc/inttypes.h: New file.
1297         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1298         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1300 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1302         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1303         inside quotation marks and bail out.
1305 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1307         * cmdproxy.c (try_dequote_cmdline): New function.
1308         (main): Use it.
1310 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1312         * configure.bat: New options --without-gnutls and --lib, new build
1313         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
1314         library setup with trivial modifications.
1315         * INSTALL: Add instructions for GnuTLS support.
1316         * gmake.defs: Prefix USER_LIBS with -l.
1318 2011-04-15  Ben Key  <bkey76@gmail.com>
1320         * configure.bat: Modified the code that parses the --cflags and
1321         --ldflags options to support parameters that include the =
1322         character as long as they are enclosed in quotes.
1323         This functionality depends on command extensions.  Configure.bat now
1324         attempts to enable command extensions and displays a warning
1325         message if they could not be enabled.  If configure.bat could
1326         not enable command extensions the old parsing code is used that
1327         does not support parameters that include the = character.
1329         * INSTALL: Updated the file to describe the new functionality
1330         using text provided by Eli Zaretskii.
1332 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
1334         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1335         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1336         on the trunk on 2011-04-06.
1338 2011-03-27  Glenn Morris  <rgm@gnu.org>
1340         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1342 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
1344         * addpm.c (main): Remove unused variable `retval'.
1346         * preprep.c (main): Remove unused variable `ptr'.
1348 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
1350         * cmdproxy.c: Include <ctype.h>.
1351         (make_absolute): Remove unused variable `i'.
1353 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
1355         * Version 23.3 released.
1357 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
1359         * inc/unistd.h (readlink, symlink): Declare prototypes.
1361 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
1363         * config.nt (nlink_t): Define.
1365 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
1367         * inc/stdint.h: New file, to support compilation with tool chains
1368         that do not have stdint.h (e.g. MSVC).
1370 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
1372         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1373         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1374         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1375         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1376         (lstat): Define to stat.
1378 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
1380         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1381         "make-docfile" target in lib-src, before bootstrapping the src
1382         directory.  Needed since building in src needs to run make-docfile
1383         to produce globals.h.
1385 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1387         * config.nt (inline) [__GNUC__]: Define (for gnulib).
1389 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1391         * config.nt (VERSION): Uncomment definition.
1392         (restrict): Define.
1394         * inc/stdbool.h: New file.
1396 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1398         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1399         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1400         (bootstrap-clean-gmake, clean-other-dirs-nmake)
1401         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1402         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1403         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1404         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1405         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1407         * configure.bat: Create lib/makefile.
1409         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1410         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1411         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1412         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1414 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1416         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1418 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1420         * configure.bat (end): Unset environment variables used by this
1421         batch file.
1423         * INSTALL: Update the information about PNG support libraries.
1424         (Bug#7716)
1426         * README.W32: Update the information about PNG support libraries.
1428 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1430         * config.nt (EXTERNALLY_VISIBLE): Define.
1432 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1434         * INSTALL: Refer to `dynamic-library-alist'.
1436 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1438         * INSTALL: Add note about problematic characters passed to configure.
1440 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1442         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1443         emacs-src.tags: New file.
1445         * gmake.defs: Add a comment with a single quote to fix
1446         fontification.  (Bug#7102)
1448 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1450         * configure.bat: Fix the condition for copying paths.h into
1451         ../src/epaths.h.
1453 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1455         * addpm.c (entry, add_registry, main):
1456         * addsection.c (file_data, open_input_file, open_output_file)
1457         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1458         (COPY_CHUNK):
1459         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1460         (skip_nonspace, get_next_token, search_dir, make_absolute)
1461         (spawn, main):
1462         * preprep.c (file_data, open_input_file, open_output_file)
1463         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1464         Use const char*.
1466         * cmdproxy.c (stdin): Don't define, not used.
1467         (main): Don't assign remlen after last use.
1469 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1471         * configure.bat: Err out when the argument of --cflags contains
1472         invalid characters (check implemented only for GCC).  (Bug#6820)
1474 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1476         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1478 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1480         * addpm.c (add_registry): Set path for runemacs.exe to use.
1482 2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
1484         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1485         which has a 1024 char limit on Windows (bug#6647).
1487 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1489         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1490         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1492 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1494         * config.nt: Remove code referring to NO_REMAP, unused.
1496 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1498         Build binary distros on Windows using emacs-VERSION as root dir name.
1500         * makefile.w32-in: Copy README.W32 to installation directory
1501         during `make install'.  Remove README.W32 with `distclean' (in
1502         case Emacs was installed in place).  Use temporary directory to
1503         create distribution zip files in `dist' target.
1504         * zipdist.bat: Simplify code using temporary directory.
1506 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1508         * runemacs.c (set_user_model_id): Fix prototype.
1510 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1512         New make target for Windows platform: make dist (bug#6602)
1514         * INSTALL: Document new dist target and add section about
1515         creating binary distributions.
1516         * README.W32: Relocate from admin/nt/ directory.
1517         * configure.bat: New parameter `--distfiles'.
1518         * makefile.w32-in: Add version number, new target `dist'.
1519         Add new target `install-shortcuts'.
1520         * zipdist.bat: New file; create zipped binary distribution,
1521         replaces admin/nt/makedist.bat.
1523 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1525         * INSTALL: Add note about backslashes in Windows paths.
1526         Fix typos.  Simplify references to Windows versions.
1528 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1530         * addpm.c (add_registry, main):
1531         * cmdproxy.c (get_env_size):
1532         * ddeclient.c (main):
1533         * runemacs.c (set_user_model_id):
1534         Convert definitions to standard C.
1536 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1538         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1540 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1542         * configure.bat: New option --enable-checking.
1543         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1544         (CFLAGS): Include it.
1546 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1548         * config.nt (volatile): Remove definition.
1550 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1552         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1553         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1555 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1557         * config.nt (__P): Remove.
1559 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1561         * config.nt: Remove code depending on BSTRING.
1563 2010-06-03  Glenn Morris  <rgm@gnu.org>
1565         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1567 2010-05-13  Glenn Morris  <rgm@gnu.org>
1569         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1571 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1573         * Version 23.2 released.
1575 2010-05-04  Glenn Morris  <rgm@gnu.org>
1577         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1579 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1581         * emacs.manifest: Add trustInfo section to Windows manifest.
1583 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1585         * Branch for 23.2.
1587 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1589         * emacsclient.rc: Fix format of "LegalCopyright" value.
1591 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1593         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1595 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1597         * INSTALL: Update for CVS->Bazaar switchover.
1599 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1601         * configure.bat: Add #define PROFILING to config.h.
1603 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1605         * runemacs.c (set_user_model_id): Use standard types.
1607 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1609         * runemacs.c (set_user_model_id): New function.
1610         (WinMain): Use it.
1612 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1614         * Branch for 23.1.
1616 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1618         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1619         st_gid to unsigned.
1621         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1622         to unsigned.
1623         (getpwuid): Argument is now unsigned.
1624         uid_t is now unsigned.
1626 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1628         * INSTALL: Add comment about TCC; fix typos.
1630 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1632         * emacsclient.rc, emacs.rc: Swap name and description.
1633         Remove Windows versions.
1635 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1637         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1639         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1641         * addpm.c (main): Try using COM to create start menu shortcuts
1642         before resorting to DDE (Bug#202)
1643         Remove second command-line argument.
1645 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1647         * configure.bat: Untabify help message.
1649 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1651         * configure.bat: New option --with-svg.
1653         * INSTALL: Document experimental SVG support.
1655 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1657         * config.nt (PTR): Remove.
1659 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1661         * config.nt (LISTPROC, PROCATTR): Remove.
1663 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1665         * config.nt (LISTPROC, PROCATTR): New macros.
1667 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1669         * config.nt (MULTI_KBOARD): Remove.
1671 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1673         * configure.bat: New option --profile.
1674         * gmake.defs: Set cflags and ldflags for profiling when specified.
1676 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1678         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1680 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1682         * config.nt (HAVE_FACES): Remove, unused.
1684 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1685             Eli Zaretskii  <eliz@gnu.org>
1687         * nmake.defs (FONT_CFLAGS):
1688         * gmake.defs (FONT_CFLAGS): Remove.
1689         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1690         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1691         and _CRTAPI1.
1692         (ARCH_FLAGS): Don't include _X86_.
1694         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1696 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1698         * config.nt: Remove reference to UNEXEC_SRC.
1700 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1701             Eli Zaretskii  <eliz@gnu.org>
1703         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1704         Don't hardcode -gstabs+, use DEBUG_INFO.
1706         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1707         Default to stabs if the compiler does not support DWARF-2.
1708         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1710 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1712         * configure.bat: Remove code dealing with --disable-font-backend.
1714 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1716         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1717         better alignment.  Make st_size 64-bit wide.  Add new members
1718         st_uname and st_gname.
1720         * inc/grp.h (struct group): Add gr_gid member.
1722 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1724         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1725         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1726         a real file there is not a good idea.
1728 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1730         * makefile.w32-in (CLIENTRES): New variable and build target.
1731         (all): Depend on it.
1732         ($(TRES)): Use $(TRES) in rule.
1734 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1736         * configure.bat (success): Print "make" rather than "gmake", as that
1737         is what MinGW uses.
1739 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1741         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1742         Add copyright notice.
1744 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1746         * emacsclient.rc: New file.
1748         * INSTALL: Document make targets.
1750 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1752         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1753         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1754         (top-distclean, distclean, distclean-other-dirs-nmake)
1755         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1756         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1758 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1760         * inc/sys/stat.h: New file.
1762         * configure.bat: Add check for usp10.h.
1764 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1766         * INSTALL: Update Windows API requirements.
1768 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1770         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1772 2008-03-13  Glenn Morris  <rgm@gnu.org>
1774         * emacs.rc: Set version to 23.0.60.
1776 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1778         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1779         (EMACS_EXTRA_C_FLAGS): Include it.
1780         * configure.bat (usefontbackend): Default to Y.
1781         (--enable-font-backend): Replace with --disable-font-backend.
1782         (:withfont): Replace with :withoutfont.
1784 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1786         * icons/emacs.ico: Full alpha for 32x32 full color.
1787         Add 32x32 and 16x16 256 color versions.
1789 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1791         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1793 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1795         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1797 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1799         * icons/README: Update.
1801         * icons/emacs.ico: New icon.
1803 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1805         * addpm.c: Include malloc.h.
1806         (add_registry): Cast return value of alloca.
1808 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1810         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1812 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1814         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1815         conditional on existence of junk.o.  If %nocygwin% is already set
1816         to Y, skip to chkapiN instead of chkapi.
1817         (chkapi): Move "rm -f junk.c junk.o" to here.
1818         (chkapiN): New label.
1820 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1822         * makefile.w32-in: Remove unidata-gen related rules.
1824 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1826         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1828 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1830         * addpm.c (add_registry): Add an App Paths registry key.
1831         Look for GTK and add it to the DLL search path for Emacs if found.
1833 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1835         * configure.bat: In help, use generic names for the image libraries.
1837 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1839         * .cvsignore: Don't ignore .arch-inventory.
1841 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1843         * configure.bat: Make gcc the default compiler.
1845 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1847         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1848         Ignore return status.
1850         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1851         it out of the way of Windows generated file.
1852         Generate admin/unidata/makefile.
1854         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1855         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1856         (unidatagen-clean-SH): New targets.
1857         (bootstrap-nmake): Invoke unidatagen-nmake.
1858         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1860 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1862         * configure.bat (withfont): Set sep1 after modifying usercflags.
1864 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1866         * configure.bat: Rename --with-font-backend to --enable-font-backend
1867         for consistency with other platforms.
1869 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1871         * configure.bat: Add --with-font-backend option.
1873 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1875         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1876         permissions to NTFS ACLs.
1878 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1880         * config.nt: Remove HAVE_X11R5.
1882 2007-10-22  Jason Rumney  <jasonr@gnu.org>
1884         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1885         (strings.h, stdlib.h): Conditionally include.
1886         (w32_abort): Declare here.
1887         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
1889 2007-10-20  Jason Rumney  <jasonr@gnu.org>
1891         * makefile.w32-in (info-nmake): Change into correct directories.
1893 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
1895         * configure.bat (docflags, doldflags): New variables.
1896         (genmakefiles): Use them to work around problems with whitespace
1897         in arguments of the `if' command.
1899 2007-10-18  Jason Rumney  <jasonr@gnu.org>
1901         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1903 2007-09-27  Jason Rumney  <jasonr@gnu.org>
1905         * gmake.defs (COMCTL32): New system library.
1907         * nmake.defs (COMCTL32): New system library.
1909 2007-09-06  Glenn Morris  <rgm@gnu.org>
1911         * configure.bat:
1912         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
1913         Change from ../man to ../doc/emacs and ../doc/misc; and from
1914         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
1916 2007-08-29  Glenn Morris  <rgm@gnu.org>
1918         * emacs.rc: Increase version to 23.0.50.
1920 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
1922         * makefile.w32-in (bootstrap-nmake): Change directories once more.
1924 2007-07-25  Glenn Morris  <rgm@gnu.org>
1926         * Relicense all FSF files to GPLv3 or later.
1928         * COPYING: Switch to GPLv3.
1930 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
1932         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
1933         Depend on cmdproxy.
1934         (cleanall): Don't delete *~.
1936 2007-07-15  Jason Rumney  <jasonr@gnu.org>
1938         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
1939         be fully supported.
1941 2007-07-14  Jason Rumney  <jasonr@gnu.org>
1943         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
1944         of winsock.h.
1946 2007-07-11  Jason Rumney  <jasonr@gnu.org>
1948         * gmake.defs (OLE32): New library to link.
1950         * nmake.defs (OLE32): Likewise.
1952 2007-06-25  Jason Rumney  <jasonr@gnu.org>
1954         * cmdproxy.c (main): Set console codepages to "ANSI".
1956 2007-06-20  Jason Rumney  <jasonr@gnu.org>
1958         * configure.bat: Complain if image libraries are missing.
1960 2007-06-15  Jason Rumney  <jasonr@gnu.org>
1962         * emacs.manifest: New file.
1964         * emacs.rc: Use it.
1966 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
1968         * Version 22.1 released.
1970 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
1972         * INSTALL: Add information about where to find GDB, and warn
1973         against --no-debug option to configure.bat.
1975 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
1977         * INSTALL: Fix URL of EmacsW32 site where building with image
1978         support is described.
1980 2007-04-26  Glenn Morris  <rgm@gnu.org>
1982         * emacs.rc: Increase version to 22.1.50.
1984 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
1986         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
1988 2007-03-09  Richard Stallman  <rms@gnu.org>
1990         * INSTALL: Say explicitly this is not for Cygwin.
1992 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
1994         * INSTALL: Add URL of another site with detailed build instructions.
1996 2007-02-16  Glenn Morris  <rgm@gnu.org>
1998         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
1999         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
2000         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
2001         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
2002         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
2003         Restore all but two of icons deleted in previous change.
2005 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
2007         * icons/README: New file.
2009         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
2010         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
2011         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
2012         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
2013         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
2014         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
2015         Unused icons deleted.
2017 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
2019         * configure.bat: Update ../site-lisp/subdirs.el when needed.
2021 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
2023         * subdirs.el: Add "no-byte-compile: t" local variable.
2025 2007-01-10  Jason Rumney  <jasonr@gnu.org>
2027         * README: Update URLs and advice about reporting bugs.
2029 2006-12-29  Jason Rumney  <jasonr@gnu.org>
2031         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
2032         DEBUG_LINK.
2033         (DEBUG_LINK): Remove -debugtype:both.
2035 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
2037         * INSTALL: Update table of supported Make ports.  Show "make -j"
2038         command that is known to work.
2040         * configure.bat: Update table of supported Make ports.
2042 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
2044         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
2045         only in implicit rules.  Use literal "emacs.rc" instead.
2047 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
2049         * gmake.defs: Export XMFLAGS.
2051         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
2052         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
2054 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
2056         * INSTALL: Explain how to invoke GNU Make for parallel builds.
2058         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
2059         command-line argument to sub-Make in src, since src/makefile.w32-in
2060         invokes Make recursively during bootstrap.
2061         (clean): Delete stamp_BLD.
2062         (bootstrap): Make `all' explicitly in a recursive Make.
2064         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2065         stamp_BLD after creating the $(BLD) directory.
2067         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2068         stamp_BLD after creating the $(BLD) directory.
2070         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
2071         (preprep, $(TRES), runemacs)
2072         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
2073         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2074         Depend on stamp_BLD instead of on $(BLD).
2075         (XMFLAGS): New macro.
2076         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
2077         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
2078         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
2079         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2081 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
2083         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
2084         $(ALL_DEPS).
2085         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
2086         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2087         New dependency on $(BLD).
2088         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
2089         (bootstrap-gmake): Depend on addsection.
2091 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
2093         * runemacs.c (WinMain): Process all recognized arguments, not just
2094         the first one.  Remove unused variable sec_desc.
2096 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
2098         * config.nt (HAVE_LANGINFO_CODESET): Define.
2100         * inc/langinfo.h: New file.
2102         * inc/nl_types.h: New file.
2104 2006-09-15  Jay Belanger  <belanger@truman.edu>
2106         * COPYING: Replace "Library Public License" by "Lesser Public
2107         License" throughout.
2109 2006-07-27  Jason Rumney  <jasonr@gnu.org>
2111         * INSTALL: Add notes about Cygwin make to impatient section.
2113 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
2115         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2116         known to work.
2118 2006-03-12  Jason Rumney  <jasonr@gnu.org>
2120         * addpm.c (add_registry): Don't change the registry unless keys
2121         already exist from a previous version.
2123         * makefile.w32-in (install): Use -q when invoking addpm.
2125         * addpm.c (main): Accept -q as alternative for /q.
2127 2006-03-11  Jason Rumney  <jasonr@gnu.org>
2129         * runemacs.c (WinMain): Set screen buffer to 80x25.
2131 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
2133         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2134         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2136 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
2138         * INSTALL: Add explanation of how to debug with GDB starting from
2139         the Emacs Abort dialog.
2141 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
2143         * emacs.rc: Use new icons.
2145 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
2147         * emacs21.ico: Renamed from emacs.ico.
2148         * emacs.ico: New icons from Andrew Zhilin
2149         <andrew_zhilin@yahoo.com>.
2151 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
2153         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2155 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
2157         * .cvsignore: Add `obj' and `oo' for in-place installations.
2159 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
2161         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2163 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
2165         * configure.bat: Don't create lisp/Makefile.unix.
2167 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
2169         * .cvsignore: Add `makefile' and `config.log'.
2171 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
2173         Merge gnulib getopt implementation into Emacs.
2175         * inc/gettext.h: Remove; no longer needed now that
2176         lib-src/gettext.h exists.
2178 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
2180         * configure.bat: Finish config.log with a line that indicates that
2181         the configure step was successful.
2183 2005-07-04  Lute Kamstra  <lute@gnu.org>
2185         Update FSF's address in GPL notices.
2187 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
2189         * configure.bat: If their fc.exe returns a meaningful exit status,
2190         don't overwrite src/config.h and src/epaths.h with identical
2191         copies.
2193         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2194         changes.  Add a pointer to another site with detailed configure
2195         and build instructions.  Suggest to look at config.log when
2196         configure fails.  Add MinGW Make 3.80 to the list of successful
2197         combinations.
2199         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2200         "-mcpu=i686".
2202         * configure.bat: Update copyright years.
2203         Delete config.log before doing anything else.
2204         Write additional diagnostics to config.log in case of failures to
2205         compile test programs, including the failed test program itself.
2206         Add a test for support of -mtune=pentium4 switch to GCC; if it is
2207         supported, set up MCPU_FLAG variable on the various Makefiles to
2208         use that switch during compilations.  (This avoids GCC warning
2209         about -mcpu being deprecated.)
2211 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
2213         * addsection.c (copy_executable_and_add_section): Pass non-zero
2214         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2215         environment.  Print section names with %.8s.
2216         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2217         only if non-zero.  All callers changed.
2219 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
2221         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2222         `const void *', for consistency with POSIX.
2224 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
2226         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2228 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
2230         * INSTALL: Add more pointers to ports of Unix tools to Windows,
2231         and to the Emacs Wiki (which contains building instructions for
2232         Windows).  Reword image library instructions and remove obsolete
2233         incompatibility information.
2235 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
2237         * config.nt (HAVE_PWD_H): Undef.
2239 2004-06-07  Juanma Barranquero  <lektu@terra.es>
2241         * INSTALL: Clarify paragraph about compatibility between image
2242         libraries and builds of Emacs with several compilers.
2244 2004-06-06  Juanma Barranquero  <lektu@terra.es>
2246         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2247         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2248         calling non-existent cmdproxy.exe on bootstrapping after a
2249         previous install followed by realclean.
2251         * nmake.defs: Add quote in comment to resync font-locking.
2253 2004-06-04  Juanma Barranquero  <lektu@terra.es>
2255         * INSTALL: Reword the section on image support.  Add reference to
2256         GnuWin32.  Mention problems when mixing binaries from different
2257         compilers.
2259 2004-05-06  Jason Rumney  <jasonr@gnu.org>
2261         * configure.bat: Use -mno-cygwin to check for image libraries
2262         when needed.
2264 2004-05-03  Jason Rumney  <jasonr@gnu.org>
2266         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2267         * makefile.def: Remove.
2269         * nmake.defs (SYS_LDFLAGS): Add -nologo.
2271         * makefile.w32-in (info-gmake, info-nmake): New targets.
2272         (info): Use them.
2274 2004-04-23  Juanma Barranquero  <lektu@terra.es>
2276         * nmake.defs:
2277         * gmake.defs:
2278         * makefile.w32-in:
2279         * makefile.def:
2280         * makefile.nt: Add "-*- makefile -*-" mode tag.
2282 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
2284         * runemacs.c (WinMain): Let Emacs environment default to parent.
2286 2004-03-11  Jason Rumney  <jasonr@gnu.org>
2288         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2290 2004-03-10  Juanma Barranquero  <lektu@terra.es>
2292         * makefile.w32-in (install): Don't try to copy
2293         ../lib-src/fns-*.el, as it isn't used anymore.
2295 2004-01-28  Peter Runestig  <peter@runestig.com>
2297         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2299 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
2301         * .cvsignore: Add `.arch-inventory'.
2303 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
2305         * inc/grp.h: New file.
2307 2003-09-03  Peter Runestig  <peter@runestig.com>
2309         * configure.bat: Create ``makefile'' in directories man, lispref
2310         and lispintro.
2312         * makefile.w32-in (force-info, info): New targets.
2314         * envadd.bat: New file.
2316         * multi-install-info.bat: New file.
2318 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
2320         * config.nt (my_strftime): New define.
2322 2003-02-01  Jason Rumney  <jasonr@gnu.org>
2324         * configure.bat: Automatically detect libXpm.
2325         Suppress compiler output when testing for image libraries.
2326         Give names of un-found libraries in messages.
2328 2003-01-31  Juanma Barranquero  <lektu@terra.es>
2330         * configure.bat: Automatically detect giflib and tifflib.
2332 2003-01-29  Jason Rumney  <jasonr@gnu.org>
2334         * gmake.defs (CURDIR): Disable cygpath kludge.
2336 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
2338         * configure.bat: Avoid endless loop when configuring without image
2339         support.
2341 2003-01-26  Jason Rumney  <jasonr@gnu.org>
2343         * configure.bat: Automatically detect jpeglib.
2345 2003-01-25  Jason Rumney  <jasonr@gnu.org>
2347         * configure.bat: Automatically detect libpng.
2349 2003-01-21  Jason Rumney  <jasonr@gnu.org>
2351         * icons/hand.cur: New file.
2353 2003-01-21  David Ponce  <david@dponce.com>
2355         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2357 2003-01-15  Andrew Innes  <andrewi@gnu.org>
2359         * gmake.defs (CURDIR): Convert to native Windows format (with
2360         forward slashes), to support building with Cygwin builds of make.
2362 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
2364         * nmake.defs:
2365         * gmake.defs: Made changes so that Emacs would link with
2366         WinMM.lib.  This change was required for my addition of a Windows
2367         compatible implementation of play-sound-internal.
2369 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
2371         * emacs.rc: Version updated to 21.3.50.
2373 2002-06-13  Jason Rumney  <jasonr@gnu.org>
2375         * addpm.c (env_vars): Remove EMACSLOCKDIR.
2377         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2378         (maybe-bootstrap-SH): New targets.
2379         (all): Depend on maybe-bootstrap.
2381 2002-05-03  Jason Rumney  <jasonr@gnu.org>
2383         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2384         (sys_getpeername, fcntl): Declare as wrappers.
2386 2002-04-10  Juanma Barranquero  <lektu@terra.es>
2388         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2389         after compiling .el files.
2391 2002-03-20  Jason Rumney  <jasonr@gnu.org>
2393         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2394         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2396 2002-03-19  Kim F. Storm  <storm@cua.dk>
2398         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2399         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2400         (HAVE_SYS_UN_H): Undef.
2401         From David Ponce <dponce@voila.fr>.
2403 2002-03-13  Jason Rumney  <jasonr@gnu.org>
2405         * config.nt (STRFTIME_NO_POSIX2): Define.
2407 2002-02-18  Jason Rumney  <jasonr@gnu.org>
2409         * emacs.rc: Define VS_VERSION_INFO if not already.
2410         Update version info.
2412 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2414         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2415         pick up relevant bits of the Windows API definitions.
2417         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2418         pick up relevant bits of the Windows API definitions.
2420 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2422         * makefile.w32-in (bootstrap): Build addsection program before
2423         bootstrap (required for post-processing temacs.exe).
2425 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2427         * COPYING: New file.
2429 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2431         * makefile.w32-in (bootstrap-nmake):
2432         (bootstrap-gmake): Extend bootstrap process to first do
2433         bootstrap-clean in lisp dir and rebuild the DOC file.
2434         (bootstrap): Do a "normal" make after the bootstrap work.
2436 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2438         * INSTALL: Update table of versions of make that are suitable
2439         for building Emacs, based on recent feedback.
2441         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2443 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2445         * ftime-nostartup.bat: New file.
2447         * ftime.bat: Don't include libc.lib for profiling - the profiler
2448         corrupts part of memcpy.
2450 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2452         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2453         expansion.  From Juanma Barranquero <lektu@terra.es>.
2455 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2457         * (Version 21.1 released.)
2459 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2461         * inc/pwd.h (uid_t, gid_t): New typedefs.
2463 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2465         * Branch for 21.1.
2467 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2469         * README: Update the address of the mailing list and subscription
2470         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2472 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2474         * INSTALL: Suggest to avoid using WinZip.
2476         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2478 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2480         * INSTALL: Mention that "make install" can be "nmake install".
2482 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2484         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2485         since some versions of `mkdir' don't automatically create parent
2486         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2488 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2490         * subdirs.el: New file.
2492         * configure.bat: Copy subdirs.el to the site-lisp directory.
2494         * makefile.w32-in (install): Copy subdirs.el to the installation
2495         directory.
2497 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2499         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2501 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2503         * gmake.defs (sh_output): Don't use $(warning ...) to output
2504         messages, since that is not supported by GNU make 3.77.
2506 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2508         * INSTALL: Clarify that building with MSVC requires nmake.
2510 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2512         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2513         message that is to be ignored.
2515 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2517         * TODO: Remove file, since it is completely out of date.
2519         * README: Add copyright notice.
2521         * INSTALL: Add copyright notice.
2523 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2525         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2526         the environment.
2528         * gmake.defs (SETLOADPATH): Remove definition.
2529         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2530         environment.
2532 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2534         * configure.bat: Make the checkw32api* labels be distinct in the
2535         first 8 characters.
2537 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2539         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2540         escaped quotes.
2542         * gmake.defs (DEBUG_LINK): New macro.
2543         (LINK_FLAGS): Use it.
2545         * nmake.defs (DEBUG_LINK): New macro.
2546         (LINK_FLAGS): Use it.
2548 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2550         * INSTALL: Add --ldflags to configure line for building with
2551         recent versions of Cygwin GCC.
2553 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2555         * configure.bat: Use correct options when compiling a test program
2556         with Cygwin.  From David Ponce <dponce@voila.fr>.
2558 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2560         * _emacs: Remove obsolete file.
2562         * emacs.bat.in: Remove obsolete file.
2564         * debug.bat.in: Remove obsolete file.
2566         * inc/sys/socket.h: Add copyright notice.
2568         * paths.h: Add copyright notice.
2570         * makefile.nt: Update copyright notice.
2572         * makefile.def: Update copyright notice.
2574         * configure.bat: Update copyright notice.
2576         * nmake.defs: Add copyright notice.
2578         * gmake.defs: Add copyright notice.
2580         * makefile.w32-in: Add copyright notice.
2582 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2584         * nmake.defs (THISDIR): New definition.
2586         * gmake.defs (THISDIR): New definition.
2588 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2590         * configure.bat: Leave a space before >> only when there is a
2591         preceding digit.  Add a comment about the importance of this.
2593         * README: Replace outdated information.
2595         * INSTALL (Trouble-shooting): Add note about need to specify extra
2596         compiler flags with recent Cygwin ports of gcc.
2598 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2600         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2601         is not supported by Windows 9X's COMMAND.COM.
2603 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2605         * configure.bat: Make sure redirection is preceded by a blank, to
2606         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2607         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2609 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2611         * INSTALL: Copy the table of tested combinations of development
2612         tools from configure.bat.  Add suggestion to install Bash on
2613         Windows 9X.
2615         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2616         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2617         needs to be deleted, since command.com in Windows 9X doesn't grok
2618         more than one argument.
2620 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2622         * makefile.w32-in (cleanall-other-dirs-nmake):
2623         (cleanall-other-dirs-gmake): New targets.
2624         (cleanall): Invoke them.
2626 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2628         * addpm.c (env_vars): Add a version-independent site-lisp
2629         directory to EMACSLOADPATH, after the version dependent one.
2631 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2633         * README: Update info about compilers.
2635         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2636         select correct rule for invoking make in another directory.
2637         Amend rules accordingly.
2638         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2640         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2641         (COMPILER_TEMP_FILES): New definition.
2642         (MAKETYPE): New definition.
2644         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2645         (COMPILER_TEMP_FILES): New definition.
2646         (MAKETYPE): New definition.
2648         * makefile.def (EMACS_ICON_PATH): Delete definition.
2650         * configure.bat: Be careful not to add trailing spaces when
2651         outputting to config.settings.
2653 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2655         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2656         than the function.
2658 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2660         * makefile.w32-in (install): Copy directories to the correct
2661         places.
2662         (real_install): Remove obsolete target.
2664 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2666         * nmake.defs (CURDIR): New define.
2667         (INSTALL_DIR): Use it.
2669         * gmake.defs (NEW_CYGWIN): New define.
2670         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2671         so we need to adjust how we escape embedded quotes.
2672         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2673         relative to $(CURDIR).
2675 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2677         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2679 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2681         * makefile.w32-in (recompile): New target to recompile lisp
2682         directory.
2683         (recompile-CMD, recompile-SH): New support targets.
2685 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2687         * config.nt (NO_RETURN): Define it.
2689 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2691         * gmake.defs: Revert to Unix line endings.
2693         * nmake.defs: Revert to Unix line endings.
2695 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2697         * gmake.defs (SETLOADPATH): Change definition to work from any
2698         subdirectory.
2700 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2702         * makefile.w32-in: Revert to Unix line endings.
2704 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2706         * INSTALL: Add note about expected error messages when configure
2707         is run.
2709         * configure.bat: Simplify the generation of makefiles (don't need
2710         to generate various top-level targets that invoke make in other
2711         directories).
2713         * gmake.defs (SHELLTYPE): New define.
2714         (SETLOADPATH): New define.
2716         * nmake.defs (SHELLTYPE): New define.
2718         * makefile.w32-in: Standardize indentation somewhat.
2719         Add bootstrap support.
2720         Pass $(MFLAGS) when invoking make recursively.
2721         Add shell-specific variants of top-level targets that invoke make
2722         recursively in other directories, and add necessary computed
2723         dependencies.
2725 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2727         * makefile.w32-in: Change to DOS line endings.
2729         * configure.bat: Change to DOS line endings.
2731         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2732         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2734         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2735         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2737         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2738         -D_ANONYMOUS_STRUCT on compile line.
2739         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2740         (ARCH_CFLAGS): Change optimization flags to -O2.
2741         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2742         (ARGQUOTE, DQUOTE): New defines.
2744         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2745         -D_ANONYMOUS_STRUCT on compile line.
2746         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2747         (ARGQUOTE, DQUOTE): New defines.
2749 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2751         * configure.bat: New file.
2753         * gmake.defs: New file.
2755         * nmake.defs: New file.
2757         * makefile.w32-in: New file.
2759         * INSTALL: Rewrite to match new configure process.
2761         * config.nt [WINDOWSNT]: Don't declare getenv.
2762         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2764         * addpm.c (main): Accept /q to mean install based on addpm's
2765         location without asking.  Remove reference to emacs.bat which is
2766         now obsolete.
2768         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2770         * paths.h: Use forward slash as directory separator in all path
2771         definitions.
2772         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2774         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2776         * runemacs.c: Remove WIN32 define.
2778         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2779         not defined.
2781         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2782         (fd_set): Define to new name, after including winsock.h, so we can
2783         provide our own implementation.
2785 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2787         * ebuild.bat: Add support for specifying make arguments.
2789         * makefile.nt: Add support for `bootstrap' and related targets.
2791 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2793         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2795 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2797         * inc/sys/time.h: Add inclusion protection.
2799         * makefile.def (SYS_LDFLAGS): Add -nologo.
2801 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2803         * install.bat: Pass on command line arguments to make.
2805         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2807 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2809         * makefile.nt (all): Build leim if present.
2810         (install): Install leim if present.
2811         (clean): Clean leim if present.
2813         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2814         definition.
2816         * emacs.bat.in (EMACSLOADPATH): Include leim.
2818 1999-07-12  Richard Stallman  <rms@gnu.org>
2820         * Version 20.4 released.
2822 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2824         * emacs.rc: Use an icon with a transparent background, to be in
2825         keeping with other applications.
2827 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2829         * preprep.c: Fix typo.
2831 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2833         * config.h: Remove obsolete file.
2835         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2836         couple of unused switch cases that aren't defined on all
2837         platforms.
2839         * ftime.bat: Add another variation of the profile command, which
2840         only profiles extended commands.
2842 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2844         * cmdproxy.c (main): Fix parens.
2846 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2848         * cmdproxy.c (main): Call GetShortPathName to normalize program
2849         names for comparison.
2851 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2853         * makefile.def: Compile multiple .c files when possible.
2854         Use BLD instead of assuming i386.
2855         * makefile.nt: Remove common multiple file compilation commands.
2857 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2859         * cmdproxy.c (main): Add missing parens.
2861 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2863         * preprep.c: New program to allow dumped image to be profiled.
2865         * makefile.nt (preprep): New target.
2866         (ALL): Build it.
2868         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2870         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2871         Change prep options to profile libc functions and skip the startup
2872         code.
2874 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2876         * makefile.nt: Create installation directory as first step.
2878 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2880         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2881         ROUND_UP_DST.  Zeroes the alignment slop.
2882         (copy_executable_and_add_section): Update the
2883         SizeOfHeaders field properly.
2885 1999-01-27  Andrew Innes  <andrewi@gnu.org>
2887         * makefile.nt: Do make version comparison as strings.
2889 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
2891         * runemacs.c (WinMain): Pass explicit environment block to
2892         CreateProcess, to work around a bug in Windows 95/98.
2894 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
2896         * icons: New directory with Davenport's icons.
2897         * icons/sink.ico: Renamed from emacs.ico.
2899         * makefile.nt (install, fast_install): Install Windows icons
2900         into etc/icons.
2902         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2904 1999-01-17  Andrew Innes  <andrewi@gnu.org>
2906         * makefile.nt (ALL): List top-level targets.
2907         (addsection): New top-level target.
2908         (install): Copy fns-*.el to bin directory.
2910         * addsection.c: New program to add static heap section to
2911         temacs.exe after linking, in support of new unexec method.
2913 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
2915         * cmdproxy.c (spawn): Pass directory for child as parameter.
2916         (main): Save startup directory to give to spawn, then change
2917         directory to location of .exe in order not to prevent startup
2918         directory from being deleted.
2920 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
2922         * makefile.nt: Do string comparison of _NMAKE_VER.
2924 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
2926         * config.nt (LOCALTIME_CACHE): Define.
2928 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
2930         * install.bat: Convert to DOS format.
2932 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
2934         * cmdproxy.c (main): Set environment size only when running
2935         command.com.
2937 1998-11-03  Theodore Jump  <tjump@tertius.com>
2939         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
2940         (DEL_TREE): Use rd instead of rmdir.
2941         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
2942         * makefile.nt: Compile multiple source files when possible.
2944 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
2946         * cmdproxy.c (main): Treat command line options as case-insensitive.
2948 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
2950         * Version 20.3 released.
2952 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
2954         * addpm.c (main): Explicitly check result of message box for OK.
2956 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
2958         * inc/sys/file.h (D_OK): Define new macro.
2960 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
2962         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
2964 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
2966         * emacs.rc (VS_VERSION_INFO): Define.
2968 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
2970         * makefile.nt (emacs.bat, debug.bat): Create them in the
2971         installation directory.
2973 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
2975         * ddeclient.c: New file.  (Support program for performing limited
2976         interprocess communication on Windows.)
2978         * makefile.nt: Build ddeclient.
2980         * cmdproxy.c (main): Only set environment size for real shell, and
2981         provide extra directory argument, when running on Windows 95.
2983 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
2985         * cmdproxy.c (fail): Exit with a negative return value.
2986         (spawn): Return subprocess return code as an argument.
2987         Explicitly copy environment block.
2988         (main): Update to use return value argument with spawn.
2989         Retry if spawn failed when a subshell was not tried.
2991         * config.nt: Include new macros from src/config.in.
2992         (GNU_MALLOC, REL_ALLOC): Define.
2993         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
2994         (RE_TRANSLATE): Use char_table_translate.
2996         * makefile.def (CP_DIR): Preserve attributes.
2998         * makefile.nt (clean): Delete patch generated files, optimized
2999         build directory.
3001 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
3003         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
3005 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3007         * Version 20.2 released.
3009 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3011         * Version 20.1 released.
3013 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
3015         * debug.bat.in: New file.
3016         * makefile.nt (debug.bat): New target.
3018 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
3020         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
3021         Quote group name.  Allow different icons to be specified.
3023         * cmdproxy.c (get_env_size): New function.
3024         (spawn): Explicitly pass in environment when creating subprocess.
3025         (main): Cleanup error messages.
3026         Specify dynamically sized environment block for real shell.
3027         Pass on unhandled switches to real shell.
3028         Quote program name.
3030         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
3031         directory.
3032         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
3034         * runemacs.c (WinMain): Allow Emacs process to be started with
3035         high or low priority.
3037         * emacs.bat.in: Remove OS dependent operations.
3039 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
3041         * addpm.c (env_vars): No longer set INFOPATH.
3043         * cmdproxy.c (get_next_token): Null terminate token returned.
3045         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
3047 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
3049         * addpm.c (env_vars): Set SHELL to cmdproxy.
3050         (main): Initialize idDde to 0.
3051         Determine emacs_path from module file name.
3052         Prompt for install.
3054         * makefile.def (MSVCNT11): Conditionally define it.
3055         (BASE_LIBS): Do not use oldnames.lib.
3056         (SYS_LDFLAGS): Use pdb files.
3057         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
3058         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
3059         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
3061         * makefile.nt (ALL): Build cmdproxy.
3062         (cmdproxy): New target.
3063         (install): Install cmdproxy.
3065         * ftime.bat, debug.bat, cmdproxy.c: New files.
3067 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
3069         * inc/sys/socket.h (shutdown): Define.
3070         (sys_shutdown): Export.
3072 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3074         * config.nt (RE_TRANSLATE): Copy definition from config.in.
3076 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
3078         * config.nt: Update file comments.
3079         Update undefs added/removed in src/config.in.
3081 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
3083         * makefile.def, emacs.bat: Use windows95 and windowsnt instead
3084         of win95 and winnt, respectively.
3086 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
3088         * makefile.nt (real_install): Create site-lisp in installation dir.
3089         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
3090         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
3092 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3094         * Version 19.33 released.
3096 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
3098         * runemacs.c (WinMain): Put a space between the binary and its args.
3100 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3102         * Version 19.32 released.
3104 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
3106         * makefile.nt (clean): Use OBJDIR macro.
3108 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
3110         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3111         Not defined by default.
3112         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3113         (WinMain): Convert backslashes to slashes in env var values.
3115         * addpm.c (env_vars): Use slashes, not backslashes.
3117 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3119         * Version 19.31 released.
3121 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
3123         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3124         undo settings afterwards.
3126 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
3128         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3129         environment variable.
3131 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3133         * install.bat: Allow for optimized build.
3134         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3135         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3137 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3139         * addpm.c (REG_ROOT): Don't use a trailing backslash.
3140         (env_vars): Rename field emacs_path to emacs_dir.
3141         (main): Add link to runemacs instead of emacs.
3143         * install.bat: Check if INSTALL_DIR is passed as an argument.
3145         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3147         * makefile.nt: Build and install runemacs.exe.
3149         * runemacs.c: New file.
3151         * config.w95: File removed.
3153         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3154         inc/sys/socket.h, inc/sys/time.h: New header files.
3156         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3158 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
3160         * makefile.def (DEL): Defined.
3161         (DEL_TREE) [win95]: Defined.
3162         (SYS_LDFLAGS): Set executable versions to 3.10.
3164         * makefile.nt: Change uses of del to $(DEL).
3166 1996-01-17  Erik Naggum  <erik@naggum.no>
3168         * All files: Update FSF's address in comment preamble.
3170 1996-01-03  George V. Reilly  <georger@microcrafts.com>
3172         * emacs.ico: Now the proverbial kitchen sink icon.
3174 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3176         * Version 19.30 released.
3178 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
3180         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3182         * makefile.nt (install, fast_install, real_install, clean):
3183         Don't use switches to del not supported by Windows 95.
3185 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
3187         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3188         (install, fast_install): Change same-dir test to create test file in
3189         installation tree and thereby support read-only shares.
3190         (clean): Remove .pdb files.
3192         * makefile.def (NTGUI): New macro.
3193         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3195         * config.nt, config.w95: Update to latest src/config.in.
3197         * addpm.c (env_vars): New variable.
3198         (add_registry): New procedure.
3199         (main): Use values of configuration environment variables from
3200         the registry if defined, the process environment otherwise.
3202 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3204         * Version 19.29 released.
3206         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3208 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
3210         * makefile.nt: Define .c to .obj suffix rule.
3211         (addpm.obj): Compile directly, use CFLAGS.
3212         (addpm.exe): Link from addpm.obj.
3214         * makefile.def (MSVCNT11): Defined.
3215         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3216         (CFLAGS_COMMON): Defined.
3217         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3219 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
3221         * emacs.bat.in: Renamed from emacs.bat.
3222         (emacs_dir): Rename from emacs_path.
3223         Definition removed.
3225         * addpm.c: New file.
3226         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3227         (all): Depend upon $(BLD) and $(ALL).
3228         (install): Depend upon emacs.bat.
3229         Create program item for Emacs.
3230         (clean): Delete obj.
3231         (emacs.bat): Defined.
3232         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3234 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
3236         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3237         Add carriage returns; necessary for batch files on Windows 95.
3239 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
3241         * config.w95: Created.
3242         * config.h: Changed to config.nt.
3244         * makefile.nt (SUBDIRS): Commented out.
3245         (all, install, clean): Expand for-loops.
3246         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3248         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3249         (ARCH): New definition.
3250         (CPU, CONFIG_H, OS_TYPE): Defined.
3251         (INCLUDE, LIB): Checked if valid.
3252         (ntwin32.mak): Included.
3253         (AR, CC, LINK): New definition.
3254         (ADVAPI32, libc, BASE_LIBS): Defined.
3255         (SYS_LDFLAGS): New definition.
3256         Update comments and preprocessor conditionals.
3258         * emacs.bat (SHELL): Conditionally defined.
3259         (HOME): Conditionally defined.
3260         (emacs_path, HOME): Update comments.
3261         Turn off all echo.
3263 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
3265         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
3266         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
3267         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
3268         inc/sys/param.h: Removed carriage-returns.
3270 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
3272         * makefile.def (CVTRES): Defined.
3274         * emacs.ico, emacs.rc: New files by Kevin Gallo.
3276 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
3278         * src: Remove directory.
3280         * src\config.h, src\paths.h: Moved to parent dir, src removed.
3282 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
3284         * makefile.def (INSTALL_DIR): Change to generic directory.
3286         * emacs.bat: Added arguments when emacs.exe invoked.
3288         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3290 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
3292         * makefile.def (CC): In configuration section.
3293         (COMPAT_LIB): Defined.
3295 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
3297         * src/paths.h: New file.
3299         * src/config.h: New file.
3301         * inc/pwd.h: New file.
3303         * inc/sys/dir.h: New file.
3305         * inc/sys/file.h: New file.
3307         * inc/sys/ioctl.h: New file.
3309         * inc/sys/param.h: New file.
3311         * todo: New file.
3313         * README: New file.
3315         * makefile.nt: New file.
3317         * makefile.def: New file.
3319         * install.cmd: New file.
3321         * INSTALL: New file.
3323         * fast-install.cmd: New file.
3325         * emacs.cmd: New file.
3327         * ebuild.cmd: New file.
3329         * _emacs: New file.
3331 ;; Local Variables:
3332 ;; coding: utf-8
3333 ;; add-log-time-zone-rule: t
3334 ;; End:
3336   Copyright (C) 1995-1999, 2001-2013 Free Software Foundation, Inc.
3338   This file is part of GNU Emacs.
3340   GNU Emacs is free software: you can redistribute it and/or modify
3341   it under the terms of the GNU General Public License as published by
3342   the Free Software Foundation, either version 3 of the License, or
3343   (at your option) any later version.
3345   GNU Emacs is distributed in the hope that it will be useful,
3346   but WITHOUT ANY WARRANTY; without even the implied warranty of
3347   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3348   GNU General Public License for more details.
3350   You should have received a copy of the GNU General Public License
3351   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.