nt/config.nt: Sync with autogen/config.in.
[emacs.git] / nt / ChangeLog
bloba1c9f3c7cd07b3d0791c40b0b21a3b7a60f23a69
1 2013-01-09  Juanma Barranquero  <lekktu@gmail.com>
3         * config.nt: Sync with autogen/config.in.
4         (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
6 2012-12-24  Eli Zaretskii  <eliz@gnu.org>
8         * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
9         in lib/filemode.c that broke the MS-Windows build.
10         Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
12 2012-12-17  Juanma Barranquero  <lekktu@gmail.com>
14         * config.nt: Sync with autogen/config.in.
15         (BSD4_2): Remove.
17 2012-12-17  Eli Zaretskii  <eliz@gnu.org>
19         * inc/sys/acl.h: New file.
21         * inc/ms-w32.h (ENOTSUP): Define if undefined.
23         * config.nt (HAVE_POSIX_ACL): Define.
25 2012-12-15  Eli Zaretskii  <eliz@gnu.org>
27         * inc/ms-w32.h (sys_unlink): Provide prototype.
29 2012-12-14  Eli Zaretskii  <eliz@gnu.org>
31         * inc/sys/stat.h: Declare w32_stat_get_owner_group.
33 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
35         * config.nt: Sync with autogen/config.in.
36         (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
38 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
40         * config.nt: Sync with autogen/config.in.
41         (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
42         (ULIMIT_BREAK_VALUE): Remove.
44 2012-12-10  Daniel Colascione  <dancol@dancol.org>
46         * emacs.rc: Use forward slashes in relative paths in order to
47         avoid complaints from Cygwin.  (Forward slashes work perfectly
48         well in the NT build.)
50 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
52         * inc/unistd.h (unsetenv): Provide a prototype.
54 2012-12-08  Eli Zaretskii  <eliz@gnu.org>
56         * inc/ms-w32.h (putenv): Redirect to sys_putenv.
57         (sys_putenv): Add prototype.
59         * config.nt (HAVE_UNSETENV): Define to 1.
61 2012-12-01  Juanma Barranquero  <lekktu@gmail.com>
63         * config.nt: Sync with autogen/config.in.
65 2012-11-24  Ken Brown  <kbrown@cornell.edu>
67         * config.nt (HAVE_MOUSE): Remove.
69 2012-11-23  Juanma Barranquero  <lekktu@gmail.com>
71         * config.nt: Sync with autogen/config.in.
72         (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
73         Remove.
75 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
77         * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
78         (Bug#12955)
80         * nmake.defs (SWITCHCHAR): Define to /.
82 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
84         Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
85         * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
86         (struct dirent): Rename from struct direct.  All uses changed.
87         * inc/sys/dir.h: Remove.
89 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
91         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
92         * config.nt (HAVE_GETCWD): Remove.
94 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
96         * nmake.defs: Use !if, not !ifdef.  For the details, see
97         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
99         * inc/stdint.h (INTPTR_MIN):
100         (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
102 2012-11-18  Eli Zaretskii  <eliz@gnu.org>
104         * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
106 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
108         * config.nt: Sync with autogen/config.in.
109         (HAVE_FPATHCONF): Remove.
111 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
113         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
114         * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
115         POSIX name for this flag is O_NONBLOCK.  All uses changed.
116         * inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
117         these really should be moved to a replacement <fcntl.h> if and
118         when that gets implemented.  In the meantime, include <fcntl.h>
119         to make sure we don't override its definitions.
121 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
123         * inc/sys/wait.h: New file, with prototype of waitpid and
124         definitions of macros it needs.
126         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
127         (sys_wait): Remove prototype.
129         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
131 2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>
133         * zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
134         to check if it's installed, redirect standard output and standard
135         error to the null device.
136         (ZIP_DIST): Don't build the "barebin" distribution.
138 2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
140         * config.nt: Sync with autogen/config.in.
141         (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
142         (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
143         New macros.
145 2012-11-14  Eli Zaretskii  <eliz@gnu.org>
147         * inc/unistd.h (faccessat): Add prototype.
148         (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
149         2 moved from ms-w32.h.
151         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
153 2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>
155         Use faccessat, not access, when checking file permissions (Bug#12632).
156         * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
157         (access): Remove.
158         (faccessat): New macro.
160 2012-11-05  Eli Zaretskii  <eliz@gnu.org>
162         * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
164 2012-11-05  Juanma Barranquero  <lekktu@gmail.com>
166         * config.nt: Sync with autogen/config.in.
167         (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
168         (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
170 2012-11-04  Juanma Barranquero  <lekktu@gmail.com>
172         * config.nt: Sync with autogen/config.in.
173         (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
175 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
177         * config.nt (PENDING_OUTPUT_N_BYTES): Define.
179 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
181         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
183         * config.nt (GETPGRP_VOID): Define to 1.
185 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
187         * config.nt: Sync with autogen/config.in.
189 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
191         * inc/pwd.h (getuid, geteuid): Add prototypes.
193         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
194         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
195         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
196         (sys_kill, getpagesize): Add prototypes for emulated functions.
198         * inc/grp.h (getgid, getegid): Add prototypes.
200         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
202         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
203         compiling with -std=gnu99.
205         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
206         could be used via --cflags switch to configure.bat.
208 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
210         * config.nt: Sync with autogen/config.in.
211         (HAVE_NTGUI): New macro.
213 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
215         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
216         compiler warnings when using the value.
218 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
220         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
221         'void *', for pointer arithmetics.
222         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
223         macro arguments in parentheses.
225 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
227         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
229 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
231         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
232         that are already defined.
234         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
235         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
236         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
238         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
239         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
240         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
241         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
242         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
243         Use DWORD_PTR instead of DWORD for compatibility with x64.
245         * nmake.defs: Support AMD64.
246         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
248         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
249         New macros.
251         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
252         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
253         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
254         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
255         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
256         DWORD, for compatibility with x64.
258         * emacs-x64.manifest: New file.
260         * emacs-x86.manifest: Renamed from emacs.manifest.
262 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
264         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
265         (struct itimerval): Define.
266         (getitimer, setitimer): Add prototypes.
268         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
269         with MinGW.
270         (SA_RESTART, SIGPROF): Define.
272         * config.nt (HAVE_SETITIMER): Define to 1.
274 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
276         * config.nt: Sync with autogen/config.in.
278 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
280         * config.nt: Sync with autogen/config.in.
281         (HAVE_TIMER_SETTIME): New macro.
283 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
285         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
287 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
289         Simplify and avoid signal-handling races (Bug#12471).
290         * inc/ms-w32.h (emacs_raise): New macro.
292 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
294         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
295         defined, as needed by giflib-5.0.0.  (Bug#12464)
297 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
299         * config.nt: Sync with autogen/config.in.
300         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
302 2012-09-17  Glenn Morris  <rgm@gnu.org>
304         * config.nt (COPYRIGHT): New.
306 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
308         Port _setjmp fix to POSIXish hosts as well as Microsoft.
309         * config.nt: Attempt to sync with autogen/config.in.
310         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
311         (_longjmp, _setjmp): Remove.
313 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
315         * config.nt: Sync with autogen/config.in.
316         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
317         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
318         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
320 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
322         * config.nt: Sync with autogen/config.in.
323         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
324         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
326 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
328         * configure.bat <use_extensions>: Don't leave it set in the
329         environment when the script exits.
331 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
333         * config.nt: Sync with autogen/config.in.
334         (NO_ABORT, SIGNAL_H_AHB): Remove.
336 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
338         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
340 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
342         * config.nt: Sync with autogen/config.in.
344 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
346         Simplify redefinition of 'abort' (Bug#12316).
347         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
349 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
351         * config.nt: Sync with autogen/config.in.
352         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
354 2012-09-01  Daniel Colascione  <dancol@dancol.org>
356         * inc/ms-w32.h (TERM_HEADER): Add for refactoring
358 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
360         * config.nt: Sync with autogen/config.in.
362 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
364         * config.nt: Sync with autogen/config.in.
365         (HAVE_POSIX_OPENPT): New macro.
367 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
369         * config.nt: Sync with autogen/config.in.
370         (_GL_INLINE_HEADER_BEGIN): Update.
372 2012-08-10  Glenn Morris  <rgm@gnu.org>
374         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
376 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
378         * config.nt: Sync with autogen/config.in.
379         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
380         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
382         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
384 2012-08-06  Glenn Morris  <rgm@gnu.org>
386         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
387         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
389 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
391         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
392         (PATH_DATA, PATH_DOC): Replace dummy directory names with
393         directories relative to %emacs_dir%.
394         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
395         to the use case of running un-installed Emacs.
397 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
399         * config.nt: Sync with autogen/config.in.
400         (DOS_NT, MSDOS): New macros.
401         (WRETCODE, wait3): Remove.
403         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
405 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
407         * inc/sys/stat.h (S_IFLNK): Define.
408         (S_ISLNK): A non-trivial definition.
409         (lstat): Prototype instead of a macro that redirects to 'stat'.
411 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
413         Use C99-style 'extern inline' if available.
414         * config.nt: Sync with autogen/config.in.
415         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
416         (_GL_INLINE_HEADER_END): New macros.
418 2012-08-02  Glenn Morris  <rgm@gnu.org>
420         * inc/ms-w32.h: Move here from ../src/s.
421         * config.nt (config_opsysfile): Change to <ms-w32.h>.
423 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
425         * config.nt: Sync with autogen/config.in.
426         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
427         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
428         New macros.
430 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
432         * config.nt: Sync with autogen/config.in.
433         Remove code moved to conf_post.h and include <conf_post.h>
434         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
435         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
437 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
439         * config.nt: Sync with autogen/config.in.
440         (HAVE_ENVIRON_DECL): New macro.
442 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
444         * inc/stdalign.h (_Alignas, alignas): Define.
446 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
448         Use Gnulib stdalign module (Bug#9772, Bug#9960).
449         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
451 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
453         * config.nt: Sync with autogen/config.in.
454         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
455         (SETUP_SLAVE_PTY): New macros.
457 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
459         * config.nt: Sync with autogen/config.in.
460         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
461         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
462         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
463         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
464         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
465         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
466         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
467         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
468         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
469         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
470         Set in src/s/ms-w32.h, not here.
472 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
474         * config.nt: Sync with autogen/config.in.
475         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
476         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
477         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
479 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
481         * config.nt: Sync with autogen/config.in.
483 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
485         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
487 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
489         * config.nt: Sync with autogen/config.in.
491 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
493         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
495 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
496             Eli Zaretskii  <eliz@gnu.org>
498         * config.nt: Complete rework to bring it in sync with autogen/config.in.
499         All Windows-specific code moved to src/s/ms-w32.h.
501 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
502             Eli Zaretskii  <eliz@gnu.org>
504         * configure.bat (enablechecking): Enable checks through src/config.h,
505         not the compiler's command line.
507         * nmake.defs (CHECKING_CFLAGS): Remove.
508         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
510         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
511         (CHECKING_CFLAGS): Remove.
512         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
514 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
516         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
517         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
518         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
519         (HAVE_MEMCMP): Remove, obsolete.
521 2012-06-30  Glenn Morris  <rgm@gnu.org>
523         * paths.h (PATH_SITELOADSEARCH): New.
525 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
527         * nmake.defs (CHECKING_CFLAGS):
528         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
530 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
532         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
534 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
536         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
537         * config.nt (_Noreturn): New macro.
538         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
539         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
541 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
543         * inc/sys/time.h (struct timespec): Don't define it here, it is
544         now defined in src/s/ms-w32.h.
546 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
548         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
549         * inc/sys/time.h (struct timespec): Define.
551 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
553         * makefile.w32-in (install-addpm): New target.
554         (dist): Depend on it.
555         (install-shortcuts): Depend on install-addpm instead of copying
556         addpm.exe as part of the recipe.  See
557         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
558         for the related problem and discussions.
560 2012-06-11  Glenn Morris  <rgm@gnu.org>
562         * config.nt (SYSTEM_TYPE): Define it.
564 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
566         * configure.bat (genmakefiles): Move the redirection away from the
567         end of the command, to avoid excess whitespace at the end of Make
568         variables created at configure time, and also avoid things like
569         "FOO1>>config.settings", where "1" gets interpreted as the file
570         descriptor and eaten up.  This fixes breakage introduced by the
571         last change, without reintroducing the bug fixed by that change.
573 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
575         * nmake.defs (MWINDOWS): Define as
576         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
577         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
579         * gmake.defs (MWINDOWS): Define as "-mwindows".
581 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
583         * config.nt (HAVE_SYSINFO): Remove; unused.
585 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
587         * inc/stdalign.h: New file.
589         * configure.bat: Ensure a space between %var% expansion and
590         redirection symbol '>', which breaks when %var% ends in a digit,
591         such as 1.
593 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
595         Remove src/m/*.
596         * config.nt: Do not include "m/intel386.h"; file was removed.
597         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
598         Move to src/lisp.h.
599         (EMACS_INT_MAX): New macro.
601 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
603         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
604         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
606         * config.nt (HAVE_FTIME): Remove undef; not needed.
608 2012-05-01  Glenn Morris  <rgm@gnu.org>
610         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
612 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
614         * makefile.w32-in: Fix typo (Bug#10261).
616 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
618         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
619         each runs makeinfo in its own subdirectory of 'doc'.
620         (info-gmake): Depend on these new targets.
622 2012-04-07  Glenn Morris  <rgm@gnu.org>
624         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
625         Bump version to 24.1.50.
627 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
629         * configure.bat: Support building with libxml2.
631         * INSTALL:
632         * README.W32: Add information about libxml2.
634 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
636         * makefile.w32-in: Convert to Unix EOL format.
637         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
638         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
639         (bootstrap-gmake): Invoke the "clean" and build targets in 2
640         separate commands, so they run in that order even under "make -j".
642 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
644         * config.nt: Discourage from defining HAVE_GETCWD.
646 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
648         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
649         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
650         on other (parallel) Make job's toes.
651         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
652         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
653         here.
654         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist): Depend
655         on create-tmp-dist-dir.
657         * nmake.defs (DIRNAME): New variable.
658         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
659         same-dir.tst.
661         * gmake.defs (DIRNAME): New variable.
662         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
663         same-dir.tst, to avoid conflicts between several (parallel) Make
664         jobs.
666 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
668         Prevent endless re-spawning of cmdproxy.exe when some of its
669         parent directories have access limitations.
671         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
672         and our own module name to short 8+3 aliases, if the original file
673         names compare equal.  If GetShortPathName fails, compare the base
674         names of the two file names, and only re-spawn the command line if
675         the base-name comparison also fails.  (Bug#10674)
677 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
679         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
681 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
683         * README.W32: Removed specific version information for libXpm
684         included in the binary distribution for maintenance purposes.
686 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
688         * README.W32: Clarification for inclusion in source tarball (bug#9750).
690         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
692         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
694         * makefile.w32-in (maybe-copy-distfiles)
695         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
696         (create-tmp-dist-dir): Add to make --distfiles optional.
697         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
699 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
701         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
702         by other headers.
704 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
706         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
707         (UINT64_MAX) [_WIN64]: Fix definition.
708         (uintmax_t, intmax_t): Fix definitions.
710         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
711         Provide correct definitions.
713         * config.nt (HAVE_DECL_STRTOLL): Define.
714         (va_copy) [_WIN64]: Provide a better definition.
716 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
718         * configure.bat: Fix typos.
720 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
722         * INSTALL: Elaborate on debugging fatal errors.
724 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
726         * README.W32: Update the GTK Windows download URL for libpng.
728 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
730         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
732 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
734         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
735         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
736         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
737         (intmax_t, INT64_MAX): Add for MSVC.
739         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
741 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
743         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
745         Support MSVC build with newer versions of Visual Studio.
746         * makefile.w32-in (clean-other-dirs-nmake)
747         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
748         Update for current structure of doc/ subdirectories.
750         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
752         * INSTALL: Update for newer versions of MSVC.
754 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
756         Support MSVC build with newer versions of Visual Studio.
757         * nmake.defs (USE_CRT_DLL): Define to 1.
758         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
759         (D): New variable.
761 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
763         * runemacs.c (ensure_unicows_dll): New function, tries to load
764         UNICOWS.DLL on Windows 9X.
765         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
766         display a dialog to the effect that Emacs cannot be started.
767         (Bug#8562)
769 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
771         * README.W32: Mention UNICOWS.DLL as prerequisite for running
772         Emacs on Windows 9X.
774 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
776         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
777         distribution.  (Bug#9861)
779 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
781         * INSTALL: Update URL for GTK download page.
783 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
785         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
786         (Bug#9794) (Bug#641)
788 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
790         * config.nt (HAVE_SNPRINTF): New macro.
792 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
794         Assume freestanding C89 headers, string.h, stdlib.h.
795         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
796         (STDC_HEADERS): Remove.
797         Iinclude string.h, stdlib.h unconditionally.
799 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
801         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
802         [!__GNUC__]: New macros.
804 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
806         Use 'inline', not 'INLINE'.
807         * config.nt (INLINE): Remove.
809 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
811         * README.W32: Add information about GnuTLS libraries.
813 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
815         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
817 2011-05-07  Ben Key  <bkey76@gmail.com>
819         * configure.bat: Renamed the fusercflags variable to escusercflags
820         so that the variable name better matches its purpose, to be
821         identical to usercflags with the exception that all quotes are
822         escaped by the \ character.
824         Renamed the fuserldflags variable to escuserldflags so that the
825         variable name better matches its purpose, to be identical to
826         userldflags with the exception that all quotes are escaped by
827         the \ character.
829         A new ESC_USER_CFLAGS variable is written to config.settings.
830         This variable has the same value as the escusercflags variable.
832         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
833         This variable is identical to the CFLAGS variable except that it
834         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
836         These changes, along with some changes to src/makefile.w32-in,
837         are required to extend my earlier fix to add support for
838         --cflags and --ldflags options that include quotes so that it
839         works whether make uses cmd or sh as the shell.
841 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
843         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
844         definition of uintmax_t from here...
845         * inc/stdint.h (uintmax_t): ...to here.
846         (intptr_t) [!__GNUC__]: New typedef.
848 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
850         * config.nt: Prepare to configure 64-bit integers for older compilers.
851         However, temporarily disable this change unless the temporary
852         symbol WIDE_EMACS_INT is defined.
853         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
854         "%I64d" work but long long and "%lld" do not.
856 2011-05-05  Ben Key  <bkey76@gmail.com>
858         * configure.bat: Added support for --cflags and --ldflags
859         options that include quotes as long as command extensions are
860         enabled.  Specifically when -I, -L, and similar flags are used
861         to specify supplementary include and library directories a
862         directory name that includes spaces may now be used if it is
863         enclosed in quotes.
865         * INSTALL: Documented the change to configure.bat.
867 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
869         * INSTALL: Clarify GnuTLS support.
871 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
873         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
874         Define to 1 for MinGW of MSVC versions >= 1400.
876 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
878         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
880 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
882         * inc/inttypes.h: New file.
884         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
885         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
887 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
889         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
890         inside quotation marks and bail out.
892 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
894         * cmdproxy.c (try_dequote_cmdline): New function.
895         (main): Use it.
897 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
899         * configure.bat: New options --without-gnutls and --lib, new build
900         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
901         library setup with trivial modifications.
902         * INSTALL: Add instructions for GnuTLS support.
903         * gmake.defs: Prefix USER_LIBS with -l.
905 2011-04-15  Ben Key  <bkey76@gmail.com>
907         * configure.bat: Modified the code that parses the --cflags and
908         --ldflags options to support parameters that include the =
909         character as long as they are enclosed in quotes.
910         This functionality depends on command extensions.  Configure.bat now
911         attempts to enable command extensions and displays a warning
912         message if they could not be enabled.  If configure.bat could
913         not enable command extensions the old parsing code is used that
914         does not support parameters that include the = character.
916         * INSTALL: Updated the file to describe the new functionality
917         using text provided by Eli Zaretskii.
919 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
921         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
922         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
923         on the trunk on 2011-04-06.
925 2011-03-27  Glenn Morris  <rgm@gnu.org>
927         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
929 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
931         * addpm.c (main): Remove unused variable `retval'.
933         * preprep.c (main): Remove unused variable `ptr'.
935 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
937         * cmdproxy.c: Include <ctype.h>.
938         (make_absolute): Remove unused variable `i'.
940 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
942         * Version 23.3 released.
944 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
946         * inc/unistd.h (readlink, symlink): Declare prototypes.
948 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
950         * config.nt (nlink_t): Define.
952 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
954         * inc/stdint.h: New file, to support compilation with tool chains
955         that do not have stdint.h (e.g. MSVC).
957 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
959         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
960         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
961         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
962         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
963         (lstat): Define to stat.
965 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
967         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
968         "make-docfile" target in lib-src, before bootstrapping the src
969         directory.  Needed since building in src needs to run make-docfile
970         to produce globals.h.
972 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
974         * config.nt (inline) [__GNUC__]: Define (for gnulib).
976 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
978         * config.nt (VERSION): Uncomment definition.
979         (restrict): Define.
981         * inc/stdbool.h: New file.
983 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
985         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
986         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
987         (bootstrap-clean-gmake, clean-other-dirs-nmake)
988         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
989         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
990         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
991         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
992         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
994         * configure.bat: Create lib/makefile.
996         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
997         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
998         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
999         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1001 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
1003         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1005 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1007         * configure.bat (end): Unset environment variables used by this
1008         batch file.
1010         * INSTALL: Update the information about PNG support libraries.
1011         (Bug#7716)
1013         * README.W32: Update the information about PNG support libraries.
1015 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
1017         * config.nt (EXTERNALLY_VISIBLE): Define.
1019 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1021         * INSTALL: Refer to `dynamic-library-alist'.
1023 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
1025         * INSTALL: Add note about problematic characters passed to configure.
1027 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1029         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1030         emacs-src.tags: New file.
1032         * gmake.defs: Add a comment with a single quote to fix
1033         fontification.  (Bug#7102)
1035 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
1037         * configure.bat: Fix the condition for copying paths.h into
1038         ../src/epaths.h.
1040 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
1042         * addpm.c (entry, add_registry, main):
1043         * addsection.c (file_data, open_input_file, open_output_file)
1044         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1045         (COPY_CHUNK):
1046         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1047         (skip_nonspace, get_next_token, search_dir, make_absolute)
1048         (spawn, main):
1049         * preprep.c (file_data, open_input_file, open_output_file)
1050         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1051         Use const char*.
1053         * cmdproxy.c (stdin): Don't define, not used.
1054         (main): Don't assign remlen after last use.
1056 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
1058         * configure.bat: Err out when the argument of --cflags contains
1059         invalid characters (check implemented only for GCC).  (Bug#6820)
1061 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
1063         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1065 2010-08-12  Jason Rumney  <jasonr@gnu.org>
1067         * addpm.c (add_registry): Set path for runemacs.exe to use.
1069 2010-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
1071         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1072         which has a 1024 char limit on Windows (bug#6647).
1074 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
1076         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1077         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1079 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
1081         * config.nt: Remove code referring to NO_REMAP, unused.
1083 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
1085         Build binary distros on Windows using emacs-VERSION as root dir name.
1087         * makefile.w32-in: Copy README.W32 to installation directory
1088         during `make install'.  Remove README.W32 with `distclean' (in
1089         case Emacs was installed in place).  Use temporary directory to
1090         create distribution zip files in `dist' target.
1091         * zipdist.bat: Simplify code using temporary directory.
1093 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1095         * runemacs.c (set_user_model_id): Fix prototype.
1097 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
1099         New make target for Windows platform: make dist (bug#6602)
1101         * INSTALL: Document new dist target and add section about
1102         creating binary distributions.
1103         * README.W32: Relocate from admin/nt/ directory.
1104         * configure.bat: New parameter `--distfiles'.
1105         * makefile.w32-in: Add version number, new target `dist'.
1106         Add new target `install-shortcuts'.
1107         * zipdist.bat: New file; create zipped binary distribution,
1108         replaces admin/nt/makedist.bat.
1110 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
1112         * INSTALL: Add note about backslashes in Windows paths.
1113         Fix typos.  Simplify references to Windows versions.
1115 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1117         * addpm.c (add_registry, main):
1118         * cmdproxy.c (get_env_size):
1119         * ddeclient.c (main):
1120         * runemacs.c (set_user_model_id):
1121         Convert definitions to standard C.
1123 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1125         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1127 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
1129         * configure.bat: New option --enable-checking.
1130         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1131         (CFLAGS): Include it.
1133 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
1135         * config.nt (volatile): Remove definition.
1137 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1139         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1140         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1142 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
1144         * config.nt (__P): Remove.
1146 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
1148         * config.nt: Remove code depending on BSTRING.
1150 2010-06-03  Glenn Morris  <rgm@gnu.org>
1152         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1154 2010-05-13  Glenn Morris  <rgm@gnu.org>
1156         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1158 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1160         * Version 23.2 released.
1162 2010-05-04  Glenn Morris  <rgm@gnu.org>
1164         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1166 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1168         * emacs.manifest: Add trustInfo section to Windows manifest.
1170 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1172         * Branch for 23.2.
1174 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1176         * emacsclient.rc: Fix format of "LegalCopyright" value.
1178 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1180         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1182 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1184         * INSTALL: Update for CVS->Bazaar switchover.
1186 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1188         * configure.bat: Add #define PROFILING to config.h.
1190 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1192         * runemacs.c (set_user_model_id): Use standard types.
1194 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1196         * runemacs.c (set_user_model_id): New function.
1197         (WinMain): Use it.
1199 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1201         * Branch for 23.1.
1203 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1205         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1206         st_gid to unsigned.
1208         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1209         to unsigned.
1210         (getpwuid): Argument is now unsigned.
1211         uid_t is now unsigned.
1213 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1215         * INSTALL: Add comment about TCC; fix typos.
1217 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1219         * emacsclient.rc, emacs.rc: Swap name and description.
1220         Remove Windows versions.
1222 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1224         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1226         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1228         * addpm.c (main): Try using COM to create start menu shortcuts
1229         before resorting to DDE (Bug#202)
1230         Remove second command-line argument.
1232 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1234         * configure.bat: Untabify help message.
1236 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1238         * configure.bat: New option --with-svg.
1240         * INSTALL: Document experimental SVG support.
1242 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1244         * config.nt (PTR): Remove.
1246 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1248         * config.nt (LISTPROC, PROCATTR): Remove.
1250 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1252         * config.nt (LISTPROC, PROCATTR): New macros.
1254 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1256         * config.nt (MULTI_KBOARD): Remove.
1258 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1260         * configure.bat: New option --profile.
1261         * gmake.defs: Set cflags and ldflags for profiling when specified.
1263 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1265         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1267 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1269         * config.nt (HAVE_FACES): Remove, unused.
1271 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1272             Eli Zaretskii  <eliz@gnu.org>
1274         * nmake.defs (FONT_CFLAGS):
1275         * gmake.defs (FONT_CFLAGS): Remove.
1276         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1277         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1278         and _CRTAPI1.
1279         (ARCH_FLAGS): Don't include _X86_.
1281         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1283 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1285         * config.nt: Remove reference to UNEXEC_SRC.
1287 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1288             Eli Zaretskii  <eliz@gnu.org>
1290         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1291         Don't hardcode -gstabs+, use DEBUG_INFO.
1293         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1294         Default to stabs if the compiler does not support DWARF-2.
1295         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1297 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1299         * configure.bat: Remove code dealing with --disable-font-backend.
1301 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1303         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1304         better alignment.  Make st_size 64-bit wide.  Add new members
1305         st_uname and st_gname.
1307         * inc/grp.h (struct group): Add gr_gid member.
1309 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1311         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1312         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1313         a real file there is not a good idea.
1315 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1317         * makefile.w32-in (CLIENTRES): New variable and build target.
1318         (all): Depend on it.
1319         ($(TRES)): Use $(TRES) in rule.
1321 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1323         * configure.bat (success): Print "make" rather than "gmake", as that
1324         is what MinGW uses.
1326 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1328         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1329         Add copyright notice.
1331 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1333         * emacsclient.rc: New file.
1335         * INSTALL: Document make targets.
1337 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1339         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1340         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1341         (top-distclean, distclean, distclean-other-dirs-nmake)
1342         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1343         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1345 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1347         * inc/sys/stat.h: New file.
1349         * configure.bat: Add check for usp10.h.
1351 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1353         * INSTALL: Update Windows API requirements.
1355 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1357         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1359 2008-03-13  Glenn Morris  <rgm@gnu.org>
1361         * emacs.rc: Set version to 23.0.60.
1363 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1365         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1366         (EMACS_EXTRA_C_FLAGS): Include it.
1367         * configure.bat (usefontbackend): Default to Y.
1368         (--enable-font-backend): Replace with --disable-font-backend.
1369         (:withfont): Replace with :withoutfont.
1371 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1373         * icons/emacs.ico: Full alpha for 32x32 full color.
1374         Add 32x32 and 16x16 256 color versions.
1376 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1378         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1380 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1382         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1384 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1386         * icons/README: Update.
1388         * icons/emacs.ico: New icon.
1390 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1392         * addpm.c: Include malloc.h.
1393         (add_registry): Cast return value of alloca.
1395 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1397         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1399 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1401         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1402         conditional on existence of junk.o.  If %nocygwin% is already set
1403         to Y, skip to chkapiN instead of chkapi.
1404         (chkapi): Move "rm -f junk.c junk.o" to here.
1405         (chkapiN): New label.
1407 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1409         * makefile.w32-in: Remove unidata-gen related rules.
1411 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1413         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1415 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1417         * addpm.c (add_registry): Add an App Paths registry key.
1418         Look for GTK and add it to the DLL search path for Emacs if found.
1420 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1422         * configure.bat: In help, use generic names for the image libraries.
1424 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1426         * .cvsignore: Don't ignore .arch-inventory.
1428 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1430         * configure.bat: Make gcc the default compiler.
1432 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1434         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1435         Ignore return status.
1437         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1438         it out of the way of Windows generated file.
1439         Generate admin/unidata/makefile.
1441         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1442         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1443         (unidatagen-clean-SH): New targets.
1444         (bootstrap-nmake): Invoke unidatagen-nmake.
1445         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1447 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1449         * configure.bat (withfont): Set sep1 after modifying usercflags.
1451 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1453         * configure.bat: Rename --with-font-backend to --enable-font-backend
1454         for consistency with other platforms.
1456 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1458         * configure.bat: Add --with-font-backend option.
1460 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1462         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1463         permissions to NTFS ACLs.
1465 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1467         * config.nt: Remove HAVE_X11R5.
1469 2007-10-22  Jason Rumney  <jasonr@gnu.org>
1471         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1472         (strings.h, stdlib.h): Conditionally include.
1473         (w32_abort): Declare here.
1474         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
1476 2007-10-20  Jason Rumney  <jasonr@gnu.org>
1478         * makefile.w32-in (info-nmake): Change into correct directories.
1480 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
1482         * configure.bat (docflags, doldflags): New variables.
1483         (genmakefiles): Use them to work around problems with whitespace
1484         in arguments of the `if' command.
1486 2007-10-18  Jason Rumney  <jasonr@gnu.org>
1488         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1490 2007-09-27  Jason Rumney  <jasonr@gnu.org>
1492         * gmake.defs (COMCTL32): New system library.
1494         * nmake.defs (COMCTL32): New system library.
1496 2007-09-06  Glenn Morris  <rgm@gnu.org>
1498         * configure.bat:
1499         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
1500         Change from ../man to ../doc/emacs and ../doc/misc; and from
1501         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
1503 2007-08-29  Glenn Morris  <rgm@gnu.org>
1505         * emacs.rc: Increase version to 23.0.50.
1507 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
1509         * makefile.w32-in (bootstrap-nmake): Change directories once more.
1511 2007-07-25  Glenn Morris  <rgm@gnu.org>
1513         * Relicense all FSF files to GPLv3 or later.
1515         * COPYING: Switch to GPLv3.
1517 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
1519         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
1520         Depend on cmdproxy.
1521         (cleanall): Don't delete *~.
1523 2007-07-15  Jason Rumney  <jasonr@gnu.org>
1525         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
1526         be fully supported.
1528 2007-07-14  Jason Rumney  <jasonr@gnu.org>
1530         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
1531         of winsock.h.
1533 2007-07-11  Jason Rumney  <jasonr@gnu.org>
1535         * gmake.defs (OLE32): New library to link.
1537         * nmake.defs (OLE32): Likewise.
1539 2007-06-25  Jason Rumney  <jasonr@gnu.org>
1541         * cmdproxy.c (main): Set console codepages to "ANSI".
1543 2007-06-20  Jason Rumney  <jasonr@gnu.org>
1545         * configure.bat: Complain if image libraries are missing.
1547 2007-06-15  Jason Rumney  <jasonr@gnu.org>
1549         * emacs.manifest: New file.
1551         * emacs.rc: Use it.
1553 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
1555         * Version 22.1 released.
1557 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
1559         * INSTALL: Add information about where to find GDB, and warn
1560         against --no-debug option to configure.bat.
1562 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
1564         * INSTALL: Fix URL of EmacsW32 site where building with image
1565         support is described.
1567 2007-04-26  Glenn Morris  <rgm@gnu.org>
1569         * emacs.rc: Increase version to 22.1.50.
1571 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
1573         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
1575 2007-03-09  Richard Stallman  <rms@gnu.org>
1577         * INSTALL: Say explicitly this is not for Cygwin.
1579 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
1581         * INSTALL: Add URL of another site with detailed build instructions.
1583 2007-02-16  Glenn Morris  <rgm@gnu.org>
1585         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
1586         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
1587         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
1588         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
1589         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
1590         Restore all but two of icons deleted in previous change.
1592 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
1594         * icons/README: New file.
1596         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
1597         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
1598         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
1599         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
1600         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
1601         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
1602         Unused icons deleted.
1604 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
1606         * configure.bat: Update ../site-lisp/subdirs.el when needed.
1608 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
1610         * subdirs.el: Add "no-byte-compile: t" local variable.
1612 2007-01-10  Jason Rumney  <jasonr@gnu.org>
1614         * README: Update URLs and advice about reporting bugs.
1616 2006-12-29  Jason Rumney  <jasonr@gnu.org>
1618         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
1619         DEBUG_LINK.
1620         (DEBUG_LINK): Remove -debugtype:both.
1622 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
1624         * INSTALL: Update table of supported Make ports.  Show "make -j"
1625         command that is known to work.
1627         * configure.bat: Update table of supported Make ports.
1629 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
1631         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
1632         only in implicit rules.  Use literal "emacs.rc" instead.
1634 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
1636         * gmake.defs: Export XMFLAGS.
1638         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
1639         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
1641 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
1643         * INSTALL: Explain how to invoke GNU Make for parallel builds.
1645         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
1646         command-line argument to sub-Make in src, since src/makefile.w32-in
1647         invokes Make recursively during bootstrap.
1648         (clean): Delete stamp_BLD.
1649         (bootstrap): Make `all' explicitly in a recursive Make.
1651         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1652         stamp_BLD after creating the $(BLD) directory.
1654         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1655         stamp_BLD after creating the $(BLD) directory.
1657         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
1658         (preprep, $(TRES), runemacs)
1659         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
1660         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1661         Depend on stamp_BLD instead of on $(BLD).
1662         (XMFLAGS): New macro.
1663         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
1664         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
1665         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
1666         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
1668 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
1670         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
1671         $(ALL_DEPS).
1672         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
1673         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1674         New dependency on $(BLD).
1675         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
1676         (bootstrap-gmake): Depend on addsection.
1678 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
1680         * runemacs.c (WinMain): Process all recognized arguments, not just
1681         the first one.  Remove unused variable sec_desc.
1683 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
1685         * config.nt (HAVE_LANGINFO_CODESET): Define.
1687         * inc/langinfo.h: New file.
1689         * inc/nl_types.h: New file.
1691 2006-09-15  Jay Belanger  <belanger@truman.edu>
1693         * COPYING: Replace "Library Public License" by "Lesser Public
1694         License" throughout.
1696 2006-07-27  Jason Rumney  <jasonr@gnu.org>
1698         * INSTALL: Add notes about Cygwin make to impatient section.
1700 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
1702         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
1703         known to work.
1705 2006-03-12  Jason Rumney  <jasonr@gnu.org>
1707         * addpm.c (add_registry): Don't change the registry unless keys
1708         already exist from a previous version.
1710         * makefile.w32-in (install): Use -q when invoking addpm.
1712         * addpm.c (main): Accept -q as alternative for /q.
1714 2006-03-11  Jason Rumney  <jasonr@gnu.org>
1716         * runemacs.c (WinMain): Set screen buffer to 80x25.
1718 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
1720         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
1721         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
1723 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
1725         * INSTALL: Add explanation of how to debug with GDB starting from
1726         the Emacs Abort dialog.
1728 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
1730         * emacs.rc: Use new icons.
1732 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
1734         * emacs21.ico: Renamed from emacs.ico.
1735         * emacs.ico: New icons from Andrew Zhilin
1736         <andrew_zhilin@yahoo.com>.
1738 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
1740         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
1742 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
1744         * .cvsignore: Add `obj' and `oo' for in-place installations.
1746 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
1748         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
1750 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
1752         * configure.bat: Don't create lisp/Makefile.unix.
1754 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
1756         * .cvsignore: Add `makefile' and `config.log'.
1758 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
1760         Merge gnulib getopt implementation into Emacs.
1762         * inc/gettext.h: Remove; no longer needed now that
1763         lib-src/gettext.h exists.
1765 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
1767         * configure.bat: Finish config.log with a line that indicates that
1768         the configure step was successful.
1770 2005-07-04  Lute Kamstra  <lute@gnu.org>
1772         Update FSF's address in GPL notices.
1774 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
1776         * configure.bat: If their fc.exe returns a meaningful exit status,
1777         don't overwrite src/config.h and src/epaths.h with identical
1778         copies.
1780         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
1781         changes.  Add a pointer to another site with detailed configure
1782         and build instructions.  Suggest to look at config.log when
1783         configure fails.  Add MinGW Make 3.80 to the list of successful
1784         combinations.
1786         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
1787         "-mcpu=i686".
1789         * configure.bat: Update copyright years.
1790         Delete config.log before doing anything else.
1791         Write additional diagnostics to config.log in case of failures to
1792         compile test programs, including the failed test program itself.
1793         Add a test for support of -mtune=pentium4 switch to GCC; if it is
1794         supported, set up MCPU_FLAG variable on the various Makefiles to
1795         use that switch during compilations.  (This avoids GCC warning
1796         about -mcpu being deprecated.)
1798 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
1800         * addsection.c (copy_executable_and_add_section): Pass non-zero
1801         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
1802         environment.  Print section names with %.8s.
1803         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
1804         only if non-zero.  All callers changed.
1806 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
1808         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
1809         `const void *', for consistency with POSIX.
1811 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
1813         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
1815 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
1817         * INSTALL: Add more pointers to ports of Unix tools to Windows,
1818         and to the Emacs Wiki (which contains building instructions for
1819         Windows).  Reword image library instructions and remove obsolete
1820         incompatibility information.
1822 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
1824         * config.nt (HAVE_PWD_H): Undef.
1826 2004-06-07  Juanma Barranquero  <lektu@terra.es>
1828         * INSTALL: Clarify paragraph about compatibility between image
1829         libraries and builds of Emacs with several compilers.
1831 2004-06-06  Juanma Barranquero  <lektu@terra.es>
1833         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
1834         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
1835         calling non-existent cmdproxy.exe on bootstrapping after a
1836         previous install followed by realclean.
1838         * nmake.defs: Add quote in comment to resync font-locking.
1840 2004-06-04  Juanma Barranquero  <lektu@terra.es>
1842         * INSTALL: Reword the section on image support.  Add reference to
1843         GnuWin32.  Mention problems when mixing binaries from different
1844         compilers.
1846 2004-05-06  Jason Rumney  <jasonr@gnu.org>
1848         * configure.bat: Use -mno-cygwin to check for image libraries
1849         when needed.
1851 2004-05-03  Jason Rumney  <jasonr@gnu.org>
1853         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
1854         * makefile.def: Remove.
1856         * nmake.defs (SYS_LDFLAGS): Add -nologo.
1858         * makefile.w32-in (info-gmake, info-nmake): New targets.
1859         (info): Use them.
1861 2004-04-23  Juanma Barranquero  <lektu@terra.es>
1863         * nmake.defs:
1864         * gmake.defs:
1865         * makefile.w32-in:
1866         * makefile.def:
1867         * makefile.nt: Add "-*- makefile -*-" mode tag.
1869 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
1871         * runemacs.c (WinMain): Let Emacs environment default to parent.
1873 2004-03-11  Jason Rumney  <jasonr@gnu.org>
1875         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
1877 2004-03-10  Juanma Barranquero  <lektu@terra.es>
1879         * makefile.w32-in (install): Don't try to copy
1880         ../lib-src/fns-*.el, as it isn't used anymore.
1882 2004-01-28  Peter Runestig  <peter@runestig.com>
1884         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
1886 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
1888         * .cvsignore: Add `.arch-inventory'.
1890 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
1892         * inc/grp.h: New file.
1894 2003-09-03  Peter Runestig  <peter@runestig.com>
1896         * configure.bat: Create ``makefile'' in directories man, lispref
1897         and lispintro.
1899         * makefile.w32-in (force-info, info): New targets.
1901         * envadd.bat: New file.
1903         * multi-install-info.bat: New file.
1905 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
1907         * config.nt (my_strftime): New define.
1909 2003-02-01  Jason Rumney  <jasonr@gnu.org>
1911         * configure.bat: Automatically detect libXpm.
1912         Suppress compiler output when testing for image libraries.
1913         Give names of un-found libraries in messages.
1915 2003-01-31  Juanma Barranquero  <lektu@terra.es>
1917         * configure.bat: Automatically detect giflib and tifflib.
1919 2003-01-29  Jason Rumney  <jasonr@gnu.org>
1921         * gmake.defs (CURDIR): Disable cygpath kludge.
1923 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
1925         * configure.bat: Avoid endless loop when configuring without image
1926         support.
1928 2003-01-26  Jason Rumney  <jasonr@gnu.org>
1930         * configure.bat: Automatically detect jpeglib.
1932 2003-01-25  Jason Rumney  <jasonr@gnu.org>
1934         * configure.bat: Automatically detect libpng.
1936 2003-01-21  Jason Rumney  <jasonr@gnu.org>
1938         * icons/hand.cur: New file.
1940 2003-01-21  David Ponce  <david@dponce.com>
1942         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
1944 2003-01-15  Andrew Innes  <andrewi@gnu.org>
1946         * gmake.defs (CURDIR): Convert to native Windows format (with
1947         forward slashes), to support building with Cygwin builds of make.
1949 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
1951         * nmake.defs:
1952         * gmake.defs: Made changes so that Emacs would link with
1953         WinMM.lib.  This change was required for my addition of a Windows
1954         compatible implementation of play-sound-internal.
1956 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
1958         * emacs.rc: Version updated to 21.3.50.
1960 2002-06-13  Jason Rumney  <jasonr@gnu.org>
1962         * addpm.c (env_vars): Remove EMACSLOCKDIR.
1964         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
1965         (maybe-bootstrap-SH): New targets.
1966         (all): Depend on maybe-bootstrap.
1968 2002-05-03  Jason Rumney  <jasonr@gnu.org>
1970         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
1971         (sys_getpeername, fcntl): Declare as wrappers.
1973 2002-04-10  Juanma Barranquero  <lektu@terra.es>
1975         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
1976         after compiling .el files.
1978 2002-03-20  Jason Rumney  <jasonr@gnu.org>
1980         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
1981         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
1983 2002-03-19  Kim F. Storm  <storm@cua.dk>
1985         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
1986         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
1987         (HAVE_SYS_UN_H): Undef.
1988         From David Ponce <dponce@voila.fr>.
1990 2002-03-13  Jason Rumney  <jasonr@gnu.org>
1992         * config.nt (STRFTIME_NO_POSIX2): Define.
1994 2002-02-18  Jason Rumney  <jasonr@gnu.org>
1996         * emacs.rc: Define VS_VERSION_INFO if not already.
1997         Update version info.
1999 2002-01-04  Andrew Innes  <andrewi@gnu.org>
2001         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2002         pick up relevant bits of the Windows API definitions.
2004         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2005         pick up relevant bits of the Windows API definitions.
2007 2001-12-14  Andrew Innes  <andrewi@gnu.org>
2009         * makefile.w32-in (bootstrap): Build addsection program before
2010         bootstrap (required for post-processing temacs.exe).
2012 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
2014         * COPYING: New file.
2016 2001-12-03  Andrew Innes  <andrewi@gnu.org>
2018         * makefile.w32-in (bootstrap-nmake):
2019         (bootstrap-gmake): Extend bootstrap process to first do
2020         bootstrap-clean in lisp dir and rebuild the DOC file.
2021         (bootstrap): Do a "normal" make after the bootstrap work.
2023 2001-11-20  Jason Rumney  <jasonr@gnu.org>
2025         * INSTALL: Update table of versions of make that are suitable
2026         for building Emacs, based on recent feedback.
2028         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2030 2001-11-19  Andrew Innes  <andrewi@gnu.org>
2032         * ftime-nostartup.bat: New file.
2034         * ftime.bat: Don't include libc.lib for profiling - the profiler
2035         corrupts part of memcpy.
2037 2001-11-17  Jason Rumney  <jasonr@gnu.org>
2039         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2040         expansion.  From Juanma Barranquero <lektu@terra.es>.
2042 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
2044         * (Version 21.1 released.)
2046 2001-10-12  Andrew Innes  <andrewi@gnu.org>
2048         * inc/pwd.h (uid_t, gid_t): New typedefs.
2050 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
2052         * Branch for 21.1.
2054 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2056         * README: Update the address of the mailing list and subscription
2057         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
2059 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
2061         * INSTALL: Suggest to avoid using WinZip.
2063         * configure.bat: Make sure ../site-lisp exists; create if necessary.
2065 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
2067         * INSTALL: Mention that "make install" can be "nmake install".
2069 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
2071         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2072         since some versions of `mkdir' don't automatically create parent
2073         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2075 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
2077         * subdirs.el: New file.
2079         * configure.bat: Copy subdirs.el to the site-lisp directory.
2081         * makefile.w32-in (install): Copy subdirs.el to the installation
2082         directory.
2084 2001-06-20  Jason Rumney  <jasonr@gnu.org>
2086         * runemacs.c (WinMain): Add quotes around command in case of spaces.
2088 2001-06-01  Andrew Innes  <andrewi@gnu.org>
2090         * gmake.defs (sh_output): Don't use $(warning ...) to output
2091         messages, since that is not supported by GNU make 3.77.
2093 2001-05-24  Jason Rumney  <jasonr@gnu.org>
2095         * INSTALL: Clarify that building with MSVC requires nmake.
2097 2001-05-17  Andrew Innes  <andrewi@gnu.org>
2099         * gmake.defs (NEW_CYGWIN): Output message about spurious error
2100         message that is to be ignored.
2102 2001-05-13  Andrew Innes  <andrewi@gnu.org>
2104         * TODO: Remove file, since it is completely out of date.
2106         * README: Add copyright notice.
2108         * INSTALL: Add copyright notice.
2110 2001-04-18  Andrew Innes  <andrewi@gnu.org>
2112         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2113         the environment.
2115         * gmake.defs (SETLOADPATH): Remove definition.
2116         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2117         environment.
2119 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
2121         * configure.bat: Make the checkw32api* labels be distinct in the
2122         first 8 characters.
2124 2001-03-17  Andrew Innes  <andrewi@gnu.org>
2126         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2127         escaped quotes.
2129         * gmake.defs (DEBUG_LINK): New macro.
2130         (LINK_FLAGS): Use it.
2132         * nmake.defs (DEBUG_LINK): New macro.
2133         (LINK_FLAGS): Use it.
2135 2001-03-06  Andrew Innes  <andrewi@gnu.org>
2137         * INSTALL: Add --ldflags to configure line for building with
2138         recent versions of Cygwin GCC.
2140 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
2142         * configure.bat: Use correct options when compiling a test program
2143         with Cygwin.  From David Ponce <dponce@voila.fr>.
2145 2001-02-24  Andrew Innes  <andrewi@gnu.org>
2147         * _emacs: Remove obsolete file.
2149         * emacs.bat.in: Remove obsolete file.
2151         * debug.bat.in: Remove obsolete file.
2153         * inc/sys/socket.h: Add copyright notice.
2155         * paths.h: Add copyright notice.
2157         * makefile.nt: Update copyright notice.
2159         * makefile.def: Update copyright notice.
2161         * configure.bat: Update copyright notice.
2163         * nmake.defs: Add copyright notice.
2165         * gmake.defs: Add copyright notice.
2167         * makefile.w32-in: Add copyright notice.
2169 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2171         * nmake.defs (THISDIR): New definition.
2173         * gmake.defs (THISDIR): New definition.
2175 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2177         * configure.bat: Leave a space before >> only when there is a
2178         preceding digit.  Add a comment about the importance of this.
2180         * README: Replace outdated information.
2182         * INSTALL (Trouble-shooting): Add note about need to specify extra
2183         compiler flags with recent Cygwin ports of gcc.
2185 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2187         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2188         is not supported by Windows 9X's COMMAND.COM.
2190 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2192         * configure.bat: Make sure redirection is preceded by a blank, to
2193         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2194         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2196 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2198         * INSTALL: Copy the table of tested combinations of development
2199         tools from configure.bat.  Add suggestion to install Bash on
2200         Windows 9X.
2202         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2203         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2204         needs to be deleted, since command.com in Windows 9X doesn't grok
2205         more than one argument.
2207 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2209         * makefile.w32-in (cleanall-other-dirs-nmake):
2210         (cleanall-other-dirs-gmake): New targets.
2211         (cleanall): Invoke them.
2213 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2215         * addpm.c (env_vars): Add a version-independent site-lisp
2216         directory to EMACSLOADPATH, after the version dependent one.
2218 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2220         * README: Update info about compilers.
2222         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2223         select correct rule for invoking make in another directory.
2224         Amend rules accordingly.
2225         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2227         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2228         (COMPILER_TEMP_FILES): New definition.
2229         (MAKETYPE): New definition.
2231         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2232         (COMPILER_TEMP_FILES): New definition.
2233         (MAKETYPE): New definition.
2235         * makefile.def (EMACS_ICON_PATH): Delete definition.
2237         * configure.bat: Be careful not to add trailing spaces when
2238         outputting to config.settings.
2240 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2242         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2243         than the function.
2245 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2247         * makefile.w32-in (install): Copy directories to the correct
2248         places.
2249         (real_install): Remove obsolete target.
2251 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2253         * nmake.defs (CURDIR): New define.
2254         (INSTALL_DIR): Use it.
2256         * gmake.defs (NEW_CYGWIN): New define.
2257         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2258         so we need to adjust how we escape embedded quotes.
2259         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2260         relative to $(CURDIR).
2262 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2264         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2266 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2268         * makefile.w32-in (recompile): New target to recompile lisp
2269         directory.
2270         (recompile-CMD, recompile-SH): New support targets.
2272 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2274         * config.nt (NO_RETURN): Define it.
2276 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2278         * gmake.defs: Revert to Unix line endings.
2280         * nmake.defs: Revert to Unix line endings.
2282 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2284         * gmake.defs (SETLOADPATH): Change definition to work from any
2285         subdirectory.
2287 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2289         * makefile.w32-in: Revert to Unix line endings.
2291 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2293         * INSTALL: Add note about expected error messages when configure
2294         is run.
2296         * configure.bat: Simplify the generation of makefiles (don't need
2297         to generate various top-level targets that invoke make in other
2298         directories).
2300         * gmake.defs (SHELLTYPE): New define.
2301         (SETLOADPATH): New define.
2303         * nmake.defs (SHELLTYPE): New define.
2305         * makefile.w32-in: Standardize indentation somewhat.
2306         Add bootstrap support.
2307         Pass $(MFLAGS) when invoking make recursively.
2308         Add shell-specific variants of top-level targets that invoke make
2309         recursively in other directories, and add necessary computed
2310         dependencies.
2312 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2314         * makefile.w32-in: Change to DOS line endings.
2316         * configure.bat: Change to DOS line endings.
2318         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2319         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2321         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2322         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2324         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2325         -D_ANONYMOUS_STRUCT on compile line.
2326         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2327         (ARCH_CFLAGS): Change optimization flags to -O2.
2328         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2329         (ARGQUOTE, DQUOTE): New defines.
2331         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2332         -D_ANONYMOUS_STRUCT on compile line.
2333         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2334         (ARGQUOTE, DQUOTE): New defines.
2336 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2338         * configure.bat: New file.
2340         * gmake.defs: New file.
2342         * nmake.defs: New file.
2344         * makefile.w32-in: New file.
2346         * INSTALL: Rewrite to match new configure process.
2348         * config.nt [WINDOWSNT]: Don't declare getenv.
2349         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2351         * addpm.c (main): Accept /q to mean install based on addpm's
2352         location without asking.  Remove reference to emacs.bat which is
2353         now obsolete.
2355         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2357         * paths.h: Use forward slash as directory separator in all path
2358         definitions.
2359         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2361         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2363         * runemacs.c: Remove WIN32 define.
2365         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2366         not defined.
2368         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2369         (fd_set): Define to new name, after including winsock.h, so we can
2370         provide our own implementation.
2372 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2374         * ebuild.bat: Add support for specifying make arguments.
2376         * makefile.nt: Add support for `bootstrap' and related targets.
2378 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2380         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2382 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2384         * inc/sys/time.h: Add inclusion protection.
2386         * makefile.def (SYS_LDFLAGS): Add -nologo.
2388 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2390         * install.bat: Pass on command line arguments to make.
2392         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2394 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2396         * makefile.nt (all): Build leim if present.
2397         (install): Install leim if present.
2398         (clean): Clean leim if present.
2400         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2401         definition.
2403         * emacs.bat.in (EMACSLOADPATH): Include leim.
2405 1999-07-12  Richard Stallman  <rms@gnu.org>
2407         * Version 20.4 released.
2409 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2411         * emacs.rc: Use an icon with a transparent background, to be in
2412         keeping with other applications.
2414 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2416         * preprep.c: Fix typo.
2418 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2420         * config.h: Remove obsolete file.
2422         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2423         couple of unused switch cases that aren't defined on all
2424         platforms.
2426         * ftime.bat: Add another variation of the profile command, which
2427         only profiles extended commands.
2429 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2431         * cmdproxy.c (main): Fix parens.
2433 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2435         * cmdproxy.c (main): Call GetShortPathName to normalize program
2436         names for comparison.
2438 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2440         * makefile.def: Compile multiple .c files when possible.
2441         Use BLD instead of assuming i386.
2442         * makefile.nt: Remove common multiple file compilation commands.
2444 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2446         * cmdproxy.c (main): Add missing parens.
2448 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2450         * preprep.c: New program to allow dumped image to be profiled.
2452         * makefile.nt (preprep): New target.
2453         (ALL): Build it.
2455         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2457         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2458         Change prep options to profile libc functions and skip the startup
2459         code.
2461 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2463         * makefile.nt: Create installation directory as first step.
2465 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2467         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2468         ROUND_UP_DST.  Zeroes the alignment slop.
2469         (copy_executable_and_add_section): Update the
2470         SizeOfHeaders field properly.
2472 1999-01-27  Andrew Innes  <andrewi@gnu.org>
2474         * makefile.nt: Do make version comparison as strings.
2476 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
2478         * runemacs.c (WinMain): Pass explicit environment block to
2479         CreateProcess, to work around a bug in Windows 95/98.
2481 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
2483         * icons: New directory with Davenport's icons.
2484         * icons/sink.ico: Renamed from emacs.ico.
2486         * makefile.nt (install, fast_install): Install Windows icons
2487         into etc/icons.
2489         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2491 1999-01-17  Andrew Innes  <andrewi@gnu.org>
2493         * makefile.nt (ALL): List top-level targets.
2494         (addsection): New top-level target.
2495         (install): Copy fns-*.el to bin directory.
2497         * addsection.c: New program to add static heap section to
2498         temacs.exe after linking, in support of new unexec method.
2500 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
2502         * cmdproxy.c (spawn): Pass directory for child as parameter.
2503         (main): Save startup directory to give to spawn, then change
2504         directory to location of .exe in order not to prevent startup
2505         directory from being deleted.
2507 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
2509         * makefile.nt: Do string comparison of _NMAKE_VER.
2511 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
2513         * config.nt (LOCALTIME_CACHE): Define.
2515 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
2517         * install.bat: Convert to DOS format.
2519 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
2521         * cmdproxy.c (main): Set environment size only when running
2522         command.com.
2524 1998-11-03  Theodore Jump  <tjump@tertius.com>
2526         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
2527         (DEL_TREE): Use rd instead of rmdir.
2528         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
2529         * makefile.nt: Compile multiple source files when possible.
2531 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
2533         * cmdproxy.c (main): Treat command line options as case-insensitive.
2535 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
2537         * Version 20.3 released.
2539 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
2541         * addpm.c (main): Explicitly check result of message box for OK.
2543 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
2545         * inc/sys/file.h (D_OK): Define new macro.
2547 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
2549         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
2551 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
2553         * emacs.rc (VS_VERSION_INFO): Define.
2555 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
2557         * makefile.nt (emacs.bat, debug.bat): Create them in the
2558         installation directory.
2560 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
2562         * ddeclient.c: New file.  (Support program for performing limited
2563         interprocess communication on Windows.)
2565         * makefile.nt: Build ddeclient.
2567         * cmdproxy.c (main): Only set environment size for real shell, and
2568         provide extra directory argument, when running on Windows 95.
2570 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
2572         * cmdproxy.c (fail): Exit with a negative return value.
2573         (spawn): Return subprocess return code as an argument.
2574         Explicitly copy environment block.
2575         (main): Update to use return value argument with spawn.
2576         Retry if spawn failed when a subshell was not tried.
2578         * config.nt: Include new macros from src/config.in.
2579         (GNU_MALLOC, REL_ALLOC): Define.
2580         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
2581         (RE_TRANSLATE): Use char_table_translate.
2583         * makefile.def (CP_DIR): Preserve attributes.
2585         * makefile.nt (clean): Delete patch generated files, optimized
2586         build directory.
2588 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
2590         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
2592 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2594         * Version 20.2 released.
2596 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2598         * Version 20.1 released.
2600 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
2602         * debug.bat.in: New file.
2603         * makefile.nt (debug.bat): New target.
2605 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
2607         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
2608         Quote group name.  Allow different icons to be specified.
2610         * cmdproxy.c (get_env_size): New function.
2611         (spawn): Explicitly pass in environment when creating subprocess.
2612         (main): Cleanup error messages.
2613         Specify dynamically sized environment block for real shell.
2614         Pass on unhandled switches to real shell.
2615         Quote program name.
2617         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
2618         directory.
2619         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
2621         * runemacs.c (WinMain): Allow Emacs process to be started with
2622         high or low priority.
2624         * emacs.bat.in: Remove OS dependent operations.
2626 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
2628         * addpm.c (env_vars): No longer set INFOPATH.
2630         * cmdproxy.c (get_next_token): Null terminate token returned.
2632         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
2634 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
2636         * addpm.c (env_vars): Set SHELL to cmdproxy.
2637         (main): Initialize idDde to 0.
2638         Determine emacs_path from module file name.
2639         Prompt for install.
2641         * makefile.def (MSVCNT11): Conditionally define it.
2642         (BASE_LIBS): Do not use oldnames.lib.
2643         (SYS_LDFLAGS): Use pdb files.
2644         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
2645         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
2646         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
2648         * makefile.nt (ALL): Build cmdproxy.
2649         (cmdproxy): New target.
2650         (install): Install cmdproxy.
2652         * ftime.bat, debug.bat, cmdproxy.c: New files.
2654 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
2656         * inc/sys/socket.h (shutdown): Define.
2657         (sys_shutdown): Export.
2659 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2661         * config.nt (RE_TRANSLATE): Copy definition from config.in.
2663 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
2665         * config.nt: Update file comments.
2666         Update undefs added/removed in src/config.in.
2668 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
2670         * makefile.def, emacs.bat: Use windows95 and windowsnt instead
2671         of win95 and winnt, respectively.
2673 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
2675         * makefile.nt (real_install): Create site-lisp in installation dir.
2676         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
2677         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
2679 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2681         * Version 19.33 released.
2683 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
2685         * runemacs.c (WinMain): Put a space between the binary and its args.
2687 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2689         * Version 19.32 released.
2691 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
2693         * makefile.nt (clean): Use OBJDIR macro.
2695 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
2697         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
2698         Not defined by default.
2699         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
2700         (WinMain): Convert backslashes to slashes in env var values.
2702         * addpm.c (env_vars): Use slashes, not backslashes.
2704 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2706         * Version 19.31 released.
2708 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
2710         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
2711         undo settings afterwards.
2713 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
2715         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
2716         environment variable.
2718 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
2720         * install.bat: Allow for optimized build.
2721         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
2722         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
2724 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
2726         * addpm.c (REG_ROOT): Don't use a trailing backslash.
2727         (env_vars): Rename field emacs_path to emacs_dir.
2728         (main): Add link to runemacs instead of emacs.
2730         * install.bat: Check if INSTALL_DIR is passed as an argument.
2732         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
2734         * makefile.nt: Build and install runemacs.exe.
2736         * runemacs.c: New file.
2738         * config.w95: File removed.
2740         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
2741         inc/sys/socket.h, inc/sys/time.h: New header files.
2743         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
2745 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
2747         * makefile.def (DEL): Defined.
2748         (DEL_TREE) [win95]: Defined.
2749         (SYS_LDFLAGS): Set executable versions to 3.10.
2751         * makefile.nt: Change uses of del to $(DEL).
2753 1996-01-17  Erik Naggum  <erik@naggum.no>
2755         * All files: Update FSF's address in comment preamble.
2757 1996-01-03  George V. Reilly  <georger@microcrafts.com>
2759         * emacs.ico: Now the proverbial kitchen sink icon.
2761 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2763         * Version 19.30 released.
2765 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
2767         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
2769         * makefile.nt (install, fast_install, real_install, clean):
2770         Don't use switches to del not supported by Windows 95.
2772 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
2774         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
2775         (install, fast_install): Change same-dir test to create test file in
2776         installation tree and thereby support read-only shares.
2777         (clean): Remove .pdb files.
2779         * makefile.def (NTGUI): New macro.
2780         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
2782         * config.nt, config.w95: Update to latest src/config.in.
2784         * addpm.c (env_vars): New variable.
2785         (add_registry): New procedure.
2786         (main): Use values of configuration environment variables from
2787         the registry if defined, the process environment otherwise.
2789 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2791         * Version 19.29 released.
2793         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
2795 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
2797         * makefile.nt: Define .c to .obj suffix rule.
2798         (addpm.obj): Compile directly, use CFLAGS.
2799         (addpm.exe): Link from addpm.obj.
2801         * makefile.def (MSVCNT11): Defined.
2802         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
2803         (CFLAGS_COMMON): Defined.
2804         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
2806 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
2808         * emacs.bat.in: Renamed from emacs.bat.
2809         (emacs_dir): Rename from emacs_path.
2810         Definition removed.
2812         * addpm.c: New file.
2813         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
2814         (all): Depend upon $(BLD) and $(ALL).
2815         (install): Depend upon emacs.bat.
2816         Create program item for Emacs.
2817         (clean): Delete obj.
2818         (emacs.bat): Defined.
2819         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
2821 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
2823         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
2824         Add carriage returns; necessary for batch files on Windows 95.
2826 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
2828         * config.w95: Created.
2829         * config.h: Changed to config.nt.
2831         * makefile.nt (SUBDIRS): Commented out.
2832         (all, install, clean): Expand for-loops.
2833         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
2835         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
2836         (ARCH): New definition.
2837         (CPU, CONFIG_H, OS_TYPE): Defined.
2838         (INCLUDE, LIB): Checked if valid.
2839         (ntwin32.mak): Included.
2840         (AR, CC, LINK): New definition.
2841         (ADVAPI32, libc, BASE_LIBS): Defined.
2842         (SYS_LDFLAGS): New definition.
2843         Update comments and preprocessor conditionals.
2845         * emacs.bat (SHELL): Conditionally defined.
2846         (HOME): Conditionally defined.
2847         (emacs_path, HOME): Update comments.
2848         Turn off all echo.
2850 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
2852         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
2853         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
2854         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
2855         inc/sys/param.h: Removed carriage-returns.
2857 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
2859         * makefile.def (CVTRES): Defined.
2861         * emacs.ico, emacs.rc: New files by Kevin Gallo.
2863 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
2865         * src: Remove directory.
2867         * src\config.h, src\paths.h: Moved to parent dir, src removed.
2869 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
2871         * makefile.def (INSTALL_DIR): Change to generic directory.
2873         * emacs.bat: Added arguments when emacs.exe invoked.
2875         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
2877 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
2879         * makefile.def (CC): In configuration section.
2880         (COMPAT_LIB): Defined.
2882 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
2884         * src/paths.h: New file.
2886         * src/config.h: New file.
2888         * inc/pwd.h: New file.
2890         * inc/sys/dir.h: New file.
2892         * inc/sys/file.h: New file.
2894         * inc/sys/ioctl.h: New file.
2896         * inc/sys/param.h: New file.
2898         * todo: New file.
2900         * README: New file.
2902         * makefile.nt: New file.
2904         * makefile.def: New file.
2906         * install.cmd: New file.
2908         * INSTALL: New file.
2910         * fast-install.cmd: New file.
2912         * emacs.cmd: New file.
2914         * ebuild.cmd: New file.
2916         * _emacs: New file.
2918 ;; Local Variables:
2919 ;; coding: utf-8
2920 ;; add-log-time-zone-rule: t
2921 ;; End:
2923   Copyright (C) 1995-1999, 2001-2013 Free Software Foundation, Inc.
2925   This file is part of GNU Emacs.
2927   GNU Emacs is free software: you can redistribute it and/or modify
2928   it under the terms of the GNU General Public License as published by
2929   the Free Software Foundation, either version 3 of the License, or
2930   (at your option) any later version.
2932   GNU Emacs is distributed in the hope that it will be useful,
2933   but WITHOUT ANY WARRANTY; without even the implied warranty of
2934   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2935   GNU General Public License for more details.
2937   You should have received a copy of the GNU General Public License
2938   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.