* lisp/icomplete.el (icomplete-hide-common-prefix): New user option.
[emacs.git] / nt / ChangeLog
blob18911b90faccdf6ae322d421fe8aa753d0953a27
1 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
3         * config.nt: Sync with autogen/config.in.
4         (GC_MARK_STACK): Remove.
5         (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
6         (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
7         (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
9 2013-02-12  Eli Zaretskii  <eliz@gnu.org>
11         * inc/ms-w32.h: Add prototype for memrchr.
13 2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
15         Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
16         * inc/sys/stat.h (fstatat):
17         * inc/unistd.h (readlinkat): New decls.
19 2013-01-28  Eli Zaretskii  <eliz@gnu.org>
21         * inc/dirent.h (opendir): Update prototype.
23 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
25         * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
26         used in term.c.  (Bug#13387)
28 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
30         * config.nt: Sync with autogen/config.in.
31         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
33 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
35         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
36         in lib/filemode.c that broke the MS-Windows build.
37         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
39 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
41         * config.nt: Sync with autogen/config.in.
42         (BSD4_2): Remove.
44 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
46         * inc/sys/acl.h: New file.
48         * inc/ms-w32.h (ENOTSUP): Define if undefined.
50         * config.nt (HAVE_POSIX_ACL): Define.
52 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
54         * inc/ms-w32.h (sys_unlink): Provide prototype.
56 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
58         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
60 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
62         * config.nt: Sync with autogen/config.in.
63         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
65 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
67         * config.nt: Sync with autogen/config.in.
68         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
69         (ULIMIT_BREAK_VALUE): Remove.
71 2012-12-10  Daniel Colascione  <dancol@dancol.org>
73         * emacs.rc: Use forward slashes in relative paths in order to
74         avoid complaints from Cygwin.  (Forward slashes work perfectly
75         well in the NT build.)
77 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
79         * inc/unistd.h (unsetenv): Provide a prototype.
81 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
83         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
84         (sys_putenv): Add prototype.
86         * config.nt (HAVE_UNSETENV): Define to 1.
88 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
90         * config.nt: Sync with autogen/config.in.
92 2012-11-24  Ken Brown  <kbrown@cornell.edu>
94         * config.nt (HAVE_MOUSE): Remove.
96 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
98         * config.nt: Sync with autogen/config.in.
99         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
100         Remove.
102 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
104         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
105         (Bug#12955)
107         * nmake.defs (SWITCHCHAR): Define to /.
109 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
111         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
112         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
113         (struct dirent): Rename from struct direct.  All uses changed.
114         * inc/sys/dir.h: Remove.
116 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
118         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
119         * config.nt (HAVE_GETCWD): Remove.
121 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
123         * nmake.defs: Use !if, not !ifdef.  For the details, see
124         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
126         * inc/stdint.h (INTPTR_MIN):
127         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
129 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
131         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
133 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
135         * config.nt: Sync with autogen/config.in.
136         (HAVE_FPATHCONF): Remove.
138 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
140         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
141         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
142         POSIX name for this flag is O_NONBLOCK.  All uses changed.
143         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
144         these really should be moved to a replacement <fcntl.h> if and
145         when that gets implemented.  In the meantime, include <fcntl.h>
146         to make sure we don't override its definitions.
148 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
150         * inc/sys/wait.h: New file, with prototype of waitpid and
151         definitions of macros it needs.
153         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
154         (sys_wait): Remove prototype.
156         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
158 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
160         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
161         to check if it's installed, redirect standard output and standard
162         error to the null device.
163         (ZIP_DIST): Don't build the "barebin" distribution.
165 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
167         * config.nt: Sync with autogen/config.in.
168         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
169         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
170         New macros.
172 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
174         * inc/unistd.h (faccessat): Add prototype.
175         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
176         2 moved from ms-w32.h.
178         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
180 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
182         Use faccessat, not access, when checking file permissions (Bug#12632).
183         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
184         (access): Remove.
185         (faccessat): New macro.
187 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
189         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
191 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
193         * config.nt: Sync with autogen/config.in.
194         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
195         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
197 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
199         * config.nt: Sync with autogen/config.in.
200         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
202 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
204         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
206 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
208         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
210         * config.nt (GETPGRP_VOID): Define to 1.
212 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
214         * config.nt: Sync with autogen/config.in.
216 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
218         * inc/pwd.h (getuid, geteuid): Add prototypes.
220         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
221         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
222         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
223         (sys_kill, getpagesize): Add prototypes for emulated functions.
225         * inc/grp.h (getgid, getegid): Add prototypes.
227         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
229         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
230         compiling with -std=gnu99.
232         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
233         could be used via --cflags switch to configure.bat.
235 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
237         * config.nt: Sync with autogen/config.in.
238         (HAVE_NTGUI): New macro.
240 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
242         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
243         compiler warnings when using the value.
245 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
247         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
248         'void *', for pointer arithmetics.
249         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
250         macro arguments in parentheses.
252 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
254         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
256 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
258         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
259         that are already defined.
261         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
262         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
263         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
265         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
266         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
267         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
268         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
269         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
270         Use DWORD_PTR instead of DWORD for compatibility with x64.
272         * nmake.defs: Support AMD64.
273         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
275         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
276         New macros.
278         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
279         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
280         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
281         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
282         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
283         DWORD, for compatibility with x64.
285         * emacs-x64.manifest: New file.
287         * emacs-x86.manifest: Renamed from emacs.manifest.
289 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
291         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
292         (struct itimerval): Define.
293         (getitimer, setitimer): Add prototypes.
295         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
296         with MinGW.
297         (SA_RESTART, SIGPROF): Define.
299         * config.nt (HAVE_SETITIMER): Define to 1.
301 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
303         * config.nt: Sync with autogen/config.in.
305 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
307         * config.nt: Sync with autogen/config.in.
308         (HAVE_TIMER_SETTIME): New macro.
310 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
312         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
314 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
316         Simplify and avoid signal-handling races (Bug#12471).
317         * inc/ms-w32.h (emacs_raise): New macro.
319 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
321         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
322         defined, as needed by giflib-5.0.0.  (Bug#12464)
324 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
326         * config.nt: Sync with autogen/config.in.
327         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
329 2012-09-17  Glenn Morris  <rgm@gnu.org>
331         * config.nt (COPYRIGHT): New.
333 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
335         Port _setjmp fix to POSIXish hosts as well as Microsoft.
336         * config.nt: Attempt to sync with autogen/config.in.
337         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
338         (_longjmp, _setjmp): Remove.
340 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
342         * config.nt: Sync with autogen/config.in.
343         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
344         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
345         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
347 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
349         * config.nt: Sync with autogen/config.in.
350         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
351         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
353 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
355         * configure.bat <use_extensions>: Don't leave it set in the
356         environment when the script exits.
358 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
360         * config.nt: Sync with autogen/config.in.
361         (NO_ABORT, SIGNAL_H_AHB): Remove.
363 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
365         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
367 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
369         * config.nt: Sync with autogen/config.in.
371 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
373         Simplify redefinition of 'abort' (Bug#12316).
374         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
376 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
378         * config.nt: Sync with autogen/config.in.
379         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
381 2012-09-01  Daniel Colascione  <dancol@dancol.org>
383         * inc/ms-w32.h (TERM_HEADER): Add for refactoring
385 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
387         * config.nt: Sync with autogen/config.in.
389 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
391         * config.nt: Sync with autogen/config.in.
392         (HAVE_POSIX_OPENPT): New macro.
394 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
396         * config.nt: Sync with autogen/config.in.
397         (_GL_INLINE_HEADER_BEGIN): Update.
399 2012-08-10  Glenn Morris  <rgm@gnu.org>
401         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
403 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
405         * config.nt: Sync with autogen/config.in.
406         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
407         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
409         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
411 2012-08-06  Glenn Morris  <rgm@gnu.org>
413         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
414         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
416 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
418         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
419         (PATH_DATA, PATH_DOC): Replace dummy directory names with
420         directories relative to %emacs_dir%.
421         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
422         to the use case of running un-installed Emacs.
424 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
426         * config.nt: Sync with autogen/config.in.
427         (DOS_NT, MSDOS): New macros.
428         (WRETCODE, wait3): Remove.
430         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
432 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
434         * inc/sys/stat.h (S_IFLNK): Define.
435         (S_ISLNK): A non-trivial definition.
436         (lstat): Prototype instead of a macro that redirects to 'stat'.
438 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
440         Use C99-style 'extern inline' if available.
441         * config.nt: Sync with autogen/config.in.
442         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
443         (_GL_INLINE_HEADER_END): New macros.
445 2012-08-02  Glenn Morris  <rgm@gnu.org>
447         * inc/ms-w32.h: Move here from ../src/s.
448         * config.nt (config_opsysfile): Change to <ms-w32.h>.
450 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
452         * config.nt: Sync with autogen/config.in.
453         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
454         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
455         New macros.
457 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
459         * config.nt: Sync with autogen/config.in.
460         Remove code moved to conf_post.h and include <conf_post.h>
461         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
462         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
464 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
466         * config.nt: Sync with autogen/config.in.
467         (HAVE_ENVIRON_DECL): New macro.
469 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
471         * inc/stdalign.h (_Alignas, alignas): Define.
473 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
475         Use Gnulib stdalign module (Bug#9772, Bug#9960).
476         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
478 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
480         * config.nt: Sync with autogen/config.in.
481         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
482         (SETUP_SLAVE_PTY): New macros.
484 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
486         * config.nt: Sync with autogen/config.in.
487         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
488         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
489         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
490         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
491         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
492         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
493         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
494         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
495         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
496         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
497         Set in src/s/ms-w32.h, not here.
499 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
501         * config.nt: Sync with autogen/config.in.
502         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
503         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
504         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
506 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
508         * config.nt: Sync with autogen/config.in.
510 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
512         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
514 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
516         * config.nt: Sync with autogen/config.in.
518 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
520         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
522 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
523             Eli Zaretskii  <eliz@gnu.org>
525         * config.nt: Complete rework to bring it in sync with autogen/config.in.
526         All Windows-specific code moved to src/s/ms-w32.h.
528 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
529             Eli Zaretskii  <eliz@gnu.org>
531         * configure.bat (enablechecking): Enable checks through src/config.h,
532         not the compiler's command line.
534         * nmake.defs (CHECKING_CFLAGS): Remove.
535         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
537         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
538         (CHECKING_CFLAGS): Remove.
539         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
541 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
543         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
544         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
545         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
546         (HAVE_MEMCMP): Remove, obsolete.
548 2012-06-30  Glenn Morris  <rgm@gnu.org>
550         * paths.h (PATH_SITELOADSEARCH): New.
552 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
554         * nmake.defs (CHECKING_CFLAGS):
555         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
557 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
559         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
561 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
563         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
564         * config.nt (_Noreturn): New macro.
565         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
566         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
568 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
570         * inc/sys/time.h (struct timespec): Don't define it here, it is
571         now defined in src/s/ms-w32.h.
573 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
575         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
576         * inc/sys/time.h (struct timespec): Define.
578 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
580         * makefile.w32-in (install-addpm): New target.
581         (dist): Depend on it.
582         (install-shortcuts): Depend on install-addpm instead of copying
583         addpm.exe as part of the recipe.  See
584         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
585         for the related problem and discussions.
587 2012-06-11  Glenn Morris  <rgm@gnu.org>
589         * config.nt (SYSTEM_TYPE): Define it.
591 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
593         * configure.bat (genmakefiles): Move the redirection away from the
594         end of the command, to avoid excess whitespace at the end of Make
595         variables created at configure time, and also avoid things like
596         "FOO1>>config.settings", where "1" gets interpreted as the file
597         descriptor and eaten up.  This fixes breakage introduced by the
598         last change, without reintroducing the bug fixed by that change.
600 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
602         * nmake.defs (MWINDOWS): Define as
603         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
604         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
606         * gmake.defs (MWINDOWS): Define as "-mwindows".
608 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
610         * config.nt (HAVE_SYSINFO): Remove; unused.
612 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
614         * inc/stdalign.h: New file.
616         * configure.bat: Ensure a space between %var% expansion and
617         redirection symbol '>', which breaks when %var% ends in a digit,
618         such as 1.
620 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
622         Remove src/m/*.
623         * config.nt: Do not include "m/intel386.h"; file was removed.
624         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
625         Move to src/lisp.h.
626         (EMACS_INT_MAX): New macro.
628 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
630         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
631         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
633         * config.nt (HAVE_FTIME): Remove undef; not needed.
635 2012-05-01  Glenn Morris  <rgm@gnu.org>
637         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
639 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
641         * makefile.w32-in: Fix typo (Bug#10261).
643 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
645         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
646         each runs makeinfo in its own subdirectory of 'doc'.
647         (info-gmake): Depend on these new targets.
649 2012-04-07  Glenn Morris  <rgm@gnu.org>
651         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
652         Bump version to 24.1.50.
654 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
656         * configure.bat: Support building with libxml2.
658         * INSTALL:
659         * README.W32: Add information about libxml2.
661 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
663         * makefile.w32-in: Convert to Unix EOL format.
664         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
665         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
666         (bootstrap-gmake): Invoke the "clean" and build targets in 2
667         separate commands, so they run in that order even under "make -j".
669 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
671         * config.nt: Discourage from defining HAVE_GETCWD.
673 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
675         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
676         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
677         on other (parallel) Make job's toes.
678         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
679         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
680         here.
681         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist): Depend
682         on create-tmp-dist-dir.
684         * nmake.defs (DIRNAME): New variable.
685         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
686         same-dir.tst.
688         * gmake.defs (DIRNAME): New variable.
689         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
690         same-dir.tst, to avoid conflicts between several (parallel) Make
691         jobs.
693 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
695         Prevent endless re-spawning of cmdproxy.exe when some of its
696         parent directories have access limitations.
698         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
699         and our own module name to short 8+3 aliases, if the original file
700         names compare equal.  If GetShortPathName fails, compare the base
701         names of the two file names, and only re-spawn the command line if
702         the base-name comparison also fails.  (Bug#10674)
704 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
706         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
708 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
710         * README.W32: Removed specific version information for libXpm
711         included in the binary distribution for maintenance purposes.
713 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
715         * README.W32: Clarification for inclusion in source tarball (bug#9750).
717         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
719         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
721         * makefile.w32-in (maybe-copy-distfiles)
722         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
723         (create-tmp-dist-dir): Add to make --distfiles optional.
724         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
726 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
728         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
729         by other headers.
731 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
733         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
734         (UINT64_MAX) [_WIN64]: Fix definition.
735         (uintmax_t, intmax_t): Fix definitions.
737         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
738         Provide correct definitions.
740         * config.nt (HAVE_DECL_STRTOLL): Define.
741         (va_copy) [_WIN64]: Provide a better definition.
743 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
745         * configure.bat: Fix typos.
747 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
749         * INSTALL: Elaborate on debugging fatal errors.
751 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
753         * README.W32: Update the GTK Windows download URL for libpng.
755 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
757         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
759 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
761         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
762         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
763         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
764         (intmax_t, INT64_MAX): Add for MSVC.
766         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
768 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
770         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
772         Support MSVC build with newer versions of Visual Studio.
773         * makefile.w32-in (clean-other-dirs-nmake)
774         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
775         Update for current structure of doc/ subdirectories.
777         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
779         * INSTALL: Update for newer versions of MSVC.
781 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
783         Support MSVC build with newer versions of Visual Studio.
784         * nmake.defs (USE_CRT_DLL): Define to 1.
785         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
786         (D): New variable.
788 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
790         * runemacs.c (ensure_unicows_dll): New function, tries to load
791         UNICOWS.DLL on Windows 9X.
792         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
793         display a dialog to the effect that Emacs cannot be started.
794         (Bug#8562)
796 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
798         * README.W32: Mention UNICOWS.DLL as prerequisite for running
799         Emacs on Windows 9X.
801 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
803         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
804         distribution.  (Bug#9861)
806 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
808         * INSTALL: Update URL for GTK download page.
810 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
812         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
813         (Bug#9794) (Bug#641)
815 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
817         * config.nt (HAVE_SNPRINTF): New macro.
819 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
821         Assume freestanding C89 headers, string.h, stdlib.h.
822         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
823         (STDC_HEADERS): Remove.
824         Iinclude string.h, stdlib.h unconditionally.
826 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
828         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
829         [!__GNUC__]: New macros.
831 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
833         Use 'inline', not 'INLINE'.
834         * config.nt (INLINE): Remove.
836 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
838         * README.W32: Add information about GnuTLS libraries.
840 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
842         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
844 2011-05-07  Ben Key  <bkey76@gmail.com>
846         * configure.bat: Renamed the fusercflags variable to escusercflags
847         so that the variable name better matches its purpose, to be
848         identical to usercflags with the exception that all quotes are
849         escaped by the \ character.
851         Renamed the fuserldflags variable to escuserldflags so that the
852         variable name better matches its purpose, to be identical to
853         userldflags with the exception that all quotes are escaped by
854         the \ character.
856         A new ESC_USER_CFLAGS variable is written to config.settings.
857         This variable has the same value as the escusercflags variable.
859         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
860         This variable is identical to the CFLAGS variable except that it
861         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
863         These changes, along with some changes to src/makefile.w32-in,
864         are required to extend my earlier fix to add support for
865         --cflags and --ldflags options that include quotes so that it
866         works whether make uses cmd or sh as the shell.
868 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
870         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
871         definition of uintmax_t from here...
872         * inc/stdint.h (uintmax_t): ...to here.
873         (intptr_t) [!__GNUC__]: New typedef.
875 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
877         * config.nt: Prepare to configure 64-bit integers for older compilers.
878         However, temporarily disable this change unless the temporary
879         symbol WIDE_EMACS_INT is defined.
880         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
881         "%I64d" work but long long and "%lld" do not.
883 2011-05-05  Ben Key  <bkey76@gmail.com>
885         * configure.bat: Added support for --cflags and --ldflags
886         options that include quotes as long as command extensions are
887         enabled.  Specifically when -I, -L, and similar flags are used
888         to specify supplementary include and library directories a
889         directory name that includes spaces may now be used if it is
890         enclosed in quotes.
892         * INSTALL: Documented the change to configure.bat.
894 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
896         * INSTALL: Clarify GnuTLS support.
898 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
900         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
901         Define to 1 for MinGW of MSVC versions >= 1400.
903 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
905         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
907 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
909         * inc/inttypes.h: New file.
911         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
912         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
914 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
916         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
917         inside quotation marks and bail out.
919 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
921         * cmdproxy.c (try_dequote_cmdline): New function.
922         (main): Use it.
924 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
926         * configure.bat: New options --without-gnutls and --lib, new build
927         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
928         library setup with trivial modifications.
929         * INSTALL: Add instructions for GnuTLS support.
930         * gmake.defs: Prefix USER_LIBS with -l.
932 2011-04-15  Ben Key  <bkey76@gmail.com>
934         * configure.bat: Modified the code that parses the --cflags and
935         --ldflags options to support parameters that include the =
936         character as long as they are enclosed in quotes.
937         This functionality depends on command extensions.  Configure.bat now
938         attempts to enable command extensions and displays a warning
939         message if they could not be enabled.  If configure.bat could
940         not enable command extensions the old parsing code is used that
941         does not support parameters that include the = character.
943         * INSTALL: Updated the file to describe the new functionality
944         using text provided by Eli Zaretskii.
946 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
948         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
949         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
950         on the trunk on 2011-04-06.
952 2011-03-27  Glenn Morris  <rgm@gnu.org>
954         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
956 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
958         * addpm.c (main): Remove unused variable `retval'.
960         * preprep.c (main): Remove unused variable `ptr'.
962 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
964         * cmdproxy.c: Include <ctype.h>.
965         (make_absolute): Remove unused variable `i'.
967 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
969         * Version 23.3 released.
971 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
973         * inc/unistd.h (readlink, symlink): Declare prototypes.
975 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
977         * config.nt (nlink_t): Define.
979 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
981         * inc/stdint.h: New file, to support compilation with tool chains
982         that do not have stdint.h (e.g. MSVC).
984 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
986         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
987         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
988         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
989         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
990         (lstat): Define to stat.
992 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
994         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
995         "make-docfile" target in lib-src, before bootstrapping the src
996         directory.  Needed since building in src needs to run make-docfile
997         to produce globals.h.
999 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1001         * config.nt (inline) [__GNUC__]: Define (for gnulib).
1003 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1005         * config.nt (VERSION): Uncomment definition.
1006         (restrict): Define.
1008         * inc/stdbool.h: New file.
1010 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1012         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1013         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1014         (bootstrap-clean-gmake, clean-other-dirs-nmake)
1015         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1016         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1017         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1018         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1019         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1021         * configure.bat: Create lib/makefile.
1023         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1024         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1025         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1026         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1028 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1030         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1032 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1034         * configure.bat (end): Unset environment variables used by this
1035         batch file.
1037         * INSTALL: Update the information about PNG support libraries.
1038         (Bug#7716)
1040         * README.W32: Update the information about PNG support libraries.
1042 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1044         * config.nt (EXTERNALLY_VISIBLE): Define.
1046 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1048         * INSTALL: Refer to `dynamic-library-alist'.
1050 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1052         * INSTALL: Add note about problematic characters passed to configure.
1054 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1056         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1057         emacs-src.tags: New file.
1059         * gmake.defs: Add a comment with a single quote to fix
1060         fontification.  (Bug#7102)
1062 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1064         * configure.bat: Fix the condition for copying paths.h into
1065         ../src/epaths.h.
1067 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1069         * addpm.c (entry, add_registry, main):
1070         * addsection.c (file_data, open_input_file, open_output_file)
1071         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1072         (COPY_CHUNK):
1073         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1074         (skip_nonspace, get_next_token, search_dir, make_absolute)
1075         (spawn, main):
1076         * preprep.c (file_data, open_input_file, open_output_file)
1077         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1078         Use const char*.
1080         * cmdproxy.c (stdin): Don't define, not used.
1081         (main): Don't assign remlen after last use.
1083 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1085         * configure.bat: Err out when the argument of --cflags contains
1086         invalid characters (check implemented only for GCC).  (Bug#6820)
1088 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1090         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1092 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1094         * addpm.c (add_registry): Set path for runemacs.exe to use.
1096 2010-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
1098         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1099         which has a 1024 char limit on Windows (bug#6647).
1101 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1103         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1104         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1106 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1108         * config.nt: Remove code referring to NO_REMAP, unused.
1110 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1112         Build binary distros on Windows using emacs-VERSION as root dir name.
1114         * makefile.w32-in: Copy README.W32 to installation directory
1115         during `make install'.  Remove README.W32 with `distclean' (in
1116         case Emacs was installed in place).  Use temporary directory to
1117         create distribution zip files in `dist' target.
1118         * zipdist.bat: Simplify code using temporary directory.
1120 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1122         * runemacs.c (set_user_model_id): Fix prototype.
1124 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1126         New make target for Windows platform: make dist (bug#6602)
1128         * INSTALL: Document new dist target and add section about
1129         creating binary distributions.
1130         * README.W32: Relocate from admin/nt/ directory.
1131         * configure.bat: New parameter `--distfiles'.
1132         * makefile.w32-in: Add version number, new target `dist'.
1133         Add new target `install-shortcuts'.
1134         * zipdist.bat: New file; create zipped binary distribution,
1135         replaces admin/nt/makedist.bat.
1137 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1139         * INSTALL: Add note about backslashes in Windows paths.
1140         Fix typos.  Simplify references to Windows versions.
1142 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1144         * addpm.c (add_registry, main):
1145         * cmdproxy.c (get_env_size):
1146         * ddeclient.c (main):
1147         * runemacs.c (set_user_model_id):
1148         Convert definitions to standard C.
1150 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1152         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1154 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1156         * configure.bat: New option --enable-checking.
1157         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1158         (CFLAGS): Include it.
1160 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1162         * config.nt (volatile): Remove definition.
1164 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1166         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1167         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1169 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1171         * config.nt (__P): Remove.
1173 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1175         * config.nt: Remove code depending on BSTRING.
1177 2010-06-03  Glenn Morris  <rgm@gnu.org>
1179         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1181 2010-05-13  Glenn Morris  <rgm@gnu.org>
1183         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1185 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1187         * Version 23.2 released.
1189 2010-05-04  Glenn Morris  <rgm@gnu.org>
1191         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1193 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1195         * emacs.manifest: Add trustInfo section to Windows manifest.
1197 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1199         * Branch for 23.2.
1201 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1203         * emacsclient.rc: Fix format of "LegalCopyright" value.
1205 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1207         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1209 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1211         * INSTALL: Update for CVS->Bazaar switchover.
1213 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1215         * configure.bat: Add #define PROFILING to config.h.
1217 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1219         * runemacs.c (set_user_model_id): Use standard types.
1221 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1223         * runemacs.c (set_user_model_id): New function.
1224         (WinMain): Use it.
1226 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1228         * Branch for 23.1.
1230 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1232         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1233         st_gid to unsigned.
1235         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1236         to unsigned.
1237         (getpwuid): Argument is now unsigned.
1238         uid_t is now unsigned.
1240 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1242         * INSTALL: Add comment about TCC; fix typos.
1244 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1246         * emacsclient.rc, emacs.rc: Swap name and description.
1247         Remove Windows versions.
1249 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1251         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1253         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1255         * addpm.c (main): Try using COM to create start menu shortcuts
1256         before resorting to DDE (Bug#202)
1257         Remove second command-line argument.
1259 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1261         * configure.bat: Untabify help message.
1263 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1265         * configure.bat: New option --with-svg.
1267         * INSTALL: Document experimental SVG support.
1269 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1271         * config.nt (PTR): Remove.
1273 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1275         * config.nt (LISTPROC, PROCATTR): Remove.
1277 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1279         * config.nt (LISTPROC, PROCATTR): New macros.
1281 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1283         * config.nt (MULTI_KBOARD): Remove.
1285 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1287         * configure.bat: New option --profile.
1288         * gmake.defs: Set cflags and ldflags for profiling when specified.
1290 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1292         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1294 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1296         * config.nt (HAVE_FACES): Remove, unused.
1298 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1299             Eli Zaretskii  <eliz@gnu.org>
1301         * nmake.defs (FONT_CFLAGS):
1302         * gmake.defs (FONT_CFLAGS): Remove.
1303         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1304         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1305         and _CRTAPI1.
1306         (ARCH_FLAGS): Don't include _X86_.
1308         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1310 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1312         * config.nt: Remove reference to UNEXEC_SRC.
1314 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1315             Eli Zaretskii  <eliz@gnu.org>
1317         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1318         Don't hardcode -gstabs+, use DEBUG_INFO.
1320         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1321         Default to stabs if the compiler does not support DWARF-2.
1322         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1324 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1326         * configure.bat: Remove code dealing with --disable-font-backend.
1328 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1330         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1331         better alignment.  Make st_size 64-bit wide.  Add new members
1332         st_uname and st_gname.
1334         * inc/grp.h (struct group): Add gr_gid member.
1336 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1338         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1339         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1340         a real file there is not a good idea.
1342 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1344         * makefile.w32-in (CLIENTRES): New variable and build target.
1345         (all): Depend on it.
1346         ($(TRES)): Use $(TRES) in rule.
1348 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1350         * configure.bat (success): Print "make" rather than "gmake", as that
1351         is what MinGW uses.
1353 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1355         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1356         Add copyright notice.
1358 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1360         * emacsclient.rc: New file.
1362         * INSTALL: Document make targets.
1364 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1366         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1367         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1368         (top-distclean, distclean, distclean-other-dirs-nmake)
1369         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1370         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1372 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1374         * inc/sys/stat.h: New file.
1376         * configure.bat: Add check for usp10.h.
1378 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1380         * INSTALL: Update Windows API requirements.
1382 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1384         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1386 2008-03-13  Glenn Morris  <rgm@gnu.org>
1388         * emacs.rc: Set version to 23.0.60.
1390 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1392         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1393         (EMACS_EXTRA_C_FLAGS): Include it.
1394         * configure.bat (usefontbackend): Default to Y.
1395         (--enable-font-backend): Replace with --disable-font-backend.
1396         (:withfont): Replace with :withoutfont.
1398 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1400         * icons/emacs.ico: Full alpha for 32x32 full color.
1401         Add 32x32 and 16x16 256 color versions.
1403 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1405         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1407 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1409         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1411 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1413         * icons/README: Update.
1415         * icons/emacs.ico: New icon.
1417 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1419         * addpm.c: Include malloc.h.
1420         (add_registry): Cast return value of alloca.
1422 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1424         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1426 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1428         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1429         conditional on existence of junk.o.  If %nocygwin% is already set
1430         to Y, skip to chkapiN instead of chkapi.
1431         (chkapi): Move "rm -f junk.c junk.o" to here.
1432         (chkapiN): New label.
1434 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1436         * makefile.w32-in: Remove unidata-gen related rules.
1438 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1440         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1442 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1444         * addpm.c (add_registry): Add an App Paths registry key.
1445         Look for GTK and add it to the DLL search path for Emacs if found.
1447 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1449         * configure.bat: In help, use generic names for the image libraries.
1451 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1453         * .cvsignore: Don't ignore .arch-inventory.
1455 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1457         * configure.bat: Make gcc the default compiler.
1459 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1461         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1462         Ignore return status.
1464         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1465         it out of the way of Windows generated file.
1466         Generate admin/unidata/makefile.
1468         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1469         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1470         (unidatagen-clean-SH): New targets.
1471         (bootstrap-nmake): Invoke unidatagen-nmake.
1472         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1474 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1476         * configure.bat (withfont): Set sep1 after modifying usercflags.
1478 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1480         * configure.bat: Rename --with-font-backend to --enable-font-backend
1481         for consistency with other platforms.
1483 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1485         * configure.bat: Add --with-font-backend option.
1487 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1489         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1490         permissions to NTFS ACLs.
1492 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1494         * config.nt: Remove HAVE_X11R5.
1496 2007-10-22  Jason Rumney  <jasonr@gnu.org>
1498         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1499         (strings.h, stdlib.h): Conditionally include.
1500         (w32_abort): Declare here.
1501         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
1503 2007-10-20  Jason Rumney  <jasonr@gnu.org>
1505         * makefile.w32-in (info-nmake): Change into correct directories.
1507 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
1509         * configure.bat (docflags, doldflags): New variables.
1510         (genmakefiles): Use them to work around problems with whitespace
1511         in arguments of the `if' command.
1513 2007-10-18  Jason Rumney  <jasonr@gnu.org>
1515         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1517 2007-09-27  Jason Rumney  <jasonr@gnu.org>
1519         * gmake.defs (COMCTL32): New system library.
1521         * nmake.defs (COMCTL32): New system library.
1523 2007-09-06  Glenn Morris  <rgm@gnu.org>
1525         * configure.bat:
1526         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
1527         Change from ../man to ../doc/emacs and ../doc/misc; and from
1528         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
1530 2007-08-29  Glenn Morris  <rgm@gnu.org>
1532         * emacs.rc: Increase version to 23.0.50.
1534 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
1536         * makefile.w32-in (bootstrap-nmake): Change directories once more.
1538 2007-07-25  Glenn Morris  <rgm@gnu.org>
1540         * Relicense all FSF files to GPLv3 or later.
1542         * COPYING: Switch to GPLv3.
1544 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
1546         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
1547         Depend on cmdproxy.
1548         (cleanall): Don't delete *~.
1550 2007-07-15  Jason Rumney  <jasonr@gnu.org>
1552         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
1553         be fully supported.
1555 2007-07-14  Jason Rumney  <jasonr@gnu.org>
1557         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
1558         of winsock.h.
1560 2007-07-11  Jason Rumney  <jasonr@gnu.org>
1562         * gmake.defs (OLE32): New library to link.
1564         * nmake.defs (OLE32): Likewise.
1566 2007-06-25  Jason Rumney  <jasonr@gnu.org>
1568         * cmdproxy.c (main): Set console codepages to "ANSI".
1570 2007-06-20  Jason Rumney  <jasonr@gnu.org>
1572         * configure.bat: Complain if image libraries are missing.
1574 2007-06-15  Jason Rumney  <jasonr@gnu.org>
1576         * emacs.manifest: New file.
1578         * emacs.rc: Use it.
1580 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
1582         * Version 22.1 released.
1584 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
1586         * INSTALL: Add information about where to find GDB, and warn
1587         against --no-debug option to configure.bat.
1589 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
1591         * INSTALL: Fix URL of EmacsW32 site where building with image
1592         support is described.
1594 2007-04-26  Glenn Morris  <rgm@gnu.org>
1596         * emacs.rc: Increase version to 22.1.50.
1598 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
1600         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
1602 2007-03-09  Richard Stallman  <rms@gnu.org>
1604         * INSTALL: Say explicitly this is not for Cygwin.
1606 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
1608         * INSTALL: Add URL of another site with detailed build instructions.
1610 2007-02-16  Glenn Morris  <rgm@gnu.org>
1612         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
1613         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
1614         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
1615         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
1616         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
1617         Restore all but two of icons deleted in previous change.
1619 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
1621         * icons/README: New file.
1623         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
1624         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
1625         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
1626         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
1627         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
1628         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
1629         Unused icons deleted.
1631 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
1633         * configure.bat: Update ../site-lisp/subdirs.el when needed.
1635 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
1637         * subdirs.el: Add "no-byte-compile: t" local variable.
1639 2007-01-10  Jason Rumney  <jasonr@gnu.org>
1641         * README: Update URLs and advice about reporting bugs.
1643 2006-12-29  Jason Rumney  <jasonr@gnu.org>
1645         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
1646         DEBUG_LINK.
1647         (DEBUG_LINK): Remove -debugtype:both.
1649 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
1651         * INSTALL: Update table of supported Make ports.  Show "make -j"
1652         command that is known to work.
1654         * configure.bat: Update table of supported Make ports.
1656 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
1658         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
1659         only in implicit rules.  Use literal "emacs.rc" instead.
1661 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
1663         * gmake.defs: Export XMFLAGS.
1665         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
1666         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
1668 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
1670         * INSTALL: Explain how to invoke GNU Make for parallel builds.
1672         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
1673         command-line argument to sub-Make in src, since src/makefile.w32-in
1674         invokes Make recursively during bootstrap.
1675         (clean): Delete stamp_BLD.
1676         (bootstrap): Make `all' explicitly in a recursive Make.
1678         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1679         stamp_BLD after creating the $(BLD) directory.
1681         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1682         stamp_BLD after creating the $(BLD) directory.
1684         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
1685         (preprep, $(TRES), runemacs)
1686         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
1687         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1688         Depend on stamp_BLD instead of on $(BLD).
1689         (XMFLAGS): New macro.
1690         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
1691         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
1692         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
1693         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
1695 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
1697         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
1698         $(ALL_DEPS).
1699         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
1700         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1701         New dependency on $(BLD).
1702         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
1703         (bootstrap-gmake): Depend on addsection.
1705 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
1707         * runemacs.c (WinMain): Process all recognized arguments, not just
1708         the first one.  Remove unused variable sec_desc.
1710 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
1712         * config.nt (HAVE_LANGINFO_CODESET): Define.
1714         * inc/langinfo.h: New file.
1716         * inc/nl_types.h: New file.
1718 2006-09-15  Jay Belanger  <belanger@truman.edu>
1720         * COPYING: Replace "Library Public License" by "Lesser Public
1721         License" throughout.
1723 2006-07-27  Jason Rumney  <jasonr@gnu.org>
1725         * INSTALL: Add notes about Cygwin make to impatient section.
1727 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
1729         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
1730         known to work.
1732 2006-03-12  Jason Rumney  <jasonr@gnu.org>
1734         * addpm.c (add_registry): Don't change the registry unless keys
1735         already exist from a previous version.
1737         * makefile.w32-in (install): Use -q when invoking addpm.
1739         * addpm.c (main): Accept -q as alternative for /q.
1741 2006-03-11  Jason Rumney  <jasonr@gnu.org>
1743         * runemacs.c (WinMain): Set screen buffer to 80x25.
1745 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
1747         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
1748         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
1750 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
1752         * INSTALL: Add explanation of how to debug with GDB starting from
1753         the Emacs Abort dialog.
1755 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
1757         * emacs.rc: Use new icons.
1759 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
1761         * emacs21.ico: Renamed from emacs.ico.
1762         * emacs.ico: New icons from Andrew Zhilin
1763         <andrew_zhilin@yahoo.com>.
1765 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
1767         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
1769 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
1771         * .cvsignore: Add `obj' and `oo' for in-place installations.
1773 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
1775         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
1777 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
1779         * configure.bat: Don't create lisp/Makefile.unix.
1781 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
1783         * .cvsignore: Add `makefile' and `config.log'.
1785 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
1787         Merge gnulib getopt implementation into Emacs.
1789         * inc/gettext.h: Remove; no longer needed now that
1790         lib-src/gettext.h exists.
1792 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
1794         * configure.bat: Finish config.log with a line that indicates that
1795         the configure step was successful.
1797 2005-07-04  Lute Kamstra  <lute@gnu.org>
1799         Update FSF's address in GPL notices.
1801 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
1803         * configure.bat: If their fc.exe returns a meaningful exit status,
1804         don't overwrite src/config.h and src/epaths.h with identical
1805         copies.
1807         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
1808         changes.  Add a pointer to another site with detailed configure
1809         and build instructions.  Suggest to look at config.log when
1810         configure fails.  Add MinGW Make 3.80 to the list of successful
1811         combinations.
1813         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
1814         "-mcpu=i686".
1816         * configure.bat: Update copyright years.
1817         Delete config.log before doing anything else.
1818         Write additional diagnostics to config.log in case of failures to
1819         compile test programs, including the failed test program itself.
1820         Add a test for support of -mtune=pentium4 switch to GCC; if it is
1821         supported, set up MCPU_FLAG variable on the various Makefiles to
1822         use that switch during compilations.  (This avoids GCC warning
1823         about -mcpu being deprecated.)
1825 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
1827         * addsection.c (copy_executable_and_add_section): Pass non-zero
1828         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
1829         environment.  Print section names with %.8s.
1830         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
1831         only if non-zero.  All callers changed.
1833 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
1835         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
1836         `const void *', for consistency with POSIX.
1838 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
1840         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
1842 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
1844         * INSTALL: Add more pointers to ports of Unix tools to Windows,
1845         and to the Emacs Wiki (which contains building instructions for
1846         Windows).  Reword image library instructions and remove obsolete
1847         incompatibility information.
1849 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
1851         * config.nt (HAVE_PWD_H): Undef.
1853 2004-06-07  Juanma Barranquero  <lektu@terra.es>
1855         * INSTALL: Clarify paragraph about compatibility between image
1856         libraries and builds of Emacs with several compilers.
1858 2004-06-06  Juanma Barranquero  <lektu@terra.es>
1860         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
1861         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
1862         calling non-existent cmdproxy.exe on bootstrapping after a
1863         previous install followed by realclean.
1865         * nmake.defs: Add quote in comment to resync font-locking.
1867 2004-06-04  Juanma Barranquero  <lektu@terra.es>
1869         * INSTALL: Reword the section on image support.  Add reference to
1870         GnuWin32.  Mention problems when mixing binaries from different
1871         compilers.
1873 2004-05-06  Jason Rumney  <jasonr@gnu.org>
1875         * configure.bat: Use -mno-cygwin to check for image libraries
1876         when needed.
1878 2004-05-03  Jason Rumney  <jasonr@gnu.org>
1880         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
1881         * makefile.def: Remove.
1883         * nmake.defs (SYS_LDFLAGS): Add -nologo.
1885         * makefile.w32-in (info-gmake, info-nmake): New targets.
1886         (info): Use them.
1888 2004-04-23  Juanma Barranquero  <lektu@terra.es>
1890         * nmake.defs:
1891         * gmake.defs:
1892         * makefile.w32-in:
1893         * makefile.def:
1894         * makefile.nt: Add "-*- makefile -*-" mode tag.
1896 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
1898         * runemacs.c (WinMain): Let Emacs environment default to parent.
1900 2004-03-11  Jason Rumney  <jasonr@gnu.org>
1902         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
1904 2004-03-10  Juanma Barranquero  <lektu@terra.es>
1906         * makefile.w32-in (install): Don't try to copy
1907         ../lib-src/fns-*.el, as it isn't used anymore.
1909 2004-01-28  Peter Runestig  <peter@runestig.com>
1911         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
1913 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
1915         * .cvsignore: Add `.arch-inventory'.
1917 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
1919         * inc/grp.h: New file.
1921 2003-09-03  Peter Runestig  <peter@runestig.com>
1923         * configure.bat: Create ``makefile'' in directories man, lispref
1924         and lispintro.
1926         * makefile.w32-in (force-info, info): New targets.
1928         * envadd.bat: New file.
1930         * multi-install-info.bat: New file.
1932 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
1934         * config.nt (my_strftime): New define.
1936 2003-02-01  Jason Rumney  <jasonr@gnu.org>
1938         * configure.bat: Automatically detect libXpm.
1939         Suppress compiler output when testing for image libraries.
1940         Give names of un-found libraries in messages.
1942 2003-01-31  Juanma Barranquero  <lektu@terra.es>
1944         * configure.bat: Automatically detect giflib and tifflib.
1946 2003-01-29  Jason Rumney  <jasonr@gnu.org>
1948         * gmake.defs (CURDIR): Disable cygpath kludge.
1950 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
1952         * configure.bat: Avoid endless loop when configuring without image
1953         support.
1955 2003-01-26  Jason Rumney  <jasonr@gnu.org>
1957         * configure.bat: Automatically detect jpeglib.
1959 2003-01-25  Jason Rumney  <jasonr@gnu.org>
1961         * configure.bat: Automatically detect libpng.
1963 2003-01-21  Jason Rumney  <jasonr@gnu.org>
1965         * icons/hand.cur: New file.
1967 2003-01-21  David Ponce  <david@dponce.com>
1969         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
1971 2003-01-15  Andrew Innes  <andrewi@gnu.org>
1973         * gmake.defs (CURDIR): Convert to native Windows format (with
1974         forward slashes), to support building with Cygwin builds of make.
1976 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
1978         * nmake.defs:
1979         * gmake.defs: Made changes so that Emacs would link with
1980         WinMM.lib.  This change was required for my addition of a Windows
1981         compatible implementation of play-sound-internal.
1983 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
1985         * emacs.rc: Version updated to 21.3.50.
1987 2002-06-13  Jason Rumney  <jasonr@gnu.org>
1989         * addpm.c (env_vars): Remove EMACSLOCKDIR.
1991         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
1992         (maybe-bootstrap-SH): New targets.
1993         (all): Depend on maybe-bootstrap.
1995 2002-05-03  Jason Rumney  <jasonr@gnu.org>
1997         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
1998         (sys_getpeername, fcntl): Declare as wrappers.
2000 2002-04-10  Juanma Barranquero  <lektu@terra.es>
2002         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2003         after compiling .el files.
2005 2002-03-20  Jason Rumney  <jasonr@gnu.org>
2007         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2008         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2010 2002-03-19  Kim F. Storm  <storm@cua.dk>
2012         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2013         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2014         (HAVE_SYS_UN_H): Undef.
2015         From David Ponce <dponce@voila.fr>.
2017 2002-03-13  Jason Rumney  <jasonr@gnu.org>
2019         * config.nt (STRFTIME_NO_POSIX2): Define.
2021 2002-02-18  Jason Rumney  <jasonr@gnu.org>
2023         * emacs.rc: Define VS_VERSION_INFO if not already.
2024         Update version info.
2026 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2028         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2029         pick up relevant bits of the Windows API definitions.
2031         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2032         pick up relevant bits of the Windows API definitions.
2034 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2036         * makefile.w32-in (bootstrap): Build addsection program before
2037         bootstrap (required for post-processing temacs.exe).
2039 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2041         * COPYING: New file.
2043 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2045         * makefile.w32-in (bootstrap-nmake):
2046         (bootstrap-gmake): Extend bootstrap process to first do
2047         bootstrap-clean in lisp dir and rebuild the DOC file.
2048         (bootstrap): Do a "normal" make after the bootstrap work.
2050 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2052         * INSTALL: Update table of versions of make that are suitable
2053         for building Emacs, based on recent feedback.
2055         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2057 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2059         * ftime-nostartup.bat: New file.
2061         * ftime.bat: Don't include libc.lib for profiling - the profiler
2062         corrupts part of memcpy.
2064 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2066         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2067         expansion.  From Juanma Barranquero <lektu@terra.es>.
2069 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2071         * (Version 21.1 released.)
2073 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2075         * inc/pwd.h (uid_t, gid_t): New typedefs.
2077 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2079         * Branch for 21.1.
2081 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2083         * README: Update the address of the mailing list and subscription
2084         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2086 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2088         * INSTALL: Suggest to avoid using WinZip.
2090         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2092 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2094         * INSTALL: Mention that "make install" can be "nmake install".
2096 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2098         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2099         since some versions of `mkdir' don't automatically create parent
2100         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2102 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2104         * subdirs.el: New file.
2106         * configure.bat: Copy subdirs.el to the site-lisp directory.
2108         * makefile.w32-in (install): Copy subdirs.el to the installation
2109         directory.
2111 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2113         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2115 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2117         * gmake.defs (sh_output): Don't use $(warning ...) to output
2118         messages, since that is not supported by GNU make 3.77.
2120 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2122         * INSTALL: Clarify that building with MSVC requires nmake.
2124 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2126         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2127         message that is to be ignored.
2129 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2131         * TODO: Remove file, since it is completely out of date.
2133         * README: Add copyright notice.
2135         * INSTALL: Add copyright notice.
2137 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2139         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2140         the environment.
2142         * gmake.defs (SETLOADPATH): Remove definition.
2143         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2144         environment.
2146 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2148         * configure.bat: Make the checkw32api* labels be distinct in the
2149         first 8 characters.
2151 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2153         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2154         escaped quotes.
2156         * gmake.defs (DEBUG_LINK): New macro.
2157         (LINK_FLAGS): Use it.
2159         * nmake.defs (DEBUG_LINK): New macro.
2160         (LINK_FLAGS): Use it.
2162 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2164         * INSTALL: Add --ldflags to configure line for building with
2165         recent versions of Cygwin GCC.
2167 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2169         * configure.bat: Use correct options when compiling a test program
2170         with Cygwin.  From David Ponce <dponce@voila.fr>.
2172 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2174         * _emacs: Remove obsolete file.
2176         * emacs.bat.in: Remove obsolete file.
2178         * debug.bat.in: Remove obsolete file.
2180         * inc/sys/socket.h: Add copyright notice.
2182         * paths.h: Add copyright notice.
2184         * makefile.nt: Update copyright notice.
2186         * makefile.def: Update copyright notice.
2188         * configure.bat: Update copyright notice.
2190         * nmake.defs: Add copyright notice.
2192         * gmake.defs: Add copyright notice.
2194         * makefile.w32-in: Add copyright notice.
2196 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2198         * nmake.defs (THISDIR): New definition.
2200         * gmake.defs (THISDIR): New definition.
2202 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2204         * configure.bat: Leave a space before >> only when there is a
2205         preceding digit.  Add a comment about the importance of this.
2207         * README: Replace outdated information.
2209         * INSTALL (Trouble-shooting): Add note about need to specify extra
2210         compiler flags with recent Cygwin ports of gcc.
2212 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2214         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2215         is not supported by Windows 9X's COMMAND.COM.
2217 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2219         * configure.bat: Make sure redirection is preceded by a blank, to
2220         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2221         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2223 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2225         * INSTALL: Copy the table of tested combinations of development
2226         tools from configure.bat.  Add suggestion to install Bash on
2227         Windows 9X.
2229         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2230         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2231         needs to be deleted, since command.com in Windows 9X doesn't grok
2232         more than one argument.
2234 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2236         * makefile.w32-in (cleanall-other-dirs-nmake):
2237         (cleanall-other-dirs-gmake): New targets.
2238         (cleanall): Invoke them.
2240 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2242         * addpm.c (env_vars): Add a version-independent site-lisp
2243         directory to EMACSLOADPATH, after the version dependent one.
2245 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2247         * README: Update info about compilers.
2249         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2250         select correct rule for invoking make in another directory.
2251         Amend rules accordingly.
2252         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2254         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2255         (COMPILER_TEMP_FILES): New definition.
2256         (MAKETYPE): New definition.
2258         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2259         (COMPILER_TEMP_FILES): New definition.
2260         (MAKETYPE): New definition.
2262         * makefile.def (EMACS_ICON_PATH): Delete definition.
2264         * configure.bat: Be careful not to add trailing spaces when
2265         outputting to config.settings.
2267 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2269         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2270         than the function.
2272 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2274         * makefile.w32-in (install): Copy directories to the correct
2275         places.
2276         (real_install): Remove obsolete target.
2278 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2280         * nmake.defs (CURDIR): New define.
2281         (INSTALL_DIR): Use it.
2283         * gmake.defs (NEW_CYGWIN): New define.
2284         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2285         so we need to adjust how we escape embedded quotes.
2286         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2287         relative to $(CURDIR).
2289 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2291         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2293 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2295         * makefile.w32-in (recompile): New target to recompile lisp
2296         directory.
2297         (recompile-CMD, recompile-SH): New support targets.
2299 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2301         * config.nt (NO_RETURN): Define it.
2303 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2305         * gmake.defs: Revert to Unix line endings.
2307         * nmake.defs: Revert to Unix line endings.
2309 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2311         * gmake.defs (SETLOADPATH): Change definition to work from any
2312         subdirectory.
2314 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2316         * makefile.w32-in: Revert to Unix line endings.
2318 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2320         * INSTALL: Add note about expected error messages when configure
2321         is run.
2323         * configure.bat: Simplify the generation of makefiles (don't need
2324         to generate various top-level targets that invoke make in other
2325         directories).
2327         * gmake.defs (SHELLTYPE): New define.
2328         (SETLOADPATH): New define.
2330         * nmake.defs (SHELLTYPE): New define.
2332         * makefile.w32-in: Standardize indentation somewhat.
2333         Add bootstrap support.
2334         Pass $(MFLAGS) when invoking make recursively.
2335         Add shell-specific variants of top-level targets that invoke make
2336         recursively in other directories, and add necessary computed
2337         dependencies.
2339 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2341         * makefile.w32-in: Change to DOS line endings.
2343         * configure.bat: Change to DOS line endings.
2345         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2346         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2348         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2349         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2351         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2352         -D_ANONYMOUS_STRUCT on compile line.
2353         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2354         (ARCH_CFLAGS): Change optimization flags to -O2.
2355         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2356         (ARGQUOTE, DQUOTE): New defines.
2358         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2359         -D_ANONYMOUS_STRUCT on compile line.
2360         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2361         (ARGQUOTE, DQUOTE): New defines.
2363 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2365         * configure.bat: New file.
2367         * gmake.defs: New file.
2369         * nmake.defs: New file.
2371         * makefile.w32-in: New file.
2373         * INSTALL: Rewrite to match new configure process.
2375         * config.nt [WINDOWSNT]: Don't declare getenv.
2376         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2378         * addpm.c (main): Accept /q to mean install based on addpm's
2379         location without asking.  Remove reference to emacs.bat which is
2380         now obsolete.
2382         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2384         * paths.h: Use forward slash as directory separator in all path
2385         definitions.
2386         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2388         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2390         * runemacs.c: Remove WIN32 define.
2392         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2393         not defined.
2395         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2396         (fd_set): Define to new name, after including winsock.h, so we can
2397         provide our own implementation.
2399 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2401         * ebuild.bat: Add support for specifying make arguments.
2403         * makefile.nt: Add support for `bootstrap' and related targets.
2405 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2407         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2409 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2411         * inc/sys/time.h: Add inclusion protection.
2413         * makefile.def (SYS_LDFLAGS): Add -nologo.
2415 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2417         * install.bat: Pass on command line arguments to make.
2419         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2421 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2423         * makefile.nt (all): Build leim if present.
2424         (install): Install leim if present.
2425         (clean): Clean leim if present.
2427         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2428         definition.
2430         * emacs.bat.in (EMACSLOADPATH): Include leim.
2432 1999-07-12  Richard Stallman  <rms@gnu.org>
2434         * Version 20.4 released.
2436 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2438         * emacs.rc: Use an icon with a transparent background, to be in
2439         keeping with other applications.
2441 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2443         * preprep.c: Fix typo.
2445 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2447         * config.h: Remove obsolete file.
2449         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2450         couple of unused switch cases that aren't defined on all
2451         platforms.
2453         * ftime.bat: Add another variation of the profile command, which
2454         only profiles extended commands.
2456 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2458         * cmdproxy.c (main): Fix parens.
2460 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2462         * cmdproxy.c (main): Call GetShortPathName to normalize program
2463         names for comparison.
2465 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2467         * makefile.def: Compile multiple .c files when possible.
2468         Use BLD instead of assuming i386.
2469         * makefile.nt: Remove common multiple file compilation commands.
2471 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2473         * cmdproxy.c (main): Add missing parens.
2475 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2477         * preprep.c: New program to allow dumped image to be profiled.
2479         * makefile.nt (preprep): New target.
2480         (ALL): Build it.
2482         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2484         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2485         Change prep options to profile libc functions and skip the startup
2486         code.
2488 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2490         * makefile.nt: Create installation directory as first step.
2492 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2494         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2495         ROUND_UP_DST.  Zeroes the alignment slop.
2496         (copy_executable_and_add_section): Update the
2497         SizeOfHeaders field properly.
2499 1999-01-27  Andrew Innes  <andrewi@gnu.org>
2501         * makefile.nt: Do make version comparison as strings.
2503 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
2505         * runemacs.c (WinMain): Pass explicit environment block to
2506         CreateProcess, to work around a bug in Windows 95/98.
2508 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
2510         * icons: New directory with Davenport's icons.
2511         * icons/sink.ico: Renamed from emacs.ico.
2513         * makefile.nt (install, fast_install): Install Windows icons
2514         into etc/icons.
2516         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2518 1999-01-17  Andrew Innes  <andrewi@gnu.org>
2520         * makefile.nt (ALL): List top-level targets.
2521         (addsection): New top-level target.
2522         (install): Copy fns-*.el to bin directory.
2524         * addsection.c: New program to add static heap section to
2525         temacs.exe after linking, in support of new unexec method.
2527 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
2529         * cmdproxy.c (spawn): Pass directory for child as parameter.
2530         (main): Save startup directory to give to spawn, then change
2531         directory to location of .exe in order not to prevent startup
2532         directory from being deleted.
2534 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
2536         * makefile.nt: Do string comparison of _NMAKE_VER.
2538 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
2540         * config.nt (LOCALTIME_CACHE): Define.
2542 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
2544         * install.bat: Convert to DOS format.
2546 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
2548         * cmdproxy.c (main): Set environment size only when running
2549         command.com.
2551 1998-11-03  Theodore Jump  <tjump@tertius.com>
2553         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
2554         (DEL_TREE): Use rd instead of rmdir.
2555         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
2556         * makefile.nt: Compile multiple source files when possible.
2558 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
2560         * cmdproxy.c (main): Treat command line options as case-insensitive.
2562 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
2564         * Version 20.3 released.
2566 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
2568         * addpm.c (main): Explicitly check result of message box for OK.
2570 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
2572         * inc/sys/file.h (D_OK): Define new macro.
2574 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
2576         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
2578 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
2580         * emacs.rc (VS_VERSION_INFO): Define.
2582 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
2584         * makefile.nt (emacs.bat, debug.bat): Create them in the
2585         installation directory.
2587 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
2589         * ddeclient.c: New file.  (Support program for performing limited
2590         interprocess communication on Windows.)
2592         * makefile.nt: Build ddeclient.
2594         * cmdproxy.c (main): Only set environment size for real shell, and
2595         provide extra directory argument, when running on Windows 95.
2597 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
2599         * cmdproxy.c (fail): Exit with a negative return value.
2600         (spawn): Return subprocess return code as an argument.
2601         Explicitly copy environment block.
2602         (main): Update to use return value argument with spawn.
2603         Retry if spawn failed when a subshell was not tried.
2605         * config.nt: Include new macros from src/config.in.
2606         (GNU_MALLOC, REL_ALLOC): Define.
2607         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
2608         (RE_TRANSLATE): Use char_table_translate.
2610         * makefile.def (CP_DIR): Preserve attributes.
2612         * makefile.nt (clean): Delete patch generated files, optimized
2613         build directory.
2615 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
2617         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
2619 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2621         * Version 20.2 released.
2623 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2625         * Version 20.1 released.
2627 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
2629         * debug.bat.in: New file.
2630         * makefile.nt (debug.bat): New target.
2632 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
2634         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
2635         Quote group name.  Allow different icons to be specified.
2637         * cmdproxy.c (get_env_size): New function.
2638         (spawn): Explicitly pass in environment when creating subprocess.
2639         (main): Cleanup error messages.
2640         Specify dynamically sized environment block for real shell.
2641         Pass on unhandled switches to real shell.
2642         Quote program name.
2644         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
2645         directory.
2646         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
2648         * runemacs.c (WinMain): Allow Emacs process to be started with
2649         high or low priority.
2651         * emacs.bat.in: Remove OS dependent operations.
2653 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
2655         * addpm.c (env_vars): No longer set INFOPATH.
2657         * cmdproxy.c (get_next_token): Null terminate token returned.
2659         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
2661 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
2663         * addpm.c (env_vars): Set SHELL to cmdproxy.
2664         (main): Initialize idDde to 0.
2665         Determine emacs_path from module file name.
2666         Prompt for install.
2668         * makefile.def (MSVCNT11): Conditionally define it.
2669         (BASE_LIBS): Do not use oldnames.lib.
2670         (SYS_LDFLAGS): Use pdb files.
2671         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
2672         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
2673         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
2675         * makefile.nt (ALL): Build cmdproxy.
2676         (cmdproxy): New target.
2677         (install): Install cmdproxy.
2679         * ftime.bat, debug.bat, cmdproxy.c: New files.
2681 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
2683         * inc/sys/socket.h (shutdown): Define.
2684         (sys_shutdown): Export.
2686 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2688         * config.nt (RE_TRANSLATE): Copy definition from config.in.
2690 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
2692         * config.nt: Update file comments.
2693         Update undefs added/removed in src/config.in.
2695 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
2697         * makefile.def, emacs.bat: Use windows95 and windowsnt instead
2698         of win95 and winnt, respectively.
2700 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
2702         * makefile.nt (real_install): Create site-lisp in installation dir.
2703         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
2704         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
2706 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2708         * Version 19.33 released.
2710 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
2712         * runemacs.c (WinMain): Put a space between the binary and its args.
2714 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2716         * Version 19.32 released.
2718 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
2720         * makefile.nt (clean): Use OBJDIR macro.
2722 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
2724         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
2725         Not defined by default.
2726         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
2727         (WinMain): Convert backslashes to slashes in env var values.
2729         * addpm.c (env_vars): Use slashes, not backslashes.
2731 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2733         * Version 19.31 released.
2735 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
2737         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
2738         undo settings afterwards.
2740 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
2742         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
2743         environment variable.
2745 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
2747         * install.bat: Allow for optimized build.
2748         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
2749         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
2751 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
2753         * addpm.c (REG_ROOT): Don't use a trailing backslash.
2754         (env_vars): Rename field emacs_path to emacs_dir.
2755         (main): Add link to runemacs instead of emacs.
2757         * install.bat: Check if INSTALL_DIR is passed as an argument.
2759         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
2761         * makefile.nt: Build and install runemacs.exe.
2763         * runemacs.c: New file.
2765         * config.w95: File removed.
2767         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
2768         inc/sys/socket.h, inc/sys/time.h: New header files.
2770         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
2772 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
2774         * makefile.def (DEL): Defined.
2775         (DEL_TREE) [win95]: Defined.
2776         (SYS_LDFLAGS): Set executable versions to 3.10.
2778         * makefile.nt: Change uses of del to $(DEL).
2780 1996-01-17  Erik Naggum  <erik@naggum.no>
2782         * All files: Update FSF's address in comment preamble.
2784 1996-01-03  George V. Reilly  <georger@microcrafts.com>
2786         * emacs.ico: Now the proverbial kitchen sink icon.
2788 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2790         * Version 19.30 released.
2792 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
2794         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
2796         * makefile.nt (install, fast_install, real_install, clean):
2797         Don't use switches to del not supported by Windows 95.
2799 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
2801         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
2802         (install, fast_install): Change same-dir test to create test file in
2803         installation tree and thereby support read-only shares.
2804         (clean): Remove .pdb files.
2806         * makefile.def (NTGUI): New macro.
2807         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
2809         * config.nt, config.w95: Update to latest src/config.in.
2811         * addpm.c (env_vars): New variable.
2812         (add_registry): New procedure.
2813         (main): Use values of configuration environment variables from
2814         the registry if defined, the process environment otherwise.
2816 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2818         * Version 19.29 released.
2820         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
2822 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
2824         * makefile.nt: Define .c to .obj suffix rule.
2825         (addpm.obj): Compile directly, use CFLAGS.
2826         (addpm.exe): Link from addpm.obj.
2828         * makefile.def (MSVCNT11): Defined.
2829         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
2830         (CFLAGS_COMMON): Defined.
2831         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
2833 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
2835         * emacs.bat.in: Renamed from emacs.bat.
2836         (emacs_dir): Rename from emacs_path.
2837         Definition removed.
2839         * addpm.c: New file.
2840         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
2841         (all): Depend upon $(BLD) and $(ALL).
2842         (install): Depend upon emacs.bat.
2843         Create program item for Emacs.
2844         (clean): Delete obj.
2845         (emacs.bat): Defined.
2846         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
2848 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
2850         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
2851         Add carriage returns; necessary for batch files on Windows 95.
2853 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
2855         * config.w95: Created.
2856         * config.h: Changed to config.nt.
2858         * makefile.nt (SUBDIRS): Commented out.
2859         (all, install, clean): Expand for-loops.
2860         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
2862         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
2863         (ARCH): New definition.
2864         (CPU, CONFIG_H, OS_TYPE): Defined.
2865         (INCLUDE, LIB): Checked if valid.
2866         (ntwin32.mak): Included.
2867         (AR, CC, LINK): New definition.
2868         (ADVAPI32, libc, BASE_LIBS): Defined.
2869         (SYS_LDFLAGS): New definition.
2870         Update comments and preprocessor conditionals.
2872         * emacs.bat (SHELL): Conditionally defined.
2873         (HOME): Conditionally defined.
2874         (emacs_path, HOME): Update comments.
2875         Turn off all echo.
2877 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
2879         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
2880         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
2881         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
2882         inc/sys/param.h: Removed carriage-returns.
2884 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
2886         * makefile.def (CVTRES): Defined.
2888         * emacs.ico, emacs.rc: New files by Kevin Gallo.
2890 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
2892         * src: Remove directory.
2894         * src\config.h, src\paths.h: Moved to parent dir, src removed.
2896 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
2898         * makefile.def (INSTALL_DIR): Change to generic directory.
2900         * emacs.bat: Added arguments when emacs.exe invoked.
2902         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
2904 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
2906         * makefile.def (CC): In configuration section.
2907         (COMPAT_LIB): Defined.
2909 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
2911         * src/paths.h: New file.
2913         * src/config.h: New file.
2915         * inc/pwd.h: New file.
2917         * inc/sys/dir.h: New file.
2919         * inc/sys/file.h: New file.
2921         * inc/sys/ioctl.h: New file.
2923         * inc/sys/param.h: New file.
2925         * todo: New file.
2927         * README: New file.
2929         * makefile.nt: New file.
2931         * makefile.def: New file.
2933         * install.cmd: New file.
2935         * INSTALL: New file.
2937         * fast-install.cmd: New file.
2939         * emacs.cmd: New file.
2941         * ebuild.cmd: New file.
2943         * _emacs: New file.
2945 ;; Local Variables:
2946 ;; coding: utf-8
2947 ;; add-log-time-zone-rule: t
2948 ;; End:
2950   Copyright (C) 1995-1999, 2001-2013 Free Software Foundation, Inc.
2952   This file is part of GNU Emacs.
2954   GNU Emacs is free software: you can redistribute it and/or modify
2955   it under the terms of the GNU General Public License as published by
2956   the Free Software Foundation, either version 3 of the License, or
2957   (at your option) any later version.
2959   GNU Emacs is distributed in the hope that it will be useful,
2960   but WITHOUT ANY WARRANTY; without even the implied warranty of
2961   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2962   GNU General Public License for more details.
2964   You should have received a copy of the GNU General Public License
2965   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.