MS-Windows followup for 2013-02-11T23:37:18Z!eggert@cs.ucla.edu.
[emacs.git] / nt / ChangeLog
blob1d3f7b7f49fcd528fe95e9ca9190dda9ea807f54
1 2013-02-12  Eli Zaretskii  <eliz@gnu.org>
3         * inc/ms-w32.h: Add prototype for memrchr.
5 2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
7         Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
8         * inc/sys/stat.h (fstatat):
9         * inc/unistd.h (readlinkat): New decls.
11 2013-01-28  Eli Zaretskii  <eliz@gnu.org>
13         * inc/dirent.h (opendir): Update prototype.
15 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
17         * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
18         used in term.c.  (Bug#13387)
20 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
22         * config.nt: Sync with autogen/config.in.
23         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
25 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
27         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
28         in lib/filemode.c that broke the MS-Windows build.
29         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
31 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
33         * config.nt: Sync with autogen/config.in.
34         (BSD4_2): Remove.
36 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
38         * inc/sys/acl.h: New file.
40         * inc/ms-w32.h (ENOTSUP): Define if undefined.
42         * config.nt (HAVE_POSIX_ACL): Define.
44 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
46         * inc/ms-w32.h (sys_unlink): Provide prototype.
48 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
50         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
52 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
54         * config.nt: Sync with autogen/config.in.
55         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
57 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
59         * config.nt: Sync with autogen/config.in.
60         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
61         (ULIMIT_BREAK_VALUE): Remove.
63 2012-12-10  Daniel Colascione  <dancol@dancol.org>
65         * emacs.rc: Use forward slashes in relative paths in order to
66         avoid complaints from Cygwin.  (Forward slashes work perfectly
67         well in the NT build.)
69 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
71         * inc/unistd.h (unsetenv): Provide a prototype.
73 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
75         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
76         (sys_putenv): Add prototype.
78         * config.nt (HAVE_UNSETENV): Define to 1.
80 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
82         * config.nt: Sync with autogen/config.in.
84 2012-11-24  Ken Brown  <kbrown@cornell.edu>
86         * config.nt (HAVE_MOUSE): Remove.
88 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
90         * config.nt: Sync with autogen/config.in.
91         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
92         Remove.
94 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
96         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
97         (Bug#12955)
99         * nmake.defs (SWITCHCHAR): Define to /.
101 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
103         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
104         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
105         (struct dirent): Rename from struct direct.  All uses changed.
106         * inc/sys/dir.h: Remove.
108 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
110         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
111         * config.nt (HAVE_GETCWD): Remove.
113 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
115         * nmake.defs: Use !if, not !ifdef.  For the details, see
116         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
118         * inc/stdint.h (INTPTR_MIN):
119         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
121 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
123         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
125 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
127         * config.nt: Sync with autogen/config.in.
128         (HAVE_FPATHCONF): Remove.
130 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
132         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
133         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
134         POSIX name for this flag is O_NONBLOCK.  All uses changed.
135         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
136         these really should be moved to a replacement <fcntl.h> if and
137         when that gets implemented.  In the meantime, include <fcntl.h>
138         to make sure we don't override its definitions.
140 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
142         * inc/sys/wait.h: New file, with prototype of waitpid and
143         definitions of macros it needs.
145         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
146         (sys_wait): Remove prototype.
148         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
150 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
152         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
153         to check if it's installed, redirect standard output and standard
154         error to the null device.
155         (ZIP_DIST): Don't build the "barebin" distribution.
157 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
159         * config.nt: Sync with autogen/config.in.
160         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
161         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
162         New macros.
164 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
166         * inc/unistd.h (faccessat): Add prototype.
167         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
168         2 moved from ms-w32.h.
170         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
172 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
174         Use faccessat, not access, when checking file permissions (Bug#12632).
175         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
176         (access): Remove.
177         (faccessat): New macro.
179 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
181         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
183 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
185         * config.nt: Sync with autogen/config.in.
186         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
187         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
189 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
191         * config.nt: Sync with autogen/config.in.
192         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
194 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
196         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
198 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
200         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
202         * config.nt (GETPGRP_VOID): Define to 1.
204 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
206         * config.nt: Sync with autogen/config.in.
208 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
210         * inc/pwd.h (getuid, geteuid): Add prototypes.
212         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
213         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
214         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
215         (sys_kill, getpagesize): Add prototypes for emulated functions.
217         * inc/grp.h (getgid, getegid): Add prototypes.
219         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
221         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
222         compiling with -std=gnu99.
224         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
225         could be used via --cflags switch to configure.bat.
227 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
229         * config.nt: Sync with autogen/config.in.
230         (HAVE_NTGUI): New macro.
232 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
234         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
235         compiler warnings when using the value.
237 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
239         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
240         'void *', for pointer arithmetics.
241         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
242         macro arguments in parentheses.
244 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
246         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
248 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
250         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
251         that are already defined.
253         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
254         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
255         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
257         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
258         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
259         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
260         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
261         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
262         Use DWORD_PTR instead of DWORD for compatibility with x64.
264         * nmake.defs: Support AMD64.
265         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
267         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
268         New macros.
270         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
271         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
272         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
273         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
274         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
275         DWORD, for compatibility with x64.
277         * emacs-x64.manifest: New file.
279         * emacs-x86.manifest: Renamed from emacs.manifest.
281 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
283         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
284         (struct itimerval): Define.
285         (getitimer, setitimer): Add prototypes.
287         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
288         with MinGW.
289         (SA_RESTART, SIGPROF): Define.
291         * config.nt (HAVE_SETITIMER): Define to 1.
293 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
295         * config.nt: Sync with autogen/config.in.
297 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
299         * config.nt: Sync with autogen/config.in.
300         (HAVE_TIMER_SETTIME): New macro.
302 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
304         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
306 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
308         Simplify and avoid signal-handling races (Bug#12471).
309         * inc/ms-w32.h (emacs_raise): New macro.
311 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
313         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
314         defined, as needed by giflib-5.0.0.  (Bug#12464)
316 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
318         * config.nt: Sync with autogen/config.in.
319         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
321 2012-09-17  Glenn Morris  <rgm@gnu.org>
323         * config.nt (COPYRIGHT): New.
325 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
327         Port _setjmp fix to POSIXish hosts as well as Microsoft.
328         * config.nt: Attempt to sync with autogen/config.in.
329         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
330         (_longjmp, _setjmp): Remove.
332 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
334         * config.nt: Sync with autogen/config.in.
335         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
336         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
337         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
339 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
341         * config.nt: Sync with autogen/config.in.
342         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
343         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
345 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
347         * configure.bat <use_extensions>: Don't leave it set in the
348         environment when the script exits.
350 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
352         * config.nt: Sync with autogen/config.in.
353         (NO_ABORT, SIGNAL_H_AHB): Remove.
355 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
357         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
359 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
361         * config.nt: Sync with autogen/config.in.
363 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
365         Simplify redefinition of 'abort' (Bug#12316).
366         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
368 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
370         * config.nt: Sync with autogen/config.in.
371         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
373 2012-09-01  Daniel Colascione  <dancol@dancol.org>
375         * inc/ms-w32.h (TERM_HEADER): Add for refactoring
377 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
379         * config.nt: Sync with autogen/config.in.
381 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
383         * config.nt: Sync with autogen/config.in.
384         (HAVE_POSIX_OPENPT): New macro.
386 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
388         * config.nt: Sync with autogen/config.in.
389         (_GL_INLINE_HEADER_BEGIN): Update.
391 2012-08-10  Glenn Morris  <rgm@gnu.org>
393         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
395 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
397         * config.nt: Sync with autogen/config.in.
398         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
399         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
401         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
403 2012-08-06  Glenn Morris  <rgm@gnu.org>
405         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
406         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
408 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
410         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
411         (PATH_DATA, PATH_DOC): Replace dummy directory names with
412         directories relative to %emacs_dir%.
413         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
414         to the use case of running un-installed Emacs.
416 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
418         * config.nt: Sync with autogen/config.in.
419         (DOS_NT, MSDOS): New macros.
420         (WRETCODE, wait3): Remove.
422         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
424 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
426         * inc/sys/stat.h (S_IFLNK): Define.
427         (S_ISLNK): A non-trivial definition.
428         (lstat): Prototype instead of a macro that redirects to 'stat'.
430 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
432         Use C99-style 'extern inline' if available.
433         * config.nt: Sync with autogen/config.in.
434         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
435         (_GL_INLINE_HEADER_END): New macros.
437 2012-08-02  Glenn Morris  <rgm@gnu.org>
439         * inc/ms-w32.h: Move here from ../src/s.
440         * config.nt (config_opsysfile): Change to <ms-w32.h>.
442 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
444         * config.nt: Sync with autogen/config.in.
445         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
446         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
447         New macros.
449 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
451         * config.nt: Sync with autogen/config.in.
452         Remove code moved to conf_post.h and include <conf_post.h>
453         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
454         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
456 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
458         * config.nt: Sync with autogen/config.in.
459         (HAVE_ENVIRON_DECL): New macro.
461 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
463         * inc/stdalign.h (_Alignas, alignas): Define.
465 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
467         Use Gnulib stdalign module (Bug#9772, Bug#9960).
468         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
470 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
472         * config.nt: Sync with autogen/config.in.
473         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
474         (SETUP_SLAVE_PTY): New macros.
476 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
478         * config.nt: Sync with autogen/config.in.
479         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
480         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
481         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
482         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
483         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
484         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
485         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
486         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
487         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
488         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
489         Set in src/s/ms-w32.h, not here.
491 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
493         * config.nt: Sync with autogen/config.in.
494         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
495         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
496         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
498 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
500         * config.nt: Sync with autogen/config.in.
502 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
504         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
506 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
508         * config.nt: Sync with autogen/config.in.
510 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
512         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
514 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
515             Eli Zaretskii  <eliz@gnu.org>
517         * config.nt: Complete rework to bring it in sync with autogen/config.in.
518         All Windows-specific code moved to src/s/ms-w32.h.
520 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
521             Eli Zaretskii  <eliz@gnu.org>
523         * configure.bat (enablechecking): Enable checks through src/config.h,
524         not the compiler's command line.
526         * nmake.defs (CHECKING_CFLAGS): Remove.
527         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
529         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
530         (CHECKING_CFLAGS): Remove.
531         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
533 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
535         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
536         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
537         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
538         (HAVE_MEMCMP): Remove, obsolete.
540 2012-06-30  Glenn Morris  <rgm@gnu.org>
542         * paths.h (PATH_SITELOADSEARCH): New.
544 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
546         * nmake.defs (CHECKING_CFLAGS):
547         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
549 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
551         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
553 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
555         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
556         * config.nt (_Noreturn): New macro.
557         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
558         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
560 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
562         * inc/sys/time.h (struct timespec): Don't define it here, it is
563         now defined in src/s/ms-w32.h.
565 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
567         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
568         * inc/sys/time.h (struct timespec): Define.
570 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
572         * makefile.w32-in (install-addpm): New target.
573         (dist): Depend on it.
574         (install-shortcuts): Depend on install-addpm instead of copying
575         addpm.exe as part of the recipe.  See
576         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
577         for the related problem and discussions.
579 2012-06-11  Glenn Morris  <rgm@gnu.org>
581         * config.nt (SYSTEM_TYPE): Define it.
583 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
585         * configure.bat (genmakefiles): Move the redirection away from the
586         end of the command, to avoid excess whitespace at the end of Make
587         variables created at configure time, and also avoid things like
588         "FOO1>>config.settings", where "1" gets interpreted as the file
589         descriptor and eaten up.  This fixes breakage introduced by the
590         last change, without reintroducing the bug fixed by that change.
592 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
594         * nmake.defs (MWINDOWS): Define as
595         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
596         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
598         * gmake.defs (MWINDOWS): Define as "-mwindows".
600 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
602         * config.nt (HAVE_SYSINFO): Remove; unused.
604 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
606         * inc/stdalign.h: New file.
608         * configure.bat: Ensure a space between %var% expansion and
609         redirection symbol '>', which breaks when %var% ends in a digit,
610         such as 1.
612 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
614         Remove src/m/*.
615         * config.nt: Do not include "m/intel386.h"; file was removed.
616         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
617         Move to src/lisp.h.
618         (EMACS_INT_MAX): New macro.
620 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
622         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
623         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
625         * config.nt (HAVE_FTIME): Remove undef; not needed.
627 2012-05-01  Glenn Morris  <rgm@gnu.org>
629         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
631 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
633         * makefile.w32-in: Fix typo (Bug#10261).
635 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
637         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
638         each runs makeinfo in its own subdirectory of 'doc'.
639         (info-gmake): Depend on these new targets.
641 2012-04-07  Glenn Morris  <rgm@gnu.org>
643         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
644         Bump version to 24.1.50.
646 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
648         * configure.bat: Support building with libxml2.
650         * INSTALL:
651         * README.W32: Add information about libxml2.
653 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
655         * makefile.w32-in: Convert to Unix EOL format.
656         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
657         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
658         (bootstrap-gmake): Invoke the "clean" and build targets in 2
659         separate commands, so they run in that order even under "make -j".
661 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
663         * config.nt: Discourage from defining HAVE_GETCWD.
665 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
667         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
668         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
669         on other (parallel) Make job's toes.
670         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
671         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
672         here.
673         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist): Depend
674         on create-tmp-dist-dir.
676         * nmake.defs (DIRNAME): New variable.
677         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
678         same-dir.tst.
680         * gmake.defs (DIRNAME): New variable.
681         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
682         same-dir.tst, to avoid conflicts between several (parallel) Make
683         jobs.
685 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
687         Prevent endless re-spawning of cmdproxy.exe when some of its
688         parent directories have access limitations.
690         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
691         and our own module name to short 8+3 aliases, if the original file
692         names compare equal.  If GetShortPathName fails, compare the base
693         names of the two file names, and only re-spawn the command line if
694         the base-name comparison also fails.  (Bug#10674)
696 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
698         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
700 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
702         * README.W32: Removed specific version information for libXpm
703         included in the binary distribution for maintenance purposes.
705 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
707         * README.W32: Clarification for inclusion in source tarball (bug#9750).
709         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
711         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
713         * makefile.w32-in (maybe-copy-distfiles)
714         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
715         (create-tmp-dist-dir): Add to make --distfiles optional.
716         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
718 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
720         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
721         by other headers.
723 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
725         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
726         (UINT64_MAX) [_WIN64]: Fix definition.
727         (uintmax_t, intmax_t): Fix definitions.
729         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
730         Provide correct definitions.
732         * config.nt (HAVE_DECL_STRTOLL): Define.
733         (va_copy) [_WIN64]: Provide a better definition.
735 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
737         * configure.bat: Fix typos.
739 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
741         * INSTALL: Elaborate on debugging fatal errors.
743 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
745         * README.W32: Update the GTK Windows download URL for libpng.
747 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
749         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
751 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
753         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
754         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
755         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
756         (intmax_t, INT64_MAX): Add for MSVC.
758         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
760 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
762         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
764         Support MSVC build with newer versions of Visual Studio.
765         * makefile.w32-in (clean-other-dirs-nmake)
766         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
767         Update for current structure of doc/ subdirectories.
769         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
771         * INSTALL: Update for newer versions of MSVC.
773 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
775         Support MSVC build with newer versions of Visual Studio.
776         * nmake.defs (USE_CRT_DLL): Define to 1.
777         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
778         (D): New variable.
780 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
782         * runemacs.c (ensure_unicows_dll): New function, tries to load
783         UNICOWS.DLL on Windows 9X.
784         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
785         display a dialog to the effect that Emacs cannot be started.
786         (Bug#8562)
788 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
790         * README.W32: Mention UNICOWS.DLL as prerequisite for running
791         Emacs on Windows 9X.
793 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
795         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
796         distribution.  (Bug#9861)
798 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
800         * INSTALL: Update URL for GTK download page.
802 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
804         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
805         (Bug#9794) (Bug#641)
807 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
809         * config.nt (HAVE_SNPRINTF): New macro.
811 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
813         Assume freestanding C89 headers, string.h, stdlib.h.
814         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
815         (STDC_HEADERS): Remove.
816         Iinclude string.h, stdlib.h unconditionally.
818 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
820         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
821         [!__GNUC__]: New macros.
823 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
825         Use 'inline', not 'INLINE'.
826         * config.nt (INLINE): Remove.
828 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
830         * README.W32: Add information about GnuTLS libraries.
832 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
834         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
836 2011-05-07  Ben Key  <bkey76@gmail.com>
838         * configure.bat: Renamed the fusercflags variable to escusercflags
839         so that the variable name better matches its purpose, to be
840         identical to usercflags with the exception that all quotes are
841         escaped by the \ character.
843         Renamed the fuserldflags variable to escuserldflags so that the
844         variable name better matches its purpose, to be identical to
845         userldflags with the exception that all quotes are escaped by
846         the \ character.
848         A new ESC_USER_CFLAGS variable is written to config.settings.
849         This variable has the same value as the escusercflags variable.
851         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
852         This variable is identical to the CFLAGS variable except that it
853         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
855         These changes, along with some changes to src/makefile.w32-in,
856         are required to extend my earlier fix to add support for
857         --cflags and --ldflags options that include quotes so that it
858         works whether make uses cmd or sh as the shell.
860 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
862         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
863         definition of uintmax_t from here...
864         * inc/stdint.h (uintmax_t): ...to here.
865         (intptr_t) [!__GNUC__]: New typedef.
867 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
869         * config.nt: Prepare to configure 64-bit integers for older compilers.
870         However, temporarily disable this change unless the temporary
871         symbol WIDE_EMACS_INT is defined.
872         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
873         "%I64d" work but long long and "%lld" do not.
875 2011-05-05  Ben Key  <bkey76@gmail.com>
877         * configure.bat: Added support for --cflags and --ldflags
878         options that include quotes as long as command extensions are
879         enabled.  Specifically when -I, -L, and similar flags are used
880         to specify supplementary include and library directories a
881         directory name that includes spaces may now be used if it is
882         enclosed in quotes.
884         * INSTALL: Documented the change to configure.bat.
886 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
888         * INSTALL: Clarify GnuTLS support.
890 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
892         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
893         Define to 1 for MinGW of MSVC versions >= 1400.
895 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
897         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
899 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
901         * inc/inttypes.h: New file.
903         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
904         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
906 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
908         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
909         inside quotation marks and bail out.
911 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
913         * cmdproxy.c (try_dequote_cmdline): New function.
914         (main): Use it.
916 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
918         * configure.bat: New options --without-gnutls and --lib, new build
919         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
920         library setup with trivial modifications.
921         * INSTALL: Add instructions for GnuTLS support.
922         * gmake.defs: Prefix USER_LIBS with -l.
924 2011-04-15  Ben Key  <bkey76@gmail.com>
926         * configure.bat: Modified the code that parses the --cflags and
927         --ldflags options to support parameters that include the =
928         character as long as they are enclosed in quotes.
929         This functionality depends on command extensions.  Configure.bat now
930         attempts to enable command extensions and displays a warning
931         message if they could not be enabled.  If configure.bat could
932         not enable command extensions the old parsing code is used that
933         does not support parameters that include the = character.
935         * INSTALL: Updated the file to describe the new functionality
936         using text provided by Eli Zaretskii.
938 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
940         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
941         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
942         on the trunk on 2011-04-06.
944 2011-03-27  Glenn Morris  <rgm@gnu.org>
946         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
948 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
950         * addpm.c (main): Remove unused variable `retval'.
952         * preprep.c (main): Remove unused variable `ptr'.
954 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
956         * cmdproxy.c: Include <ctype.h>.
957         (make_absolute): Remove unused variable `i'.
959 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
961         * Version 23.3 released.
963 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
965         * inc/unistd.h (readlink, symlink): Declare prototypes.
967 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
969         * config.nt (nlink_t): Define.
971 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
973         * inc/stdint.h: New file, to support compilation with tool chains
974         that do not have stdint.h (e.g. MSVC).
976 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
978         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
979         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
980         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
981         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
982         (lstat): Define to stat.
984 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
986         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
987         "make-docfile" target in lib-src, before bootstrapping the src
988         directory.  Needed since building in src needs to run make-docfile
989         to produce globals.h.
991 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
993         * config.nt (inline) [__GNUC__]: Define (for gnulib).
995 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
997         * config.nt (VERSION): Uncomment definition.
998         (restrict): Define.
1000         * inc/stdbool.h: New file.
1002 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1004         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1005         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1006         (bootstrap-clean-gmake, clean-other-dirs-nmake)
1007         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1008         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1009         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1010         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1011         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1013         * configure.bat: Create lib/makefile.
1015         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1016         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1017         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1018         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1020 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1022         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1024 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1026         * configure.bat (end): Unset environment variables used by this
1027         batch file.
1029         * INSTALL: Update the information about PNG support libraries.
1030         (Bug#7716)
1032         * README.W32: Update the information about PNG support libraries.
1034 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1036         * config.nt (EXTERNALLY_VISIBLE): Define.
1038 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1040         * INSTALL: Refer to `dynamic-library-alist'.
1042 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1044         * INSTALL: Add note about problematic characters passed to configure.
1046 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1048         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1049         emacs-src.tags: New file.
1051         * gmake.defs: Add a comment with a single quote to fix
1052         fontification.  (Bug#7102)
1054 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1056         * configure.bat: Fix the condition for copying paths.h into
1057         ../src/epaths.h.
1059 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1061         * addpm.c (entry, add_registry, main):
1062         * addsection.c (file_data, open_input_file, open_output_file)
1063         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1064         (COPY_CHUNK):
1065         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1066         (skip_nonspace, get_next_token, search_dir, make_absolute)
1067         (spawn, main):
1068         * preprep.c (file_data, open_input_file, open_output_file)
1069         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1070         Use const char*.
1072         * cmdproxy.c (stdin): Don't define, not used.
1073         (main): Don't assign remlen after last use.
1075 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1077         * configure.bat: Err out when the argument of --cflags contains
1078         invalid characters (check implemented only for GCC).  (Bug#6820)
1080 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1082         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1084 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1086         * addpm.c (add_registry): Set path for runemacs.exe to use.
1088 2010-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
1090         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1091         which has a 1024 char limit on Windows (bug#6647).
1093 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1095         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1096         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1098 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1100         * config.nt: Remove code referring to NO_REMAP, unused.
1102 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1104         Build binary distros on Windows using emacs-VERSION as root dir name.
1106         * makefile.w32-in: Copy README.W32 to installation directory
1107         during `make install'.  Remove README.W32 with `distclean' (in
1108         case Emacs was installed in place).  Use temporary directory to
1109         create distribution zip files in `dist' target.
1110         * zipdist.bat: Simplify code using temporary directory.
1112 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1114         * runemacs.c (set_user_model_id): Fix prototype.
1116 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1118         New make target for Windows platform: make dist (bug#6602)
1120         * INSTALL: Document new dist target and add section about
1121         creating binary distributions.
1122         * README.W32: Relocate from admin/nt/ directory.
1123         * configure.bat: New parameter `--distfiles'.
1124         * makefile.w32-in: Add version number, new target `dist'.
1125         Add new target `install-shortcuts'.
1126         * zipdist.bat: New file; create zipped binary distribution,
1127         replaces admin/nt/makedist.bat.
1129 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1131         * INSTALL: Add note about backslashes in Windows paths.
1132         Fix typos.  Simplify references to Windows versions.
1134 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1136         * addpm.c (add_registry, main):
1137         * cmdproxy.c (get_env_size):
1138         * ddeclient.c (main):
1139         * runemacs.c (set_user_model_id):
1140         Convert definitions to standard C.
1142 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1144         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1146 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1148         * configure.bat: New option --enable-checking.
1149         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1150         (CFLAGS): Include it.
1152 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1154         * config.nt (volatile): Remove definition.
1156 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1158         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1159         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1161 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1163         * config.nt (__P): Remove.
1165 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1167         * config.nt: Remove code depending on BSTRING.
1169 2010-06-03  Glenn Morris  <rgm@gnu.org>
1171         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1173 2010-05-13  Glenn Morris  <rgm@gnu.org>
1175         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1177 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1179         * Version 23.2 released.
1181 2010-05-04  Glenn Morris  <rgm@gnu.org>
1183         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1185 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1187         * emacs.manifest: Add trustInfo section to Windows manifest.
1189 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1191         * Branch for 23.2.
1193 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1195         * emacsclient.rc: Fix format of "LegalCopyright" value.
1197 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1199         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1201 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1203         * INSTALL: Update for CVS->Bazaar switchover.
1205 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1207         * configure.bat: Add #define PROFILING to config.h.
1209 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1211         * runemacs.c (set_user_model_id): Use standard types.
1213 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1215         * runemacs.c (set_user_model_id): New function.
1216         (WinMain): Use it.
1218 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1220         * Branch for 23.1.
1222 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1224         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1225         st_gid to unsigned.
1227         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1228         to unsigned.
1229         (getpwuid): Argument is now unsigned.
1230         uid_t is now unsigned.
1232 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1234         * INSTALL: Add comment about TCC; fix typos.
1236 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1238         * emacsclient.rc, emacs.rc: Swap name and description.
1239         Remove Windows versions.
1241 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1243         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1245         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1247         * addpm.c (main): Try using COM to create start menu shortcuts
1248         before resorting to DDE (Bug#202)
1249         Remove second command-line argument.
1251 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1253         * configure.bat: Untabify help message.
1255 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1257         * configure.bat: New option --with-svg.
1259         * INSTALL: Document experimental SVG support.
1261 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1263         * config.nt (PTR): Remove.
1265 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1267         * config.nt (LISTPROC, PROCATTR): Remove.
1269 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1271         * config.nt (LISTPROC, PROCATTR): New macros.
1273 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1275         * config.nt (MULTI_KBOARD): Remove.
1277 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1279         * configure.bat: New option --profile.
1280         * gmake.defs: Set cflags and ldflags for profiling when specified.
1282 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1284         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1286 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1288         * config.nt (HAVE_FACES): Remove, unused.
1290 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1291             Eli Zaretskii  <eliz@gnu.org>
1293         * nmake.defs (FONT_CFLAGS):
1294         * gmake.defs (FONT_CFLAGS): Remove.
1295         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1296         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1297         and _CRTAPI1.
1298         (ARCH_FLAGS): Don't include _X86_.
1300         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1302 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1304         * config.nt: Remove reference to UNEXEC_SRC.
1306 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1307             Eli Zaretskii  <eliz@gnu.org>
1309         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1310         Don't hardcode -gstabs+, use DEBUG_INFO.
1312         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1313         Default to stabs if the compiler does not support DWARF-2.
1314         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1316 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1318         * configure.bat: Remove code dealing with --disable-font-backend.
1320 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1322         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1323         better alignment.  Make st_size 64-bit wide.  Add new members
1324         st_uname and st_gname.
1326         * inc/grp.h (struct group): Add gr_gid member.
1328 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1330         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1331         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1332         a real file there is not a good idea.
1334 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1336         * makefile.w32-in (CLIENTRES): New variable and build target.
1337         (all): Depend on it.
1338         ($(TRES)): Use $(TRES) in rule.
1340 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1342         * configure.bat (success): Print "make" rather than "gmake", as that
1343         is what MinGW uses.
1345 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1347         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1348         Add copyright notice.
1350 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1352         * emacsclient.rc: New file.
1354         * INSTALL: Document make targets.
1356 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1358         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1359         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1360         (top-distclean, distclean, distclean-other-dirs-nmake)
1361         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1362         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1364 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1366         * inc/sys/stat.h: New file.
1368         * configure.bat: Add check for usp10.h.
1370 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1372         * INSTALL: Update Windows API requirements.
1374 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1376         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1378 2008-03-13  Glenn Morris  <rgm@gnu.org>
1380         * emacs.rc: Set version to 23.0.60.
1382 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1384         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1385         (EMACS_EXTRA_C_FLAGS): Include it.
1386         * configure.bat (usefontbackend): Default to Y.
1387         (--enable-font-backend): Replace with --disable-font-backend.
1388         (:withfont): Replace with :withoutfont.
1390 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1392         * icons/emacs.ico: Full alpha for 32x32 full color.
1393         Add 32x32 and 16x16 256 color versions.
1395 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1397         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1399 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1401         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1403 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1405         * icons/README: Update.
1407         * icons/emacs.ico: New icon.
1409 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1411         * addpm.c: Include malloc.h.
1412         (add_registry): Cast return value of alloca.
1414 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1416         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1418 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1420         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1421         conditional on existence of junk.o.  If %nocygwin% is already set
1422         to Y, skip to chkapiN instead of chkapi.
1423         (chkapi): Move "rm -f junk.c junk.o" to here.
1424         (chkapiN): New label.
1426 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1428         * makefile.w32-in: Remove unidata-gen related rules.
1430 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1432         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1434 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1436         * addpm.c (add_registry): Add an App Paths registry key.
1437         Look for GTK and add it to the DLL search path for Emacs if found.
1439 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1441         * configure.bat: In help, use generic names for the image libraries.
1443 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1445         * .cvsignore: Don't ignore .arch-inventory.
1447 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1449         * configure.bat: Make gcc the default compiler.
1451 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1453         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1454         Ignore return status.
1456         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1457         it out of the way of Windows generated file.
1458         Generate admin/unidata/makefile.
1460         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1461         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1462         (unidatagen-clean-SH): New targets.
1463         (bootstrap-nmake): Invoke unidatagen-nmake.
1464         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1466 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1468         * configure.bat (withfont): Set sep1 after modifying usercflags.
1470 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1472         * configure.bat: Rename --with-font-backend to --enable-font-backend
1473         for consistency with other platforms.
1475 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1477         * configure.bat: Add --with-font-backend option.
1479 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1481         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1482         permissions to NTFS ACLs.
1484 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1486         * config.nt: Remove HAVE_X11R5.
1488 2007-10-22  Jason Rumney  <jasonr@gnu.org>
1490         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1491         (strings.h, stdlib.h): Conditionally include.
1492         (w32_abort): Declare here.
1493         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
1495 2007-10-20  Jason Rumney  <jasonr@gnu.org>
1497         * makefile.w32-in (info-nmake): Change into correct directories.
1499 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
1501         * configure.bat (docflags, doldflags): New variables.
1502         (genmakefiles): Use them to work around problems with whitespace
1503         in arguments of the `if' command.
1505 2007-10-18  Jason Rumney  <jasonr@gnu.org>
1507         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1509 2007-09-27  Jason Rumney  <jasonr@gnu.org>
1511         * gmake.defs (COMCTL32): New system library.
1513         * nmake.defs (COMCTL32): New system library.
1515 2007-09-06  Glenn Morris  <rgm@gnu.org>
1517         * configure.bat:
1518         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
1519         Change from ../man to ../doc/emacs and ../doc/misc; and from
1520         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
1522 2007-08-29  Glenn Morris  <rgm@gnu.org>
1524         * emacs.rc: Increase version to 23.0.50.
1526 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
1528         * makefile.w32-in (bootstrap-nmake): Change directories once more.
1530 2007-07-25  Glenn Morris  <rgm@gnu.org>
1532         * Relicense all FSF files to GPLv3 or later.
1534         * COPYING: Switch to GPLv3.
1536 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
1538         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
1539         Depend on cmdproxy.
1540         (cleanall): Don't delete *~.
1542 2007-07-15  Jason Rumney  <jasonr@gnu.org>
1544         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
1545         be fully supported.
1547 2007-07-14  Jason Rumney  <jasonr@gnu.org>
1549         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
1550         of winsock.h.
1552 2007-07-11  Jason Rumney  <jasonr@gnu.org>
1554         * gmake.defs (OLE32): New library to link.
1556         * nmake.defs (OLE32): Likewise.
1558 2007-06-25  Jason Rumney  <jasonr@gnu.org>
1560         * cmdproxy.c (main): Set console codepages to "ANSI".
1562 2007-06-20  Jason Rumney  <jasonr@gnu.org>
1564         * configure.bat: Complain if image libraries are missing.
1566 2007-06-15  Jason Rumney  <jasonr@gnu.org>
1568         * emacs.manifest: New file.
1570         * emacs.rc: Use it.
1572 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
1574         * Version 22.1 released.
1576 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
1578         * INSTALL: Add information about where to find GDB, and warn
1579         against --no-debug option to configure.bat.
1581 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
1583         * INSTALL: Fix URL of EmacsW32 site where building with image
1584         support is described.
1586 2007-04-26  Glenn Morris  <rgm@gnu.org>
1588         * emacs.rc: Increase version to 22.1.50.
1590 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
1592         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
1594 2007-03-09  Richard Stallman  <rms@gnu.org>
1596         * INSTALL: Say explicitly this is not for Cygwin.
1598 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
1600         * INSTALL: Add URL of another site with detailed build instructions.
1602 2007-02-16  Glenn Morris  <rgm@gnu.org>
1604         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
1605         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
1606         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
1607         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
1608         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
1609         Restore all but two of icons deleted in previous change.
1611 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
1613         * icons/README: New file.
1615         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
1616         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
1617         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
1618         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
1619         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
1620         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
1621         Unused icons deleted.
1623 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
1625         * configure.bat: Update ../site-lisp/subdirs.el when needed.
1627 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
1629         * subdirs.el: Add "no-byte-compile: t" local variable.
1631 2007-01-10  Jason Rumney  <jasonr@gnu.org>
1633         * README: Update URLs and advice about reporting bugs.
1635 2006-12-29  Jason Rumney  <jasonr@gnu.org>
1637         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
1638         DEBUG_LINK.
1639         (DEBUG_LINK): Remove -debugtype:both.
1641 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
1643         * INSTALL: Update table of supported Make ports.  Show "make -j"
1644         command that is known to work.
1646         * configure.bat: Update table of supported Make ports.
1648 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
1650         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
1651         only in implicit rules.  Use literal "emacs.rc" instead.
1653 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
1655         * gmake.defs: Export XMFLAGS.
1657         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
1658         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
1660 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
1662         * INSTALL: Explain how to invoke GNU Make for parallel builds.
1664         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
1665         command-line argument to sub-Make in src, since src/makefile.w32-in
1666         invokes Make recursively during bootstrap.
1667         (clean): Delete stamp_BLD.
1668         (bootstrap): Make `all' explicitly in a recursive Make.
1670         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1671         stamp_BLD after creating the $(BLD) directory.
1673         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1674         stamp_BLD after creating the $(BLD) directory.
1676         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
1677         (preprep, $(TRES), runemacs)
1678         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
1679         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1680         Depend on stamp_BLD instead of on $(BLD).
1681         (XMFLAGS): New macro.
1682         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
1683         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
1684         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
1685         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
1687 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
1689         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
1690         $(ALL_DEPS).
1691         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
1692         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1693         New dependency on $(BLD).
1694         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
1695         (bootstrap-gmake): Depend on addsection.
1697 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
1699         * runemacs.c (WinMain): Process all recognized arguments, not just
1700         the first one.  Remove unused variable sec_desc.
1702 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
1704         * config.nt (HAVE_LANGINFO_CODESET): Define.
1706         * inc/langinfo.h: New file.
1708         * inc/nl_types.h: New file.
1710 2006-09-15  Jay Belanger  <belanger@truman.edu>
1712         * COPYING: Replace "Library Public License" by "Lesser Public
1713         License" throughout.
1715 2006-07-27  Jason Rumney  <jasonr@gnu.org>
1717         * INSTALL: Add notes about Cygwin make to impatient section.
1719 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
1721         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
1722         known to work.
1724 2006-03-12  Jason Rumney  <jasonr@gnu.org>
1726         * addpm.c (add_registry): Don't change the registry unless keys
1727         already exist from a previous version.
1729         * makefile.w32-in (install): Use -q when invoking addpm.
1731         * addpm.c (main): Accept -q as alternative for /q.
1733 2006-03-11  Jason Rumney  <jasonr@gnu.org>
1735         * runemacs.c (WinMain): Set screen buffer to 80x25.
1737 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
1739         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
1740         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
1742 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
1744         * INSTALL: Add explanation of how to debug with GDB starting from
1745         the Emacs Abort dialog.
1747 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
1749         * emacs.rc: Use new icons.
1751 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
1753         * emacs21.ico: Renamed from emacs.ico.
1754         * emacs.ico: New icons from Andrew Zhilin
1755         <andrew_zhilin@yahoo.com>.
1757 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
1759         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
1761 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
1763         * .cvsignore: Add `obj' and `oo' for in-place installations.
1765 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
1767         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
1769 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
1771         * configure.bat: Don't create lisp/Makefile.unix.
1773 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
1775         * .cvsignore: Add `makefile' and `config.log'.
1777 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
1779         Merge gnulib getopt implementation into Emacs.
1781         * inc/gettext.h: Remove; no longer needed now that
1782         lib-src/gettext.h exists.
1784 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
1786         * configure.bat: Finish config.log with a line that indicates that
1787         the configure step was successful.
1789 2005-07-04  Lute Kamstra  <lute@gnu.org>
1791         Update FSF's address in GPL notices.
1793 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
1795         * configure.bat: If their fc.exe returns a meaningful exit status,
1796         don't overwrite src/config.h and src/epaths.h with identical
1797         copies.
1799         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
1800         changes.  Add a pointer to another site with detailed configure
1801         and build instructions.  Suggest to look at config.log when
1802         configure fails.  Add MinGW Make 3.80 to the list of successful
1803         combinations.
1805         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
1806         "-mcpu=i686".
1808         * configure.bat: Update copyright years.
1809         Delete config.log before doing anything else.
1810         Write additional diagnostics to config.log in case of failures to
1811         compile test programs, including the failed test program itself.
1812         Add a test for support of -mtune=pentium4 switch to GCC; if it is
1813         supported, set up MCPU_FLAG variable on the various Makefiles to
1814         use that switch during compilations.  (This avoids GCC warning
1815         about -mcpu being deprecated.)
1817 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
1819         * addsection.c (copy_executable_and_add_section): Pass non-zero
1820         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
1821         environment.  Print section names with %.8s.
1822         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
1823         only if non-zero.  All callers changed.
1825 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
1827         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
1828         `const void *', for consistency with POSIX.
1830 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
1832         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
1834 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
1836         * INSTALL: Add more pointers to ports of Unix tools to Windows,
1837         and to the Emacs Wiki (which contains building instructions for
1838         Windows).  Reword image library instructions and remove obsolete
1839         incompatibility information.
1841 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
1843         * config.nt (HAVE_PWD_H): Undef.
1845 2004-06-07  Juanma Barranquero  <lektu@terra.es>
1847         * INSTALL: Clarify paragraph about compatibility between image
1848         libraries and builds of Emacs with several compilers.
1850 2004-06-06  Juanma Barranquero  <lektu@terra.es>
1852         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
1853         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
1854         calling non-existent cmdproxy.exe on bootstrapping after a
1855         previous install followed by realclean.
1857         * nmake.defs: Add quote in comment to resync font-locking.
1859 2004-06-04  Juanma Barranquero  <lektu@terra.es>
1861         * INSTALL: Reword the section on image support.  Add reference to
1862         GnuWin32.  Mention problems when mixing binaries from different
1863         compilers.
1865 2004-05-06  Jason Rumney  <jasonr@gnu.org>
1867         * configure.bat: Use -mno-cygwin to check for image libraries
1868         when needed.
1870 2004-05-03  Jason Rumney  <jasonr@gnu.org>
1872         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
1873         * makefile.def: Remove.
1875         * nmake.defs (SYS_LDFLAGS): Add -nologo.
1877         * makefile.w32-in (info-gmake, info-nmake): New targets.
1878         (info): Use them.
1880 2004-04-23  Juanma Barranquero  <lektu@terra.es>
1882         * nmake.defs:
1883         * gmake.defs:
1884         * makefile.w32-in:
1885         * makefile.def:
1886         * makefile.nt: Add "-*- makefile -*-" mode tag.
1888 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
1890         * runemacs.c (WinMain): Let Emacs environment default to parent.
1892 2004-03-11  Jason Rumney  <jasonr@gnu.org>
1894         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
1896 2004-03-10  Juanma Barranquero  <lektu@terra.es>
1898         * makefile.w32-in (install): Don't try to copy
1899         ../lib-src/fns-*.el, as it isn't used anymore.
1901 2004-01-28  Peter Runestig  <peter@runestig.com>
1903         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
1905 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
1907         * .cvsignore: Add `.arch-inventory'.
1909 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
1911         * inc/grp.h: New file.
1913 2003-09-03  Peter Runestig  <peter@runestig.com>
1915         * configure.bat: Create ``makefile'' in directories man, lispref
1916         and lispintro.
1918         * makefile.w32-in (force-info, info): New targets.
1920         * envadd.bat: New file.
1922         * multi-install-info.bat: New file.
1924 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
1926         * config.nt (my_strftime): New define.
1928 2003-02-01  Jason Rumney  <jasonr@gnu.org>
1930         * configure.bat: Automatically detect libXpm.
1931         Suppress compiler output when testing for image libraries.
1932         Give names of un-found libraries in messages.
1934 2003-01-31  Juanma Barranquero  <lektu@terra.es>
1936         * configure.bat: Automatically detect giflib and tifflib.
1938 2003-01-29  Jason Rumney  <jasonr@gnu.org>
1940         * gmake.defs (CURDIR): Disable cygpath kludge.
1942 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
1944         * configure.bat: Avoid endless loop when configuring without image
1945         support.
1947 2003-01-26  Jason Rumney  <jasonr@gnu.org>
1949         * configure.bat: Automatically detect jpeglib.
1951 2003-01-25  Jason Rumney  <jasonr@gnu.org>
1953         * configure.bat: Automatically detect libpng.
1955 2003-01-21  Jason Rumney  <jasonr@gnu.org>
1957         * icons/hand.cur: New file.
1959 2003-01-21  David Ponce  <david@dponce.com>
1961         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
1963 2003-01-15  Andrew Innes  <andrewi@gnu.org>
1965         * gmake.defs (CURDIR): Convert to native Windows format (with
1966         forward slashes), to support building with Cygwin builds of make.
1968 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
1970         * nmake.defs:
1971         * gmake.defs: Made changes so that Emacs would link with
1972         WinMM.lib.  This change was required for my addition of a Windows
1973         compatible implementation of play-sound-internal.
1975 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
1977         * emacs.rc: Version updated to 21.3.50.
1979 2002-06-13  Jason Rumney  <jasonr@gnu.org>
1981         * addpm.c (env_vars): Remove EMACSLOCKDIR.
1983         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
1984         (maybe-bootstrap-SH): New targets.
1985         (all): Depend on maybe-bootstrap.
1987 2002-05-03  Jason Rumney  <jasonr@gnu.org>
1989         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
1990         (sys_getpeername, fcntl): Declare as wrappers.
1992 2002-04-10  Juanma Barranquero  <lektu@terra.es>
1994         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
1995         after compiling .el files.
1997 2002-03-20  Jason Rumney  <jasonr@gnu.org>
1999         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2000         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2002 2002-03-19  Kim F. Storm  <storm@cua.dk>
2004         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2005         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2006         (HAVE_SYS_UN_H): Undef.
2007         From David Ponce <dponce@voila.fr>.
2009 2002-03-13  Jason Rumney  <jasonr@gnu.org>
2011         * config.nt (STRFTIME_NO_POSIX2): Define.
2013 2002-02-18  Jason Rumney  <jasonr@gnu.org>
2015         * emacs.rc: Define VS_VERSION_INFO if not already.
2016         Update version info.
2018 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2020         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2021         pick up relevant bits of the Windows API definitions.
2023         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2024         pick up relevant bits of the Windows API definitions.
2026 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2028         * makefile.w32-in (bootstrap): Build addsection program before
2029         bootstrap (required for post-processing temacs.exe).
2031 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2033         * COPYING: New file.
2035 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2037         * makefile.w32-in (bootstrap-nmake):
2038         (bootstrap-gmake): Extend bootstrap process to first do
2039         bootstrap-clean in lisp dir and rebuild the DOC file.
2040         (bootstrap): Do a "normal" make after the bootstrap work.
2042 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2044         * INSTALL: Update table of versions of make that are suitable
2045         for building Emacs, based on recent feedback.
2047         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2049 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2051         * ftime-nostartup.bat: New file.
2053         * ftime.bat: Don't include libc.lib for profiling - the profiler
2054         corrupts part of memcpy.
2056 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2058         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2059         expansion.  From Juanma Barranquero <lektu@terra.es>.
2061 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2063         * (Version 21.1 released.)
2065 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2067         * inc/pwd.h (uid_t, gid_t): New typedefs.
2069 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2071         * Branch for 21.1.
2073 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2075         * README: Update the address of the mailing list and subscription
2076         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2078 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2080         * INSTALL: Suggest to avoid using WinZip.
2082         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2084 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2086         * INSTALL: Mention that "make install" can be "nmake install".
2088 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2090         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2091         since some versions of `mkdir' don't automatically create parent
2092         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2094 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2096         * subdirs.el: New file.
2098         * configure.bat: Copy subdirs.el to the site-lisp directory.
2100         * makefile.w32-in (install): Copy subdirs.el to the installation
2101         directory.
2103 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2105         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2107 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2109         * gmake.defs (sh_output): Don't use $(warning ...) to output
2110         messages, since that is not supported by GNU make 3.77.
2112 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2114         * INSTALL: Clarify that building with MSVC requires nmake.
2116 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2118         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2119         message that is to be ignored.
2121 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2123         * TODO: Remove file, since it is completely out of date.
2125         * README: Add copyright notice.
2127         * INSTALL: Add copyright notice.
2129 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2131         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2132         the environment.
2134         * gmake.defs (SETLOADPATH): Remove definition.
2135         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2136         environment.
2138 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2140         * configure.bat: Make the checkw32api* labels be distinct in the
2141         first 8 characters.
2143 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2145         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2146         escaped quotes.
2148         * gmake.defs (DEBUG_LINK): New macro.
2149         (LINK_FLAGS): Use it.
2151         * nmake.defs (DEBUG_LINK): New macro.
2152         (LINK_FLAGS): Use it.
2154 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2156         * INSTALL: Add --ldflags to configure line for building with
2157         recent versions of Cygwin GCC.
2159 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2161         * configure.bat: Use correct options when compiling a test program
2162         with Cygwin.  From David Ponce <dponce@voila.fr>.
2164 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2166         * _emacs: Remove obsolete file.
2168         * emacs.bat.in: Remove obsolete file.
2170         * debug.bat.in: Remove obsolete file.
2172         * inc/sys/socket.h: Add copyright notice.
2174         * paths.h: Add copyright notice.
2176         * makefile.nt: Update copyright notice.
2178         * makefile.def: Update copyright notice.
2180         * configure.bat: Update copyright notice.
2182         * nmake.defs: Add copyright notice.
2184         * gmake.defs: Add copyright notice.
2186         * makefile.w32-in: Add copyright notice.
2188 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2190         * nmake.defs (THISDIR): New definition.
2192         * gmake.defs (THISDIR): New definition.
2194 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2196         * configure.bat: Leave a space before >> only when there is a
2197         preceding digit.  Add a comment about the importance of this.
2199         * README: Replace outdated information.
2201         * INSTALL (Trouble-shooting): Add note about need to specify extra
2202         compiler flags with recent Cygwin ports of gcc.
2204 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2206         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2207         is not supported by Windows 9X's COMMAND.COM.
2209 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2211         * configure.bat: Make sure redirection is preceded by a blank, to
2212         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2213         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2215 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2217         * INSTALL: Copy the table of tested combinations of development
2218         tools from configure.bat.  Add suggestion to install Bash on
2219         Windows 9X.
2221         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2222         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2223         needs to be deleted, since command.com in Windows 9X doesn't grok
2224         more than one argument.
2226 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2228         * makefile.w32-in (cleanall-other-dirs-nmake):
2229         (cleanall-other-dirs-gmake): New targets.
2230         (cleanall): Invoke them.
2232 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2234         * addpm.c (env_vars): Add a version-independent site-lisp
2235         directory to EMACSLOADPATH, after the version dependent one.
2237 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2239         * README: Update info about compilers.
2241         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2242         select correct rule for invoking make in another directory.
2243         Amend rules accordingly.
2244         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2246         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2247         (COMPILER_TEMP_FILES): New definition.
2248         (MAKETYPE): New definition.
2250         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2251         (COMPILER_TEMP_FILES): New definition.
2252         (MAKETYPE): New definition.
2254         * makefile.def (EMACS_ICON_PATH): Delete definition.
2256         * configure.bat: Be careful not to add trailing spaces when
2257         outputting to config.settings.
2259 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2261         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2262         than the function.
2264 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2266         * makefile.w32-in (install): Copy directories to the correct
2267         places.
2268         (real_install): Remove obsolete target.
2270 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2272         * nmake.defs (CURDIR): New define.
2273         (INSTALL_DIR): Use it.
2275         * gmake.defs (NEW_CYGWIN): New define.
2276         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2277         so we need to adjust how we escape embedded quotes.
2278         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2279         relative to $(CURDIR).
2281 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2283         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2285 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2287         * makefile.w32-in (recompile): New target to recompile lisp
2288         directory.
2289         (recompile-CMD, recompile-SH): New support targets.
2291 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2293         * config.nt (NO_RETURN): Define it.
2295 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2297         * gmake.defs: Revert to Unix line endings.
2299         * nmake.defs: Revert to Unix line endings.
2301 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2303         * gmake.defs (SETLOADPATH): Change definition to work from any
2304         subdirectory.
2306 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2308         * makefile.w32-in: Revert to Unix line endings.
2310 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2312         * INSTALL: Add note about expected error messages when configure
2313         is run.
2315         * configure.bat: Simplify the generation of makefiles (don't need
2316         to generate various top-level targets that invoke make in other
2317         directories).
2319         * gmake.defs (SHELLTYPE): New define.
2320         (SETLOADPATH): New define.
2322         * nmake.defs (SHELLTYPE): New define.
2324         * makefile.w32-in: Standardize indentation somewhat.
2325         Add bootstrap support.
2326         Pass $(MFLAGS) when invoking make recursively.
2327         Add shell-specific variants of top-level targets that invoke make
2328         recursively in other directories, and add necessary computed
2329         dependencies.
2331 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2333         * makefile.w32-in: Change to DOS line endings.
2335         * configure.bat: Change to DOS line endings.
2337         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2338         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2340         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2341         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2343         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2344         -D_ANONYMOUS_STRUCT on compile line.
2345         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2346         (ARCH_CFLAGS): Change optimization flags to -O2.
2347         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2348         (ARGQUOTE, DQUOTE): New defines.
2350         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2351         -D_ANONYMOUS_STRUCT on compile line.
2352         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2353         (ARGQUOTE, DQUOTE): New defines.
2355 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2357         * configure.bat: New file.
2359         * gmake.defs: New file.
2361         * nmake.defs: New file.
2363         * makefile.w32-in: New file.
2365         * INSTALL: Rewrite to match new configure process.
2367         * config.nt [WINDOWSNT]: Don't declare getenv.
2368         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2370         * addpm.c (main): Accept /q to mean install based on addpm's
2371         location without asking.  Remove reference to emacs.bat which is
2372         now obsolete.
2374         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2376         * paths.h: Use forward slash as directory separator in all path
2377         definitions.
2378         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2380         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2382         * runemacs.c: Remove WIN32 define.
2384         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2385         not defined.
2387         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2388         (fd_set): Define to new name, after including winsock.h, so we can
2389         provide our own implementation.
2391 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2393         * ebuild.bat: Add support for specifying make arguments.
2395         * makefile.nt: Add support for `bootstrap' and related targets.
2397 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2399         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2401 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2403         * inc/sys/time.h: Add inclusion protection.
2405         * makefile.def (SYS_LDFLAGS): Add -nologo.
2407 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2409         * install.bat: Pass on command line arguments to make.
2411         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2413 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2415         * makefile.nt (all): Build leim if present.
2416         (install): Install leim if present.
2417         (clean): Clean leim if present.
2419         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2420         definition.
2422         * emacs.bat.in (EMACSLOADPATH): Include leim.
2424 1999-07-12  Richard Stallman  <rms@gnu.org>
2426         * Version 20.4 released.
2428 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2430         * emacs.rc: Use an icon with a transparent background, to be in
2431         keeping with other applications.
2433 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2435         * preprep.c: Fix typo.
2437 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2439         * config.h: Remove obsolete file.
2441         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2442         couple of unused switch cases that aren't defined on all
2443         platforms.
2445         * ftime.bat: Add another variation of the profile command, which
2446         only profiles extended commands.
2448 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2450         * cmdproxy.c (main): Fix parens.
2452 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2454         * cmdproxy.c (main): Call GetShortPathName to normalize program
2455         names for comparison.
2457 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2459         * makefile.def: Compile multiple .c files when possible.
2460         Use BLD instead of assuming i386.
2461         * makefile.nt: Remove common multiple file compilation commands.
2463 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2465         * cmdproxy.c (main): Add missing parens.
2467 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2469         * preprep.c: New program to allow dumped image to be profiled.
2471         * makefile.nt (preprep): New target.
2472         (ALL): Build it.
2474         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2476         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2477         Change prep options to profile libc functions and skip the startup
2478         code.
2480 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2482         * makefile.nt: Create installation directory as first step.
2484 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2486         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2487         ROUND_UP_DST.  Zeroes the alignment slop.
2488         (copy_executable_and_add_section): Update the
2489         SizeOfHeaders field properly.
2491 1999-01-27  Andrew Innes  <andrewi@gnu.org>
2493         * makefile.nt: Do make version comparison as strings.
2495 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
2497         * runemacs.c (WinMain): Pass explicit environment block to
2498         CreateProcess, to work around a bug in Windows 95/98.
2500 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
2502         * icons: New directory with Davenport's icons.
2503         * icons/sink.ico: Renamed from emacs.ico.
2505         * makefile.nt (install, fast_install): Install Windows icons
2506         into etc/icons.
2508         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2510 1999-01-17  Andrew Innes  <andrewi@gnu.org>
2512         * makefile.nt (ALL): List top-level targets.
2513         (addsection): New top-level target.
2514         (install): Copy fns-*.el to bin directory.
2516         * addsection.c: New program to add static heap section to
2517         temacs.exe after linking, in support of new unexec method.
2519 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
2521         * cmdproxy.c (spawn): Pass directory for child as parameter.
2522         (main): Save startup directory to give to spawn, then change
2523         directory to location of .exe in order not to prevent startup
2524         directory from being deleted.
2526 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
2528         * makefile.nt: Do string comparison of _NMAKE_VER.
2530 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
2532         * config.nt (LOCALTIME_CACHE): Define.
2534 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
2536         * install.bat: Convert to DOS format.
2538 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
2540         * cmdproxy.c (main): Set environment size only when running
2541         command.com.
2543 1998-11-03  Theodore Jump  <tjump@tertius.com>
2545         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
2546         (DEL_TREE): Use rd instead of rmdir.
2547         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
2548         * makefile.nt: Compile multiple source files when possible.
2550 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
2552         * cmdproxy.c (main): Treat command line options as case-insensitive.
2554 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
2556         * Version 20.3 released.
2558 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
2560         * addpm.c (main): Explicitly check result of message box for OK.
2562 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
2564         * inc/sys/file.h (D_OK): Define new macro.
2566 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
2568         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
2570 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
2572         * emacs.rc (VS_VERSION_INFO): Define.
2574 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
2576         * makefile.nt (emacs.bat, debug.bat): Create them in the
2577         installation directory.
2579 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
2581         * ddeclient.c: New file.  (Support program for performing limited
2582         interprocess communication on Windows.)
2584         * makefile.nt: Build ddeclient.
2586         * cmdproxy.c (main): Only set environment size for real shell, and
2587         provide extra directory argument, when running on Windows 95.
2589 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
2591         * cmdproxy.c (fail): Exit with a negative return value.
2592         (spawn): Return subprocess return code as an argument.
2593         Explicitly copy environment block.
2594         (main): Update to use return value argument with spawn.
2595         Retry if spawn failed when a subshell was not tried.
2597         * config.nt: Include new macros from src/config.in.
2598         (GNU_MALLOC, REL_ALLOC): Define.
2599         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
2600         (RE_TRANSLATE): Use char_table_translate.
2602         * makefile.def (CP_DIR): Preserve attributes.
2604         * makefile.nt (clean): Delete patch generated files, optimized
2605         build directory.
2607 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
2609         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
2611 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2613         * Version 20.2 released.
2615 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2617         * Version 20.1 released.
2619 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
2621         * debug.bat.in: New file.
2622         * makefile.nt (debug.bat): New target.
2624 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
2626         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
2627         Quote group name.  Allow different icons to be specified.
2629         * cmdproxy.c (get_env_size): New function.
2630         (spawn): Explicitly pass in environment when creating subprocess.
2631         (main): Cleanup error messages.
2632         Specify dynamically sized environment block for real shell.
2633         Pass on unhandled switches to real shell.
2634         Quote program name.
2636         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
2637         directory.
2638         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
2640         * runemacs.c (WinMain): Allow Emacs process to be started with
2641         high or low priority.
2643         * emacs.bat.in: Remove OS dependent operations.
2645 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
2647         * addpm.c (env_vars): No longer set INFOPATH.
2649         * cmdproxy.c (get_next_token): Null terminate token returned.
2651         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
2653 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
2655         * addpm.c (env_vars): Set SHELL to cmdproxy.
2656         (main): Initialize idDde to 0.
2657         Determine emacs_path from module file name.
2658         Prompt for install.
2660         * makefile.def (MSVCNT11): Conditionally define it.
2661         (BASE_LIBS): Do not use oldnames.lib.
2662         (SYS_LDFLAGS): Use pdb files.
2663         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
2664         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
2665         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
2667         * makefile.nt (ALL): Build cmdproxy.
2668         (cmdproxy): New target.
2669         (install): Install cmdproxy.
2671         * ftime.bat, debug.bat, cmdproxy.c: New files.
2673 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
2675         * inc/sys/socket.h (shutdown): Define.
2676         (sys_shutdown): Export.
2678 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2680         * config.nt (RE_TRANSLATE): Copy definition from config.in.
2682 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
2684         * config.nt: Update file comments.
2685         Update undefs added/removed in src/config.in.
2687 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
2689         * makefile.def, emacs.bat: Use windows95 and windowsnt instead
2690         of win95 and winnt, respectively.
2692 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
2694         * makefile.nt (real_install): Create site-lisp in installation dir.
2695         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
2696         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
2698 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2700         * Version 19.33 released.
2702 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
2704         * runemacs.c (WinMain): Put a space between the binary and its args.
2706 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2708         * Version 19.32 released.
2710 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
2712         * makefile.nt (clean): Use OBJDIR macro.
2714 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
2716         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
2717         Not defined by default.
2718         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
2719         (WinMain): Convert backslashes to slashes in env var values.
2721         * addpm.c (env_vars): Use slashes, not backslashes.
2723 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2725         * Version 19.31 released.
2727 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
2729         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
2730         undo settings afterwards.
2732 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
2734         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
2735         environment variable.
2737 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
2739         * install.bat: Allow for optimized build.
2740         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
2741         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
2743 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
2745         * addpm.c (REG_ROOT): Don't use a trailing backslash.
2746         (env_vars): Rename field emacs_path to emacs_dir.
2747         (main): Add link to runemacs instead of emacs.
2749         * install.bat: Check if INSTALL_DIR is passed as an argument.
2751         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
2753         * makefile.nt: Build and install runemacs.exe.
2755         * runemacs.c: New file.
2757         * config.w95: File removed.
2759         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
2760         inc/sys/socket.h, inc/sys/time.h: New header files.
2762         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
2764 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
2766         * makefile.def (DEL): Defined.
2767         (DEL_TREE) [win95]: Defined.
2768         (SYS_LDFLAGS): Set executable versions to 3.10.
2770         * makefile.nt: Change uses of del to $(DEL).
2772 1996-01-17  Erik Naggum  <erik@naggum.no>
2774         * All files: Update FSF's address in comment preamble.
2776 1996-01-03  George V. Reilly  <georger@microcrafts.com>
2778         * emacs.ico: Now the proverbial kitchen sink icon.
2780 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2782         * Version 19.30 released.
2784 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
2786         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
2788         * makefile.nt (install, fast_install, real_install, clean):
2789         Don't use switches to del not supported by Windows 95.
2791 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
2793         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
2794         (install, fast_install): Change same-dir test to create test file in
2795         installation tree and thereby support read-only shares.
2796         (clean): Remove .pdb files.
2798         * makefile.def (NTGUI): New macro.
2799         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
2801         * config.nt, config.w95: Update to latest src/config.in.
2803         * addpm.c (env_vars): New variable.
2804         (add_registry): New procedure.
2805         (main): Use values of configuration environment variables from
2806         the registry if defined, the process environment otherwise.
2808 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2810         * Version 19.29 released.
2812         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
2814 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
2816         * makefile.nt: Define .c to .obj suffix rule.
2817         (addpm.obj): Compile directly, use CFLAGS.
2818         (addpm.exe): Link from addpm.obj.
2820         * makefile.def (MSVCNT11): Defined.
2821         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
2822         (CFLAGS_COMMON): Defined.
2823         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
2825 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
2827         * emacs.bat.in: Renamed from emacs.bat.
2828         (emacs_dir): Rename from emacs_path.
2829         Definition removed.
2831         * addpm.c: New file.
2832         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
2833         (all): Depend upon $(BLD) and $(ALL).
2834         (install): Depend upon emacs.bat.
2835         Create program item for Emacs.
2836         (clean): Delete obj.
2837         (emacs.bat): Defined.
2838         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
2840 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
2842         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
2843         Add carriage returns; necessary for batch files on Windows 95.
2845 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
2847         * config.w95: Created.
2848         * config.h: Changed to config.nt.
2850         * makefile.nt (SUBDIRS): Commented out.
2851         (all, install, clean): Expand for-loops.
2852         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
2854         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
2855         (ARCH): New definition.
2856         (CPU, CONFIG_H, OS_TYPE): Defined.
2857         (INCLUDE, LIB): Checked if valid.
2858         (ntwin32.mak): Included.
2859         (AR, CC, LINK): New definition.
2860         (ADVAPI32, libc, BASE_LIBS): Defined.
2861         (SYS_LDFLAGS): New definition.
2862         Update comments and preprocessor conditionals.
2864         * emacs.bat (SHELL): Conditionally defined.
2865         (HOME): Conditionally defined.
2866         (emacs_path, HOME): Update comments.
2867         Turn off all echo.
2869 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
2871         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
2872         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
2873         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
2874         inc/sys/param.h: Removed carriage-returns.
2876 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
2878         * makefile.def (CVTRES): Defined.
2880         * emacs.ico, emacs.rc: New files by Kevin Gallo.
2882 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
2884         * src: Remove directory.
2886         * src\config.h, src\paths.h: Moved to parent dir, src removed.
2888 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
2890         * makefile.def (INSTALL_DIR): Change to generic directory.
2892         * emacs.bat: Added arguments when emacs.exe invoked.
2894         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
2896 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
2898         * makefile.def (CC): In configuration section.
2899         (COMPAT_LIB): Defined.
2901 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
2903         * src/paths.h: New file.
2905         * src/config.h: New file.
2907         * inc/pwd.h: New file.
2909         * inc/sys/dir.h: New file.
2911         * inc/sys/file.h: New file.
2913         * inc/sys/ioctl.h: New file.
2915         * inc/sys/param.h: New file.
2917         * todo: New file.
2919         * README: New file.
2921         * makefile.nt: New file.
2923         * makefile.def: New file.
2925         * install.cmd: New file.
2927         * INSTALL: New file.
2929         * fast-install.cmd: New file.
2931         * emacs.cmd: New file.
2933         * ebuild.cmd: New file.
2935         * _emacs: New file.
2937 ;; Local Variables:
2938 ;; coding: utf-8
2939 ;; add-log-time-zone-rule: t
2940 ;; End:
2942   Copyright (C) 1995-1999, 2001-2013 Free Software Foundation, Inc.
2944   This file is part of GNU Emacs.
2946   GNU Emacs is free software: you can redistribute it and/or modify
2947   it under the terms of the GNU General Public License as published by
2948   the Free Software Foundation, either version 3 of the License, or
2949   (at your option) any later version.
2951   GNU Emacs is distributed in the hope that it will be useful,
2952   but WITHOUT ANY WARRANTY; without even the implied warranty of
2953   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2954   GNU General Public License for more details.
2956   You should have received a copy of the GNU General Public License
2957   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.