Backport the :end-of-capability fix
[emacs.git] / nt / ChangeLog
blobcac8e054068e1d6060a658e80f2e6e6a5075b579
1 2014-11-17  Oscar Fuentes  <ofv@wanadoo.es>
3         * inc/ms-w32.h: Define MINGW_W64.
5         * nt/addpm.c: Use it.
7         * nt/addsection.c: Use it.
9         * nt/preprep.c: Use it.
11 2014-10-31  Eric S. Raymond  <esr@thyrsus.com>
13         * Neutralize language specific to a repository type.
15 2014-10-26  Dani Moncayo <dmoncayo@gmail.com>
17         * README.W32 (Preliminaries): Don't assume that this file is at
18         the top level.
19         (Setting up Emacs): Minor rewording to be more accurate.
21 2014-10-20  Glenn Morris  <rgm@gnu.org>
23         * Version 24.4 released.
25 2014-04-26  Eli Zaretskii  <eliz@gnu.org>
27         * cmdproxy.c (make_absolute): Don't copy more characters from PATH
28         than a single directory name can hold.  (Bug#17334)
30 2014-04-21  Eli Zaretskii  <eliz@gnu.org>
32         * inc/ms-w32.h (lseek): Define only if not already a macro.
33         Suggested by Fabrice Popineau <fabrice.popineau@gmail.com>.
35 2014-04-09  Ken Brown  <kbrown@cornell.edu>
37         * emacs.rc: Revert last change.
39 2014-04-03  Ken Brown  <kbrown@cornell.edu>
41         * emacs.rc: Don't use manifest on Cygwin.  (Bug#17176)
43 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
45         * Makefile.in (install): Create destination directory before copying
46         README.W32, and use ${datadir} to refer to the file (bug#16772).
48 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
50         * Makefile.in (datarootdir, datadir, INSTALL_DATA): Declare.
51         (install): Copy README.W32 to $(datadir)/emacs/$(version).
52         (uninstall): Remove README.W32.  (Bug#14757)
54 2014-02-08  Eli Zaretskii  <eliz@gnu.org>
56         * INSTALL: Update for Emacs 24.4.
58         * README: Update for Emacs 24.4.
60         * README.W32: Update and improve instructions.  (Bug#14762)
62 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
64         * README.W32: Say what GnuTLS and libxml2 does (bug#14762).
66 2014-01-18  Eli Zaretskii  <eliz@gnu.org>
68         * runemacs.c (ensure_unicows_dll): Don't tell in the message box
69         that "emacs -nw" can do without UNICOWS.DLL on Windows 9X.  See
70         w32.c:maybe_load_unicows_dll and its callers for the reason.
72 2014-01-11  Claudio Bley  <claudio.bley@googlemail.com>
74         * inc/sys/stat.h (_WSTAT_DEFINED): Define, to avoid compilation
75         failures when wchar.h is included.
77 2014-01-11  Fabrice Popineau  <fabrice.popineau@supelec.fr>
79         * inc/ms-w32.h (pthread_sigmask): Undefine if defined, for MinGW64.
81 2013-12-31  Fabrice Popineau  <fabrice.popineau@supelec.fr>
83         * inc/ms-w32.h (sys_kill): Fix prototype.
85 2013-12-30  Eli Zaretskii  <eliz@gnu.org>
87         * inc/ms-w32.h (umask) [emacs]: Redirect to sys_umask.  (Bug#16299)
89 2013-12-23  Eli Zaretskii  <eliz@gnu.org>
91         * README.W32:
92         * INSTALL: Update instructions for downloading and using image
93         libraries in general, and librsvg in particular.
95 2013-12-16  Eli Zaretskii  <eliz@gnu.org>
97         * emacs-x64.manifest:
98         * emacs-x86.manifest: Declare that we target Windows 8.1 as well
99         as earlier versions.  This is so GetVersion and GetVersionEx APIs
100         used for bug reporting and other purposes return accurate version
101         number on Windows 8.1.  See the discussion on MSDN
102         http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx
103         for more details.
105 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
107         * inc/ms-w32.h (MAX_UTF8_PATH): New macro.
108         (opendir, closedir, readdir, seekdir): Redirect to replacement
109         functions.
110         * inc/dirent.h: Make d_name[] be MAXNAMELEN*4 characters long.
112 2013-11-27  Glenn Morris  <rgm@gnu.org>
114         * README.W32:
115         * addpm.c (env_vars):
116         * epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
117         * paths.h (PATH_LOADSEARCH): No more leim directory.
119 2013-11-26  Glenn Morris  <rgm@gnu.org>
121         * epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.
123 2013-11-12  Dani Moncayo  <dmoncayo@gmail.com>
125         * msysconfig.sh: Remove.
126         * INSTALL: Update for this.
128 2013-11-09  Glenn Morris  <rgm@gnu.org>
130         * mingw-cfg.site: No need for this to be executable.
132 2013-10-24  Glenn Morris  <rgm@gnu.org>
134         * Makefile.in ($(DESTDIR)${archlibdir}):
135         Avoid non-portable "`\" nesting.
137         * Makefile.in (abs_top_srcdir): New, set by configure.
139 2013-10-23  Glenn Morris  <rgm@gnu.org>
141         * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
142         Quote entities that might contain whitespace.
144 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
146         * inc/mingw_time.h: New file.
148         * inc/ms-w32.h: Include mingw_time.h instead of doing its job.
150 2013-10-12  Eli Zaretskii  <eliz@gnu.org>
152         * inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
153         the layout of 'struct dirent' be compatible with MinGW32 runtime
154         versions 4.0 and later.
156         * inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
157         (__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
158         defined, but not for MinGW64.
159         (_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
160         use of 32-bit time_t type.
162 2013-10-07  Paul Eggert  <eggert@cs.ucla.edu>
164         Improve support for popcount and counting trailing zeros (Bug#15550).
165         * gnulib.mk: Merge changes from ../lib/gnulib.mk.
167 2013-10-04  Paul Eggert  <eggert@cs.ucla.edu>
169         * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
171 2013-09-20  Eli Zaretskii  <eliz@gnu.org>
173         * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
174         to avoid gnulib replacement of 'struct timeval' and the resulting
175         compilation of lib/gettimeofday.c with incompatible version of
176         gettimeofday.  Related discussions on emacs-devel:
177         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
178         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html
180 2013-08-31  Glenn Morris  <rgm@gnu.org>
182         * INSTALL: Rename from INSTALL.MSYS.
183         * INSTALL.OLD: Rename from INSTALL.
184         * configure.bat: Update for INSTALL name changes.
186 2013-08-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
188         * configure.bat: Rather than disabling, make configure.bat produce
189         some warning that building with configure.bat is deprecated and
190         ask for confirmation to continue.
192 2013-08-25  Glenn Morris  <rgm@gnu.org>
194         * INSTALL: Refer to INSTALL.MSYS.
195         * configure.bat: Disable it.
197 2013-08-04  Eli Zaretskii  <eliz@gnu.org>
199         * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
201         * inc/ms-w32.h (mkostemp): Declare prototype.
202         (mktemp): Don't redirect to sys_mktemp.
204         * config.nt (HAVE_MKOSTEMP): Define to 1.  (Bug#15015)
206 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
208         * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
209         (FD_CLOEXEC): New macros.
211 2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>
213         Make file descriptors close-on-exec when possible (Bug#14803).
214         * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
215         otherwise, gnulib-tool complains given close-on-exec changes.
216         * inc/ms-w32.h (pipe): Remove.
217         * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
218         (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
220 2013-06-25  Juanma Barranquero  <lekktu@gmail.com>
222         * configure.bat: Add warning to the help text about using the
223         MSYS/MinGW building procedure.
225 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
227         * INSTALL.MSYS: mingw-get is not a GUI program (yet).
228         msys-automake is not suitable for MinGW builds.  Mention the
229         --enable-locallisppath switch to msysconfig.sh.  Suggested by
230         Óscar Fuentes <ofv@wanadoo.es>.
232 2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)
234         * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
236 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
238         * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
240 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
242         * inc/sys/time.h (struct timeval): Remove the _W64 guards.
244 2013-06-01  Eli Zaretskii  <eliz@gnu.org>
246         * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
247         avoid multiple definition errors on MinGW64.
249 2013-05-31  Eli Zaretskii  <eliz@gnu.org>
251         * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
252         'restrict', which is a C99 extension.  See
253         http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
254         and the following discussion for the problem this caused in the
255         old nt/configure.bat build.
257 2013-05-29  Eli Zaretskii  <eliz@gnu.org>
259         * Makefile.in (emacs.res): Include srcdir when preprocessing
260         resources, for out-of-tree builds.
261         (mostlyclean): Remove *.res files.
263 2013-05-17  Eli Zaretskii  <eliz@gnu.org>
265         * runemacs.c (WinMain): Support invocation of un-installed
266         nt/runemacs.exe, by looking for src/emacs.exe.
268 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
270         * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.  (Bug#14409)
272         * msysconfig.sh: New file.
274         * mingw-cfg.site: New file.
276         * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
278         * inc/unistd.h: Include pwd.h and sys/types.h.
280         * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
281         (timerclear): Define.
282         (gettimeofday): Adjust signature to be Posix compatible, by using
283         the 'restrict' keyword.
285         * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
286         (struct _stat, struct _stati64): Define.
288         * inc/sys/socket.h (timeval): Define only for MSVC.
289         (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
290         EMACS_CONFIG_H is defined.
291         (timeval): Undefine only for MSVC.
293         * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
294         (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
295         (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
296         (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
297         (fileno): Move definition after including stdio.h.
298         (sigset_t): Guard typedef by _W64.
300         * gnulib.mk: New file.
302         * epaths.nt: New file.
304         * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
305         copy of the file names there.
306         <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
307         literal strings.
309         * Makefile.in: New file.
311         * INSTALL.MSYS: New file.
313         * INSTALL: Mention INSTALL.MSYS.
315 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
317         * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
319 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
321         * config.nt: Sync with autogen/config.in.
322         (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
323         (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
324         (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
325         (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
326         (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
327         (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
328         (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
329         (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
330         (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
331         (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
333 2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
335         Use Gnulib ACL implementation, for benefit of Solaris etc.  (Bug#14295)
336         * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
337         * inc/ms-w32.h (EOPNOTSUPP): New macro.
339 2013-04-09  Ken Brown  <kbrown@cornell.edu>
341         * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
342         (Bug#12993)
344 2013-04-01  Eli Zaretskii  <eliz@gnu.org>
346         * README: A better documentation of ddeclient.exe.
348         * README.W32: A better documentation of ddeclient.exe.
350         * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
351         subdirectories.
353 2013-03-30  Eli Zaretskii  <eliz@gnu.org>
355         * inc/ms-w32.h (TERM_HEADER): Remove definition.
357         * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
358         ms-w32.h.
360 2013-03-29  Eli Zaretskii  <eliz@gnu.org>
362         * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
364         * config.nt (HAVE_COPYSIGN): Define.
366 2013-03-29  Juanma Barranquero  <lekktu@gmail.com>
368         * config.nt: Sync with autogen/config.in.
369         (HAVE_XKBGETKEYBOARD): Remove.
370         (HAVE_XKB): New macro.
372 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
374         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
375         (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
376         Depend on .exe files.
378         * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
379         avoid MinGW64 compiler warnings in editfns.c.
381         Fix rules for parallel builds.
382         * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
383         without the .exe suffix.
384         (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
385         targets.
386         (.PHONY): Remove.
388         * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
389         headers, since that's where _W64 is declared by MinGW64.
391 2013-03-26  Eli Zaretskii  <eliz@gnu.org>
393         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
394         (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
396         * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
397         define for MinGW64.
399         * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
400         for MinGW64.
402         Fix more incompatibilities between MinGW.org and MinGW64 headers
403         reported by Óscar Fuentes in
404         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
405         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
406         and in
407         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
408         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
409         For MinGW64, include sys/types.h and time.h.
410         (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
412         * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
414         * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
415         _W64.
416         (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
417         _TIMEZONE_DEFINED.
419         * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
421         * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
422         lstat, and fstatat.
424 2013-03-25  Eli Zaretskii  <eliz@gnu.org>
426         Fix incompatibilities between MinGW.org and MinGW64 headers
427         reported by Óscar Fuentes in
428         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
429         * inc/ms-w32.h (struct timespec): Don't define if
430         _TIMESPEC_DEFINED is already defined.
431         (sigset_t) [!_POSIX]: Typedef for MinGW64.
432         (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
433         including the first system header, to avoid redefinition if some
434         system header defines a default value.
436         * inc/sys/time.h (struct itimerval): Don't define if
437         _TIMESPEC_DEFINED is already defined.
439 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
441         Fix the MSVC build.  (Bug#13939)
442         * inc/stdint.h (UINTPTR_MAX): Define.
444         * nmake.defs (libc): Fix syntax of !if conditional.
446 2013-03-15  Juanma Barranquero  <lekktu@gmail.com>
448         * config.nt: Sync with autogen/config.in.
449         (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
450         (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
451         (HAVE_FDATASYNC): New macros.
453 2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
455         File synchronization fixes (Bug#13944).
456         * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
458 2013-03-05  Paul Eggert  <eggert@cs.ucla.edu>
460         FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
461         * inc/unistd.h (O_NOFOLLOW): New macro.
463 2013-03-04  Juanma Barranquero  <lekktu@gmail.com>
465         * config.nt: Sync with autogen/config.in.
466         (DATA_START, ORDINARY_LINK): Remove.
467         (HAVE_DATA_START, HAVE__PUTENV): New macros.
469 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
471         * inc/ms-w32.h (BOOT_TIME_FILE): Define.
473         * config.nt (CLASH_DETECTION): Define to 1.
475 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
477         * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
478         (Bug#9066)
479         (chown, logb): Remove, unused.
481 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
483         * config.nt: Sync with autogen/config.in.
484         (GC_MARK_STACK): Remove.
485         (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
486         (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
487         (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
489 2013-02-12  Eli Zaretskii  <eliz@gnu.org>
491         * inc/ms-w32.h: Add prototype for memrchr.
493 2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
495         Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
496         * inc/sys/stat.h (fstatat):
497         * inc/unistd.h (readlinkat): New decls.
499 2013-01-28  Eli Zaretskii  <eliz@gnu.org>
501         * inc/dirent.h (opendir): Update prototype.
503 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
505         * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
506         used in term.c.  (Bug#13387)
508 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
510         * config.nt: Sync with autogen/config.in.
511         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
513 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
515         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
516         in lib/filemode.c that broke the MS-Windows build.
517         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
519 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
521         * config.nt: Sync with autogen/config.in.
522         (BSD4_2): Remove.
524 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
526         * inc/sys/acl.h: New file.
528         * inc/ms-w32.h (ENOTSUP): Define if undefined.
530         * config.nt (HAVE_POSIX_ACL): Define.
532 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
534         * inc/ms-w32.h (sys_unlink): Provide prototype.
536 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
538         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
540 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
542         * config.nt: Sync with autogen/config.in.
543         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
545 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
547         * config.nt: Sync with autogen/config.in.
548         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
549         (ULIMIT_BREAK_VALUE): Remove.
551 2012-12-10  Daniel Colascione  <dancol@dancol.org>
553         * emacs.rc: Use forward slashes in relative paths in order to
554         avoid complaints from Cygwin.  (Forward slashes work perfectly
555         well in the NT build.)
557 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
559         * inc/unistd.h (unsetenv): Provide a prototype.
561 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
563         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
564         (sys_putenv): Add prototype.
566         * config.nt (HAVE_UNSETENV): Define to 1.
568 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
570         * config.nt: Sync with autogen/config.in.
572 2012-11-24  Ken Brown  <kbrown@cornell.edu>
574         * config.nt (HAVE_MOUSE): Remove.
576 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
578         * config.nt: Sync with autogen/config.in.
579         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
580         Remove.
582 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
584         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
585         (Bug#12955)
587         * nmake.defs (SWITCHCHAR): Define to /.
589 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
591         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
592         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
593         (struct dirent): Rename from struct direct.  All uses changed.
594         * inc/sys/dir.h: Remove.
596 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
598         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
599         * config.nt (HAVE_GETCWD): Remove.
601 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
603         * nmake.defs: Use !if, not !ifdef.  For the details, see
604         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
606         * inc/stdint.h (INTPTR_MIN)
607         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
609 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
611         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
613 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
615         * config.nt: Sync with autogen/config.in.
616         (HAVE_FPATHCONF): Remove.
618 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
620         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
621         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
622         POSIX name for this flag is O_NONBLOCK.  All uses changed.
623         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
624         these really should be moved to a replacement <fcntl.h> if and
625         when that gets implemented.  In the meantime, include <fcntl.h>
626         to make sure we don't override its definitions.
628 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
630         * inc/sys/wait.h: New file, with prototype of waitpid and
631         definitions of macros it needs.
633         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
634         (sys_wait): Remove prototype.
636         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
638 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
640         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
641         to check if it's installed, redirect standard output and standard
642         error to the null device.
643         (ZIP_DIST): Don't build the "barebin" distribution.
645 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
647         * config.nt: Sync with autogen/config.in.
648         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
649         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
650         New macros.
652 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
654         * inc/unistd.h (faccessat): Add prototype.
655         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
656         2 moved from ms-w32.h.
658         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
660 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
662         Use faccessat, not access, when checking file permissions (Bug#12632).
663         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
664         (access): Remove.
665         (faccessat): New macro.
667 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
669         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
671 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
673         * config.nt: Sync with autogen/config.in.
674         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
675         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
677 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
679         * config.nt: Sync with autogen/config.in.
680         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
682 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
684         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
686 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
688         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
690         * config.nt (GETPGRP_VOID): Define to 1.
692 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
694         * config.nt: Sync with autogen/config.in.
696 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
698         * inc/pwd.h (getuid, geteuid): Add prototypes.
700         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
701         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
702         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
703         (sys_kill, getpagesize): Add prototypes for emulated functions.
705         * inc/grp.h (getgid, getegid): Add prototypes.
707         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
709         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
710         compiling with -std=gnu99.
712         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
713         could be used via --cflags switch to configure.bat.
715 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
717         * config.nt: Sync with autogen/config.in.
718         (HAVE_NTGUI): New macro.
720 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
722         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
723         compiler warnings when using the value.
725 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
727         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
728         'void *', for pointer arithmetic.
729         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
730         macro arguments in parentheses.
732 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
734         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
736 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
738         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
739         that are already defined.
741         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
742         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
743         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
745         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
746         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
747         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
748         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
749         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
750         Use DWORD_PTR instead of DWORD for compatibility with x64.
752         * nmake.defs: Support AMD64.
753         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
755         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
756         New macros.
758         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
759         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
760         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
761         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
762         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
763         DWORD, for compatibility with x64.
765         * emacs-x64.manifest: New file.
767         * emacs-x86.manifest: Renamed from emacs.manifest.
769 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
771         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
772         (struct itimerval): Define.
773         (getitimer, setitimer): Add prototypes.
775         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
776         with MinGW.
777         (SA_RESTART, SIGPROF): Define.
779         * config.nt (HAVE_SETITIMER): Define to 1.
781 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
783         * config.nt: Sync with autogen/config.in.
785 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
787         * config.nt: Sync with autogen/config.in.
788         (HAVE_TIMER_SETTIME): New macro.
790 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
792         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
794 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
796         Simplify and avoid signal-handling races (Bug#12471).
797         * inc/ms-w32.h (emacs_raise): New macro.
799 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
801         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
802         defined, as needed by giflib-5.0.0.  (Bug#12464)
804 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
806         * config.nt: Sync with autogen/config.in.
807         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
809 2012-09-17  Glenn Morris  <rgm@gnu.org>
811         * config.nt (COPYRIGHT): New.
813 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
815         Port _setjmp fix to POSIXish hosts as well as Microsoft.
816         * config.nt: Attempt to sync with autogen/config.in.
817         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
818         (_longjmp, _setjmp): Remove.
820 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
822         * config.nt: Sync with autogen/config.in.
823         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
824         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
825         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
827 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
829         * config.nt: Sync with autogen/config.in.
830         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
831         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
833 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
835         * configure.bat <use_extensions>: Don't leave it set in the
836         environment when the script exits.
838 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
840         * config.nt: Sync with autogen/config.in.
841         (NO_ABORT, SIGNAL_H_AHB): Remove.
843 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
845         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
847 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
849         * config.nt: Sync with autogen/config.in.
851 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
853         Simplify redefinition of 'abort' (Bug#12316).
854         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
856 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
858         * config.nt: Sync with autogen/config.in.
859         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
861 2012-09-01  Daniel Colascione  <dancol@dancol.org>
863         * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
865 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
867         * config.nt: Sync with autogen/config.in.
869 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
871         * config.nt: Sync with autogen/config.in.
872         (HAVE_POSIX_OPENPT): New macro.
874 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
876         * config.nt: Sync with autogen/config.in.
877         (_GL_INLINE_HEADER_BEGIN): Update.
879 2012-08-10  Glenn Morris  <rgm@gnu.org>
881         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
883 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
885         * config.nt: Sync with autogen/config.in.
886         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
887         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
889         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
891 2012-08-06  Glenn Morris  <rgm@gnu.org>
893         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
894         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
896 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
898         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
899         (PATH_DATA, PATH_DOC): Replace dummy directory names with
900         directories relative to %emacs_dir%.
901         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
902         to the use case of running un-installed Emacs.
904 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
906         * config.nt: Sync with autogen/config.in.
907         (DOS_NT, MSDOS): New macros.
908         (WRETCODE, wait3): Remove.
910         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
912 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
914         * inc/sys/stat.h (S_IFLNK): Define.
915         (S_ISLNK): A non-trivial definition.
916         (lstat): Prototype instead of a macro that redirects to 'stat'.
918 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
920         Use C99-style 'extern inline' if available.
921         * config.nt: Sync with autogen/config.in.
922         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
923         (_GL_INLINE_HEADER_END): New macros.
925 2012-08-02  Glenn Morris  <rgm@gnu.org>
927         * inc/ms-w32.h: Move here from ../src/s.
928         * config.nt (config_opsysfile): Change to <ms-w32.h>.
930 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
932         * config.nt: Sync with autogen/config.in.
933         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
934         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
935         New macros.
937 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
939         * config.nt: Sync with autogen/config.in.
940         Remove code moved to conf_post.h and include <conf_post.h>
941         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
942         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
944 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
946         * config.nt: Sync with autogen/config.in.
947         (HAVE_ENVIRON_DECL): New macro.
949 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
951         * inc/stdalign.h (_Alignas, alignas): Define.
953 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
955         Use Gnulib stdalign module (Bug#9772, Bug#9960).
956         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
958 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
960         * config.nt: Sync with autogen/config.in.
961         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
962         (SETUP_SLAVE_PTY): New macros.
964 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
966         * config.nt: Sync with autogen/config.in.
967         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
968         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
969         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
970         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
971         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
972         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
973         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
974         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
975         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
976         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
977         Set in src/s/ms-w32.h, not here.
979 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
981         * config.nt: Sync with autogen/config.in.
982         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
983         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
984         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
986 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
988         * config.nt: Sync with autogen/config.in.
990 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
992         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
994 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
996         * config.nt: Sync with autogen/config.in.
998 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
1000         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
1002 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
1003             Eli Zaretskii  <eliz@gnu.org>
1005         * config.nt: Complete rework to bring it in sync with autogen/config.in.
1006         All Windows-specific code moved to src/s/ms-w32.h.
1008 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
1009             Eli Zaretskii  <eliz@gnu.org>
1011         * configure.bat (enablechecking): Enable checks through src/config.h,
1012         not the compiler's command line.
1014         * nmake.defs (CHECKING_CFLAGS): Remove.
1015         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1017         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
1018         (CHECKING_CFLAGS): Remove.
1019         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1021 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
1023         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
1024         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
1025         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
1026         (HAVE_MEMCMP): Remove, obsolete.
1028 2012-06-30  Glenn Morris  <rgm@gnu.org>
1030         * paths.h (PATH_SITELOADSEARCH): New.
1032 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
1034         * nmake.defs (CHECKING_CFLAGS):
1035         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
1037 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
1039         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
1041 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
1043         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
1044         * config.nt (_Noreturn): New macro.
1045         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
1046         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
1048 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
1050         * inc/sys/time.h (struct timespec): Don't define it here, it is
1051         now defined in src/s/ms-w32.h.
1053 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
1055         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
1056         * inc/sys/time.h (struct timespec): Define.
1058 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
1060         * makefile.w32-in (install-addpm): New target.
1061         (dist): Depend on it.
1062         (install-shortcuts): Depend on install-addpm instead of copying
1063         addpm.exe as part of the recipe.  See
1064         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
1065         for the related problem and discussions.
1067 2012-06-11  Glenn Morris  <rgm@gnu.org>
1069         * config.nt (SYSTEM_TYPE): Define it.
1071 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1073         * configure.bat (genmakefiles): Move the redirection away from the
1074         end of the command, to avoid excess whitespace at the end of Make
1075         variables created at configure time, and also avoid things like
1076         "FOO1>>config.settings", where "1" gets interpreted as the file
1077         descriptor and eaten up.  This fixes breakage introduced by the
1078         last change, without reintroducing the bug fixed by that change.
1080 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1082         * nmake.defs (MWINDOWS): Define as
1083         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
1084         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
1086         * gmake.defs (MWINDOWS): Define as "-mwindows".
1088 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
1090         * config.nt (HAVE_SYSINFO): Remove; unused.
1092 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1094         * inc/stdalign.h: New file.
1096         * configure.bat: Ensure a space between %var% expansion and
1097         redirection symbol '>', which breaks when %var% ends in a digit,
1098         such as 1.
1100 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1102         Remove src/m/*.
1103         * config.nt: Do not include "m/intel386.h"; file was removed.
1104         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
1105         Move to src/lisp.h.
1106         (EMACS_INT_MAX): New macro.
1108 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1110         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
1111         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
1113         * config.nt (HAVE_FTIME): Remove undef; not needed.
1115 2012-05-01  Glenn Morris  <rgm@gnu.org>
1117         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
1119 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1121         * makefile.w32-in: Fix typo (Bug#10261).
1123 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
1125         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
1126         each runs makeinfo in its own subdirectory of 'doc'.
1127         (info-gmake): Depend on these new targets.
1129 2012-04-07  Glenn Morris  <rgm@gnu.org>
1131         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
1132         Bump version to 24.1.50.
1134 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1136         * configure.bat: Support building with libxml2.
1138         * INSTALL:
1139         * README.W32: Add information about libxml2.
1141 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1143         * makefile.w32-in: Convert to Unix EOL format.
1144         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
1145         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
1146         (bootstrap-gmake): Invoke the "clean" and build targets in 2
1147         separate commands, so they run in that order even under "make -j".
1149 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
1151         * config.nt: Discourage from defining HAVE_GETCWD.
1153 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1155         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
1156         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
1157         on other (parallel) Make job's toes.
1158         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
1159         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
1160         here.
1161         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
1162         Depend on create-tmp-dist-dir.
1164         * nmake.defs (DIRNAME): New variable.
1165         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1166         same-dir.tst.
1168         * gmake.defs (DIRNAME): New variable.
1169         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1170         same-dir.tst, to avoid conflicts between several (parallel) Make
1171         jobs.
1173 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
1175         Prevent endless re-spawning of cmdproxy.exe when some of its
1176         parent directories have access limitations.
1178         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
1179         and our own module name to short 8+3 aliases, if the original file
1180         names compare equal.  If GetShortPathName fails, compare the base
1181         names of the two file names, and only re-spawn the command line if
1182         the base-name comparison also fails.  (Bug#10674)
1184 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1186         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
1188 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
1190         * README.W32: Removed specific version information for libXpm
1191         included in the binary distribution for maintenance purposes.
1193 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
1195         * README.W32: Clarification for inclusion in source tarball (bug#9750).
1197         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1199         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1201         * makefile.w32-in (maybe-copy-distfiles)
1202         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1203         (create-tmp-dist-dir): Add to make --distfiles optional.
1204         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1206 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
1208         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1209         by other headers.
1211 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1213         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1214         (UINT64_MAX) [_WIN64]: Fix definition.
1215         (uintmax_t, intmax_t): Fix definitions.
1217         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1218         Provide correct definitions.
1220         * config.nt (HAVE_DECL_STRTOLL): Define.
1221         (va_copy) [_WIN64]: Provide a better definition.
1223 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
1225         * configure.bat: Fix typos.
1227 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
1229         * INSTALL: Elaborate on debugging fatal errors.
1231 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
1233         * README.W32: Update the GTK Windows download URL for libpng.
1235 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
1237         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1239 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
1241         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1242         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1243         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1244         (intmax_t, INT64_MAX): Add for MSVC.
1246         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1248 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
1250         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1252         Support MSVC build with newer versions of Visual Studio.
1253         * makefile.w32-in (clean-other-dirs-nmake)
1254         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1255         Update for current structure of doc/ subdirectories.
1257         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1259         * INSTALL: Update for newer versions of MSVC.
1261 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1263         Support MSVC build with newer versions of Visual Studio.
1264         * nmake.defs (USE_CRT_DLL): Define to 1.
1265         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1266         (D): New variable.
1268 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
1270         * runemacs.c (ensure_unicows_dll): New function, tries to load
1271         UNICOWS.DLL on Windows 9X.
1272         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1273         display a dialog to the effect that Emacs cannot be started.
1274         (Bug#8562)
1276 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
1278         * README.W32: Mention UNICOWS.DLL as prerequisite for running
1279         Emacs on Windows 9X.
1281 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
1283         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1284         distribution.  (Bug#9861)
1286 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
1288         * INSTALL: Update URL for GTK download page.
1290 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
1292         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1293         (Bug#9794) (Bug#641)
1295 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1297         * config.nt (HAVE_SNPRINTF): New macro.
1299 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1301         Assume freestanding C89 headers, string.h, stdlib.h.
1302         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1303         (STDC_HEADERS): Remove.
1304         Iinclude string.h, stdlib.h unconditionally.
1306 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
1308         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1309         [!__GNUC__]: New macros.
1311 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1313         Use 'inline', not 'INLINE'.
1314         * config.nt (INLINE): Remove.
1316 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
1318         * README.W32: Add information about GnuTLS libraries.
1320 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
1322         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1324 2011-05-07  Ben Key  <bkey76@gmail.com>
1326         * configure.bat: Renamed the fusercflags variable to escusercflags
1327         so that the variable name better matches its purpose, to be
1328         identical to usercflags with the exception that all quotes are
1329         escaped by the \ character.
1331         Renamed the fuserldflags variable to escuserldflags so that the
1332         variable name better matches its purpose, to be identical to
1333         userldflags with the exception that all quotes are escaped by
1334         the \ character.
1336         A new ESC_USER_CFLAGS variable is written to config.settings.
1337         This variable has the same value as the escusercflags variable.
1339         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1340         This variable is identical to the CFLAGS variable except that it
1341         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1343         These changes, along with some changes to src/makefile.w32-in,
1344         are required to extend my earlier fix to add support for
1345         --cflags and --ldflags options that include quotes so that it
1346         works whether make uses cmd or sh as the shell.
1348 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
1350         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
1351         definition of uintmax_t from here...
1352         * inc/stdint.h (uintmax_t): ...to here.
1353         (intptr_t) [!__GNUC__]: New typedef.
1355 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
1357         * config.nt: Prepare to configure 64-bit integers for older compilers.
1358         However, temporarily disable this change unless the temporary
1359         symbol WIDE_EMACS_INT is defined.
1360         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1361         "%I64d" work but long long and "%lld" do not.
1363 2011-05-05  Ben Key  <bkey76@gmail.com>
1365         * configure.bat: Added support for --cflags and --ldflags
1366         options that include quotes as long as command extensions are
1367         enabled.  Specifically when -I, -L, and similar flags are used
1368         to specify supplementary include and library directories a
1369         directory name that includes spaces may now be used if it is
1370         enclosed in quotes.
1372         * INSTALL: Documented the change to configure.bat.
1374 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1376         * INSTALL: Clarify GnuTLS support.
1378 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
1380         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1381         Define to 1 for MinGW of MSVC versions >= 1400.
1383 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
1385         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1387 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
1389         * inc/inttypes.h: New file.
1391         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1392         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1394 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1396         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1397         inside quotation marks and bail out.
1399 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1401         * cmdproxy.c (try_dequote_cmdline): New function.
1402         (main): Use it.
1404 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1406         * configure.bat: New options --without-gnutls and --lib, new build
1407         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
1408         library setup with trivial modifications.
1409         * INSTALL: Add instructions for GnuTLS support.
1410         * gmake.defs: Prefix USER_LIBS with -l.
1412 2011-04-15  Ben Key  <bkey76@gmail.com>
1414         * configure.bat: Modified the code that parses the --cflags and
1415         --ldflags options to support parameters that include the =
1416         character as long as they are enclosed in quotes.
1417         This functionality depends on command extensions.  Configure.bat now
1418         attempts to enable command extensions and displays a warning
1419         message if they could not be enabled.  If configure.bat could
1420         not enable command extensions the old parsing code is used that
1421         does not support parameters that include the = character.
1423         * INSTALL: Updated the file to describe the new functionality
1424         using text provided by Eli Zaretskii.
1426 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
1428         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1429         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1430         on the trunk on 2011-04-06.
1432 2011-03-27  Glenn Morris  <rgm@gnu.org>
1434         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1436 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
1438         * addpm.c (main): Remove unused variable `retval'.
1440         * preprep.c (main): Remove unused variable `ptr'.
1442 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
1444         * cmdproxy.c: Include <ctype.h>.
1445         (make_absolute): Remove unused variable `i'.
1447 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
1449         * Version 23.3 released.
1451 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
1453         * inc/unistd.h (readlink, symlink): Declare prototypes.
1455 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
1457         * config.nt (nlink_t): Define.
1459 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
1461         * inc/stdint.h: New file, to support compilation with tool chains
1462         that do not have stdint.h (e.g. MSVC).
1464 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
1466         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1467         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1468         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1469         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1470         (lstat): Define to stat.
1472 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
1474         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1475         "make-docfile" target in lib-src, before bootstrapping the src
1476         directory.  Needed since building in src needs to run make-docfile
1477         to produce globals.h.
1479 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1481         * config.nt (inline) [__GNUC__]: Define (for gnulib).
1483 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1485         * config.nt (VERSION): Uncomment definition.
1486         (restrict): Define.
1488         * inc/stdbool.h: New file.
1490 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1492         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1493         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1494         (bootstrap-clean-gmake, clean-other-dirs-nmake)
1495         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1496         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1497         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1498         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1499         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1501         * configure.bat: Create lib/makefile.
1503         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1504         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1505         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1506         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1508 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1510         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1512 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1514         * configure.bat (end): Unset environment variables used by this
1515         batch file.
1517         * INSTALL: Update the information about PNG support libraries.
1518         (Bug#7716)
1520         * README.W32: Update the information about PNG support libraries.
1522 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1524         * config.nt (EXTERNALLY_VISIBLE): Define.
1526 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1528         * INSTALL: Refer to `dynamic-library-alist'.
1530 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1532         * INSTALL: Add note about problematic characters passed to configure.
1534 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1536         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1537         emacs-src.tags: New file.
1539         * gmake.defs: Add a comment with a single quote to fix
1540         fontification.  (Bug#7102)
1542 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1544         * configure.bat: Fix the condition for copying paths.h into
1545         ../src/epaths.h.
1547 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1549         * addpm.c (entry, add_registry, main):
1550         * addsection.c (file_data, open_input_file, open_output_file)
1551         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1552         (COPY_CHUNK):
1553         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1554         (skip_nonspace, get_next_token, search_dir, make_absolute)
1555         (spawn, main):
1556         * preprep.c (file_data, open_input_file, open_output_file)
1557         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1558         Use const char*.
1560         * cmdproxy.c (stdin): Don't define, not used.
1561         (main): Don't assign remlen after last use.
1563 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1565         * configure.bat: Err out when the argument of --cflags contains
1566         invalid characters (check implemented only for GCC).  (Bug#6820)
1568 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1570         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1572 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1574         * addpm.c (add_registry): Set path for runemacs.exe to use.
1576 2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
1578         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1579         which has a 1024 char limit on Windows (bug#6647).
1581 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1583         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1584         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1586 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1588         * config.nt: Remove code referring to NO_REMAP, unused.
1590 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1592         Build binary distros on Windows using emacs-VERSION as root dir name.
1594         * makefile.w32-in: Copy README.W32 to installation directory
1595         during `make install'.  Remove README.W32 with `distclean' (in
1596         case Emacs was installed in place).  Use temporary directory to
1597         create distribution zip files in `dist' target.
1598         * zipdist.bat: Simplify code using temporary directory.
1600 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1602         * runemacs.c (set_user_model_id): Fix prototype.
1604 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1606         New make target for Windows platform: make dist (bug#6602)
1608         * INSTALL: Document new dist target and add section about
1609         creating binary distributions.
1610         * README.W32: Relocate from admin/nt/ directory.
1611         * configure.bat: New parameter `--distfiles'.
1612         * makefile.w32-in: Add version number, new target `dist'.
1613         Add new target `install-shortcuts'.
1614         * zipdist.bat: New file; create zipped binary distribution,
1615         replaces admin/nt/makedist.bat.
1617 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1619         * INSTALL: Add note about backslashes in Windows paths.
1620         Fix typos.  Simplify references to Windows versions.
1622 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1624         * addpm.c (add_registry, main):
1625         * cmdproxy.c (get_env_size):
1626         * ddeclient.c (main):
1627         * runemacs.c (set_user_model_id):
1628         Convert definitions to standard C.
1630 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1632         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1634 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1636         * configure.bat: New option --enable-checking.
1637         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1638         (CFLAGS): Include it.
1640 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1642         * config.nt (volatile): Remove definition.
1644 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1646         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1647         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1649 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1651         * config.nt (__P): Remove.
1653 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1655         * config.nt: Remove code depending on BSTRING.
1657 2010-06-03  Glenn Morris  <rgm@gnu.org>
1659         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1661 2010-05-13  Glenn Morris  <rgm@gnu.org>
1663         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1665 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1667         * Version 23.2 released.
1669 2010-05-04  Glenn Morris  <rgm@gnu.org>
1671         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1673 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1675         * emacs.manifest: Add trustInfo section to Windows manifest.
1677 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1679         * Branch for 23.2.
1681 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1683         * emacsclient.rc: Fix format of "LegalCopyright" value.
1685 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1687         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1689 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1691         * INSTALL: Update for CVS->Bazaar switchover.
1693 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1695         * configure.bat: Add #define PROFILING to config.h.
1697 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1699         * runemacs.c (set_user_model_id): Use standard types.
1701 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1703         * runemacs.c (set_user_model_id): New function.
1704         (WinMain): Use it.
1706 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1708         * Branch for 23.1.
1710 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1712         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1713         st_gid to unsigned.
1715         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1716         to unsigned.
1717         (getpwuid): Argument is now unsigned.
1718         uid_t is now unsigned.
1720 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1722         * INSTALL: Add comment about TCC; fix typos.
1724 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1726         * emacsclient.rc, emacs.rc: Swap name and description.
1727         Remove Windows versions.
1729 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1731         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1733         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1735         * addpm.c (main): Try using COM to create start menu shortcuts
1736         before resorting to DDE (Bug#202)
1737         Remove second command-line argument.
1739 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1741         * configure.bat: Untabify help message.
1743 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1745         * configure.bat: New option --with-svg.
1747         * INSTALL: Document experimental SVG support.
1749 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1751         * config.nt (PTR): Remove.
1753 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1755         * config.nt (LISTPROC, PROCATTR): Remove.
1757 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1759         * config.nt (LISTPROC, PROCATTR): New macros.
1761 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1763         * config.nt (MULTI_KBOARD): Remove.
1765 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1767         * configure.bat: New option --profile.
1768         * gmake.defs: Set cflags and ldflags for profiling when specified.
1770 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1772         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1774 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1776         * config.nt (HAVE_FACES): Remove, unused.
1778 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1779             Eli Zaretskii  <eliz@gnu.org>
1781         * nmake.defs (FONT_CFLAGS):
1782         * gmake.defs (FONT_CFLAGS): Remove.
1783         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1784         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1785         and _CRTAPI1.
1786         (ARCH_FLAGS): Don't include _X86_.
1788         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1790 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1792         * config.nt: Remove reference to UNEXEC_SRC.
1794 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1795             Eli Zaretskii  <eliz@gnu.org>
1797         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1798         Don't hardcode -gstabs+, use DEBUG_INFO.
1800         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1801         Default to stabs if the compiler does not support DWARF-2.
1802         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1804 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1806         * configure.bat: Remove code dealing with --disable-font-backend.
1808 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1810         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1811         better alignment.  Make st_size 64-bit wide.  Add new members
1812         st_uname and st_gname.
1814         * inc/grp.h (struct group): Add gr_gid member.
1816 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1818         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1819         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1820         a real file there is not a good idea.
1822 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1824         * makefile.w32-in (CLIENTRES): New variable and build target.
1825         (all): Depend on it.
1826         ($(TRES)): Use $(TRES) in rule.
1828 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1830         * configure.bat (success): Print "make" rather than "gmake", as that
1831         is what MinGW uses.
1833 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1835         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1836         Add copyright notice.
1838 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1840         * emacsclient.rc: New file.
1842         * INSTALL: Document make targets.
1844 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1846         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1847         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1848         (top-distclean, distclean, distclean-other-dirs-nmake)
1849         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1850         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1852 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1854         * inc/sys/stat.h: New file.
1856         * configure.bat: Add check for usp10.h.
1858 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1860         * INSTALL: Update Windows API requirements.
1862 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1864         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1866 2008-03-13  Glenn Morris  <rgm@gnu.org>
1868         * emacs.rc: Set version to 23.0.60.
1870 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1872         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1873         (EMACS_EXTRA_C_FLAGS): Include it.
1874         * configure.bat (usefontbackend): Default to Y.
1875         (--enable-font-backend): Replace with --disable-font-backend.
1876         (:withfont): Replace with :withoutfont.
1878 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1880         * icons/emacs.ico: Full alpha for 32x32 full color.
1881         Add 32x32 and 16x16 256 color versions.
1883 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1885         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1887 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1889         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1891 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1893         * icons/README: Update.
1895         * icons/emacs.ico: New icon.
1897 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1899         * addpm.c: Include malloc.h.
1900         (add_registry): Cast return value of alloca.
1902 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1904         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1906 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1908         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1909         conditional on existence of junk.o.  If %nocygwin% is already set
1910         to Y, skip to chkapiN instead of chkapi.
1911         (chkapi): Move "rm -f junk.c junk.o" to here.
1912         (chkapiN): New label.
1914 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1916         * makefile.w32-in: Remove unidata-gen related rules.
1918 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1920         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1922 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1924         * addpm.c (add_registry): Add an App Paths registry key.
1925         Look for GTK and add it to the DLL search path for Emacs if found.
1927 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1929         * configure.bat: In help, use generic names for the image libraries.
1931 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1933         * .cvsignore: Don't ignore .arch-inventory.
1935 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1937         * configure.bat: Make gcc the default compiler.
1939 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1941         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1942         Ignore return status.
1944         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1945         it out of the way of Windows generated file.
1946         Generate admin/unidata/makefile.
1948         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1949         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1950         (unidatagen-clean-SH): New targets.
1951         (bootstrap-nmake): Invoke unidatagen-nmake.
1952         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1954 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1956         * configure.bat (withfont): Set sep1 after modifying usercflags.
1958 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1960         * configure.bat: Rename --with-font-backend to --enable-font-backend
1961         for consistency with other platforms.
1963 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1965         * configure.bat: Add --with-font-backend option.
1967 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1969         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1970         permissions to NTFS ACLs.
1972 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1974         * config.nt: Remove HAVE_X11R5.
1976 2007-10-22  Jason Rumney  <jasonr@gnu.org>
1978         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1979         (strings.h, stdlib.h): Conditionally include.
1980         (w32_abort): Declare here.
1981         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
1983 2007-10-20  Jason Rumney  <jasonr@gnu.org>
1985         * makefile.w32-in (info-nmake): Change into correct directories.
1987 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
1989         * configure.bat (docflags, doldflags): New variables.
1990         (genmakefiles): Use them to work around problems with whitespace
1991         in arguments of the `if' command.
1993 2007-10-18  Jason Rumney  <jasonr@gnu.org>
1995         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1997 2007-09-27  Jason Rumney  <jasonr@gnu.org>
1999         * gmake.defs (COMCTL32): New system library.
2001         * nmake.defs (COMCTL32): New system library.
2003 2007-09-06  Glenn Morris  <rgm@gnu.org>
2005         * configure.bat:
2006         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
2007         Change from ../man to ../doc/emacs and ../doc/misc; and from
2008         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
2010 2007-08-29  Glenn Morris  <rgm@gnu.org>
2012         * emacs.rc: Increase version to 23.0.50.
2014 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
2016         * makefile.w32-in (bootstrap-nmake): Change directories once more.
2018 2007-07-25  Glenn Morris  <rgm@gnu.org>
2020         * Relicense all FSF files to GPLv3 or later.
2022         * COPYING: Switch to GPLv3.
2024 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
2026         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
2027         Depend on cmdproxy.
2028         (cleanall): Don't delete *~.
2030 2007-07-15  Jason Rumney  <jasonr@gnu.org>
2032         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
2033         be fully supported.
2035 2007-07-14  Jason Rumney  <jasonr@gnu.org>
2037         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
2038         of winsock.h.
2040 2007-07-11  Jason Rumney  <jasonr@gnu.org>
2042         * gmake.defs (OLE32): New library to link.
2044         * nmake.defs (OLE32): Likewise.
2046 2007-06-25  Jason Rumney  <jasonr@gnu.org>
2048         * cmdproxy.c (main): Set console codepages to "ANSI".
2050 2007-06-20  Jason Rumney  <jasonr@gnu.org>
2052         * configure.bat: Complain if image libraries are missing.
2054 2007-06-15  Jason Rumney  <jasonr@gnu.org>
2056         * emacs.manifest: New file.
2058         * emacs.rc: Use it.
2060 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
2062         * Version 22.1 released.
2064 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
2066         * INSTALL: Add information about where to find GDB, and warn
2067         against --no-debug option to configure.bat.
2069 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
2071         * INSTALL: Fix URL of EmacsW32 site where building with image
2072         support is described.
2074 2007-04-26  Glenn Morris  <rgm@gnu.org>
2076         * emacs.rc: Increase version to 22.1.50.
2078 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
2080         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
2082 2007-03-09  Richard Stallman  <rms@gnu.org>
2084         * INSTALL: Say explicitly this is not for Cygwin.
2086 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
2088         * INSTALL: Add URL of another site with detailed build instructions.
2090 2007-02-16  Glenn Morris  <rgm@gnu.org>
2092         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
2093         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
2094         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
2095         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
2096         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
2097         Restore all but two of icons deleted in previous change.
2099 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
2101         * icons/README: New file.
2103         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
2104         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
2105         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
2106         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
2107         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
2108         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
2109         Unused icons deleted.
2111 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
2113         * configure.bat: Update ../site-lisp/subdirs.el when needed.
2115 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
2117         * subdirs.el: Add "no-byte-compile: t" local variable.
2119 2007-01-10  Jason Rumney  <jasonr@gnu.org>
2121         * README: Update URLs and advice about reporting bugs.
2123 2006-12-29  Jason Rumney  <jasonr@gnu.org>
2125         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
2126         DEBUG_LINK.
2127         (DEBUG_LINK): Remove -debugtype:both.
2129 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
2131         * INSTALL: Update table of supported Make ports.  Show "make -j"
2132         command that is known to work.
2134         * configure.bat: Update table of supported Make ports.
2136 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
2138         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
2139         only in implicit rules.  Use literal "emacs.rc" instead.
2141 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
2143         * gmake.defs: Export XMFLAGS.
2145         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
2146         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
2148 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
2150         * INSTALL: Explain how to invoke GNU Make for parallel builds.
2152         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
2153         command-line argument to sub-Make in src, since src/makefile.w32-in
2154         invokes Make recursively during bootstrap.
2155         (clean): Delete stamp_BLD.
2156         (bootstrap): Make `all' explicitly in a recursive Make.
2158         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2159         stamp_BLD after creating the $(BLD) directory.
2161         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2162         stamp_BLD after creating the $(BLD) directory.
2164         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
2165         (preprep, $(TRES), runemacs)
2166         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
2167         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2168         Depend on stamp_BLD instead of on $(BLD).
2169         (XMFLAGS): New macro.
2170         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
2171         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
2172         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
2173         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2175 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
2177         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
2178         $(ALL_DEPS).
2179         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
2180         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2181         New dependency on $(BLD).
2182         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
2183         (bootstrap-gmake): Depend on addsection.
2185 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
2187         * runemacs.c (WinMain): Process all recognized arguments, not just
2188         the first one.  Remove unused variable sec_desc.
2190 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
2192         * config.nt (HAVE_LANGINFO_CODESET): Define.
2194         * inc/langinfo.h: New file.
2196         * inc/nl_types.h: New file.
2198 2006-09-15  Jay Belanger  <belanger@truman.edu>
2200         * COPYING: Replace "Library Public License" by "Lesser Public
2201         License" throughout.
2203 2006-07-27  Jason Rumney  <jasonr@gnu.org>
2205         * INSTALL: Add notes about Cygwin make to impatient section.
2207 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
2209         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2210         known to work.
2212 2006-03-12  Jason Rumney  <jasonr@gnu.org>
2214         * addpm.c (add_registry): Don't change the registry unless keys
2215         already exist from a previous version.
2217         * makefile.w32-in (install): Use -q when invoking addpm.
2219         * addpm.c (main): Accept -q as alternative for /q.
2221 2006-03-11  Jason Rumney  <jasonr@gnu.org>
2223         * runemacs.c (WinMain): Set screen buffer to 80x25.
2225 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
2227         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2228         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2230 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
2232         * INSTALL: Add explanation of how to debug with GDB starting from
2233         the Emacs Abort dialog.
2235 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
2237         * emacs.rc: Use new icons.
2239 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
2241         * emacs21.ico: Renamed from emacs.ico.
2242         * emacs.ico: New icons from Andrew Zhilin
2243         <andrew_zhilin@yahoo.com>.
2245 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
2247         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2249 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
2251         * .cvsignore: Add `obj' and `oo' for in-place installations.
2253 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
2255         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2257 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
2259         * configure.bat: Don't create lisp/Makefile.unix.
2261 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
2263         * .cvsignore: Add `makefile' and `config.log'.
2265 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
2267         Merge gnulib getopt implementation into Emacs.
2269         * inc/gettext.h: Remove; no longer needed now that
2270         lib-src/gettext.h exists.
2272 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
2274         * configure.bat: Finish config.log with a line that indicates that
2275         the configure step was successful.
2277 2005-07-04  Lute Kamstra  <lute@gnu.org>
2279         Update FSF's address in GPL notices.
2281 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
2283         * configure.bat: If their fc.exe returns a meaningful exit status,
2284         don't overwrite src/config.h and src/epaths.h with identical
2285         copies.
2287         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2288         changes.  Add a pointer to another site with detailed configure
2289         and build instructions.  Suggest to look at config.log when
2290         configure fails.  Add MinGW Make 3.80 to the list of successful
2291         combinations.
2293         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2294         "-mcpu=i686".
2296         * configure.bat: Update copyright years.
2297         Delete config.log before doing anything else.
2298         Write additional diagnostics to config.log in case of failures to
2299         compile test programs, including the failed test program itself.
2300         Add a test for support of -mtune=pentium4 switch to GCC; if it is
2301         supported, set up MCPU_FLAG variable on the various Makefiles to
2302         use that switch during compilations.  (This avoids GCC warning
2303         about -mcpu being deprecated.)
2305 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
2307         * addsection.c (copy_executable_and_add_section): Pass non-zero
2308         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2309         environment.  Print section names with %.8s.
2310         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2311         only if non-zero.  All callers changed.
2313 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
2315         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2316         `const void *', for consistency with POSIX.
2318 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
2320         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2322 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
2324         * INSTALL: Add more pointers to ports of Unix tools to Windows,
2325         and to the Emacs Wiki (which contains building instructions for
2326         Windows).  Reword image library instructions and remove obsolete
2327         incompatibility information.
2329 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
2331         * config.nt (HAVE_PWD_H): Undef.
2333 2004-06-07  Juanma Barranquero  <lektu@terra.es>
2335         * INSTALL: Clarify paragraph about compatibility between image
2336         libraries and builds of Emacs with several compilers.
2338 2004-06-06  Juanma Barranquero  <lektu@terra.es>
2340         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2341         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2342         calling non-existent cmdproxy.exe on bootstrapping after a
2343         previous install followed by realclean.
2345         * nmake.defs: Add quote in comment to resync font-locking.
2347 2004-06-04  Juanma Barranquero  <lektu@terra.es>
2349         * INSTALL: Reword the section on image support.  Add reference to
2350         GnuWin32.  Mention problems when mixing binaries from different
2351         compilers.
2353 2004-05-06  Jason Rumney  <jasonr@gnu.org>
2355         * configure.bat: Use -mno-cygwin to check for image libraries
2356         when needed.
2358 2004-05-03  Jason Rumney  <jasonr@gnu.org>
2360         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2361         * makefile.def: Remove.
2363         * nmake.defs (SYS_LDFLAGS): Add -nologo.
2365         * makefile.w32-in (info-gmake, info-nmake): New targets.
2366         (info): Use them.
2368 2004-04-23  Juanma Barranquero  <lektu@terra.es>
2370         * nmake.defs:
2371         * gmake.defs:
2372         * makefile.w32-in:
2373         * makefile.def:
2374         * makefile.nt: Add "-*- makefile -*-" mode tag.
2376 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
2378         * runemacs.c (WinMain): Let Emacs environment default to parent.
2380 2004-03-11  Jason Rumney  <jasonr@gnu.org>
2382         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2384 2004-03-10  Juanma Barranquero  <lektu@terra.es>
2386         * makefile.w32-in (install): Don't try to copy
2387         ../lib-src/fns-*.el, as it isn't used anymore.
2389 2004-01-28  Peter Runestig  <peter@runestig.com>
2391         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2393 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
2395         * .cvsignore: Add `.arch-inventory'.
2397 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
2399         * inc/grp.h: New file.
2401 2003-09-03  Peter Runestig  <peter@runestig.com>
2403         * configure.bat: Create ``makefile'' in directories man, lispref
2404         and lispintro.
2406         * makefile.w32-in (force-info, info): New targets.
2408         * envadd.bat: New file.
2410         * multi-install-info.bat: New file.
2412 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
2414         * config.nt (my_strftime): New define.
2416 2003-02-01  Jason Rumney  <jasonr@gnu.org>
2418         * configure.bat: Automatically detect libXpm.
2419         Suppress compiler output when testing for image libraries.
2420         Give names of un-found libraries in messages.
2422 2003-01-31  Juanma Barranquero  <lektu@terra.es>
2424         * configure.bat: Automatically detect giflib and tifflib.
2426 2003-01-29  Jason Rumney  <jasonr@gnu.org>
2428         * gmake.defs (CURDIR): Disable cygpath kludge.
2430 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
2432         * configure.bat: Avoid endless loop when configuring without image
2433         support.
2435 2003-01-26  Jason Rumney  <jasonr@gnu.org>
2437         * configure.bat: Automatically detect jpeglib.
2439 2003-01-25  Jason Rumney  <jasonr@gnu.org>
2441         * configure.bat: Automatically detect libpng.
2443 2003-01-21  Jason Rumney  <jasonr@gnu.org>
2445         * icons/hand.cur: New file.
2447 2003-01-21  David Ponce  <david@dponce.com>
2449         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2451 2003-01-15  Andrew Innes  <andrewi@gnu.org>
2453         * gmake.defs (CURDIR): Convert to native Windows format (with
2454         forward slashes), to support building with Cygwin builds of make.
2456 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
2458         * nmake.defs:
2459         * gmake.defs: Made changes so that Emacs would link with
2460         WinMM.lib.  This change was required for my addition of a Windows
2461         compatible implementation of play-sound-internal.
2463 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
2465         * emacs.rc: Version updated to 21.3.50.
2467 2002-06-13  Jason Rumney  <jasonr@gnu.org>
2469         * addpm.c (env_vars): Remove EMACSLOCKDIR.
2471         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2472         (maybe-bootstrap-SH): New targets.
2473         (all): Depend on maybe-bootstrap.
2475 2002-05-03  Jason Rumney  <jasonr@gnu.org>
2477         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2478         (sys_getpeername, fcntl): Declare as wrappers.
2480 2002-04-10  Juanma Barranquero  <lektu@terra.es>
2482         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2483         after compiling .el files.
2485 2002-03-20  Jason Rumney  <jasonr@gnu.org>
2487         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2488         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2490 2002-03-19  Kim F. Storm  <storm@cua.dk>
2492         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2493         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2494         (HAVE_SYS_UN_H): Undef.
2495         From David Ponce <dponce@voila.fr>.
2497 2002-03-13  Jason Rumney  <jasonr@gnu.org>
2499         * config.nt (STRFTIME_NO_POSIX2): Define.
2501 2002-02-18  Jason Rumney  <jasonr@gnu.org>
2503         * emacs.rc: Define VS_VERSION_INFO if not already.
2504         Update version info.
2506 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2508         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2509         pick up relevant bits of the Windows API definitions.
2511         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2512         pick up relevant bits of the Windows API definitions.
2514 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2516         * makefile.w32-in (bootstrap): Build addsection program before
2517         bootstrap (required for post-processing temacs.exe).
2519 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2521         * COPYING: New file.
2523 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2525         * makefile.w32-in (bootstrap-nmake)
2526         (bootstrap-gmake): Extend bootstrap process to first do
2527         bootstrap-clean in lisp dir and rebuild the DOC file.
2528         (bootstrap): Do a "normal" make after the bootstrap work.
2530 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2532         * INSTALL: Update table of versions of make that are suitable
2533         for building Emacs, based on recent feedback.
2535         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2537 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2539         * ftime-nostartup.bat: New file.
2541         * ftime.bat: Don't include libc.lib for profiling - the profiler
2542         corrupts part of memcpy.
2544 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2546         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2547         expansion.  From Juanma Barranquero <lektu@terra.es>.
2549 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2551         * (Version 21.1 released.)
2553 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2555         * inc/pwd.h (uid_t, gid_t): New typedefs.
2557 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2559         * Branch for 21.1.
2561 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2563         * README: Update the address of the mailing list and subscription
2564         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2566 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2568         * INSTALL: Suggest to avoid using WinZip.
2570         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2572 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2574         * INSTALL: Mention that "make install" can be "nmake install".
2576 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2578         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2579         since some versions of `mkdir' don't automatically create parent
2580         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2582 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2584         * subdirs.el: New file.
2586         * configure.bat: Copy subdirs.el to the site-lisp directory.
2588         * makefile.w32-in (install): Copy subdirs.el to the installation
2589         directory.
2591 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2593         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2595 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2597         * gmake.defs (sh_output): Don't use $(warning ...) to output
2598         messages, since that is not supported by GNU make 3.77.
2600 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2602         * INSTALL: Clarify that building with MSVC requires nmake.
2604 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2606         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2607         message that is to be ignored.
2609 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2611         * TODO: Remove file, since it is completely out of date.
2613         * README: Add copyright notice.
2615         * INSTALL: Add copyright notice.
2617 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2619         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2620         the environment.
2622         * gmake.defs (SETLOADPATH): Remove definition.
2623         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2624         environment.
2626 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2628         * configure.bat: Make the checkw32api* labels be distinct in the
2629         first 8 characters.
2631 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2633         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2634         escaped quotes.
2636         * gmake.defs (DEBUG_LINK): New macro.
2637         (LINK_FLAGS): Use it.
2639         * nmake.defs (DEBUG_LINK): New macro.
2640         (LINK_FLAGS): Use it.
2642 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2644         * INSTALL: Add --ldflags to configure line for building with
2645         recent versions of Cygwin GCC.
2647 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2649         * configure.bat: Use correct options when compiling a test program
2650         with Cygwin.  From David Ponce <dponce@voila.fr>.
2652 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2654         * _emacs: Remove obsolete file.
2656         * emacs.bat.in: Remove obsolete file.
2658         * debug.bat.in: Remove obsolete file.
2660         * inc/sys/socket.h: Add copyright notice.
2662         * paths.h: Add copyright notice.
2664         * makefile.nt: Update copyright notice.
2666         * makefile.def: Update copyright notice.
2668         * configure.bat: Update copyright notice.
2670         * nmake.defs: Add copyright notice.
2672         * gmake.defs: Add copyright notice.
2674         * makefile.w32-in: Add copyright notice.
2676 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2678         * nmake.defs (THISDIR): New definition.
2680         * gmake.defs (THISDIR): New definition.
2682 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2684         * configure.bat: Leave a space before >> only when there is a
2685         preceding digit.  Add a comment about the importance of this.
2687         * README: Replace outdated information.
2689         * INSTALL (Trouble-shooting): Add note about need to specify extra
2690         compiler flags with recent Cygwin ports of gcc.
2692 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2694         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2695         is not supported by Windows 9X's COMMAND.COM.
2697 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2699         * configure.bat: Make sure redirection is preceded by a blank, to
2700         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2701         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2703 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2705         * INSTALL: Copy the table of tested combinations of development
2706         tools from configure.bat.  Add suggestion to install Bash on
2707         Windows 9X.
2709         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2710         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2711         needs to be deleted, since command.com in Windows 9X doesn't grok
2712         more than one argument.
2714 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2716         * makefile.w32-in (cleanall-other-dirs-nmake)
2717         (cleanall-other-dirs-gmake): New targets.
2718         (cleanall): Invoke them.
2720 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2722         * addpm.c (env_vars): Add a version-independent site-lisp
2723         directory to EMACSLOADPATH, after the version dependent one.
2725 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2727         * README: Update info about compilers.
2729         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2730         select correct rule for invoking make in another directory.
2731         Amend rules accordingly.
2732         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2734         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2735         (COMPILER_TEMP_FILES): New definition.
2736         (MAKETYPE): New definition.
2738         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2739         (COMPILER_TEMP_FILES): New definition.
2740         (MAKETYPE): New definition.
2742         * makefile.def (EMACS_ICON_PATH): Delete definition.
2744         * configure.bat: Be careful not to add trailing spaces when
2745         outputting to config.settings.
2747 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2749         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2750         than the function.
2752 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2754         * makefile.w32-in (install): Copy directories to the correct
2755         places.
2756         (real_install): Remove obsolete target.
2758 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2760         * nmake.defs (CURDIR): New define.
2761         (INSTALL_DIR): Use it.
2763         * gmake.defs (NEW_CYGWIN): New define.
2764         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2765         so we need to adjust how we escape embedded quotes.
2766         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2767         relative to $(CURDIR).
2769 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2771         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2773 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2775         * makefile.w32-in (recompile): New target to recompile lisp
2776         directory.
2777         (recompile-CMD, recompile-SH): New support targets.
2779 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2781         * config.nt (NO_RETURN): Define it.
2783 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2785         * gmake.defs: Revert to Unix line endings.
2787         * nmake.defs: Revert to Unix line endings.
2789 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2791         * gmake.defs (SETLOADPATH): Change definition to work from any
2792         subdirectory.
2794 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2796         * makefile.w32-in: Revert to Unix line endings.
2798 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2800         * INSTALL: Add note about expected error messages when configure
2801         is run.
2803         * configure.bat: Simplify the generation of makefiles (don't need
2804         to generate various top-level targets that invoke make in other
2805         directories).
2807         * gmake.defs (SHELLTYPE): New define.
2808         (SETLOADPATH): New define.
2810         * nmake.defs (SHELLTYPE): New define.
2812         * makefile.w32-in: Standardize indentation somewhat.
2813         Add bootstrap support.
2814         Pass $(MFLAGS) when invoking make recursively.
2815         Add shell-specific variants of top-level targets that invoke make
2816         recursively in other directories, and add necessary computed
2817         dependencies.
2819 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2821         * makefile.w32-in: Change to DOS line endings.
2823         * configure.bat: Change to DOS line endings.
2825         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2826         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2828         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2829         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2831         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2832         -D_ANONYMOUS_STRUCT on compile line.
2833         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2834         (ARCH_CFLAGS): Change optimization flags to -O2.
2835         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2836         (ARGQUOTE, DQUOTE): New defines.
2838         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2839         -D_ANONYMOUS_STRUCT on compile line.
2840         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2841         (ARGQUOTE, DQUOTE): New defines.
2843 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2845         * configure.bat: New file.
2847         * gmake.defs: New file.
2849         * nmake.defs: New file.
2851         * makefile.w32-in: New file.
2853         * INSTALL: Rewrite to match new configure process.
2855         * config.nt [WINDOWSNT]: Don't declare getenv.
2856         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2858         * addpm.c (main): Accept /q to mean install based on addpm's
2859         location without asking.  Remove reference to emacs.bat which is
2860         now obsolete.
2862         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2864         * paths.h: Use forward slash as directory separator in all path
2865         definitions.
2866         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2868         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2870         * runemacs.c: Remove WIN32 define.
2872         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2873         not defined.
2875         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2876         (fd_set): Define to new name, after including winsock.h, so we can
2877         provide our own implementation.
2879 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2881         * ebuild.bat: Add support for specifying make arguments.
2883         * makefile.nt: Add support for `bootstrap' and related targets.
2885 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2887         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2889 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2891         * inc/sys/time.h: Add inclusion protection.
2893         * makefile.def (SYS_LDFLAGS): Add -nologo.
2895 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2897         * install.bat: Pass on command line arguments to make.
2899         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2901 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2903         * makefile.nt (all): Build leim if present.
2904         (install): Install leim if present.
2905         (clean): Clean leim if present.
2907         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2908         definition.
2910         * emacs.bat.in (EMACSLOADPATH): Include leim.
2912 1999-07-12  Richard Stallman  <rms@gnu.org>
2914         * Version 20.4 released.
2916 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2918         * emacs.rc: Use an icon with a transparent background, to be in
2919         keeping with other applications.
2921 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2923         * preprep.c: Fix typo.
2925 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2927         * config.h: Remove obsolete file.
2929         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2930         couple of unused switch cases that aren't defined on all
2931         platforms.
2933         * ftime.bat: Add another variation of the profile command, which
2934         only profiles extended commands.
2936 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2938         * cmdproxy.c (main): Fix parens.
2940 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2942         * cmdproxy.c (main): Call GetShortPathName to normalize program
2943         names for comparison.
2945 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2947         * makefile.def: Compile multiple .c files when possible.
2948         Use BLD instead of assuming i386.
2949         * makefile.nt: Remove common multiple file compilation commands.
2951 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2953         * cmdproxy.c (main): Add missing parens.
2955 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2957         * preprep.c: New program to allow dumped image to be profiled.
2959         * makefile.nt (preprep): New target.
2960         (ALL): Build it.
2962         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2964         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2965         Change prep options to profile libc functions and skip the startup
2966         code.
2968 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2970         * makefile.nt: Create installation directory as first step.
2972 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2974         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2975         ROUND_UP_DST.  Zeroes the alignment slop.
2976         (copy_executable_and_add_section): Update the
2977         SizeOfHeaders field properly.
2979 1999-01-27  Andrew Innes  <andrewi@gnu.org>
2981         * makefile.nt: Do make version comparison as strings.
2983 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
2985         * runemacs.c (WinMain): Pass explicit environment block to
2986         CreateProcess, to work around a bug in Windows 95/98.
2988 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
2990         * icons: New directory with Davenport's icons.
2991         * icons/sink.ico: Renamed from emacs.ico.
2993         * makefile.nt (install, fast_install): Install Windows icons
2994         into etc/icons.
2996         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2998 1999-01-17  Andrew Innes  <andrewi@gnu.org>
3000         * makefile.nt (ALL): List top-level targets.
3001         (addsection): New top-level target.
3002         (install): Copy fns-*.el to bin directory.
3004         * addsection.c: New program to add static heap section to
3005         temacs.exe after linking, in support of new unexec method.
3007 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
3009         * cmdproxy.c (spawn): Pass directory for child as parameter.
3010         (main): Save startup directory to give to spawn, then change
3011         directory to location of .exe in order not to prevent startup
3012         directory from being deleted.
3014 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
3016         * makefile.nt: Do string comparison of _NMAKE_VER.
3018 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
3020         * config.nt (LOCALTIME_CACHE): Define.
3022 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
3024         * install.bat: Convert to DOS format.
3026 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
3028         * cmdproxy.c (main): Set environment size only when running
3029         command.com.
3031 1998-11-03  Theodore Jump  <tjump@tertius.com>
3033         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
3034         (DEL_TREE): Use rd instead of rmdir.
3035         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
3036         * makefile.nt: Compile multiple source files when possible.
3038 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
3040         * cmdproxy.c (main): Treat command line options as case-insensitive.
3042 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
3044         * Version 20.3 released.
3046 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
3048         * addpm.c (main): Explicitly check result of message box for OK.
3050 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
3052         * inc/sys/file.h (D_OK): Define new macro.
3054 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
3056         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
3058 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
3060         * emacs.rc (VS_VERSION_INFO): Define.
3062 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
3064         * makefile.nt (emacs.bat, debug.bat): Create them in the
3065         installation directory.
3067 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
3069         * ddeclient.c: New file.  (Support program for performing limited
3070         interprocess communication on Windows.)
3072         * makefile.nt: Build ddeclient.
3074         * cmdproxy.c (main): Only set environment size for real shell, and
3075         provide extra directory argument, when running on Windows 95.
3077 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
3079         * cmdproxy.c (fail): Exit with a negative return value.
3080         (spawn): Return subprocess return code as an argument.
3081         Explicitly copy environment block.
3082         (main): Update to use return value argument with spawn.
3083         Retry if spawn failed when a subshell was not tried.
3085         * config.nt: Include new macros from src/config.in.
3086         (GNU_MALLOC, REL_ALLOC): Define.
3087         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
3088         (RE_TRANSLATE): Use char_table_translate.
3090         * makefile.def (CP_DIR): Preserve attributes.
3092         * makefile.nt (clean): Delete patch generated files, optimized
3093         build directory.
3095 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
3097         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
3099 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3101         * Version 20.2 released.
3103 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3105         * Version 20.1 released.
3107 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
3109         * debug.bat.in: New file.
3110         * makefile.nt (debug.bat): New target.
3112 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
3114         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
3115         Quote group name.  Allow different icons to be specified.
3117         * cmdproxy.c (get_env_size): New function.
3118         (spawn): Explicitly pass in environment when creating subprocess.
3119         (main): Cleanup error messages.
3120         Specify dynamically sized environment block for real shell.
3121         Pass on unhandled switches to real shell.
3122         Quote program name.
3124         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
3125         directory.
3126         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
3128         * runemacs.c (WinMain): Allow Emacs process to be started with
3129         high or low priority.
3131         * emacs.bat.in: Remove OS dependent operations.
3133 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
3135         * addpm.c (env_vars): No longer set INFOPATH.
3137         * cmdproxy.c (get_next_token): Null terminate token returned.
3139         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
3141 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
3143         * addpm.c (env_vars): Set SHELL to cmdproxy.
3144         (main): Initialize idDde to 0.
3145         Determine emacs_path from module file name.
3146         Prompt for install.
3148         * makefile.def (MSVCNT11): Conditionally define it.
3149         (BASE_LIBS): Do not use oldnames.lib.
3150         (SYS_LDFLAGS): Use pdb files.
3151         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
3152         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
3153         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
3155         * makefile.nt (ALL): Build cmdproxy.
3156         (cmdproxy): New target.
3157         (install): Install cmdproxy.
3159         * ftime.bat, debug.bat, cmdproxy.c: New files.
3161 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
3163         * inc/sys/socket.h (shutdown): Define.
3164         (sys_shutdown): Export.
3166 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3168         * config.nt (RE_TRANSLATE): Copy definition from config.in.
3170 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
3172         * config.nt: Update file comments.
3173         Update undefs added/removed in src/config.in.
3175 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
3177         * makefile.def, emacs.bat.in: Use windows95 and windowsnt instead
3178         of win95 and winnt, respectively.
3180 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
3182         * makefile.nt (real_install): Create site-lisp in installation dir.
3183         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
3184         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
3186 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3188         * Version 19.33 released.
3190 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
3192         * runemacs.c (WinMain): Put a space between the binary and its args.
3194 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3196         * Version 19.32 released.
3198 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
3200         * makefile.nt (clean): Use OBJDIR macro.
3202 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
3204         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3205         Not defined by default.
3206         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3207         (WinMain): Convert backslashes to slashes in env var values.
3209         * addpm.c (env_vars): Use slashes, not backslashes.
3211 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3213         * Version 19.31 released.
3215 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
3217         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3218         undo settings afterwards.
3220 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
3222         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3223         environment variable.
3225 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3227         * install.bat: Allow for optimized build.
3228         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3229         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3231 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3233         * addpm.c (REG_ROOT): Don't use a trailing backslash.
3234         (env_vars): Rename field emacs_path to emacs_dir.
3235         (main): Add link to runemacs instead of emacs.
3237         * install.bat: Check if INSTALL_DIR is passed as an argument.
3239         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3241         * makefile.nt: Build and install runemacs.exe.
3243         * runemacs.c: New file.
3245         * config.w95: File removed.
3247         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3248         inc/sys/socket.h, inc/sys/time.h: New header files.
3250         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3252 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
3254         * makefile.def (DEL): Defined.
3255         (DEL_TREE) [win95]: Defined.
3256         (SYS_LDFLAGS): Set executable versions to 3.10.
3258         * makefile.nt: Change uses of del to $(DEL).
3260 1996-01-17  Erik Naggum  <erik@naggum.no>
3262         * All files: Update FSF's address in comment preamble.
3264 1996-01-03  George V. Reilly  <georger@microcrafts.com>
3266         * emacs.ico: Now the proverbial kitchen sink icon.
3268 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3270         * Version 19.30 released.
3272 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
3274         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3276         * makefile.nt (install, fast_install, real_install, clean):
3277         Don't use switches to del not supported by Windows 95.
3279 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
3281         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3282         (install, fast_install): Change same-dir test to create test file in
3283         installation tree and thereby support read-only shares.
3284         (clean): Remove .pdb files.
3286         * makefile.def (NTGUI): New macro.
3287         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3289         * config.nt, config.w95: Update to latest src/config.in.
3291         * addpm.c (env_vars): New variable.
3292         (add_registry): New procedure.
3293         (main): Use values of configuration environment variables from
3294         the registry if defined, the process environment otherwise.
3296 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3298         * Version 19.29 released.
3300         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3302 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
3304         * makefile.nt: Define .c to .obj suffix rule.
3305         (addpm.obj): Compile directly, use CFLAGS.
3306         (addpm.exe): Link from addpm.obj.
3308         * makefile.def (MSVCNT11): Defined.
3309         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3310         (CFLAGS_COMMON): Defined.
3311         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3313 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
3315         * emacs.bat.in: Renamed from emacs.bat.
3316         (emacs_dir): Rename from emacs_path.
3317         Definition removed.
3319         * addpm.c: New file.
3320         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3321         (all): Depend upon $(BLD) and $(ALL).
3322         (install): Depend upon emacs.bat.
3323         Create program item for Emacs.
3324         (clean): Delete obj.
3325         (emacs.bat): Defined.
3326         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3328 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
3330         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3331         Add carriage returns; necessary for batch files on Windows 95.
3333 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
3335         * config.w95: Created.
3336         * config.h: Changed to config.nt.
3338         * makefile.nt (SUBDIRS): Commented out.
3339         (all, install, clean): Expand for-loops.
3340         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3342         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3343         (ARCH): New definition.
3344         (CPU, CONFIG_H, OS_TYPE): Defined.
3345         (INCLUDE, LIB): Checked if valid.
3346         (ntwin32.mak): Included.
3347         (AR, CC, LINK): New definition.
3348         (ADVAPI32, libc, BASE_LIBS): Defined.
3349         (SYS_LDFLAGS): New definition.
3350         Update comments and preprocessor conditionals.
3352         * emacs.bat (SHELL): Conditionally defined.
3353         (HOME): Conditionally defined.
3354         (emacs_path, HOME): Update comments.
3355         Turn off all echo.
3357 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
3359         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc:
3360         * fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h:
3361         * inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h:
3362         * inc/sys/param.h: Removed carriage-returns.
3364 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
3366         * makefile.def (CVTRES): Defined.
3368         * emacs.ico, emacs.rc: New files by Kevin Gallo.
3370 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
3372         * src/config.h, src/paths.h: Moved to parent dir, src/ removed.
3374 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
3376         * makefile.def (INSTALL_DIR): Change to generic directory.
3378         * emacs.bat: Added arguments when emacs.exe invoked.
3380         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3382 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
3384         * makefile.def (CC): In configuration section.
3385         (COMPAT_LIB): Defined.
3387 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
3389         * src/paths.h: New file.
3391         * src/config.h: New file.
3393         * inc/pwd.h: New file.
3395         * inc/sys/dir.h: New file.
3397         * inc/sys/file.h: New file.
3399         * inc/sys/ioctl.h: New file.
3401         * inc/sys/param.h: New file.
3403         * todo: New file.
3405         * README: New file.
3407         * makefile.nt: New file.
3409         * makefile.def: New file.
3411         * install.cmd: New file.
3413         * INSTALL: New file.
3415         * fast-install.cmd: New file.
3417         * emacs.cmd: New file.
3419         * ebuild.cmd: New file.
3421         * _emacs: New file.
3423 ;; Local Variables:
3424 ;; coding: utf-8
3425 ;; add-log-time-zone-rule: t
3426 ;; End:
3428   Copyright (C) 1995-1999, 2001-2015 Free Software Foundation, Inc.
3430   This file is part of GNU Emacs.
3432   GNU Emacs is free software: you can redistribute it and/or modify
3433   it under the terms of the GNU General Public License as published by
3434   the Free Software Foundation, either version 3 of the License, or
3435   (at your option) any later version.
3437   GNU Emacs is distributed in the hope that it will be useful,
3438   but WITHOUT ANY WARRANTY; without even the implied warranty of
3439   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3440   GNU General Public License for more details.
3442   You should have received a copy of the GNU General Public License
3443   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.