* net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
[emacs.git] / nt / ChangeLog
blob9c7328e917563d258be49cf5e30fcb99028dcd98
1 2014-06-15  Glenn Morris  <rgm@gnu.org>
3         * Makefile.in (LDFLAGS): Explicitly set via configure.
5 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
7         * Makefile.in (CPPFLAGS): Define.
9 2014-06-15  Glenn Morris  <rgm@gnu.org>
11         * Makefile.in (bootstrap-clean): New.
13 2014-06-05  Dmitry Antipov  <dmantipov@yandex.ru>
15         * inc/ms-w32.h (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.
17 2014-05-29  Eli Zaretskii  <eliz@gnu.org>
19         * Makefile.in (DONT_INSTALL): Now empty.
20         (addsection${EXEEXT}): Remove target.
22         * addsection.c: File removed.
24 2014-05-27  Fabrice Popineau  <fabrice.popineau@gmail.com>
26         * inc/ms-w32.h: Switch to the system heap allocation scheme
27         instead of GNU malloc and ralloc.
29         * inc/sys/mman.h: New file.
31         * INSTALL: Update for the new build requirements.
33 2014-05-17  Paul Eggert  <eggert@cs.ucla.edu>
35         Assume C99 or later (Bug#17487).
36         * gnulib.mk: Remove stdarg and stdbool modules.
38 2014-05-16  Paul Eggert  <eggert@cs.ucla.edu>
40         Don't require pkg-config when building from repository.
41         * INSTALL: Remove no-longer-needed notes about pkg-config.
43 2014-05-05  Eli Zaretskii  <eliz@gnu.org>
45         * INSTALL: Update to the effect that pkg-config is now required
46         for building from the repository.
48 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
50         * cmdproxy.c (make_absolute): Don't copy more characters from PATH
51         than a single directory name can hold.  (Bug#17334)
53 2014-04-22  Eli Zaretskii  <eliz@gnu.org>
55         * inc/ms-w32.h (lseek): Define only if not already a macro.
56         Suggested by Fabrice Popineau <fabrice.popineau@gmail.com>.
58 2014-04-11  Ken Brown  <kbrown@cornell.edu>
60         * emacs.rc: Revert last change.
62 2014-04-07  Ken Brown  <kbrown@cornell.edu>
64         * emacs.rc: Don't use manifest on Cygwin.  (Bug#17176)
66 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
68         * Makefile.in (install): Create destination directory before copying
69         README.W32, and use ${datadir} to refer to the file (bug#16772).
71 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
73         * Makefile.in (datarootdir, datadir, INSTALL_DATA): Declare.
74         (install): Copy README.W32 to $(datadir)/emacs/$(version).
75         (uninstall): Remove README.W32.  (Bug#14757)
77 2014-02-08  Eli Zaretskii  <eliz@gnu.org>
79         * INSTALL: Update for Emacs 24.4.
81         * README: Update for Emacs 24.4.
83         * README.W32: Update and improve instructions.  (Bug#14762)
85 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
87         * README.W32: Say what GnuTLS and libxml2 does (bug#14762).
89 2014-01-18  Eli Zaretskii  <eliz@gnu.org>
91         * runemacs.c (ensure_unicows_dll): Don't tell in the message box
92         that "emacs -nw" can do without UNICOWS.DLL on Windows 9X.  See
93         w32.c:maybe_load_unicows_dll and its callers for the reason.
95 2014-01-11  Claudio Bley  <claudio.bley@googlemail.com>
97         * inc/sys/stat.h (_WSTAT_DEFINED): Define, to avoid compilation
98         failures when wchar.h is included.
100 2014-01-11  Fabrice Popineau  <fabrice.popineau@supelec.fr>
102         * inc/ms-w32.h (pthread_sigmask): Undefine if defined, for MinGW64.
104 2013-12-31  Fabrice Popineau  <fabrice.popineau@supelec.fr>
106         * inc/ms-w32.h (sys_kill): Fix prototype.
108 2013-12-30  Eli Zaretskii  <eliz@gnu.org>
110         * inc/ms-w32.h (umask) [emacs]: Redirect to sys_umask.  (Bug#16299)
112 2013-12-23  Eli Zaretskii  <eliz@gnu.org>
114         * README.W32:
115         * INSTALL: Update instructions for downloading and using image
116         libraries in general, and librsvg in particular.
118 2013-12-16  Eli Zaretskii  <eliz@gnu.org>
120         * emacs-x64.manifest:
121         * emacs-x86.manifest: Declare that we target Windows 8.1 as well
122         as earlier versions.  This is so GetVersion and GetVersionEx APIs
123         used for bug reporting and other purposes return accurate version
124         number on Windows 8.1.  See the discussion on MSDN
125         http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx
126         for more details.
128 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
130         * inc/ms-w32.h (MAX_UTF8_PATH): New macro.
131         (opendir, closedir, readdir, seekdir): Redirect to replacement
132         functions.
133         * inc/dirent.h: Make d_name[] be MAXNAMELEN*4 characters long.
135 2013-11-27  Glenn Morris  <rgm@gnu.org>
137         * README.W32:
138         * addpm.c (env_vars):
139         * epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
140         * paths.h (PATH_LOADSEARCH): No more leim directory.
142 2013-11-26  Glenn Morris  <rgm@gnu.org>
144         * epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.
146 2013-11-12  Dani Moncayo  <dmoncayo@gmail.com>
148         * msysconfig.sh: Remove.
149         * INSTALL: Update for this.
151 2013-11-09  Glenn Morris  <rgm@gnu.org>
153         * mingw-cfg.site: No need for this to be executable.
155 2013-10-24  Glenn Morris  <rgm@gnu.org>
157         * Makefile.in ($(DESTDIR)${archlibdir}):
158         Avoid non-portable "`\" nesting.
160         * Makefile.in (abs_top_srcdir): New, set by configure.
162 2013-10-23  Glenn Morris  <rgm@gnu.org>
164         * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
165         Quote entities that might contain whitespace.
167 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
169         * inc/mingw_time.h: New file.
171         * inc/ms-w32.h: Include mingw_time.h instead of doing its job.
173 2013-10-12  Eli Zaretskii  <eliz@gnu.org>
175         * inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
176         the layout of 'struct dirent' be compatible with MinGW32 runtime
177         versions 4.0 and later.
179         * inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
180         (__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
181         defined, but not for MinGW64.
182         (_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
183         use of 32-bit time_t type.
185 2013-10-07  Paul Eggert  <eggert@cs.ucla.edu>
187         Improve support for popcount and counting trailing zeros (Bug#15550).
188         * gnulib.mk: Merge changes from ../lib/gnulib.mk.
190 2013-10-04  Paul Eggert  <eggert@cs.ucla.edu>
192         * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
194 2013-09-20  Eli Zaretskii  <eliz@gnu.org>
196         * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
197         to avoid gnulib replacement of 'struct timeval' and the resulting
198         compilation of lib/gettimeofday.c with incompatible version of
199         gettimeofday.  Related discussions on emacs-devel:
200         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
201         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html
203 2013-08-31  Glenn Morris  <rgm@gnu.org>
205         * INSTALL: Rename from INSTALL.MSYS.
206         * INSTALL.OLD: Rename from INSTALL.
207         * configure.bat: Update for INSTALL name changes.
209 2013-08-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
211         * configure.bat: Rather than disabling, make configure.bat produce
212         some warning that building with configure.bat is deprecated and
213         ask for confirmation to continue.
215 2013-08-25  Glenn Morris  <rgm@gnu.org>
217         * INSTALL: Refer to INSTALL.MSYS.
218         * configure.bat: Disable it.
220 2013-08-04  Eli Zaretskii  <eliz@gnu.org>
222         * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
224         * inc/ms-w32.h (mkostemp): Declare prototype.
225         (mktemp): Don't redirect to sys_mktemp.
227         * config.nt (HAVE_MKOSTEMP): Define to 1.  (Bug#15015)
229 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
231         * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
232         (FD_CLOEXEC): New macros.
234 2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>
236         Make file descriptors close-on-exec when possible (Bug#14803).
237         * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
238         otherwise, gnulib-tool complains given close-on-exec changes.
239         * inc/ms-w32.h (pipe): Remove.
240         * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
241         (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
243 2013-06-25  Juanma Barranquero  <lekktu@gmail.com>
245         * configure.bat: Add warning to the help text about using the
246         MSYS/MinGW building procedure.
248 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
250         * INSTALL.MSYS: mingw-get is not a GUI program (yet).
251         msys-automake is not suitable for MinGW builds.  Mention the
252         --enable-locallisppath switch to msysconfig.sh.  Suggested by
253         Óscar Fuentes <ofv@wanadoo.es>.
255 2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)
257         * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
259 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
261         * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
263 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
265         * inc/sys/time.h (struct timeval): Remove the _W64 guards.
267 2013-06-01  Eli Zaretskii  <eliz@gnu.org>
269         * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
270         avoid multiple definition errors on MinGW64.
272 2013-05-31  Eli Zaretskii  <eliz@gnu.org>
274         * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
275         'restrict', which is a C99 extension.  See
276         http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
277         and the following discussion for the problem this caused in the
278         old nt/configure.bat build.
280 2013-05-29  Eli Zaretskii  <eliz@gnu.org>
282         * Makefile.in (emacs.res): Include srcdir when preprocessing
283         resources, for out-of-tree builds.
284         (mostlyclean): Remove *.res files.
286 2013-05-17  Eli Zaretskii  <eliz@gnu.org>
288         * runemacs.c (WinMain): Support invocation of un-installed
289         nt/runemacs.exe, by looking for src/emacs.exe.
291 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
293         * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.  (Bug#14409)
295         * msysconfig.sh: New file.
297         * mingw-cfg.site: New file.
299         * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
301         * inc/unistd.h: Include pwd.h and sys/types.h.
303         * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
304         (timerclear): Define.
305         (gettimeofday): Adjust signature to be Posix compatible, by using
306         the 'restrict' keyword.
308         * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
309         (struct _stat, struct _stati64): Define.
311         * inc/sys/socket.h (timeval): Define only for MSVC.
312         (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
313         EMACS_CONFIG_H is defined.
314         (timeval): Undefine only for MSVC.
316         * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
317         (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
318         (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
319         (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
320         (fileno): Move definition after including stdio.h.
321         (sigset_t): Guard typedef by _W64.
323         * gnulib.mk: New file.
325         * epaths.nt: New file.
327         * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
328         copy of the file names there.
329         <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
330         literal strings.
332         * Makefile.in: New file.
334         * INSTALL.MSYS: New file.
336         * INSTALL: Mention INSTALL.MSYS.
338 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
340         * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
342 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
344         * config.nt: Sync with autogen/config.in.
345         (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
346         (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
347         (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
348         (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
349         (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
350         (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
351         (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
352         (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
353         (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
354         (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
356 2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>
358         Use Gnulib ACL implementation, for benefit of Solaris etc.  (Bug#14295)
359         * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
360         * inc/ms-w32.h (EOPNOTSUPP): New macro.
362 2013-04-09  Ken Brown  <kbrown@cornell.edu>
364         * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
365         (Bug#12993)
367 2013-04-01  Eli Zaretskii  <eliz@gnu.org>
369         * README: A better documentation of ddeclient.exe.
371         * README.W32: A better documentation of ddeclient.exe.
373         * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
374         subdirectories.
376 2013-03-30  Eli Zaretskii  <eliz@gnu.org>
378         * inc/ms-w32.h (TERM_HEADER): Remove definition.
380         * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
381         ms-w32.h.
383 2013-03-29  Eli Zaretskii  <eliz@gnu.org>
385         * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
387         * config.nt (HAVE_COPYSIGN): Define.
389 2013-03-29  Juanma Barranquero  <lekktu@gmail.com>
391         * config.nt: Sync with autogen/config.in.
392         (HAVE_XKBGETKEYBOARD): Remove.
393         (HAVE_XKB): New macro.
395 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
397         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
398         (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
399         Depend on .exe files.
401         * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
402         avoid MinGW64 compiler warnings in editfns.c.
404         Fix rules for parallel builds.
405         * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
406         without the .exe suffix.
407         (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
408         targets.
409         (.PHONY): Remove.
411         * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
412         headers, since that's where _W64 is declared by MinGW64.
414 2013-03-26  Eli Zaretskii  <eliz@gnu.org>
416         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
417         (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
419         * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
420         define for MinGW64.
422         * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
423         for MinGW64.
425         Fix more incompatibilities between MinGW.org and MinGW64 headers
426         reported by Óscar Fuentes in
427         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
428         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
429         and in
430         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
431         * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
432         For MinGW64, include sys/types.h and time.h.
433         (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
435         * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
437         * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
438         _W64.
439         (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
440         _TIMEZONE_DEFINED.
442         * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
444         * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
445         lstat, and fstatat.
447 2013-03-25  Eli Zaretskii  <eliz@gnu.org>
449         Fix incompatibilities between MinGW.org and MinGW64 headers
450         reported by Óscar Fuentes in
451         http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
452         * inc/ms-w32.h (struct timespec): Don't define if
453         _TIMESPEC_DEFINED is already defined.
454         (sigset_t) [!_POSIX]: Typedef for MinGW64.
455         (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
456         including the first system header, to avoid redefinition if some
457         system header defines a default value.
459         * inc/sys/time.h (struct itimerval): Don't define if
460         _TIMESPEC_DEFINED is already defined.
462 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
464         Fix the MSVC build.  (Bug#13939)
465         * inc/stdint.h (UINTPTR_MAX): Define.
467         * nmake.defs (libc): Fix syntax of !if conditional.
469 2013-03-15  Juanma Barranquero  <lekktu@gmail.com>
471         * config.nt: Sync with autogen/config.in.
472         (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
473         (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
474         (HAVE_FDATASYNC): New macros.
476 2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
478         File synchronization fixes (Bug#13944).
479         * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
481 2013-03-05  Paul Eggert  <eggert@cs.ucla.edu>
483         FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
484         * inc/unistd.h (O_NOFOLLOW): New macro.
486 2013-03-04  Juanma Barranquero  <lekktu@gmail.com>
488         * config.nt: Sync with autogen/config.in.
489         (DATA_START, ORDINARY_LINK): Remove.
490         (HAVE_DATA_START, HAVE__PUTENV): New macros.
492 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
494         * inc/ms-w32.h (BOOT_TIME_FILE): Define.
496         * config.nt (CLASH_DETECTION): Define to 1.
498 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
500         * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
501         (Bug#9066)
502         (chown, logb): Remove, unused.
504 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
506         * config.nt: Sync with autogen/config.in.
507         (GC_MARK_STACK): Remove.
508         (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
509         (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
510         (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
512 2013-02-12  Eli Zaretskii  <eliz@gnu.org>
514         * inc/ms-w32.h: Add prototype for memrchr.
516 2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
518         Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
519         * inc/sys/stat.h (fstatat):
520         * inc/unistd.h (readlinkat): New decls.
522 2013-01-28  Eli Zaretskii  <eliz@gnu.org>
524         * inc/dirent.h (opendir): Update prototype.
526 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
528         * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
529         used in term.c.  (Bug#13387)
531 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
533         * config.nt: Sync with autogen/config.in.
534         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
536 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
538         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
539         in lib/filemode.c that broke the MS-Windows build.
540         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
542 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
544         * config.nt: Sync with autogen/config.in.
545         (BSD4_2): Remove.
547 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
549         * inc/sys/acl.h: New file.
551         * inc/ms-w32.h (ENOTSUP): Define if undefined.
553         * config.nt (HAVE_POSIX_ACL): Define.
555 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
557         * inc/ms-w32.h (sys_unlink): Provide prototype.
559 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
561         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
563 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
565         * config.nt: Sync with autogen/config.in.
566         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
568 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
570         * config.nt: Sync with autogen/config.in.
571         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
572         (ULIMIT_BREAK_VALUE): Remove.
574 2012-12-10  Daniel Colascione  <dancol@dancol.org>
576         * emacs.rc: Use forward slashes in relative paths in order to
577         avoid complaints from Cygwin.  (Forward slashes work perfectly
578         well in the NT build.)
580 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
582         * inc/unistd.h (unsetenv): Provide a prototype.
584 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
586         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
587         (sys_putenv): Add prototype.
589         * config.nt (HAVE_UNSETENV): Define to 1.
591 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
593         * config.nt: Sync with autogen/config.in.
595 2012-11-24  Ken Brown  <kbrown@cornell.edu>
597         * config.nt (HAVE_MOUSE): Remove.
599 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
601         * config.nt: Sync with autogen/config.in.
602         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
603         Remove.
605 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
607         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
608         (Bug#12955)
610         * nmake.defs (SWITCHCHAR): Define to /.
612 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
614         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
615         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
616         (struct dirent): Rename from struct direct.  All uses changed.
617         * inc/sys/dir.h: Remove.
619 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
621         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
622         * config.nt (HAVE_GETCWD): Remove.
624 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
626         * nmake.defs: Use !if, not !ifdef.  For the details, see
627         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
629         * inc/stdint.h (INTPTR_MIN)
630         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
632 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
634         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
636 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
638         * config.nt: Sync with autogen/config.in.
639         (HAVE_FPATHCONF): Remove.
641 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
643         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
644         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
645         POSIX name for this flag is O_NONBLOCK.  All uses changed.
646         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
647         these really should be moved to a replacement <fcntl.h> if and
648         when that gets implemented.  In the meantime, include <fcntl.h>
649         to make sure we don't override its definitions.
651 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
653         * inc/sys/wait.h: New file, with prototype of waitpid and
654         definitions of macros it needs.
656         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
657         (sys_wait): Remove prototype.
659         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
661 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
663         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
664         to check if it's installed, redirect standard output and standard
665         error to the null device.
666         (ZIP_DIST): Don't build the "barebin" distribution.
668 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
670         * config.nt: Sync with autogen/config.in.
671         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
672         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
673         New macros.
675 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
677         * inc/unistd.h (faccessat): Add prototype.
678         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
679         2 moved from ms-w32.h.
681         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
683 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
685         Use faccessat, not access, when checking file permissions (Bug#12632).
686         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
687         (access): Remove.
688         (faccessat): New macro.
690 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
692         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
694 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
696         * config.nt: Sync with autogen/config.in.
697         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
698         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
700 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
702         * config.nt: Sync with autogen/config.in.
703         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
705 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
707         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
709 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
711         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
713         * config.nt (GETPGRP_VOID): Define to 1.
715 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
717         * config.nt: Sync with autogen/config.in.
719 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
721         * inc/pwd.h (getuid, geteuid): Add prototypes.
723         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
724         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
725         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
726         (sys_kill, getpagesize): Add prototypes for emulated functions.
728         * inc/grp.h (getgid, getegid): Add prototypes.
730         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
732         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
733         compiling with -std=gnu99.
735         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
736         could be used via --cflags switch to configure.bat.
738 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
740         * config.nt: Sync with autogen/config.in.
741         (HAVE_NTGUI): New macro.
743 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
745         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
746         compiler warnings when using the value.
748 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
750         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
751         'void *', for pointer arithmetics.
752         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
753         macro arguments in parentheses.
755 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
757         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
759 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
761         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
762         that are already defined.
764         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
765         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
766         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
768         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
769         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
770         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
771         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
772         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
773         Use DWORD_PTR instead of DWORD for compatibility with x64.
775         * nmake.defs: Support AMD64.
776         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
778         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
779         New macros.
781         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
782         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
783         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
784         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
785         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
786         DWORD, for compatibility with x64.
788         * emacs-x64.manifest: New file.
790         * emacs-x86.manifest: Renamed from emacs.manifest.
792 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
794         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
795         (struct itimerval): Define.
796         (getitimer, setitimer): Add prototypes.
798         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
799         with MinGW.
800         (SA_RESTART, SIGPROF): Define.
802         * config.nt (HAVE_SETITIMER): Define to 1.
804 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
806         * config.nt: Sync with autogen/config.in.
808 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
810         * config.nt: Sync with autogen/config.in.
811         (HAVE_TIMER_SETTIME): New macro.
813 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
815         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
817 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
819         Simplify and avoid signal-handling races (Bug#12471).
820         * inc/ms-w32.h (emacs_raise): New macro.
822 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
824         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
825         defined, as needed by giflib-5.0.0.  (Bug#12464)
827 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
829         * config.nt: Sync with autogen/config.in.
830         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
832 2012-09-17  Glenn Morris  <rgm@gnu.org>
834         * config.nt (COPYRIGHT): New.
836 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
838         Port _setjmp fix to POSIXish hosts as well as Microsoft.
839         * config.nt: Attempt to sync with autogen/config.in.
840         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
841         (_longjmp, _setjmp): Remove.
843 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
845         * config.nt: Sync with autogen/config.in.
846         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
847         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
848         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
850 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
852         * config.nt: Sync with autogen/config.in.
853         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
854         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
856 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
858         * configure.bat <use_extensions>: Don't leave it set in the
859         environment when the script exits.
861 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
863         * config.nt: Sync with autogen/config.in.
864         (NO_ABORT, SIGNAL_H_AHB): Remove.
866 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
868         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
870 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
872         * config.nt: Sync with autogen/config.in.
874 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
876         Simplify redefinition of 'abort' (Bug#12316).
877         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
879 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
881         * config.nt: Sync with autogen/config.in.
882         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
884 2012-09-01  Daniel Colascione  <dancol@dancol.org>
886         * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
888 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
890         * config.nt: Sync with autogen/config.in.
892 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
894         * config.nt: Sync with autogen/config.in.
895         (HAVE_POSIX_OPENPT): New macro.
897 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
899         * config.nt: Sync with autogen/config.in.
900         (_GL_INLINE_HEADER_BEGIN): Update.
902 2012-08-10  Glenn Morris  <rgm@gnu.org>
904         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
906 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
908         * config.nt: Sync with autogen/config.in.
909         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
910         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
912         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
914 2012-08-06  Glenn Morris  <rgm@gnu.org>
916         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
917         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
919 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
921         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
922         (PATH_DATA, PATH_DOC): Replace dummy directory names with
923         directories relative to %emacs_dir%.
924         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
925         to the use case of running un-installed Emacs.
927 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
929         * config.nt: Sync with autogen/config.in.
930         (DOS_NT, MSDOS): New macros.
931         (WRETCODE, wait3): Remove.
933         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
935 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
937         * inc/sys/stat.h (S_IFLNK): Define.
938         (S_ISLNK): A non-trivial definition.
939         (lstat): Prototype instead of a macro that redirects to 'stat'.
941 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
943         Use C99-style 'extern inline' if available.
944         * config.nt: Sync with autogen/config.in.
945         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
946         (_GL_INLINE_HEADER_END): New macros.
948 2012-08-02  Glenn Morris  <rgm@gnu.org>
950         * inc/ms-w32.h: Move here from ../src/s.
951         * config.nt (config_opsysfile): Change to <ms-w32.h>.
953 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
955         * config.nt: Sync with autogen/config.in.
956         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
957         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
958         New macros.
960 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
962         * config.nt: Sync with autogen/config.in.
963         Remove code moved to conf_post.h and include <conf_post.h>
964         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
965         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
967 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
969         * config.nt: Sync with autogen/config.in.
970         (HAVE_ENVIRON_DECL): New macro.
972 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
974         * inc/stdalign.h (_Alignas, alignas): Define.
976 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
978         Use Gnulib stdalign module (Bug#9772, Bug#9960).
979         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
981 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
983         * config.nt: Sync with autogen/config.in.
984         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
985         (SETUP_SLAVE_PTY): New macros.
987 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
989         * config.nt: Sync with autogen/config.in.
990         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
991         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
992         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
993         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
994         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
995         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
996         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
997         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
998         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
999         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
1000         Set in src/s/ms-w32.h, not here.
1002 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
1004         * config.nt: Sync with autogen/config.in.
1005         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
1006         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
1007         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
1009 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
1011         * config.nt: Sync with autogen/config.in.
1013 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
1015         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
1017 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
1019         * config.nt: Sync with autogen/config.in.
1021 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
1023         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
1025 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
1026             Eli Zaretskii  <eliz@gnu.org>
1028         * config.nt: Complete rework to bring it in sync with autogen/config.in.
1029         All Windows-specific code moved to src/s/ms-w32.h.
1031 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
1032             Eli Zaretskii  <eliz@gnu.org>
1034         * configure.bat (enablechecking): Enable checks through src/config.h,
1035         not the compiler's command line.
1037         * nmake.defs (CHECKING_CFLAGS): Remove.
1038         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1040         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
1041         (CHECKING_CFLAGS): Remove.
1042         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1044 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
1046         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
1047         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
1048         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
1049         (HAVE_MEMCMP): Remove, obsolete.
1051 2012-06-30  Glenn Morris  <rgm@gnu.org>
1053         * paths.h (PATH_SITELOADSEARCH): New.
1055 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
1057         * nmake.defs (CHECKING_CFLAGS):
1058         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
1060 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
1062         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
1064 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
1066         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
1067         * config.nt (_Noreturn): New macro.
1068         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
1069         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
1071 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
1073         * inc/sys/time.h (struct timespec): Don't define it here, it is
1074         now defined in src/s/ms-w32.h.
1076 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
1078         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
1079         * inc/sys/time.h (struct timespec): Define.
1081 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
1083         * makefile.w32-in (install-addpm): New target.
1084         (dist): Depend on it.
1085         (install-shortcuts): Depend on install-addpm instead of copying
1086         addpm.exe as part of the recipe.  See
1087         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
1088         for the related problem and discussions.
1090 2012-06-11  Glenn Morris  <rgm@gnu.org>
1092         * config.nt (SYSTEM_TYPE): Define it.
1094 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1096         * configure.bat (genmakefiles): Move the redirection away from the
1097         end of the command, to avoid excess whitespace at the end of Make
1098         variables created at configure time, and also avoid things like
1099         "FOO1>>config.settings", where "1" gets interpreted as the file
1100         descriptor and eaten up.  This fixes breakage introduced by the
1101         last change, without reintroducing the bug fixed by that change.
1103 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1105         * nmake.defs (MWINDOWS): Define as
1106         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
1107         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
1109         * gmake.defs (MWINDOWS): Define as "-mwindows".
1111 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
1113         * config.nt (HAVE_SYSINFO): Remove; unused.
1115 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1117         * inc/stdalign.h: New file.
1119         * configure.bat: Ensure a space between %var% expansion and
1120         redirection symbol '>', which breaks when %var% ends in a digit,
1121         such as 1.
1123 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1125         Remove src/m/*.
1126         * config.nt: Do not include "m/intel386.h"; file was removed.
1127         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
1128         Move to src/lisp.h.
1129         (EMACS_INT_MAX): New macro.
1131 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1133         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
1134         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
1136         * config.nt (HAVE_FTIME): Remove undef; not needed.
1138 2012-05-01  Glenn Morris  <rgm@gnu.org>
1140         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
1142 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1144         * makefile.w32-in: Fix typo (Bug#10261).
1146 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
1148         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
1149         each runs makeinfo in its own subdirectory of 'doc'.
1150         (info-gmake): Depend on these new targets.
1152 2012-04-07  Glenn Morris  <rgm@gnu.org>
1154         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
1155         Bump version to 24.1.50.
1157 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1159         * configure.bat: Support building with libxml2.
1161         * INSTALL:
1162         * README.W32: Add information about libxml2.
1164 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1166         * makefile.w32-in: Convert to Unix EOL format.
1167         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
1168         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
1169         (bootstrap-gmake): Invoke the "clean" and build targets in 2
1170         separate commands, so they run in that order even under "make -j".
1172 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
1174         * config.nt: Discourage from defining HAVE_GETCWD.
1176 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1178         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
1179         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
1180         on other (parallel) Make job's toes.
1181         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
1182         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
1183         here.
1184         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
1185         Depend on create-tmp-dist-dir.
1187         * nmake.defs (DIRNAME): New variable.
1188         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1189         same-dir.tst.
1191         * gmake.defs (DIRNAME): New variable.
1192         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1193         same-dir.tst, to avoid conflicts between several (parallel) Make
1194         jobs.
1196 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
1198         Prevent endless re-spawning of cmdproxy.exe when some of its
1199         parent directories have access limitations.
1201         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
1202         and our own module name to short 8+3 aliases, if the original file
1203         names compare equal.  If GetShortPathName fails, compare the base
1204         names of the two file names, and only re-spawn the command line if
1205         the base-name comparison also fails.  (Bug#10674)
1207 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1209         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
1211 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
1213         * README.W32: Removed specific version information for libXpm
1214         included in the binary distribution for maintenance purposes.
1216 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
1218         * README.W32: Clarification for inclusion in source tarball (bug#9750).
1220         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1222         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1224         * makefile.w32-in (maybe-copy-distfiles)
1225         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1226         (create-tmp-dist-dir): Add to make --distfiles optional.
1227         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1229 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
1231         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1232         by other headers.
1234 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1236         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1237         (UINT64_MAX) [_WIN64]: Fix definition.
1238         (uintmax_t, intmax_t): Fix definitions.
1240         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1241         Provide correct definitions.
1243         * config.nt (HAVE_DECL_STRTOLL): Define.
1244         (va_copy) [_WIN64]: Provide a better definition.
1246 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
1248         * configure.bat: Fix typos.
1250 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
1252         * INSTALL: Elaborate on debugging fatal errors.
1254 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
1256         * README.W32: Update the GTK Windows download URL for libpng.
1258 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
1260         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1262 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
1264         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1265         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1266         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1267         (intmax_t, INT64_MAX): Add for MSVC.
1269         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1271 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
1273         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1275         Support MSVC build with newer versions of Visual Studio.
1276         * makefile.w32-in (clean-other-dirs-nmake)
1277         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1278         Update for current structure of doc/ subdirectories.
1280         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1282         * INSTALL: Update for newer versions of MSVC.
1284 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1286         Support MSVC build with newer versions of Visual Studio.
1287         * nmake.defs (USE_CRT_DLL): Define to 1.
1288         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1289         (D): New variable.
1291 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
1293         * runemacs.c (ensure_unicows_dll): New function, tries to load
1294         UNICOWS.DLL on Windows 9X.
1295         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1296         display a dialog to the effect that Emacs cannot be started.
1297         (Bug#8562)
1299 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
1301         * README.W32: Mention UNICOWS.DLL as prerequisite for running
1302         Emacs on Windows 9X.
1304 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
1306         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1307         distribution.  (Bug#9861)
1309 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
1311         * INSTALL: Update URL for GTK download page.
1313 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
1315         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1316         (Bug#9794) (Bug#641)
1318 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1320         * config.nt (HAVE_SNPRINTF): New macro.
1322 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1324         Assume freestanding C89 headers, string.h, stdlib.h.
1325         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1326         (STDC_HEADERS): Remove.
1327         Iinclude string.h, stdlib.h unconditionally.
1329 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
1331         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1332         [!__GNUC__]: New macros.
1334 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1336         Use 'inline', not 'INLINE'.
1337         * config.nt (INLINE): Remove.
1339 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
1341         * README.W32: Add information about GnuTLS libraries.
1343 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
1345         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1347 2011-05-07  Ben Key  <bkey76@gmail.com>
1349         * configure.bat: Renamed the fusercflags variable to escusercflags
1350         so that the variable name better matches its purpose, to be
1351         identical to usercflags with the exception that all quotes are
1352         escaped by the \ character.
1354         Renamed the fuserldflags variable to escuserldflags so that the
1355         variable name better matches its purpose, to be identical to
1356         userldflags with the exception that all quotes are escaped by
1357         the \ character.
1359         A new ESC_USER_CFLAGS variable is written to config.settings.
1360         This variable has the same value as the escusercflags variable.
1362         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1363         This variable is identical to the CFLAGS variable except that it
1364         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1366         These changes, along with some changes to src/makefile.w32-in,
1367         are required to extend my earlier fix to add support for
1368         --cflags and --ldflags options that include quotes so that it
1369         works whether make uses cmd or sh as the shell.
1371 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
1373         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
1374         definition of uintmax_t from here...
1375         * inc/stdint.h (uintmax_t): ...to here.
1376         (intptr_t) [!__GNUC__]: New typedef.
1378 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
1380         * config.nt: Prepare to configure 64-bit integers for older compilers.
1381         However, temporarily disable this change unless the temporary
1382         symbol WIDE_EMACS_INT is defined.
1383         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1384         "%I64d" work but long long and "%lld" do not.
1386 2011-05-05  Ben Key  <bkey76@gmail.com>
1388         * configure.bat: Added support for --cflags and --ldflags
1389         options that include quotes as long as command extensions are
1390         enabled.  Specifically when -I, -L, and similar flags are used
1391         to specify supplementary include and library directories a
1392         directory name that includes spaces may now be used if it is
1393         enclosed in quotes.
1395         * INSTALL: Documented the change to configure.bat.
1397 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1399         * INSTALL: Clarify GnuTLS support.
1401 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
1403         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1404         Define to 1 for MinGW of MSVC versions >= 1400.
1406 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
1408         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1410 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
1412         * inc/inttypes.h: New file.
1414         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1415         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1417 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1419         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1420         inside quotation marks and bail out.
1422 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1424         * cmdproxy.c (try_dequote_cmdline): New function.
1425         (main): Use it.
1427 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1429         * configure.bat: New options --without-gnutls and --lib, new build
1430         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
1431         library setup with trivial modifications.
1432         * INSTALL: Add instructions for GnuTLS support.
1433         * gmake.defs: Prefix USER_LIBS with -l.
1435 2011-04-15  Ben Key  <bkey76@gmail.com>
1437         * configure.bat: Modified the code that parses the --cflags and
1438         --ldflags options to support parameters that include the =
1439         character as long as they are enclosed in quotes.
1440         This functionality depends on command extensions.  Configure.bat now
1441         attempts to enable command extensions and displays a warning
1442         message if they could not be enabled.  If configure.bat could
1443         not enable command extensions the old parsing code is used that
1444         does not support parameters that include the = character.
1446         * INSTALL: Updated the file to describe the new functionality
1447         using text provided by Eli Zaretskii.
1449 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
1451         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1452         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1453         on the trunk on 2011-04-06.
1455 2011-03-27  Glenn Morris  <rgm@gnu.org>
1457         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1459 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
1461         * addpm.c (main): Remove unused variable `retval'.
1463         * preprep.c (main): Remove unused variable `ptr'.
1465 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
1467         * cmdproxy.c: Include <ctype.h>.
1468         (make_absolute): Remove unused variable `i'.
1470 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
1472         * Version 23.3 released.
1474 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
1476         * inc/unistd.h (readlink, symlink): Declare prototypes.
1478 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
1480         * config.nt (nlink_t): Define.
1482 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
1484         * inc/stdint.h: New file, to support compilation with tool chains
1485         that do not have stdint.h (e.g. MSVC).
1487 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
1489         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1490         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1491         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1492         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1493         (lstat): Define to stat.
1495 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
1497         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1498         "make-docfile" target in lib-src, before bootstrapping the src
1499         directory.  Needed since building in src needs to run make-docfile
1500         to produce globals.h.
1502 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1504         * config.nt (inline) [__GNUC__]: Define (for gnulib).
1506 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1508         * config.nt (VERSION): Uncomment definition.
1509         (restrict): Define.
1511         * inc/stdbool.h: New file.
1513 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1515         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1516         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1517         (bootstrap-clean-gmake, clean-other-dirs-nmake)
1518         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1519         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1520         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1521         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1522         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1524         * configure.bat: Create lib/makefile.
1526         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1527         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1528         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1529         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1531 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1533         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1535 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1537         * configure.bat (end): Unset environment variables used by this
1538         batch file.
1540         * INSTALL: Update the information about PNG support libraries.
1541         (Bug#7716)
1543         * README.W32: Update the information about PNG support libraries.
1545 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1547         * config.nt (EXTERNALLY_VISIBLE): Define.
1549 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1551         * INSTALL: Refer to `dynamic-library-alist'.
1553 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1555         * INSTALL: Add note about problematic characters passed to configure.
1557 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1559         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1560         emacs-src.tags: New file.
1562         * gmake.defs: Add a comment with a single quote to fix
1563         fontification.  (Bug#7102)
1565 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1567         * configure.bat: Fix the condition for copying paths.h into
1568         ../src/epaths.h.
1570 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1572         * addpm.c (entry, add_registry, main):
1573         * addsection.c (file_data, open_input_file, open_output_file)
1574         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1575         (COPY_CHUNK):
1576         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1577         (skip_nonspace, get_next_token, search_dir, make_absolute)
1578         (spawn, main):
1579         * preprep.c (file_data, open_input_file, open_output_file)
1580         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1581         Use const char*.
1583         * cmdproxy.c (stdin): Don't define, not used.
1584         (main): Don't assign remlen after last use.
1586 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1588         * configure.bat: Err out when the argument of --cflags contains
1589         invalid characters (check implemented only for GCC).  (Bug#6820)
1591 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1593         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1595 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1597         * addpm.c (add_registry): Set path for runemacs.exe to use.
1599 2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
1601         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1602         which has a 1024 char limit on Windows (bug#6647).
1604 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1606         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1607         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1609 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1611         * config.nt: Remove code referring to NO_REMAP, unused.
1613 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1615         Build binary distros on Windows using emacs-VERSION as root dir name.
1617         * makefile.w32-in: Copy README.W32 to installation directory
1618         during `make install'.  Remove README.W32 with `distclean' (in
1619         case Emacs was installed in place).  Use temporary directory to
1620         create distribution zip files in `dist' target.
1621         * zipdist.bat: Simplify code using temporary directory.
1623 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1625         * runemacs.c (set_user_model_id): Fix prototype.
1627 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1629         New make target for Windows platform: make dist (bug#6602)
1631         * INSTALL: Document new dist target and add section about
1632         creating binary distributions.
1633         * README.W32: Relocate from admin/nt/ directory.
1634         * configure.bat: New parameter `--distfiles'.
1635         * makefile.w32-in: Add version number, new target `dist'.
1636         Add new target `install-shortcuts'.
1637         * zipdist.bat: New file; create zipped binary distribution,
1638         replaces admin/nt/makedist.bat.
1640 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1642         * INSTALL: Add note about backslashes in Windows paths.
1643         Fix typos.  Simplify references to Windows versions.
1645 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1647         * addpm.c (add_registry, main):
1648         * cmdproxy.c (get_env_size):
1649         * ddeclient.c (main):
1650         * runemacs.c (set_user_model_id):
1651         Convert definitions to standard C.
1653 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1655         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1657 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1659         * configure.bat: New option --enable-checking.
1660         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1661         (CFLAGS): Include it.
1663 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1665         * config.nt (volatile): Remove definition.
1667 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1669         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1670         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1672 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1674         * config.nt (__P): Remove.
1676 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1678         * config.nt: Remove code depending on BSTRING.
1680 2010-06-03  Glenn Morris  <rgm@gnu.org>
1682         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1684 2010-05-13  Glenn Morris  <rgm@gnu.org>
1686         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1688 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1690         * Version 23.2 released.
1692 2010-05-04  Glenn Morris  <rgm@gnu.org>
1694         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1696 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1698         * emacs.manifest: Add trustInfo section to Windows manifest.
1700 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1702         * Branch for 23.2.
1704 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1706         * emacsclient.rc: Fix format of "LegalCopyright" value.
1708 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1710         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1712 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1714         * INSTALL: Update for CVS->Bazaar switchover.
1716 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1718         * configure.bat: Add #define PROFILING to config.h.
1720 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1722         * runemacs.c (set_user_model_id): Use standard types.
1724 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1726         * runemacs.c (set_user_model_id): New function.
1727         (WinMain): Use it.
1729 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1731         * Branch for 23.1.
1733 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1735         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1736         st_gid to unsigned.
1738         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1739         to unsigned.
1740         (getpwuid): Argument is now unsigned.
1741         uid_t is now unsigned.
1743 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1745         * INSTALL: Add comment about TCC; fix typos.
1747 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1749         * emacsclient.rc, emacs.rc: Swap name and description.
1750         Remove Windows versions.
1752 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1754         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1756         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1758         * addpm.c (main): Try using COM to create start menu shortcuts
1759         before resorting to DDE (Bug#202)
1760         Remove second command-line argument.
1762 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1764         * configure.bat: Untabify help message.
1766 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1768         * configure.bat: New option --with-svg.
1770         * INSTALL: Document experimental SVG support.
1772 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1774         * config.nt (PTR): Remove.
1776 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1778         * config.nt (LISTPROC, PROCATTR): Remove.
1780 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1782         * config.nt (LISTPROC, PROCATTR): New macros.
1784 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1786         * config.nt (MULTI_KBOARD): Remove.
1788 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1790         * configure.bat: New option --profile.
1791         * gmake.defs: Set cflags and ldflags for profiling when specified.
1793 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1795         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1797 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1799         * config.nt (HAVE_FACES): Remove, unused.
1801 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1802             Eli Zaretskii  <eliz@gnu.org>
1804         * nmake.defs (FONT_CFLAGS):
1805         * gmake.defs (FONT_CFLAGS): Remove.
1806         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1807         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1808         and _CRTAPI1.
1809         (ARCH_FLAGS): Don't include _X86_.
1811         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1813 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1815         * config.nt: Remove reference to UNEXEC_SRC.
1817 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1818             Eli Zaretskii  <eliz@gnu.org>
1820         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1821         Don't hardcode -gstabs+, use DEBUG_INFO.
1823         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1824         Default to stabs if the compiler does not support DWARF-2.
1825         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1827 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1829         * configure.bat: Remove code dealing with --disable-font-backend.
1831 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1833         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1834         better alignment.  Make st_size 64-bit wide.  Add new members
1835         st_uname and st_gname.
1837         * inc/grp.h (struct group): Add gr_gid member.
1839 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1841         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1842         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1843         a real file there is not a good idea.
1845 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1847         * makefile.w32-in (CLIENTRES): New variable and build target.
1848         (all): Depend on it.
1849         ($(TRES)): Use $(TRES) in rule.
1851 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1853         * configure.bat (success): Print "make" rather than "gmake", as that
1854         is what MinGW uses.
1856 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1858         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1859         Add copyright notice.
1861 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1863         * emacsclient.rc: New file.
1865         * INSTALL: Document make targets.
1867 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1869         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1870         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1871         (top-distclean, distclean, distclean-other-dirs-nmake)
1872         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1873         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1875 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1877         * inc/sys/stat.h: New file.
1879         * configure.bat: Add check for usp10.h.
1881 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1883         * INSTALL: Update Windows API requirements.
1885 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1887         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1889 2008-03-13  Glenn Morris  <rgm@gnu.org>
1891         * emacs.rc: Set version to 23.0.60.
1893 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1895         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1896         (EMACS_EXTRA_C_FLAGS): Include it.
1897         * configure.bat (usefontbackend): Default to Y.
1898         (--enable-font-backend): Replace with --disable-font-backend.
1899         (:withfont): Replace with :withoutfont.
1901 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1903         * icons/emacs.ico: Full alpha for 32x32 full color.
1904         Add 32x32 and 16x16 256 color versions.
1906 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1908         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1910 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1912         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1914 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1916         * icons/README: Update.
1918         * icons/emacs.ico: New icon.
1920 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1922         * addpm.c: Include malloc.h.
1923         (add_registry): Cast return value of alloca.
1925 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1927         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1929 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1931         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1932         conditional on existence of junk.o.  If %nocygwin% is already set
1933         to Y, skip to chkapiN instead of chkapi.
1934         (chkapi): Move "rm -f junk.c junk.o" to here.
1935         (chkapiN): New label.
1937 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1939         * makefile.w32-in: Remove unidata-gen related rules.
1941 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1943         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1945 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1947         * addpm.c (add_registry): Add an App Paths registry key.
1948         Look for GTK and add it to the DLL search path for Emacs if found.
1950 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1952         * configure.bat: In help, use generic names for the image libraries.
1954 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1956         * .cvsignore: Don't ignore .arch-inventory.
1958 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1960         * configure.bat: Make gcc the default compiler.
1962 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1964         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1965         Ignore return status.
1967         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1968         it out of the way of Windows generated file.
1969         Generate admin/unidata/makefile.
1971         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1972         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1973         (unidatagen-clean-SH): New targets.
1974         (bootstrap-nmake): Invoke unidatagen-nmake.
1975         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1977 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1979         * configure.bat (withfont): Set sep1 after modifying usercflags.
1981 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1983         * configure.bat: Rename --with-font-backend to --enable-font-backend
1984         for consistency with other platforms.
1986 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1988         * configure.bat: Add --with-font-backend option.
1990 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1992         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1993         permissions to NTFS ACLs.
1995 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1997         * config.nt: Remove HAVE_X11R5.
1999 2007-10-22  Jason Rumney  <jasonr@gnu.org>
2001         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
2002         (strings.h, stdlib.h): Conditionally include.
2003         (w32_abort): Declare here.
2004         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
2006 2007-10-20  Jason Rumney  <jasonr@gnu.org>
2008         * makefile.w32-in (info-nmake): Change into correct directories.
2010 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
2012         * configure.bat (docflags, doldflags): New variables.
2013         (genmakefiles): Use them to work around problems with whitespace
2014         in arguments of the `if' command.
2016 2007-10-18  Jason Rumney  <jasonr@gnu.org>
2018         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
2020 2007-09-27  Jason Rumney  <jasonr@gnu.org>
2022         * gmake.defs (COMCTL32): New system library.
2024         * nmake.defs (COMCTL32): New system library.
2026 2007-09-06  Glenn Morris  <rgm@gnu.org>
2028         * configure.bat:
2029         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
2030         Change from ../man to ../doc/emacs and ../doc/misc; and from
2031         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
2033 2007-08-29  Glenn Morris  <rgm@gnu.org>
2035         * emacs.rc: Increase version to 23.0.50.
2037 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
2039         * makefile.w32-in (bootstrap-nmake): Change directories once more.
2041 2007-07-25  Glenn Morris  <rgm@gnu.org>
2043         * Relicense all FSF files to GPLv3 or later.
2045         * COPYING: Switch to GPLv3.
2047 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
2049         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
2050         Depend on cmdproxy.
2051         (cleanall): Don't delete *~.
2053 2007-07-15  Jason Rumney  <jasonr@gnu.org>
2055         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
2056         be fully supported.
2058 2007-07-14  Jason Rumney  <jasonr@gnu.org>
2060         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
2061         of winsock.h.
2063 2007-07-11  Jason Rumney  <jasonr@gnu.org>
2065         * gmake.defs (OLE32): New library to link.
2067         * nmake.defs (OLE32): Likewise.
2069 2007-06-25  Jason Rumney  <jasonr@gnu.org>
2071         * cmdproxy.c (main): Set console codepages to "ANSI".
2073 2007-06-20  Jason Rumney  <jasonr@gnu.org>
2075         * configure.bat: Complain if image libraries are missing.
2077 2007-06-15  Jason Rumney  <jasonr@gnu.org>
2079         * emacs.manifest: New file.
2081         * emacs.rc: Use it.
2083 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
2085         * Version 22.1 released.
2087 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
2089         * INSTALL: Add information about where to find GDB, and warn
2090         against --no-debug option to configure.bat.
2092 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
2094         * INSTALL: Fix URL of EmacsW32 site where building with image
2095         support is described.
2097 2007-04-26  Glenn Morris  <rgm@gnu.org>
2099         * emacs.rc: Increase version to 22.1.50.
2101 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
2103         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
2105 2007-03-09  Richard Stallman  <rms@gnu.org>
2107         * INSTALL: Say explicitly this is not for Cygwin.
2109 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
2111         * INSTALL: Add URL of another site with detailed build instructions.
2113 2007-02-16  Glenn Morris  <rgm@gnu.org>
2115         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
2116         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
2117         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
2118         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
2119         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
2120         Restore all but two of icons deleted in previous change.
2122 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
2124         * icons/README: New file.
2126         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
2127         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
2128         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
2129         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
2130         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
2131         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
2132         Unused icons deleted.
2134 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
2136         * configure.bat: Update ../site-lisp/subdirs.el when needed.
2138 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
2140         * subdirs.el: Add "no-byte-compile: t" local variable.
2142 2007-01-10  Jason Rumney  <jasonr@gnu.org>
2144         * README: Update URLs and advice about reporting bugs.
2146 2006-12-29  Jason Rumney  <jasonr@gnu.org>
2148         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
2149         DEBUG_LINK.
2150         (DEBUG_LINK): Remove -debugtype:both.
2152 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
2154         * INSTALL: Update table of supported Make ports.  Show "make -j"
2155         command that is known to work.
2157         * configure.bat: Update table of supported Make ports.
2159 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
2161         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
2162         only in implicit rules.  Use literal "emacs.rc" instead.
2164 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
2166         * gmake.defs: Export XMFLAGS.
2168         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
2169         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
2171 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
2173         * INSTALL: Explain how to invoke GNU Make for parallel builds.
2175         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
2176         command-line argument to sub-Make in src, since src/makefile.w32-in
2177         invokes Make recursively during bootstrap.
2178         (clean): Delete stamp_BLD.
2179         (bootstrap): Make `all' explicitly in a recursive Make.
2181         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2182         stamp_BLD after creating the $(BLD) directory.
2184         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
2185         stamp_BLD after creating the $(BLD) directory.
2187         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
2188         (preprep, $(TRES), runemacs)
2189         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
2190         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2191         Depend on stamp_BLD instead of on $(BLD).
2192         (XMFLAGS): New macro.
2193         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
2194         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
2195         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
2196         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2198 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
2200         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
2201         $(ALL_DEPS).
2202         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
2203         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2204         New dependency on $(BLD).
2205         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
2206         (bootstrap-gmake): Depend on addsection.
2208 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
2210         * runemacs.c (WinMain): Process all recognized arguments, not just
2211         the first one.  Remove unused variable sec_desc.
2213 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
2215         * config.nt (HAVE_LANGINFO_CODESET): Define.
2217         * inc/langinfo.h: New file.
2219         * inc/nl_types.h: New file.
2221 2006-09-15  Jay Belanger  <belanger@truman.edu>
2223         * COPYING: Replace "Library Public License" by "Lesser Public
2224         License" throughout.
2226 2006-07-27  Jason Rumney  <jasonr@gnu.org>
2228         * INSTALL: Add notes about Cygwin make to impatient section.
2230 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
2232         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2233         known to work.
2235 2006-03-12  Jason Rumney  <jasonr@gnu.org>
2237         * addpm.c (add_registry): Don't change the registry unless keys
2238         already exist from a previous version.
2240         * makefile.w32-in (install): Use -q when invoking addpm.
2242         * addpm.c (main): Accept -q as alternative for /q.
2244 2006-03-11  Jason Rumney  <jasonr@gnu.org>
2246         * runemacs.c (WinMain): Set screen buffer to 80x25.
2248 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
2250         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2251         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2253 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
2255         * INSTALL: Add explanation of how to debug with GDB starting from
2256         the Emacs Abort dialog.
2258 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
2260         * emacs.rc: Use new icons.
2262 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
2264         * emacs21.ico: Renamed from emacs.ico.
2265         * emacs.ico: New icons from Andrew Zhilin
2266         <andrew_zhilin@yahoo.com>.
2268 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
2270         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2272 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
2274         * .cvsignore: Add `obj' and `oo' for in-place installations.
2276 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
2278         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2280 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
2282         * configure.bat: Don't create lisp/Makefile.unix.
2284 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
2286         * .cvsignore: Add `makefile' and `config.log'.
2288 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
2290         Merge gnulib getopt implementation into Emacs.
2292         * inc/gettext.h: Remove; no longer needed now that
2293         lib-src/gettext.h exists.
2295 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
2297         * configure.bat: Finish config.log with a line that indicates that
2298         the configure step was successful.
2300 2005-07-04  Lute Kamstra  <lute@gnu.org>
2302         Update FSF's address in GPL notices.
2304 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
2306         * configure.bat: If their fc.exe returns a meaningful exit status,
2307         don't overwrite src/config.h and src/epaths.h with identical
2308         copies.
2310         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2311         changes.  Add a pointer to another site with detailed configure
2312         and build instructions.  Suggest to look at config.log when
2313         configure fails.  Add MinGW Make 3.80 to the list of successful
2314         combinations.
2316         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2317         "-mcpu=i686".
2319         * configure.bat: Update copyright years.
2320         Delete config.log before doing anything else.
2321         Write additional diagnostics to config.log in case of failures to
2322         compile test programs, including the failed test program itself.
2323         Add a test for support of -mtune=pentium4 switch to GCC; if it is
2324         supported, set up MCPU_FLAG variable on the various Makefiles to
2325         use that switch during compilations.  (This avoids GCC warning
2326         about -mcpu being deprecated.)
2328 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
2330         * addsection.c (copy_executable_and_add_section): Pass non-zero
2331         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2332         environment.  Print section names with %.8s.
2333         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2334         only if non-zero.  All callers changed.
2336 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
2338         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2339         `const void *', for consistency with POSIX.
2341 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
2343         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2345 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
2347         * INSTALL: Add more pointers to ports of Unix tools to Windows,
2348         and to the Emacs Wiki (which contains building instructions for
2349         Windows).  Reword image library instructions and remove obsolete
2350         incompatibility information.
2352 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
2354         * config.nt (HAVE_PWD_H): Undef.
2356 2004-06-07  Juanma Barranquero  <lektu@terra.es>
2358         * INSTALL: Clarify paragraph about compatibility between image
2359         libraries and builds of Emacs with several compilers.
2361 2004-06-06  Juanma Barranquero  <lektu@terra.es>
2363         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2364         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2365         calling non-existent cmdproxy.exe on bootstrapping after a
2366         previous install followed by realclean.
2368         * nmake.defs: Add quote in comment to resync font-locking.
2370 2004-06-04  Juanma Barranquero  <lektu@terra.es>
2372         * INSTALL: Reword the section on image support.  Add reference to
2373         GnuWin32.  Mention problems when mixing binaries from different
2374         compilers.
2376 2004-05-06  Jason Rumney  <jasonr@gnu.org>
2378         * configure.bat: Use -mno-cygwin to check for image libraries
2379         when needed.
2381 2004-05-03  Jason Rumney  <jasonr@gnu.org>
2383         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2384         * makefile.def: Remove.
2386         * nmake.defs (SYS_LDFLAGS): Add -nologo.
2388         * makefile.w32-in (info-gmake, info-nmake): New targets.
2389         (info): Use them.
2391 2004-04-23  Juanma Barranquero  <lektu@terra.es>
2393         * nmake.defs:
2394         * gmake.defs:
2395         * makefile.w32-in:
2396         * makefile.def:
2397         * makefile.nt: Add "-*- makefile -*-" mode tag.
2399 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
2401         * runemacs.c (WinMain): Let Emacs environment default to parent.
2403 2004-03-11  Jason Rumney  <jasonr@gnu.org>
2405         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2407 2004-03-10  Juanma Barranquero  <lektu@terra.es>
2409         * makefile.w32-in (install): Don't try to copy
2410         ../lib-src/fns-*.el, as it isn't used anymore.
2412 2004-01-28  Peter Runestig  <peter@runestig.com>
2414         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2416 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
2418         * .cvsignore: Add `.arch-inventory'.
2420 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
2422         * inc/grp.h: New file.
2424 2003-09-03  Peter Runestig  <peter@runestig.com>
2426         * configure.bat: Create ``makefile'' in directories man, lispref
2427         and lispintro.
2429         * makefile.w32-in (force-info, info): New targets.
2431         * envadd.bat: New file.
2433         * multi-install-info.bat: New file.
2435 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
2437         * config.nt (my_strftime): New define.
2439 2003-02-01  Jason Rumney  <jasonr@gnu.org>
2441         * configure.bat: Automatically detect libXpm.
2442         Suppress compiler output when testing for image libraries.
2443         Give names of un-found libraries in messages.
2445 2003-01-31  Juanma Barranquero  <lektu@terra.es>
2447         * configure.bat: Automatically detect giflib and tifflib.
2449 2003-01-29  Jason Rumney  <jasonr@gnu.org>
2451         * gmake.defs (CURDIR): Disable cygpath kludge.
2453 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
2455         * configure.bat: Avoid endless loop when configuring without image
2456         support.
2458 2003-01-26  Jason Rumney  <jasonr@gnu.org>
2460         * configure.bat: Automatically detect jpeglib.
2462 2003-01-25  Jason Rumney  <jasonr@gnu.org>
2464         * configure.bat: Automatically detect libpng.
2466 2003-01-21  Jason Rumney  <jasonr@gnu.org>
2468         * icons/hand.cur: New file.
2470 2003-01-21  David Ponce  <david@dponce.com>
2472         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2474 2003-01-15  Andrew Innes  <andrewi@gnu.org>
2476         * gmake.defs (CURDIR): Convert to native Windows format (with
2477         forward slashes), to support building with Cygwin builds of make.
2479 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
2481         * nmake.defs:
2482         * gmake.defs: Made changes so that Emacs would link with
2483         WinMM.lib.  This change was required for my addition of a Windows
2484         compatible implementation of play-sound-internal.
2486 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
2488         * emacs.rc: Version updated to 21.3.50.
2490 2002-06-13  Jason Rumney  <jasonr@gnu.org>
2492         * addpm.c (env_vars): Remove EMACSLOCKDIR.
2494         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2495         (maybe-bootstrap-SH): New targets.
2496         (all): Depend on maybe-bootstrap.
2498 2002-05-03  Jason Rumney  <jasonr@gnu.org>
2500         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2501         (sys_getpeername, fcntl): Declare as wrappers.
2503 2002-04-10  Juanma Barranquero  <lektu@terra.es>
2505         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2506         after compiling .el files.
2508 2002-03-20  Jason Rumney  <jasonr@gnu.org>
2510         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2511         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2513 2002-03-19  Kim F. Storm  <storm@cua.dk>
2515         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2516         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2517         (HAVE_SYS_UN_H): Undef.
2518         From David Ponce <dponce@voila.fr>.
2520 2002-03-13  Jason Rumney  <jasonr@gnu.org>
2522         * config.nt (STRFTIME_NO_POSIX2): Define.
2524 2002-02-18  Jason Rumney  <jasonr@gnu.org>
2526         * emacs.rc: Define VS_VERSION_INFO if not already.
2527         Update version info.
2529 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2531         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2532         pick up relevant bits of the Windows API definitions.
2534         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2535         pick up relevant bits of the Windows API definitions.
2537 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2539         * makefile.w32-in (bootstrap): Build addsection program before
2540         bootstrap (required for post-processing temacs.exe).
2542 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2544         * COPYING: New file.
2546 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2548         * makefile.w32-in (bootstrap-nmake)
2549         (bootstrap-gmake): Extend bootstrap process to first do
2550         bootstrap-clean in lisp dir and rebuild the DOC file.
2551         (bootstrap): Do a "normal" make after the bootstrap work.
2553 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2555         * INSTALL: Update table of versions of make that are suitable
2556         for building Emacs, based on recent feedback.
2558         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2560 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2562         * ftime-nostartup.bat: New file.
2564         * ftime.bat: Don't include libc.lib for profiling - the profiler
2565         corrupts part of memcpy.
2567 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2569         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2570         expansion.  From Juanma Barranquero <lektu@terra.es>.
2572 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2574         * (Version 21.1 released.)
2576 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2578         * inc/pwd.h (uid_t, gid_t): New typedefs.
2580 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2582         * Branch for 21.1.
2584 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2586         * README: Update the address of the mailing list and subscription
2587         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2589 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2591         * INSTALL: Suggest to avoid using WinZip.
2593         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2595 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2597         * INSTALL: Mention that "make install" can be "nmake install".
2599 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2601         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2602         since some versions of `mkdir' don't automatically create parent
2603         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2605 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2607         * subdirs.el: New file.
2609         * configure.bat: Copy subdirs.el to the site-lisp directory.
2611         * makefile.w32-in (install): Copy subdirs.el to the installation
2612         directory.
2614 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2616         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2618 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2620         * gmake.defs (sh_output): Don't use $(warning ...) to output
2621         messages, since that is not supported by GNU make 3.77.
2623 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2625         * INSTALL: Clarify that building with MSVC requires nmake.
2627 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2629         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2630         message that is to be ignored.
2632 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2634         * TODO: Remove file, since it is completely out of date.
2636         * README: Add copyright notice.
2638         * INSTALL: Add copyright notice.
2640 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2642         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2643         the environment.
2645         * gmake.defs (SETLOADPATH): Remove definition.
2646         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2647         environment.
2649 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2651         * configure.bat: Make the checkw32api* labels be distinct in the
2652         first 8 characters.
2654 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2656         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2657         escaped quotes.
2659         * gmake.defs (DEBUG_LINK): New macro.
2660         (LINK_FLAGS): Use it.
2662         * nmake.defs (DEBUG_LINK): New macro.
2663         (LINK_FLAGS): Use it.
2665 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2667         * INSTALL: Add --ldflags to configure line for building with
2668         recent versions of Cygwin GCC.
2670 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2672         * configure.bat: Use correct options when compiling a test program
2673         with Cygwin.  From David Ponce <dponce@voila.fr>.
2675 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2677         * _emacs: Remove obsolete file.
2679         * emacs.bat.in: Remove obsolete file.
2681         * debug.bat.in: Remove obsolete file.
2683         * inc/sys/socket.h: Add copyright notice.
2685         * paths.h: Add copyright notice.
2687         * makefile.nt: Update copyright notice.
2689         * makefile.def: Update copyright notice.
2691         * configure.bat: Update copyright notice.
2693         * nmake.defs: Add copyright notice.
2695         * gmake.defs: Add copyright notice.
2697         * makefile.w32-in: Add copyright notice.
2699 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2701         * nmake.defs (THISDIR): New definition.
2703         * gmake.defs (THISDIR): New definition.
2705 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2707         * configure.bat: Leave a space before >> only when there is a
2708         preceding digit.  Add a comment about the importance of this.
2710         * README: Replace outdated information.
2712         * INSTALL (Trouble-shooting): Add note about need to specify extra
2713         compiler flags with recent Cygwin ports of gcc.
2715 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2717         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2718         is not supported by Windows 9X's COMMAND.COM.
2720 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2722         * configure.bat: Make sure redirection is preceded by a blank, to
2723         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2724         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2726 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2728         * INSTALL: Copy the table of tested combinations of development
2729         tools from configure.bat.  Add suggestion to install Bash on
2730         Windows 9X.
2732         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2733         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2734         needs to be deleted, since command.com in Windows 9X doesn't grok
2735         more than one argument.
2737 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2739         * makefile.w32-in (cleanall-other-dirs-nmake)
2740         (cleanall-other-dirs-gmake): New targets.
2741         (cleanall): Invoke them.
2743 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2745         * addpm.c (env_vars): Add a version-independent site-lisp
2746         directory to EMACSLOADPATH, after the version dependent one.
2748 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2750         * README: Update info about compilers.
2752         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2753         select correct rule for invoking make in another directory.
2754         Amend rules accordingly.
2755         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2757         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2758         (COMPILER_TEMP_FILES): New definition.
2759         (MAKETYPE): New definition.
2761         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2762         (COMPILER_TEMP_FILES): New definition.
2763         (MAKETYPE): New definition.
2765         * makefile.def (EMACS_ICON_PATH): Delete definition.
2767         * configure.bat: Be careful not to add trailing spaces when
2768         outputting to config.settings.
2770 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2772         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2773         than the function.
2775 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2777         * makefile.w32-in (install): Copy directories to the correct
2778         places.
2779         (real_install): Remove obsolete target.
2781 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2783         * nmake.defs (CURDIR): New define.
2784         (INSTALL_DIR): Use it.
2786         * gmake.defs (NEW_CYGWIN): New define.
2787         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2788         so we need to adjust how we escape embedded quotes.
2789         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2790         relative to $(CURDIR).
2792 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2794         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2796 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2798         * makefile.w32-in (recompile): New target to recompile lisp
2799         directory.
2800         (recompile-CMD, recompile-SH): New support targets.
2802 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2804         * config.nt (NO_RETURN): Define it.
2806 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2808         * gmake.defs: Revert to Unix line endings.
2810         * nmake.defs: Revert to Unix line endings.
2812 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2814         * gmake.defs (SETLOADPATH): Change definition to work from any
2815         subdirectory.
2817 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2819         * makefile.w32-in: Revert to Unix line endings.
2821 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2823         * INSTALL: Add note about expected error messages when configure
2824         is run.
2826         * configure.bat: Simplify the generation of makefiles (don't need
2827         to generate various top-level targets that invoke make in other
2828         directories).
2830         * gmake.defs (SHELLTYPE): New define.
2831         (SETLOADPATH): New define.
2833         * nmake.defs (SHELLTYPE): New define.
2835         * makefile.w32-in: Standardize indentation somewhat.
2836         Add bootstrap support.
2837         Pass $(MFLAGS) when invoking make recursively.
2838         Add shell-specific variants of top-level targets that invoke make
2839         recursively in other directories, and add necessary computed
2840         dependencies.
2842 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2844         * makefile.w32-in: Change to DOS line endings.
2846         * configure.bat: Change to DOS line endings.
2848         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2849         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2851         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2852         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2854         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2855         -D_ANONYMOUS_STRUCT on compile line.
2856         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2857         (ARCH_CFLAGS): Change optimization flags to -O2.
2858         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2859         (ARGQUOTE, DQUOTE): New defines.
2861         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2862         -D_ANONYMOUS_STRUCT on compile line.
2863         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2864         (ARGQUOTE, DQUOTE): New defines.
2866 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2868         * configure.bat: New file.
2870         * gmake.defs: New file.
2872         * nmake.defs: New file.
2874         * makefile.w32-in: New file.
2876         * INSTALL: Rewrite to match new configure process.
2878         * config.nt [WINDOWSNT]: Don't declare getenv.
2879         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2881         * addpm.c (main): Accept /q to mean install based on addpm's
2882         location without asking.  Remove reference to emacs.bat which is
2883         now obsolete.
2885         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2887         * paths.h: Use forward slash as directory separator in all path
2888         definitions.
2889         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2891         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2893         * runemacs.c: Remove WIN32 define.
2895         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2896         not defined.
2898         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2899         (fd_set): Define to new name, after including winsock.h, so we can
2900         provide our own implementation.
2902 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2904         * ebuild.bat: Add support for specifying make arguments.
2906         * makefile.nt: Add support for `bootstrap' and related targets.
2908 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2910         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2912 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2914         * inc/sys/time.h: Add inclusion protection.
2916         * makefile.def (SYS_LDFLAGS): Add -nologo.
2918 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2920         * install.bat: Pass on command line arguments to make.
2922         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2924 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2926         * makefile.nt (all): Build leim if present.
2927         (install): Install leim if present.
2928         (clean): Clean leim if present.
2930         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2931         definition.
2933         * emacs.bat.in (EMACSLOADPATH): Include leim.
2935 1999-07-12  Richard Stallman  <rms@gnu.org>
2937         * Version 20.4 released.
2939 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2941         * emacs.rc: Use an icon with a transparent background, to be in
2942         keeping with other applications.
2944 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2946         * preprep.c: Fix typo.
2948 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2950         * config.h: Remove obsolete file.
2952         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2953         couple of unused switch cases that aren't defined on all
2954         platforms.
2956         * ftime.bat: Add another variation of the profile command, which
2957         only profiles extended commands.
2959 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2961         * cmdproxy.c (main): Fix parens.
2963 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2965         * cmdproxy.c (main): Call GetShortPathName to normalize program
2966         names for comparison.
2968 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2970         * makefile.def: Compile multiple .c files when possible.
2971         Use BLD instead of assuming i386.
2972         * makefile.nt: Remove common multiple file compilation commands.
2974 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2976         * cmdproxy.c (main): Add missing parens.
2978 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2980         * preprep.c: New program to allow dumped image to be profiled.
2982         * makefile.nt (preprep): New target.
2983         (ALL): Build it.
2985         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2987         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2988         Change prep options to profile libc functions and skip the startup
2989         code.
2991 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2993         * makefile.nt: Create installation directory as first step.
2995 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2997         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2998         ROUND_UP_DST.  Zeroes the alignment slop.
2999         (copy_executable_and_add_section): Update the
3000         SizeOfHeaders field properly.
3002 1999-01-27  Andrew Innes  <andrewi@gnu.org>
3004         * makefile.nt: Do make version comparison as strings.
3006 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
3008         * runemacs.c (WinMain): Pass explicit environment block to
3009         CreateProcess, to work around a bug in Windows 95/98.
3011 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
3013         * icons: New directory with Davenport's icons.
3014         * icons/sink.ico: Renamed from emacs.ico.
3016         * makefile.nt (install, fast_install): Install Windows icons
3017         into etc/icons.
3019         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
3021 1999-01-17  Andrew Innes  <andrewi@gnu.org>
3023         * makefile.nt (ALL): List top-level targets.
3024         (addsection): New top-level target.
3025         (install): Copy fns-*.el to bin directory.
3027         * addsection.c: New program to add static heap section to
3028         temacs.exe after linking, in support of new unexec method.
3030 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
3032         * cmdproxy.c (spawn): Pass directory for child as parameter.
3033         (main): Save startup directory to give to spawn, then change
3034         directory to location of .exe in order not to prevent startup
3035         directory from being deleted.
3037 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
3039         * makefile.nt: Do string comparison of _NMAKE_VER.
3041 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
3043         * config.nt (LOCALTIME_CACHE): Define.
3045 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
3047         * install.bat: Convert to DOS format.
3049 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
3051         * cmdproxy.c (main): Set environment size only when running
3052         command.com.
3054 1998-11-03  Theodore Jump  <tjump@tertius.com>
3056         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
3057         (DEL_TREE): Use rd instead of rmdir.
3058         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
3059         * makefile.nt: Compile multiple source files when possible.
3061 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
3063         * cmdproxy.c (main): Treat command line options as case-insensitive.
3065 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
3067         * Version 20.3 released.
3069 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
3071         * addpm.c (main): Explicitly check result of message box for OK.
3073 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
3075         * inc/sys/file.h (D_OK): Define new macro.
3077 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
3079         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
3081 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
3083         * emacs.rc (VS_VERSION_INFO): Define.
3085 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
3087         * makefile.nt (emacs.bat, debug.bat): Create them in the
3088         installation directory.
3090 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
3092         * ddeclient.c: New file.  (Support program for performing limited
3093         interprocess communication on Windows.)
3095         * makefile.nt: Build ddeclient.
3097         * cmdproxy.c (main): Only set environment size for real shell, and
3098         provide extra directory argument, when running on Windows 95.
3100 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
3102         * cmdproxy.c (fail): Exit with a negative return value.
3103         (spawn): Return subprocess return code as an argument.
3104         Explicitly copy environment block.
3105         (main): Update to use return value argument with spawn.
3106         Retry if spawn failed when a subshell was not tried.
3108         * config.nt: Include new macros from src/config.in.
3109         (GNU_MALLOC, REL_ALLOC): Define.
3110         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
3111         (RE_TRANSLATE): Use char_table_translate.
3113         * makefile.def (CP_DIR): Preserve attributes.
3115         * makefile.nt (clean): Delete patch generated files, optimized
3116         build directory.
3118 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
3120         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
3122 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3124         * Version 20.2 released.
3126 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3128         * Version 20.1 released.
3130 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
3132         * debug.bat.in: New file.
3133         * makefile.nt (debug.bat): New target.
3135 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
3137         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
3138         Quote group name.  Allow different icons to be specified.
3140         * cmdproxy.c (get_env_size): New function.
3141         (spawn): Explicitly pass in environment when creating subprocess.
3142         (main): Cleanup error messages.
3143         Specify dynamically sized environment block for real shell.
3144         Pass on unhandled switches to real shell.
3145         Quote program name.
3147         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
3148         directory.
3149         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
3151         * runemacs.c (WinMain): Allow Emacs process to be started with
3152         high or low priority.
3154         * emacs.bat.in: Remove OS dependent operations.
3156 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
3158         * addpm.c (env_vars): No longer set INFOPATH.
3160         * cmdproxy.c (get_next_token): Null terminate token returned.
3162         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
3164 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
3166         * addpm.c (env_vars): Set SHELL to cmdproxy.
3167         (main): Initialize idDde to 0.
3168         Determine emacs_path from module file name.
3169         Prompt for install.
3171         * makefile.def (MSVCNT11): Conditionally define it.
3172         (BASE_LIBS): Do not use oldnames.lib.
3173         (SYS_LDFLAGS): Use pdb files.
3174         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
3175         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
3176         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
3178         * makefile.nt (ALL): Build cmdproxy.
3179         (cmdproxy): New target.
3180         (install): Install cmdproxy.
3182         * ftime.bat, debug.bat, cmdproxy.c: New files.
3184 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
3186         * inc/sys/socket.h (shutdown): Define.
3187         (sys_shutdown): Export.
3189 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3191         * config.nt (RE_TRANSLATE): Copy definition from config.in.
3193 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
3195         * config.nt: Update file comments.
3196         Update undefs added/removed in src/config.in.
3198 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
3200         * makefile.def, emacs.bat.in: Use windows95 and windowsnt instead
3201         of win95 and winnt, respectively.
3203 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
3205         * makefile.nt (real_install): Create site-lisp in installation dir.
3206         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
3207         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
3209 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3211         * Version 19.33 released.
3213 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
3215         * runemacs.c (WinMain): Put a space between the binary and its args.
3217 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
3219         * Version 19.32 released.
3221 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
3223         * makefile.nt (clean): Use OBJDIR macro.
3225 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
3227         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3228         Not defined by default.
3229         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3230         (WinMain): Convert backslashes to slashes in env var values.
3232         * addpm.c (env_vars): Use slashes, not backslashes.
3234 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
3236         * Version 19.31 released.
3238 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
3240         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3241         undo settings afterwards.
3243 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
3245         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3246         environment variable.
3248 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3250         * install.bat: Allow for optimized build.
3251         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3252         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3254 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
3256         * addpm.c (REG_ROOT): Don't use a trailing backslash.
3257         (env_vars): Rename field emacs_path to emacs_dir.
3258         (main): Add link to runemacs instead of emacs.
3260         * install.bat: Check if INSTALL_DIR is passed as an argument.
3262         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3264         * makefile.nt: Build and install runemacs.exe.
3266         * runemacs.c: New file.
3268         * config.w95: File removed.
3270         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3271         inc/sys/socket.h, inc/sys/time.h: New header files.
3273         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3275 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
3277         * makefile.def (DEL): Defined.
3278         (DEL_TREE) [win95]: Defined.
3279         (SYS_LDFLAGS): Set executable versions to 3.10.
3281         * makefile.nt: Change uses of del to $(DEL).
3283 1996-01-17  Erik Naggum  <erik@naggum.no>
3285         * All files: Update FSF's address in comment preamble.
3287 1996-01-03  George V. Reilly  <georger@microcrafts.com>
3289         * emacs.ico: Now the proverbial kitchen sink icon.
3291 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3293         * Version 19.30 released.
3295 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
3297         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3299         * makefile.nt (install, fast_install, real_install, clean):
3300         Don't use switches to del not supported by Windows 95.
3302 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
3304         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3305         (install, fast_install): Change same-dir test to create test file in
3306         installation tree and thereby support read-only shares.
3307         (clean): Remove .pdb files.
3309         * makefile.def (NTGUI): New macro.
3310         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3312         * config.nt, config.w95: Update to latest src/config.in.
3314         * addpm.c (env_vars): New variable.
3315         (add_registry): New procedure.
3316         (main): Use values of configuration environment variables from
3317         the registry if defined, the process environment otherwise.
3319 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
3321         * Version 19.29 released.
3323         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3325 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
3327         * makefile.nt: Define .c to .obj suffix rule.
3328         (addpm.obj): Compile directly, use CFLAGS.
3329         (addpm.exe): Link from addpm.obj.
3331         * makefile.def (MSVCNT11): Defined.
3332         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3333         (CFLAGS_COMMON): Defined.
3334         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3336 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
3338         * emacs.bat.in: Renamed from emacs.bat.
3339         (emacs_dir): Rename from emacs_path.
3340         Definition removed.
3342         * addpm.c: New file.
3343         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3344         (all): Depend upon $(BLD) and $(ALL).
3345         (install): Depend upon emacs.bat.
3346         Create program item for Emacs.
3347         (clean): Delete obj.
3348         (emacs.bat): Defined.
3349         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3351 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
3353         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3354         Add carriage returns; necessary for batch files on Windows 95.
3356 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
3358         * config.w95: Created.
3359         * config.h: Changed to config.nt.
3361         * makefile.nt (SUBDIRS): Commented out.
3362         (all, install, clean): Expand for-loops.
3363         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3365         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3366         (ARCH): New definition.
3367         (CPU, CONFIG_H, OS_TYPE): Defined.
3368         (INCLUDE, LIB): Checked if valid.
3369         (ntwin32.mak): Included.
3370         (AR, CC, LINK): New definition.
3371         (ADVAPI32, libc, BASE_LIBS): Defined.
3372         (SYS_LDFLAGS): New definition.
3373         Update comments and preprocessor conditionals.
3375         * emacs.bat (SHELL): Conditionally defined.
3376         (HOME): Conditionally defined.
3377         (emacs_path, HOME): Update comments.
3378         Turn off all echo.
3380 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
3382         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc:
3383         * fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h:
3384         * inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h:
3385         * inc/sys/param.h: Removed carriage-returns.
3387 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
3389         * makefile.def (CVTRES): Defined.
3391         * emacs.ico, emacs.rc: New files by Kevin Gallo.
3393 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
3395         * src/config.h, src/paths.h: Moved to parent dir, src/ removed.
3397 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
3399         * makefile.def (INSTALL_DIR): Change to generic directory.
3401         * emacs.bat: Added arguments when emacs.exe invoked.
3403         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3405 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
3407         * makefile.def (CC): In configuration section.
3408         (COMPAT_LIB): Defined.
3410 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
3412         * src/paths.h: New file.
3414         * src/config.h: New file.
3416         * inc/pwd.h: New file.
3418         * inc/sys/dir.h: New file.
3420         * inc/sys/file.h: New file.
3422         * inc/sys/ioctl.h: New file.
3424         * inc/sys/param.h: New file.
3426         * todo: New file.
3428         * README: New file.
3430         * makefile.nt: New file.
3432         * makefile.def: New file.
3434         * install.cmd: New file.
3436         * INSTALL: New file.
3438         * fast-install.cmd: New file.
3440         * emacs.cmd: New file.
3442         * ebuild.cmd: New file.
3444         * _emacs: New file.
3446 ;; Local Variables:
3447 ;; coding: utf-8
3448 ;; add-log-time-zone-rule: t
3449 ;; End:
3451   Copyright (C) 1995-1999, 2001-2014 Free Software Foundation, Inc.
3453   This file is part of GNU Emacs.
3455   GNU Emacs is free software: you can redistribute it and/or modify
3456   it under the terms of the GNU General Public License as published by
3457   the Free Software Foundation, either version 3 of the License, or
3458   (at your option) any later version.
3460   GNU Emacs is distributed in the hope that it will be useful,
3461   but WITHOUT ANY WARRANTY; without even the implied warranty of
3462   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3463   GNU General Public License for more details.
3465   You should have received a copy of the GNU General Public License
3466   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.