vc-hooks.el workaround for bug#11490
[emacs.git] / nt / ChangeLog
blob20789c75ec3cff0c89fd03983bd6d1b21f380a72
1 2012-11-24  Paul Eggert  <eggert@cs.ucla.edu>
3         Revert recent change for Bug#8855; see ../src/ChangeLog.
5 2012-11-23  Eli Zaretskii  <eliz@gnu.org>
7         Fix a race condition with glib (Bug#8855).
8         This is a backport from the trunk, consisting of:
10         * inc/sys/wait.h: New file, with prototype of waitpid and
11         definitions of macros it needs.
12         * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
13         (sys_wait): Remove prototype.
14         * config.nt (HAVE_SYS_WAIT_H): Define to 1.
16 2012-11-20  Eli Zaretskii  <eliz@gnu.org>
18         * nmake.defs: Use !if, not !ifdef.  See
19         http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
20         for the details.
22         * inc/stdint.h (INTPTR_MIN): Define for MSVC.
24 2012-11-19  Eli Zaretskii  <eliz@gnu.org>
26         * inc/stdint.h (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
28 2012-11-01  Eli Zaretskii  <eliz@gnu.org>
30         * inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)
32         * config.nt (GETPGRP_VOID): Define to 1.
34 2012-10-24  Juanma Barranquero  <lekktu@gmail.com>
36         * config.nt: Sync with autogen/config.in.
38 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
40         * inc/pwd.h (getuid, geteuid): Add prototypes.
42         * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
43         (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
44         (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
45         (sys_kill, getpagesize): Add prototypes for emulated functions.
47         * inc/grp.h (getgid, getegid): Add prototypes.
49         * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
51         * configure.bat (chkapiN): Avoid compiler warning in junk.c when
52         compiling with -std=gnu99.
54         * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
55         could be used via --cflags switch to configure.bat.
57 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
59         * config.nt: Sync with autogen/config.in.
60         (HAVE_NTGUI): New macro.
62 2012-10-02  Eli Zaretskii  <eliz@gnu.org>
64         * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
65         compiler warnings when using the value.
67 2012-10-01  Eli Zaretskii  <eliz@gnu.org>
69         * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
70         'void *', for pointer arithmetics.
71         (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
72         macro arguments in parentheses.
74 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
76         * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
78 2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>
80         * inc/sys/socket.h: Don't map Winsock error codes to standard ones
81         that are already defined.
83         * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
84         (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
85         [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
87         * preprep.c (pfnCheckSumMappedFile, rva_to_section)
88         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
89         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
90         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
91         (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
92         Use DWORD_PTR instead of DWORD for compatibility with x64.
94         * nmake.defs: Support AMD64.
95         (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
97         * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
98         New macros.
100         * addsection.c (pfnCheckSumMappedFile, rva_to_section)
101         (offset_to_section, relocate_offset, OFFSET_TO_RVA)
102         (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
103         (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
104         (copy_executable_and_add_section, main): Use DWORD_PTR instead of
105         DWORD, for compatibility with x64.
107         * emacs-x64.manifest: New file.
109         * emacs-x86.manifest: Renamed from emacs.manifest.
111 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
113         * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
114         (struct itimerval): Define.
115         (getitimer, setitimer): Add prototypes.
117         * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
118         with MinGW.
119         (SA_RESTART, SIGPROF): Define.
121         * config.nt (HAVE_SETITIMER): Define to 1.
123 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
125         * config.nt: Sync with autogen/config.in.
127 2012-09-29  Juanma Barranquero  <lekktu@gmail.com>
129         * config.nt: Sync with autogen/config.in.
130         (HAVE_TIMER_SETTIME): New macro.
132 2012-09-23  Eli Zaretskii  <eliz@gnu.org>
134         * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
136 2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>
138         Simplify and avoid signal-handling races (Bug#12471).
139         * inc/ms-w32.h (emacs_raise): New macro.
141 2012-09-18  Eli Zaretskii  <eliz@gnu.org>
143         * configure.bat: Include stddef.h before gif_lib.h, to have size_t
144         defined, as needed by giflib-5.0.0.  (Bug#12464)
146 2012-09-17  Juanma Barranquero  <lekktu@gmail.com>
148         * config.nt: Sync with autogen/config.in.
149         (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
151 2012-09-17  Glenn Morris  <rgm@gnu.org>
153         * config.nt (COPYRIGHT): New.
155 2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>
157         Port _setjmp fix to POSIXish hosts as well as Microsoft.
158         * config.nt: Attempt to sync with autogen/config.in.
159         (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
160         (_longjmp, _setjmp): Remove.
162 2012-09-14  Juanma Barranquero  <lekktu@gmail.com>
164         * config.nt: Sync with autogen/config.in.
165         (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
166         (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
167         (USABLE_FIONREAD, USABLE_SIGIO): New macros.
169 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
171         * config.nt: Sync with autogen/config.in.
172         (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
173         (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
175 2012-09-08  Eli Zaretskii  <eliz@gnu.org>
177         * configure.bat <use_extensions>: Don't leave it set in the
178         environment when the script exits.
180 2012-09-07  Juanma Barranquero  <lekktu@gmail.com>
182         * config.nt: Sync with autogen/config.in.
183         (NO_ABORT, SIGNAL_H_AHB): Remove.
185 2012-09-07  Eli Zaretskii  <eliz@gnu.org>
187         * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
189 2012-09-05  Juanma Barranquero  <lekktu@gmail.com>
191         * config.nt: Sync with autogen/config.in.
193 2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>
195         Simplify redefinition of 'abort' (Bug#12316).
196         * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
198 2012-09-02  Juanma Barranquero  <lekktu@gmail.com>
200         * config.nt: Sync with autogen/config.in.
201         (HAVE_EXECINFO_H, TERM_HEADER): New macros.
203 2012-09-01  Daniel Colascione  <dancol@dancol.org>
205         * inc/ms-w32.h (TERM_HEADER): Add for refactoring
207 2012-08-22  Juanma Barranquero  <lekktu@gmail.com>
209         * config.nt: Sync with autogen/config.in.
211 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
213         * config.nt: Sync with autogen/config.in.
214         (HAVE_POSIX_OPENPT): New macro.
216 2012-08-14  Juanma Barranquero  <lekktu@gmail.com>
218         * config.nt: Sync with autogen/config.in.
219         (_GL_INLINE_HEADER_BEGIN): Update.
221 2012-08-10  Glenn Morris  <rgm@gnu.org>
223         * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
225 2012-08-07  Juanma Barranquero  <lekktu@gmail.com>
227         * config.nt: Sync with autogen/config.in.
228         (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
229         (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
231         * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
233 2012-08-06  Glenn Morris  <rgm@gnu.org>
235         * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
236         (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
238 2012-08-04  Eli Zaretskii  <eliz@gnu.org>
240         * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
241         (PATH_DATA, PATH_DOC): Replace dummy directory names with
242         directories relative to %emacs_dir%.
243         (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
244         to the use case of running un-installed Emacs.
246 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
248         * config.nt: Sync with autogen/config.in.
249         (DOS_NT, MSDOS): New macros.
250         (WRETCODE, wait3): Remove.
252         * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
254 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
256         * inc/sys/stat.h (S_IFLNK): Define.
257         (S_ISLNK): A non-trivial definition.
258         (lstat): Prototype instead of a macro that redirects to 'stat'.
260 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
262         Use C99-style 'extern inline' if available.
263         * config.nt: Sync with autogen/config.in.
264         (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
265         (_GL_INLINE_HEADER_END): New macros.
267 2012-08-02  Glenn Morris  <rgm@gnu.org>
269         * inc/ms-w32.h: Move here from ../src/s.
270         * config.nt (config_opsysfile): Change to <ms-w32.h>.
272 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
274         * config.nt: Sync with autogen/config.in.
275         (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
276         (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
277         New macros.
279 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
281         * config.nt: Sync with autogen/config.in.
282         Remove code moved to conf_post.h and include <conf_post.h>
283         (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
284         (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
286 2012-07-29  Juanma Barranquero  <lekktu@gmail.com>
288         * config.nt: Sync with autogen/config.in.
289         (HAVE_ENVIRON_DECL): New macro.
291 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
293         * inc/stdalign.h (_Alignas, alignas): Define.
295 2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>
297         Use Gnulib stdalign module (Bug#9772, Bug#9960).
298         * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
300 2012-07-14  Juanma Barranquero  <lekktu@gmail.com>
302         * config.nt: Sync with autogen/config.in.
303         (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
304         (SETUP_SLAVE_PTY): New macros.
306 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
308         * config.nt: Sync with autogen/config.in.
309         (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
310         (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
311         (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
312         (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
313         (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
314         (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
315         (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
316         (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
317         (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
318         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
319         Set in src/s/ms-w32.h, not here.
321 2012-07-11  Juanma Barranquero  <lekktu@gmail.com>
323         * config.nt: Sync with autogen/config.in.
324         (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
325         (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
326         (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
328 2012-07-10  Juanma Barranquero  <lekktu@gmail.com>
330         * config.nt: Sync with autogen/config.in.
332 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
334         * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
336 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
338         * config.nt: Sync with autogen/config.in.
340 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
342         * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
344 2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
345             Eli Zaretskii  <eliz@gnu.org>
347         * config.nt: Complete rework to bring it in sync with autogen/config.in.
348         All Windows-specific code moved to src/s/ms-w32.h.
350 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
351             Eli Zaretskii  <eliz@gnu.org>
353         * configure.bat (enablechecking): Enable checks through src/config.h,
354         not the compiler's command line.
356         * nmake.defs (CHECKING_CFLAGS): Remove.
357         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
359         * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
360         (CHECKING_CFLAGS): Remove.
361         (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
363 2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
365         * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
366         (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
367         (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
368         (HAVE_MEMCMP): Remove, obsolete.
370 2012-06-30  Glenn Morris  <rgm@gnu.org>
372         * paths.h (PATH_SITELOADSEARCH): New.
374 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
376         * nmake.defs (CHECKING_CFLAGS):
377         * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
379 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
381         * config.nt (_Noreturn): Don't reference __SUNPRO_C.
383 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
385         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
386         * config.nt (_Noreturn): New macro.
387         (NO_RETURN): Remove.  All uses replaced with _Noreturn.
388         (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
390 2012-06-24  Eli Zaretskii  <eliz@gnu.org>
392         * inc/sys/time.h (struct timespec): Don't define it here, it is
393         now defined in src/s/ms-w32.h.
395 2012-06-23  Eli Zaretskii  <eliz@gnu.org>
397         Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
398         * inc/sys/time.h (struct timespec): Define.
400 2012-06-16  Eli Zaretskii  <eliz@gnu.org>
402         * makefile.w32-in (install-addpm): New target.
403         (dist): Depend on it.
404         (install-shortcuts): Depend on install-addpm instead of copying
405         addpm.exe as part of the recipe.  See
406         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
407         for the related problem and discussions.
409 2012-06-11  Glenn Morris  <rgm@gnu.org>
411         * config.nt (SYSTEM_TYPE): Define it.
413 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
415         * configure.bat (genmakefiles): Move the redirection away from the
416         end of the command, to avoid excess whitespace at the end of Make
417         variables created at configure time, and also avoid things like
418         "FOO1>>config.settings", where "1" gets interpreted as the file
419         descriptor and eaten up.  This fixes breakage introduced by the
420         last change, without reintroducing the bug fixed by that change.
422 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
424         * nmake.defs (MWINDOWS): Define as
425         "-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
426         Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)
428         * gmake.defs (MWINDOWS): Define as "-mwindows".
430 2012-05-28  Eli Zaretskii  <eliz@gnu.org>
432         * config.nt (HAVE_SYSINFO): Remove; unused.
434 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
436         * inc/stdalign.h: New file.
438         * configure.bat: Ensure a space between %var% expansion and
439         redirection symbol '>', which breaks when %var% ends in a digit,
440         such as 1.
442 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
444         Remove src/m/*.
445         * config.nt: Do not include "m/intel386.h"; file was removed.
446         (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
447         Move to src/lisp.h.
448         (EMACS_INT_MAX): New macro.
450 2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>
452         * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
453         (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
455         * config.nt (HAVE_FTIME): Remove undef; not needed.
457 2012-05-01  Glenn Morris  <rgm@gnu.org>
459         * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
461 2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
463         * makefile.w32-in: Fix typo (Bug#10261).
465 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
467         * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
468         each runs makeinfo in its own subdirectory of 'doc'.
469         (info-gmake): Depend on these new targets.
471 2012-04-07  Glenn Morris  <rgm@gnu.org>
473         * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
474         Bump version to 24.1.50.
476 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
478         * configure.bat: Support building with libxml2.
480         * INSTALL:
481         * README.W32: Add information about libxml2.
483 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
485         * makefile.w32-in: Convert to Unix EOL format.
486         (all): Don't depend on stamp_BLD and on maybe-bootstrap.
487         (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
488         (bootstrap-gmake): Invoke the "clean" and build targets in 2
489         separate commands, so they run in that order even under "make -j".
491 2012-03-29  Eli Zaretskii  <eliz@gnu.org>
493         * config.nt: Discourage from defining HAVE_GETCWD.
495 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
497         * makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
498         $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
499         on other (parallel) Make job's toes.
500         (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
501         (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
502         here.
503         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist): Depend
504         on create-tmp-dist-dir.
506         * nmake.defs (DIRNAME): New variable.
507         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
508         same-dir.tst.
510         * gmake.defs (DIRNAME): New variable.
511         (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
512         same-dir.tst, to avoid conflicts between several (parallel) Make
513         jobs.
515 2012-02-24  Eli Zaretskii  <eliz@gnu.org>
517         Prevent endless re-spawning of cmdproxy.exe when some of its
518         parent directories have access limitations.
520         * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
521         and our own module name to short 8+3 aliases, if the original file
522         names compare equal.  If GetShortPathName fails, compare the base
523         names of the two file names, and only re-spawn the command line if
524         the base-name comparison also fails.  (Bug#10674)
526 2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
528         * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
530 2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>
532         * README.W32: Removed specific version information for libXpm
533         included in the binary distribution for maintenance purposes.
535 2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>
537         * README.W32: Clarification for inclusion in source tarball (bug#9750).
539         * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
541         * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
543         * makefile.w32-in (maybe-copy-distfiles)
544         (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
545         (create-tmp-dist-dir): Add to make --distfiles optional.
546         (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
548 2012-02-04  Eli Zaretskii  <eliz@gnu.org>
550         * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
551         by other headers.
553 2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
555         * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
556         (UINT64_MAX) [_WIN64]: Fix definition.
557         (uintmax_t, intmax_t): Fix definitions.
559         * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
560         Provide correct definitions.
562         * config.nt (HAVE_DECL_STRTOLL): Define.
563         (va_copy) [_WIN64]: Provide a better definition.
565 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
567         * configure.bat: Fix typos.
569 2011-11-25  Eli Zaretskii  <eliz@gnu.org>
571         * INSTALL: Elaborate on debugging fatal errors.
573 2011-11-15  Eli Zaretskii  <eliz@gnu.org>
575         * README.W32: Update the GTK Windows download URL for libpng.
577 2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
579         * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
581 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
583         * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
584         (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
585         (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
586         (intmax_t, INT64_MAX): Add for MSVC.
588         * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
590 2011-11-05  Eli Zaretskii  <eliz@gnu.org>
592         * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
594         Support MSVC build with newer versions of Visual Studio.
595         * makefile.w32-in (clean-other-dirs-nmake)
596         (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
597         Update for current structure of doc/ subdirectories.
599         * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
601         * INSTALL: Update for newer versions of MSVC.
603 2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
605         Support MSVC build with newer versions of Visual Studio.
606         * nmake.defs (USE_CRT_DLL): Define to 1.
607         (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
608         (D): New variable.
610 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
612         * runemacs.c (ensure_unicows_dll): New function, tries to load
613         UNICOWS.DLL on Windows 9X.
614         (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
615         display a dialog to the effect that Emacs cannot be started.
616         (Bug#8562)
618 2011-10-28  Eli Zaretskii  <eliz@gnu.org>
620         * README.W32: Mention UNICOWS.DLL as prerequisite for running
621         Emacs on Windows 9X.
623 2011-10-25  Eli Zaretskii  <eliz@gnu.org>
625         * makefile.w32-in (dist): Don't put the top-level INSTALL into the
626         distribution.  (Bug#9861)
628 2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>
630         * INSTALL: Update URL for GTK download page.
632 2011-10-19  Eli Zaretskii  <eliz@gnu.org>
634         * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
635         (Bug#9794) (Bug#641)
637 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
639         * config.nt (HAVE_SNPRINTF): New macro.
641 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
643         Assume freestanding C89 headers, string.h, stdlib.h.
644         * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
645         (STDC_HEADERS): Remove.
646         Iinclude string.h, stdlib.h unconditionally.
648 2011-06-07  Eli Zaretskii  <eliz@gnu.org>
650         * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
651         [!__GNUC__]: New macros.
653 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
655         Use 'inline', not 'INLINE'.
656         * config.nt (INLINE): Remove.
658 2011-05-17  Eli Zaretskii  <eliz@gnu.org>
660         * README.W32: Add information about GnuTLS libraries.
662 2011-05-09  Eli Zaretskii  <eliz@gnu.org>
664         * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
666 2011-05-07  Ben Key  <bkey76@gmail.com>
668         * configure.bat: Renamed the fusercflags variable to escusercflags
669         so that the variable name better matches its purpose, to be
670         identical to usercflags with the exception that all quotes are
671         escaped by the \ character.
673         Renamed the fuserldflags variable to escuserldflags so that the
674         variable name better matches its purpose, to be identical to
675         userldflags with the exception that all quotes are escaped by
676         the \ character.
678         A new ESC_USER_CFLAGS variable is written to config.settings.
679         This variable has the same value as the escusercflags variable.
681         * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
682         This variable is identical to the CFLAGS variable except that it
683         includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
685         These changes, along with some changes to src/makefile.w32-in,
686         are required to extend my earlier fix to add support for
687         --cflags and --ldflags options that include quotes so that it
688         works whether make uses cmd or sh as the shell.
690 2011-05-06  Eli Zaretskii  <eliz@gnu.org>
692         * inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
693         definition of uintmax_t from here...
694         * inc/stdint.h (uintmax_t): ...to here.
695         (intptr_t) [!__GNUC__]: New typedef.
697 2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
699         * config.nt: Prepare to configure 64-bit integers for older compilers.
700         However, temporarily disable this change unless the temporary
701         symbol WIDE_EMACS_INT is defined.
702         (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
703         "%I64d" work but long long and "%lld" do not.
705 2011-05-05  Ben Key  <bkey76@gmail.com>
707         * configure.bat: Added support for --cflags and --ldflags
708         options that include quotes as long as command extensions are
709         enabled.  Specifically when -I, -L, and similar flags are used
710         to specify supplementary include and library directories a
711         directory name that includes spaces may now be used if it is
712         enclosed in quotes.
714         * INSTALL: Documented the change to configure.bat.
716 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
718         * INSTALL: Clarify GnuTLS support.
720 2011-04-30  Eli Zaretskii  <eliz@gnu.org>
722         * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
723         Define to 1 for MinGW of MSVC versions >= 1400.
725 2011-04-28  Eli Zaretskii  <eliz@gnu.org>
727         * gmake.defs (ARCH): Fix error message in case of unknown architecture.
729 2011-04-27  Eli Zaretskii  <eliz@gnu.org>
731         * inc/inttypes.h: New file.
733         * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
734         (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
736 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
738         * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
739         inside quotation marks and bail out.
741 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
743         * cmdproxy.c (try_dequote_cmdline): New function.
744         (main): Use it.
746 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
748         * configure.bat: New options --without-gnutls and --lib, new build
749         variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
750         library setup with trivial modifications.
751         * INSTALL: Add instructions for GnuTLS support.
752         * gmake.defs: Prefix USER_LIBS with -l.
754 2011-04-15  Ben Key  <bkey76@gmail.com>
756         * configure.bat: Modified the code that parses the --cflags and
757         --ldflags options to support parameters that include the =
758         character as long as they are enclosed in quotes.
759         This functionality depends on command extensions.  Configure.bat now
760         attempts to enable command extensions and displays a warning
761         message if they could not be enabled.  If configure.bat could
762         not enable command extensions the old parsing code is used that
763         does not support parameters that include the = character.
765         * INSTALL: Updated the file to describe the new functionality
766         using text provided by Eli Zaretskii.
768 2011-04-06  Eli Zaretskii  <eliz@gnu.org>
770         * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
771         (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
772         on the trunk on 2011-04-06.
774 2011-03-27  Glenn Morris  <rgm@gnu.org>
776         * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
778 2011-03-25  Juanma Barranquero  <lekktu@gmail.com>
780         * addpm.c (main): Remove unused variable `retval'.
782         * preprep.c (main): Remove unused variable `ptr'.
784 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
786         * cmdproxy.c: Include <ctype.h>.
787         (make_absolute): Remove unused variable `i'.
789 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
791         * Version 23.3 released.
793 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
795         * inc/unistd.h (readlink, symlink): Declare prototypes.
797 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
799         * config.nt (nlink_t): Define.
801 2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>
803         * inc/stdint.h: New file, to support compilation with tool chains
804         that do not have stdint.h (e.g. MSVC).
806 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
808         * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
809         (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
810         (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
811         (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
812         (lstat): Define to stat.
814 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
816         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
817         "make-docfile" target in lib-src, before bootstrapping the src
818         directory.  Needed since building in src needs to run make-docfile
819         to produce globals.h.
821 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
823         * config.nt (inline) [__GNUC__]: Define (for gnulib).
825 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
827         * config.nt (VERSION): Uncomment definition.
828         (restrict): Define.
830         * inc/stdbool.h: New file.
832 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
834         * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
835         (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
836         (bootstrap-clean-gmake, clean-other-dirs-nmake)
837         (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
838         (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
839         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
840         (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
841         (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
843         * configure.bat: Create lib/makefile.
845         * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
846         (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
847         (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
848         (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
850 2011-01-07  Eli Zaretskii  <eliz@gnu.org>
852         * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
854 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
856         * configure.bat (end): Unset environment variables used by this
857         batch file.
859         * INSTALL: Update the information about PNG support libraries.
860         (Bug#7716)
862         * README.W32: Update the information about PNG support libraries.
864 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
866         * config.nt (EXTERNALLY_VISIBLE): Define.
868 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
870         * INSTALL: Refer to `dynamic-library-alist'.
872 2010-10-06  Juanma Barranquero  <lekktu@gmail.com>
874         * INSTALL: Add note about problematic characters passed to configure.
876 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
878         * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
879         emacs-src.tags: New file.
881         * gmake.defs: Add a comment with a single quote to fix
882         fontification.  (Bug#7102)
884 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
886         * configure.bat: Fix the condition for copying paths.h into
887         ../src/epaths.h.
889 2010-09-28  Juanma Barranquero  <lekktu@gmail.com>
891         * addpm.c (entry, add_registry, main):
892         * addsection.c (file_data, open_input_file, open_output_file)
893         (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
894         (COPY_CHUNK):
895         * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
896         (skip_nonspace, get_next_token, search_dir, make_absolute)
897         (spawn, main):
898         * preprep.c (file_data, open_input_file, open_output_file)
899         (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
900         Use const char*.
902         * cmdproxy.c (stdin): Don't define, not used.
903         (main): Don't assign remlen after last use.
905 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
907         * configure.bat: Err out when the argument of --cflags contains
908         invalid characters (check implemented only for GCC).  (Bug#6820)
910 2010-08-19  Juanma Barranquero  <lekktu@gmail.com>
912         * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
914 2010-08-12  Jason Rumney  <jasonr@gnu.org>
916         * addpm.c (add_registry): Set path for runemacs.exe to use.
918 2010-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
920         * cmdproxy.c (main): Use _snprintf instead of wsprintf,
921         which has a 1024 char limit on Windows (bug#6647).
923 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
925         * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
926         Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
928 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
930         * config.nt: Remove code referring to NO_REMAP, unused.
932 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
934         Build binary distros on Windows using emacs-VERSION as root dir name.
936         * makefile.w32-in: Copy README.W32 to installation directory
937         during `make install'.  Remove README.W32 with `distclean' (in
938         case Emacs was installed in place).  Use temporary directory to
939         create distribution zip files in `dist' target.
940         * zipdist.bat: Simplify code using temporary directory.
942 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
944         * runemacs.c (set_user_model_id): Fix prototype.
946 2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>
948         New make target for Windows platform: make dist (bug#6602)
950         * INSTALL: Document new dist target and add section about
951         creating binary distributions.
952         * README.W32: Relocate from admin/nt/ directory.
953         * configure.bat: New parameter `--distfiles'.
954         * makefile.w32-in: Add version number, new target `dist'.
955         Add new target `install-shortcuts'.
956         * zipdist.bat: New file; create zipped binary distribution,
957         replaces admin/nt/makedist.bat.
959 2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
961         * INSTALL: Add note about backslashes in Windows paths.
962         Fix typos.  Simplify references to Windows versions.
964 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
966         * addpm.c (add_registry, main):
967         * cmdproxy.c (get_env_size):
968         * ddeclient.c (main):
969         * runemacs.c (set_user_model_id):
970         Convert definitions to standard C.
972 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
974         * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
976 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
978         * configure.bat: New option --enable-checking.
979         * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
980         (CFLAGS): Include it.
982 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
984         * config.nt (volatile): Remove definition.
986 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
988         * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
989         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
991 2010-07-02  Juanma Barranquero  <lekktu@gmail.com>
993         * config.nt (__P): Remove.
995 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
997         * config.nt: Remove code depending on BSTRING.
999 2010-06-03  Glenn Morris  <rgm@gnu.org>
1001         * config.nt: Remove NOT_C_CODE tests, it is always true now.
1003 2010-05-13  Glenn Morris  <rgm@gnu.org>
1005         * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1007 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1009         * Version 23.2 released.
1011 2010-05-04  Glenn Morris  <rgm@gnu.org>
1013         * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1015 2010-04-20  Lewis Perin  <perin@panix.com>  (tiny change)
1017         * emacs.manifest: Add trustInfo section to Windows manifest.
1019 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
1021         * Branch for 23.2.
1023 2010-01-13  Martin Rudalics  <rudalics@gmx.at>
1025         * emacsclient.rc: Fix format of "LegalCopyright" value.
1027 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
1029         * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1031 2009-12-27  Karl Fogel  <kfogel@red-bean.com>
1033         * INSTALL: Update for CVS->Bazaar switchover.
1035 2009-09-14  Juanma Barranquero  <lekktu@gmail.com>
1037         * configure.bat: Add #define PROFILING to config.h.
1039 2009-07-03  Jason Rumney  <jasonr@gnu.org>
1041         * runemacs.c (set_user_model_id): Use standard types.
1043 2009-06-30  Jason Rumney  <jasonr@gnu.org>
1045         * runemacs.c (set_user_model_id): New function.
1046         (WinMain): Use it.
1048 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
1050         * Branch for 23.1.
1052 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
1054         * inc/sys/stat.h (struct stat): Change the types of st_uid and
1055         st_gid to unsigned.
1057         * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1058         to unsigned.
1059         (getpwuid): Argument is now unsigned.
1060         uid_t is now unsigned.
1062 2009-02-24  Juanma Barranquero  <lekktu@gmail.com>
1064         * INSTALL: Add comment about TCC; fix typos.
1066 2009-01-26  Jason Rumney  <jasonr@gnu.org>
1068         * emacsclient.rc, emacs.rc: Swap name and description.
1069         Remove Windows versions.
1071 2009-01-15  Jason Rumney  <jasonr@gnu.org>
1073         * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1075         * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1077         * addpm.c (main): Try using COM to create start menu shortcuts
1078         before resorting to DDE (Bug#202)
1079         Remove second command-line argument.
1081 2009-01-03  Juanma Barranquero  <lekktu@gmail.com>
1083         * configure.bat: Untabify help message.
1085 2009-01-03  Jason Rumney  <jasonr@gnu.org>
1087         * configure.bat: New option --with-svg.
1089         * INSTALL: Document experimental SVG support.
1091 2008-12-25  Jason Rumney  <jasonr@gnu.org>
1093         * config.nt (PTR): Remove.
1095 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
1097         * config.nt (LISTPROC, PROCATTR): Remove.
1099 2008-08-09  Eli Zaretskii  <eliz@gnu.org>
1101         * config.nt (LISTPROC, PROCATTR): New macros.
1103 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
1105         * config.nt (MULTI_KBOARD): Remove.
1107 2008-07-23  Jason Rumney  <jasonr@gnu.org>
1109         * configure.bat: New option --profile.
1110         * gmake.defs: Set cflags and ldflags for profiling when specified.
1112 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
1114         * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1116 2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
1118         * config.nt (HAVE_FACES): Remove, unused.
1120 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
1121             Eli Zaretskii  <eliz@gnu.org>
1123         * nmake.defs (FONT_CFLAGS):
1124         * gmake.defs (FONT_CFLAGS): Remove.
1125         (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1126         (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1127         and _CRTAPI1.
1128         (ARCH_FLAGS): Don't include _X86_.
1130         * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1132 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1134         * config.nt: Remove reference to UNEXEC_SRC.
1136 2008-06-23  Juanma Barranquero  <lekktu@gmail.com>
1137             Eli Zaretskii  <eliz@gnu.org>
1139         * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1140         Don't hardcode -gstabs+, use DEBUG_INFO.
1142         * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1143         Default to stabs if the compiler does not support DWARF-2.
1144         (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1146 2008-05-14  Jason Rumney  <jasonr@gnu.org>
1148         * configure.bat: Remove code dealing with --disable-font-backend.
1150 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
1152         * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1153         better alignment.  Make st_size 64-bit wide.  Add new members
1154         st_uname and st_gname.
1156         * inc/grp.h (struct group): Add gr_gid member.
1158 2008-04-23  Eli Zaretskii  <eliz@gnu.org>
1160         * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1161         (all): ...to here.  $(ALL) is a prerequisite of .PHONY, so having
1162         a real file there is not a good idea.
1164 2008-04-23  Jason Rumney  <jasonr@gnu.org>
1166         * makefile.w32-in (CLIENTRES): New variable and build target.
1167         (all): Depend on it.
1168         ($(TRES)): Use $(TRES) in rule.
1170 2008-04-21  Jason Rumney  <jasonr@gnu.org>
1172         * configure.bat (success): Print "make" rather than "gmake", as that
1173         is what MinGW uses.
1175 2008-04-11  Eli Zaretskii  <eliz@gnu.org>
1177         * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1178         Add copyright notice.
1180 2008-04-10  Jason Rumney  <jasonr@gnu.org>
1182         * emacsclient.rc: New file.
1184         * INSTALL: Document make targets.
1186 2008-04-09  Jason Rumney  <jasonr@gnu.org>
1188         * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1189         (clean-other-dirs-gmake): Likewise.  Clean doc dirs.
1190         (top-distclean, distclean, distclean-other-dirs-nmake)
1191         (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1192         (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1194 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
1196         * inc/sys/stat.h: New file.
1198         * configure.bat: Add check for usp10.h.
1200 2008-04-04  Jason Rumney  <jasonr@gnu.org>
1202         * INSTALL: Update Windows API requirements.
1204 2008-04-03  Jason Rumney  <jasonr@gnu.org>
1206         * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1208 2008-03-13  Glenn Morris  <rgm@gnu.org>
1210         * emacs.rc: Set version to 23.0.60.
1212 2008-03-04  Jason Rumney  <jasonr@gnu.org>
1214         * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1215         (EMACS_EXTRA_C_FLAGS): Include it.
1216         * configure.bat (usefontbackend): Default to Y.
1217         (--enable-font-backend): Replace with --disable-font-backend.
1218         (:withfont): Replace with :withoutfont.
1220 2008-03-03  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1222         * icons/emacs.ico: Full alpha for 32x32 full color.
1223         Add 32x32 and 16x16 256 color versions.
1225 2008-03-03  Andrew Zhilin  <andrew_zhilin@yahoo.com>
1227         * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1229 2008-03-02  Jason Rumney  <jasonr@gnu.org>
1231         * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1233 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
1235         * icons/README: Update.
1237         * icons/emacs.ico: New icon.
1239 2008-02-25  Juanma Barranquero  <lekktu@gmail.com>
1241         * addpm.c: Include malloc.h.
1242         (add_registry): Cast return value of alloca.
1244 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
1246         * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1248 2008-02-11  Eli Zaretskii  <eliz@gnu.org>
1250         * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1251         conditional on existence of junk.o.  If %nocygwin% is already set
1252         to Y, skip to chkapiN instead of chkapi.
1253         (chkapi): Move "rm -f junk.c junk.o" to here.
1254         (chkapiN): New label.
1256 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1258         * makefile.w32-in: Remove unidata-gen related rules.
1260 2008-02-09  Eli Zaretskii  <eliz@gnu.org>
1262         * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1264 2008-02-11  Jason Rumney  <jasonr@gnu.org>
1266         * addpm.c (add_registry): Add an App Paths registry key.
1267         Look for GTK and add it to the DLL search path for Emacs if found.
1269 2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
1271         * configure.bat: In help, use generic names for the image libraries.
1273 2008-02-04  Juanma Barranquero  <lekktu@gmail.com>
1275         * .cvsignore: Don't ignore .arch-inventory.
1277 2008-02-03  Jason Rumney  <jasonr@gnu.org>
1279         * configure.bat: Make gcc the default compiler.
1281 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
1283         * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1284         Ignore return status.
1286         * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1287         it out of the way of Windows generated file.
1288         Generate admin/unidata/makefile.
1290         * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1291         (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1292         (unidatagen-clean-SH): New targets.
1293         (bootstrap-nmake): Invoke unidatagen-nmake.
1294         (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1296 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1298         * configure.bat (withfont): Set sep1 after modifying usercflags.
1300 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1302         * configure.bat: Rename --with-font-backend to --enable-font-backend
1303         for consistency with other platforms.
1305 2008-02-01  Jason Rumney  <jasonr@gnu.org>
1307         * configure.bat: Add --with-font-backend option.
1309 2008-01-20  Jason Rumney  <jasonr@gnu.org>
1311         * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1312         permissions to NTFS ACLs.
1314 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1316         * config.nt: Remove HAVE_X11R5.
1318 2007-10-22  Jason Rumney  <jasonr@gnu.org>
1320         * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1321         (strings.h, stdlib.h): Conditionally include.
1322         (w32_abort): Declare here.
1323         (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
1325 2007-10-20  Jason Rumney  <jasonr@gnu.org>
1327         * makefile.w32-in (info-nmake): Change into correct directories.
1329 2007-10-20  Eli Zaretskii  <eliz@gnu.org>
1331         * configure.bat (docflags, doldflags): New variables.
1332         (genmakefiles): Use them to work around problems with whitespace
1333         in arguments of the `if' command.
1335 2007-10-18  Jason Rumney  <jasonr@gnu.org>
1337         * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1339 2007-09-27  Jason Rumney  <jasonr@gnu.org>
1341         * gmake.defs (COMCTL32): New system library.
1343         * nmake.defs (COMCTL32): New system library.
1345 2007-09-06  Glenn Morris  <rgm@gnu.org>
1347         * configure.bat:
1348         * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
1349         Change from ../man to ../doc/emacs and ../doc/misc; and from
1350         ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
1352 2007-08-29  Glenn Morris  <rgm@gnu.org>
1354         * emacs.rc: Increase version to 23.0.50.
1356 2007-08-14  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
1358         * makefile.w32-in (bootstrap-nmake): Change directories once more.
1360 2007-07-25  Glenn Morris  <rgm@gnu.org>
1362         * Relicense all FSF files to GPLv3 or later.
1364         * COPYING: Switch to GPLv3.
1366 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
1368         * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
1369         Depend on cmdproxy.
1370         (cleanall): Don't delete *~.
1372 2007-07-15  Jason Rumney  <jasonr@gnu.org>
1374         * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
1375         be fully supported.
1377 2007-07-14  Jason Rumney  <jasonr@gnu.org>
1379         * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
1380         of winsock.h.
1382 2007-07-11  Jason Rumney  <jasonr@gnu.org>
1384         * gmake.defs (OLE32): New library to link.
1386         * nmake.defs (OLE32): Likewise.
1388 2007-06-25  Jason Rumney  <jasonr@gnu.org>
1390         * cmdproxy.c (main): Set console codepages to "ANSI".
1392 2007-06-20  Jason Rumney  <jasonr@gnu.org>
1394         * configure.bat: Complain if image libraries are missing.
1396 2007-06-15  Jason Rumney  <jasonr@gnu.org>
1398         * emacs.manifest: New file.
1400         * emacs.rc: Use it.
1402 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
1404         * Version 22.1 released.
1406 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
1408         * INSTALL: Add information about where to find GDB, and warn
1409         against --no-debug option to configure.bat.
1411 2007-05-19  Eli Zaretskii  <eliz@gnu.org>
1413         * INSTALL: Fix URL of EmacsW32 site where building with image
1414         support is described.
1416 2007-04-26  Glenn Morris  <rgm@gnu.org>
1418         * emacs.rc: Increase version to 22.1.50.
1420 2007-03-31  Eli Zaretskii  <eliz@gnu.org>
1422         * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
1424 2007-03-09  Richard Stallman  <rms@gnu.org>
1426         * INSTALL: Say explicitly this is not for Cygwin.
1428 2007-03-03  Eli Zaretskii  <eliz@gnu.org>
1430         * INSTALL: Add URL of another site with detailed build instructions.
1432 2007-02-16  Glenn Morris  <rgm@gnu.org>
1434         * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
1435         * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
1436         * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
1437         * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
1438         * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
1439         Restore all but two of icons deleted in previous change.
1441 2007-02-13  Chong Yidong  <cyd@stupidchicken.com>
1443         * icons/README: New file.
1445         * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
1446         * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
1447         * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
1448         * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
1449         * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
1450         * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
1451         Unused icons deleted.
1453 2007-01-31  Juanma Barranquero  <lekktu@gmail.com>
1455         * configure.bat: Update ../site-lisp/subdirs.el when needed.
1457 2007-01-30  Juanma Barranquero  <lekktu@gmail.com>
1459         * subdirs.el: Add "no-byte-compile: t" local variable.
1461 2007-01-10  Jason Rumney  <jasonr@gnu.org>
1463         * README: Update URLs and advice about reporting bugs.
1465 2006-12-29  Jason Rumney  <jasonr@gnu.org>
1467         * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
1468         DEBUG_LINK.
1469         (DEBUG_LINK): Remove -debugtype:both.
1471 2006-12-27  Eli Zaretskii  <eliz@gnu.org>
1473         * INSTALL: Update table of supported Make ports.  Show "make -j"
1474         command that is known to work.
1476         * configure.bat: Update table of supported Make ports.
1478 2006-12-24  Eli Zaretskii  <eliz@gnu.org>
1480         * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
1481         only in implicit rules.  Use literal "emacs.rc" instead.
1483 2006-12-23  Eli Zaretskii  <eliz@gnu.org>
1485         * gmake.defs: Export XMFLAGS.
1487         * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
1488         Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
1490 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
1492         * INSTALL: Explain how to invoke GNU Make for parallel builds.
1494         * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
1495         command-line argument to sub-Make in src, since src/makefile.w32-in
1496         invokes Make recursively during bootstrap.
1497         (clean): Delete stamp_BLD.
1498         (bootstrap): Make `all' explicitly in a recursive Make.
1500         * gmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1501         stamp_BLD after creating the $(BLD) directory.
1503         * nmake.defs (stamp_BLD): Rename from $(BLD).  Create a file
1504         stamp_BLD after creating the $(BLD) directory.
1506         * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
1507         (preprep, $(TRES), runemacs)
1508         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
1509         ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1510         Depend on stamp_BLD instead of on $(BLD).
1511         (XMFLAGS): New macro.
1512         (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
1513         (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
1514         (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
1515         (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
1517 2006-12-20  Eli Zaretskii  <eliz@gnu.org>
1519         * makefile.w32-in ($(TRES)): Depend on $(BLD).  Use $< instead of
1520         $(ALL_DEPS).
1521         ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
1522         ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1523         New dependency on $(BLD).
1524         (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
1525         (bootstrap-gmake): Depend on addsection.
1527 2006-10-29  Juanma Barranquero  <lekktu@gmail.com>
1529         * runemacs.c (WinMain): Process all recognized arguments, not just
1530         the first one.  Remove unused variable sec_desc.
1532 2006-09-24  Eli Zaretskii  <eliz@gnu.org>
1534         * config.nt (HAVE_LANGINFO_CODESET): Define.
1536         * inc/langinfo.h: New file.
1538         * inc/nl_types.h: New file.
1540 2006-09-15  Jay Belanger  <belanger@truman.edu>
1542         * COPYING: Replace "Library Public License" by "Lesser Public
1543         License" throughout.
1545 2006-07-27  Jason Rumney  <jasonr@gnu.org>
1547         * INSTALL: Add notes about Cygwin make to impatient section.
1549 2006-06-02  Eli Zaretskii  <eliz@gnu.org>
1551         * INSTALL: Add Make 3.81 to the list of Make & shell combinations
1552         known to work.
1554 2006-03-12  Jason Rumney  <jasonr@gnu.org>
1556         * addpm.c (add_registry): Don't change the registry unless keys
1557         already exist from a previous version.
1559         * makefile.w32-in (install): Use -q when invoking addpm.
1561         * addpm.c (main): Accept -q as alternative for /q.
1563 2006-03-11  Jason Rumney  <jasonr@gnu.org>
1565         * runemacs.c (WinMain): Set screen buffer to 80x25.
1567 2005-12-24  Eli Zaretskii  <eliz@gnu.org>
1569         * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
1570         (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
1572 2005-12-09  Eli Zaretskii  <eliz@gnu.org>
1574         * INSTALL: Add explanation of how to debug with GDB starting from
1575         the Emacs Abort dialog.
1577 2005-11-26  Chong Yidong  <cyd@stupidchicken.com>
1579         * emacs.rc: Use new icons.
1581 2005-11-26  Eli Zaretskii  <eliz@gnu.org>
1583         * emacs21.ico: Renamed from emacs.ico.
1584         * emacs.ico: New icons from Andrew Zhilin
1585         <andrew_zhilin@yahoo.com>.
1587 2005-09-10  Eli Zaretskii  <eliz@gnu.org>
1589         * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
1591 2005-08-10  Juanma Barranquero  <lekktu@gmail.com>
1593         * .cvsignore: Add `obj' and `oo' for in-place installations.
1595 2005-07-30  Eli Zaretskii  <eliz@gnu.org>
1597         * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
1599 2005-07-29  Juanma Barranquero  <lekktu@gmail.com>
1601         * configure.bat: Don't create lisp/Makefile.unix.
1603 2005-07-28  Juanma Barranquero  <lekktu@gmail.com>
1605         * .cvsignore: Add `makefile' and `config.log'.
1607 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
1609         Merge gnulib getopt implementation into Emacs.
1611         * inc/gettext.h: Remove; no longer needed now that
1612         lib-src/gettext.h exists.
1614 2005-07-16  Eli Zaretskii  <eliz@gnu.org>
1616         * configure.bat: Finish config.log with a line that indicates that
1617         the configure step was successful.
1619 2005-07-04  Lute Kamstra  <lute@gnu.org>
1621         Update FSF's address in GPL notices.
1623 2005-06-11  Eli Zaretskii  <eliz@gnu.org>
1625         * configure.bat: If their fc.exe returns a meaningful exit status,
1626         don't overwrite src/config.h and src/epaths.h with identical
1627         copies.
1629         * INSTALL: Warn about using "cvs up -kb" if one intends to commit
1630         changes.  Add a pointer to another site with detailed configure
1631         and build instructions.  Suggest to look at config.log when
1632         configure fails.  Add MinGW Make 3.80 to the list of successful
1633         combinations.
1635         * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
1636         "-mcpu=i686".
1638         * configure.bat: Update copyright years.
1639         Delete config.log before doing anything else.
1640         Write additional diagnostics to config.log in case of failures to
1641         compile test programs, including the failed test program itself.
1642         Add a test for support of -mtune=pentium4 switch to GCC; if it is
1643         supported, set up MCPU_FLAG variable on the various Makefiles to
1644         use that switch during compilations.  (This avoids GCC warning
1645         about -mcpu being deprecated.)
1647 2005-06-10  Eli Zaretskii  <eliz@gnu.org>
1649         * addsection.c (copy_executable_and_add_section): Pass non-zero
1650         `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
1651         environment.  Print section names with %.8s.
1652         (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
1653         only if non-zero.  All callers changed.
1655 2005-06-05  Eli Zaretskii  <eliz@gnu.org>
1657         * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
1658         `const void *', for consistency with POSIX.
1660 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
1662         * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
1664 2005-05-24  Juanma Barranquero  <lekktu@gmail.com>
1666         * INSTALL: Add more pointers to ports of Unix tools to Windows,
1667         and to the Emacs Wiki (which contains building instructions for
1668         Windows).  Reword image library instructions and remove obsolete
1669         incompatibility information.
1671 2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
1673         * config.nt (HAVE_PWD_H): Undef.
1675 2004-06-07  Juanma Barranquero  <lektu@terra.es>
1677         * INSTALL: Clarify paragraph about compatibility between image
1678         libraries and builds of Emacs with several compilers.
1680 2004-06-06  Juanma Barranquero  <lektu@terra.es>
1682         * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
1683         the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
1684         calling non-existent cmdproxy.exe on bootstrapping after a
1685         previous install followed by realclean.
1687         * nmake.defs: Add quote in comment to resync font-locking.
1689 2004-06-04  Juanma Barranquero  <lektu@terra.es>
1691         * INSTALL: Reword the section on image support.  Add reference to
1692         GnuWin32.  Mention problems when mixing binaries from different
1693         compilers.
1695 2004-05-06  Jason Rumney  <jasonr@gnu.org>
1697         * configure.bat: Use -mno-cygwin to check for image libraries
1698         when needed.
1700 2004-05-03  Jason Rumney  <jasonr@gnu.org>
1702         * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
1703         * makefile.def: Remove.
1705         * nmake.defs (SYS_LDFLAGS): Add -nologo.
1707         * makefile.w32-in (info-gmake, info-nmake): New targets.
1708         (info): Use them.
1710 2004-04-23  Juanma Barranquero  <lektu@terra.es>
1712         * nmake.defs:
1713         * gmake.defs:
1714         * makefile.w32-in:
1715         * makefile.def:
1716         * makefile.nt: Add "-*- makefile -*-" mode tag.
1718 2004-04-10  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
1720         * runemacs.c (WinMain): Let Emacs environment default to parent.
1722 2004-03-11  Jason Rumney  <jasonr@gnu.org>
1724         * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
1726 2004-03-10  Juanma Barranquero  <lektu@terra.es>
1728         * makefile.w32-in (install): Don't try to copy
1729         ../lib-src/fns-*.el, as it isn't used anymore.
1731 2004-01-28  Peter Runestig  <peter@runestig.com>
1733         * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
1735 2003-12-24  Miles Bader  <miles@gnu.ai.mit.edu>
1737         * .cvsignore: Add `.arch-inventory'.
1739 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
1741         * inc/grp.h: New file.
1743 2003-09-03  Peter Runestig  <peter@runestig.com>
1745         * configure.bat: Create ``makefile'' in directories man, lispref
1746         and lispintro.
1748         * makefile.w32-in (force-info, info): New targets.
1750         * envadd.bat: New file.
1752         * multi-install-info.bat: New file.
1754 2003-06-27  Jan Djärv  <jan.h.d@swipnet.se>
1756         * config.nt (my_strftime): New define.
1758 2003-02-01  Jason Rumney  <jasonr@gnu.org>
1760         * configure.bat: Automatically detect libXpm.
1761         Suppress compiler output when testing for image libraries.
1762         Give names of un-found libraries in messages.
1764 2003-01-31  Juanma Barranquero  <lektu@terra.es>
1766         * configure.bat: Automatically detect giflib and tifflib.
1768 2003-01-29  Jason Rumney  <jasonr@gnu.org>
1770         * gmake.defs (CURDIR): Disable cygpath kludge.
1772 2003-01-29  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
1774         * configure.bat: Avoid endless loop when configuring without image
1775         support.
1777 2003-01-26  Jason Rumney  <jasonr@gnu.org>
1779         * configure.bat: Automatically detect jpeglib.
1781 2003-01-25  Jason Rumney  <jasonr@gnu.org>
1783         * configure.bat: Automatically detect libpng.
1785 2003-01-21  Jason Rumney  <jasonr@gnu.org>
1787         * icons/hand.cur: New file.
1789 2003-01-21  David Ponce  <david@dponce.com>
1791         * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
1793 2003-01-15  Andrew Innes  <andrewi@gnu.org>
1795         * gmake.defs (CURDIR): Convert to native Windows format (with
1796         forward slashes), to support building with Cygwin builds of make.
1798 2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
1800         * nmake.defs:
1801         * gmake.defs: Made changes so that Emacs would link with
1802         WinMM.lib.  This change was required for my addition of a Windows
1803         compatible implementation of play-sound-internal.
1805 2002-09-03  Peter Runestig  <peter@runestig.com>  (tiny change)
1807         * emacs.rc: Version updated to 21.3.50.
1809 2002-06-13  Jason Rumney  <jasonr@gnu.org>
1811         * addpm.c (env_vars): Remove EMACSLOCKDIR.
1813         * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
1814         (maybe-bootstrap-SH): New targets.
1815         (all): Depend on maybe-bootstrap.
1817 2002-05-03  Jason Rumney  <jasonr@gnu.org>
1819         * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
1820         (sys_getpeername, fcntl): Declare as wrappers.
1822 2002-04-10  Juanma Barranquero  <lektu@terra.es>
1824         * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
1825         after compiling .el files.
1827 2002-03-20  Jason Rumney  <jasonr@gnu.org>
1829         * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
1830         (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
1832 2002-03-19  Kim F. Storm  <storm@cua.dk>
1834         * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
1835         (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
1836         (HAVE_SYS_UN_H): Undef.
1837         From David Ponce <dponce@voila.fr>.
1839 2002-03-13  Jason Rumney  <jasonr@gnu.org>
1841         * config.nt (STRFTIME_NO_POSIX2): Define.
1843 2002-02-18  Jason Rumney  <jasonr@gnu.org>
1845         * emacs.rc: Define VS_VERSION_INFO if not already.
1846         Update version info.
1848 2002-01-04  Andrew Innes  <andrewi@gnu.org>
1850         * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
1851         pick up relevant bits of the Windows API definitions.
1853         * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
1854         pick up relevant bits of the Windows API definitions.
1856 2001-12-14  Andrew Innes  <andrewi@gnu.org>
1858         * makefile.w32-in (bootstrap): Build addsection program before
1859         bootstrap (required for post-processing temacs.exe).
1861 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
1863         * COPYING: New file.
1865 2001-12-03  Andrew Innes  <andrewi@gnu.org>
1867         * makefile.w32-in (bootstrap-nmake):
1868         (bootstrap-gmake): Extend bootstrap process to first do
1869         bootstrap-clean in lisp dir and rebuild the DOC file.
1870         (bootstrap): Do a "normal" make after the bootstrap work.
1872 2001-11-20  Jason Rumney  <jasonr@gnu.org>
1874         * INSTALL: Update table of versions of make that are suitable
1875         for building Emacs, based on recent feedback.
1877         * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
1879 2001-11-19  Andrew Innes  <andrewi@gnu.org>
1881         * ftime-nostartup.bat: New file.
1883         * ftime.bat: Don't include libc.lib for profiling - the profiler
1884         corrupts part of memcpy.
1886 2001-11-17  Jason Rumney  <jasonr@gnu.org>
1888         * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
1889         expansion.  From Juanma Barranquero <lektu@terra.es>.
1891 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
1893         * (Version 21.1 released.)
1895 2001-10-12  Andrew Innes  <andrewi@gnu.org>
1897         * inc/pwd.h (uid_t, gid_t): New typedefs.
1899 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
1901         * Branch for 21.1.
1903 2001-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
1905         * README: Update the address of the mailing list and subscription
1906         instructions.  From Geoff Voelker <voelker@cs.ucsd.edu>.
1908 2001-09-06  Eli Zaretskii  <eliz@is.elta.co.il>
1910         * INSTALL: Suggest to avoid using WinZip.
1912         * configure.bat: Make sure ../site-lisp exists; create if necessary.
1914 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
1916         * INSTALL: Mention that "make install" can be "nmake install".
1918 2001-09-04  Eli Zaretskii  <eliz@is.elta.co.il>
1920         * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
1921         since some versions of `mkdir' don't automatically create parent
1922         directories.  From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
1924 2001-08-31  Eli Zaretskii  <eliz@is.elta.co.il>
1926         * subdirs.el: New file.
1928         * configure.bat: Copy subdirs.el to the site-lisp directory.
1930         * makefile.w32-in (install): Copy subdirs.el to the installation
1931         directory.
1933 2001-06-20  Jason Rumney  <jasonr@gnu.org>
1935         * runemacs.c (WinMain): Add quotes around command in case of spaces.
1937 2001-06-01  Andrew Innes  <andrewi@gnu.org>
1939         * gmake.defs (sh_output): Don't use $(warning ...) to output
1940         messages, since that is not supported by GNU make 3.77.
1942 2001-05-24  Jason Rumney  <jasonr@gnu.org>
1944         * INSTALL: Clarify that building with MSVC requires nmake.
1946 2001-05-17  Andrew Innes  <andrewi@gnu.org>
1948         * gmake.defs (NEW_CYGWIN): Output message about spurious error
1949         message that is to be ignored.
1951 2001-05-13  Andrew Innes  <andrewi@gnu.org>
1953         * TODO: Remove file, since it is completely out of date.
1955         * README: Add copyright notice.
1957         * INSTALL: Add copyright notice.
1959 2001-04-18  Andrew Innes  <andrewi@gnu.org>
1961         * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
1962         the environment.
1964         * gmake.defs (SETLOADPATH): Remove definition.
1965         (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
1966         environment.
1968 2001-03-26  Eli Zaretskii  <eliz@is.elta.co.il>
1970         * configure.bat: Make the checkw32api* labels be distinct in the
1971         first 8 characters.
1973 2001-03-17  Andrew Innes  <andrewi@gnu.org>
1975         * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
1976         escaped quotes.
1978         * gmake.defs (DEBUG_LINK): New macro.
1979         (LINK_FLAGS): Use it.
1981         * nmake.defs (DEBUG_LINK): New macro.
1982         (LINK_FLAGS): Use it.
1984 2001-03-06  Andrew Innes  <andrewi@gnu.org>
1986         * INSTALL: Add --ldflags to configure line for building with
1987         recent versions of Cygwin GCC.
1989 2001-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
1991         * configure.bat: Use correct options when compiling a test program
1992         with Cygwin.  From David Ponce <dponce@voila.fr>.
1994 2001-02-24  Andrew Innes  <andrewi@gnu.org>
1996         * _emacs: Remove obsolete file.
1998         * emacs.bat.in: Remove obsolete file.
2000         * debug.bat.in: Remove obsolete file.
2002         * inc/sys/socket.h: Add copyright notice.
2004         * paths.h: Add copyright notice.
2006         * makefile.nt: Update copyright notice.
2008         * makefile.def: Update copyright notice.
2010         * configure.bat: Update copyright notice.
2012         * nmake.defs: Add copyright notice.
2014         * gmake.defs: Add copyright notice.
2016         * makefile.w32-in: Add copyright notice.
2018 2001-02-05  Andrew Innes  <andrewi@gnu.org>
2020         * nmake.defs (THISDIR): New definition.
2022         * gmake.defs (THISDIR): New definition.
2024 2001-02-03  Andrew Innes  <andrewi@gnu.org>
2026         * configure.bat: Leave a space before >> only when there is a
2027         preceding digit.  Add a comment about the importance of this.
2029         * README: Replace outdated information.
2031         * INSTALL (Trouble-shooting): Add note about need to specify extra
2032         compiler flags with recent Cygwin ports of gcc.
2034 2001-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
2036         * configure.bat: Use "rm -f" instead of "del /f", as the latter
2037         is not supported by Windows 9X's COMMAND.COM.
2039 2001-01-31  Eli Zaretskii  <eliz@is.elta.co.il>
2041         * configure.bat: Make sure redirection is preceded by a blank, to
2042         avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2043         up the "1" part.  From Rob Giardina <rob@criticalpointsoftware.com>.
2045 2001-01-30  Eli Zaretskii  <eliz@is.elta.co.il>
2047         * INSTALL: Copy the table of tested combinations of development
2048         tools from configure.bat.  Add suggestion to install Bash on
2049         Windows 9X.
2051         * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2052         lisp/Makefile.in instead.  Use "rm -f" where more than one file
2053         needs to be deleted, since command.com in Windows 9X doesn't grok
2054         more than one argument.
2056 2001-01-24  Andrew Innes  <andrewi@gnu.org>
2058         * makefile.w32-in (cleanall-other-dirs-nmake):
2059         (cleanall-other-dirs-gmake): New targets.
2060         (cleanall): Invoke them.
2062 2001-01-19  Andrew Innes  <andrewi@gnu.org>
2064         * addpm.c (env_vars): Add a version-independent site-lisp
2065         directory to EMACSLOADPATH, after the version dependent one.
2067 2001-01-06  Andrew Innes  <andrewi@gnu.org>
2069         * README: Update info about compilers.
2071         * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2072         select correct rule for invoking make in another directory.
2073         Amend rules accordingly.
2074         (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2076         * nmake.defs (EMACS_ICON_PATH): Delete definition.
2077         (COMPILER_TEMP_FILES): New definition.
2078         (MAKETYPE): New definition.
2080         * gmake.defs (EMACS_ICON_PATH): Delete definition.
2081         (COMPILER_TEMP_FILES): New definition.
2082         (MAKETYPE): New definition.
2084         * makefile.def (EMACS_ICON_PATH): Delete definition.
2086         * configure.bat: Be careful not to add trailing spaces when
2087         outputting to config.settings.
2089 2001-01-02  Andrew Innes  <andrewi@gnu.org>
2091         * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2092         than the function.
2094 2000-12-17  Andrew Innes  <andrewi@gnu.org>
2096         * makefile.w32-in (install): Copy directories to the correct
2097         places.
2098         (real_install): Remove obsolete target.
2100 2000-12-06  Andrew Innes  <andrewi@gnu.org>
2102         * nmake.defs (CURDIR): New define.
2103         (INSTALL_DIR): Use it.
2105         * gmake.defs (NEW_CYGWIN): New define.
2106         (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2107         so we need to adjust how we escape embedded quotes.
2108         (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2109         relative to $(CURDIR).
2111 2000-11-25  Jason Rumney  <jasonr@gnu.org>
2113         * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2115 2000-10-17  Andrew Innes  <andrewi@gnu.org>
2117         * makefile.w32-in (recompile): New target to recompile lisp
2118         directory.
2119         (recompile-CMD, recompile-SH): New support targets.
2121 2000-09-24  Jason Rumney  <jasonr@gnu.org>
2123         * config.nt (NO_RETURN): Define it.
2125 2000-09-17  Andrew Innes  <andrewi@gnu.org>
2127         * gmake.defs: Revert to Unix line endings.
2129         * nmake.defs: Revert to Unix line endings.
2131 2000-09-16  Andrew Innes  <andrewi@gnu.org>
2133         * gmake.defs (SETLOADPATH): Change definition to work from any
2134         subdirectory.
2136 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2138         * makefile.w32-in: Revert to Unix line endings.
2140 2000-09-14  Andrew Innes  <andrewi@gnu.org>
2142         * INSTALL: Add note about expected error messages when configure
2143         is run.
2145         * configure.bat: Simplify the generation of makefiles (don't need
2146         to generate various top-level targets that invoke make in other
2147         directories).
2149         * gmake.defs (SHELLTYPE): New define.
2150         (SETLOADPATH): New define.
2152         * nmake.defs (SHELLTYPE): New define.
2154         * makefile.w32-in: Standardize indentation somewhat.
2155         Add bootstrap support.
2156         Pass $(MFLAGS) when invoking make recursively.
2157         Add shell-specific variants of top-level targets that invoke make
2158         recursively in other directories, and add necessary computed
2159         dependencies.
2161 2000-09-03  Andrew Innes  <andrewi@gnu.org>
2163         * makefile.w32-in: Change to DOS line endings.
2165         * configure.bat: Change to DOS line endings.
2167         * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2168         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2170         * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2171         (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2173         * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2174         -D_ANONYMOUS_STRUCT on compile line.
2175         (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2176         (ARCH_CFLAGS): Change optimization flags to -O2.
2177         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2178         (ARGQUOTE, DQUOTE): New defines.
2180         * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2181         -D_ANONYMOUS_STRUCT on compile line.
2182         (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2183         (ARGQUOTE, DQUOTE): New defines.
2185 2000-08-22  Andrew Innes  <andrewi@gnu.org>
2187         * configure.bat: New file.
2189         * gmake.defs: New file.
2191         * nmake.defs: New file.
2193         * makefile.w32-in: New file.
2195         * INSTALL: Rewrite to match new configure process.
2197         * config.nt [WINDOWSNT]: Don't declare getenv.
2198         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2200         * addpm.c (main): Accept /q to mean install based on addpm's
2201         location without asking.  Remove reference to emacs.bat which is
2202         now obsolete.
2204         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2206         * paths.h: Use forward slash as directory separator in all path
2207         definitions.
2208         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2210         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2212         * runemacs.c: Remove WIN32 define.
2214         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2215         not defined.
2217         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2218         (fd_set): Define to new name, after including winsock.h, so we can
2219         provide our own implementation.
2221 2000-07-05  Andrew Innes  <andrewi@gnu.org>
2223         * ebuild.bat: Add support for specifying make arguments.
2225         * makefile.nt: Add support for `bootstrap' and related targets.
2227 2000-06-11  Jason Rumney  <jasonr@gnu.org>
2229         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2231 2000-02-06  Andrew Innes  <andrewi@gnu.org>
2233         * inc/sys/time.h: Add inclusion protection.
2235         * makefile.def (SYS_LDFLAGS): Add -nologo.
2237 1999-11-22  Andrew Innes  <andrewi@gnu.org>
2239         * install.bat: Pass on command line arguments to make.
2241         * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2243 1999-11-21  Andrew Innes  <andrewi@gnu.org>
2245         * makefile.nt (all): Build leim if present.
2246         (install): Install leim if present.
2247         (clean): Clean leim if present.
2249         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2250         definition.
2252         * emacs.bat.in (EMACSLOADPATH): Include leim.
2254 1999-07-12  Richard Stallman  <rms@gnu.org>
2256         * Version 20.4 released.
2258 1999-06-16  Andrew Innes  <andrewi@gnu.org>
2260         * emacs.rc: Use an icon with a transparent background, to be in
2261         keeping with other applications.
2263 1999-06-03  Andrew Innes  <andrewi@gnu.org>
2265         * preprep.c: Fix typo.
2267 1999-05-02  Andrew Innes  <andrewi@gnu.org>
2269         * config.h: Remove obsolete file.
2271         * preprep.c (copy_executable_and_move_sections): Ifdef out a
2272         couple of unused switch cases that aren't defined on all
2273         platforms.
2275         * ftime.bat: Add another variation of the profile command, which
2276         only profiles extended commands.
2278 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
2280         * cmdproxy.c (main): Fix parens.
2282 1999-03-25  Andrew Innes  <andrewi@gnu.org>
2284         * cmdproxy.c (main): Call GetShortPathName to normalize program
2285         names for comparison.
2287 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
2289         * makefile.def: Compile multiple .c files when possible.
2290         Use BLD instead of assuming i386.
2291         * makefile.nt: Remove common multiple file compilation commands.
2293 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
2295         * cmdproxy.c (main): Add missing parens.
2297 1999-02-20  Andrew Innes  <andrewi@gnu.org>
2299         * preprep.c: New program to allow dumped image to be profiled.
2301         * makefile.nt (preprep): New target.
2302         (ALL): Build it.
2304         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2306         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2307         Change prep options to profile libc functions and skip the startup
2308         code.
2310 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
2312         * makefile.nt: Create installation directory as first step.
2314 1999-01-31  Andrew Innes  <andrewi@gnu.org>
2316         * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2317         ROUND_UP_DST.  Zeroes the alignment slop.
2318         (copy_executable_and_add_section): Update the
2319         SizeOfHeaders field properly.
2321 1999-01-27  Andrew Innes  <andrewi@gnu.org>
2323         * makefile.nt: Do make version comparison as strings.
2325 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
2327         * runemacs.c (WinMain): Pass explicit environment block to
2328         CreateProcess, to work around a bug in Windows 95/98.
2330 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
2332         * icons: New directory with Davenport's icons.
2333         * icons/sink.ico: Renamed from emacs.ico.
2335         * makefile.nt (install, fast_install): Install Windows icons
2336         into etc/icons.
2338         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2340 1999-01-17  Andrew Innes  <andrewi@gnu.org>
2342         * makefile.nt (ALL): List top-level targets.
2343         (addsection): New top-level target.
2344         (install): Copy fns-*.el to bin directory.
2346         * addsection.c: New program to add static heap section to
2347         temacs.exe after linking, in support of new unexec method.
2349 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
2351         * cmdproxy.c (spawn): Pass directory for child as parameter.
2352         (main): Save startup directory to give to spawn, then change
2353         directory to location of .exe in order not to prevent startup
2354         directory from being deleted.
2356 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
2358         * makefile.nt: Do string comparison of _NMAKE_VER.
2360 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
2362         * config.nt (LOCALTIME_CACHE): Define.
2364 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
2366         * install.bat: Convert to DOS format.
2368 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
2370         * cmdproxy.c (main): Set environment size only when running
2371         command.com.
2373 1998-11-03  Theodore Jump  <tjump@tertius.com>
2375         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
2376         (DEL_TREE): Use rd instead of rmdir.
2377         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
2378         * makefile.nt: Compile multiple source files when possible.
2380 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
2382         * cmdproxy.c (main): Treat command line options as case-insensitive.
2384 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
2386         * Version 20.3 released.
2388 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
2390         * addpm.c (main): Explicitly check result of message box for OK.
2392 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
2394         * inc/sys/file.h (D_OK): Define new macro.
2396 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
2398         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
2400 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
2402         * emacs.rc (VS_VERSION_INFO): Define.
2404 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
2406         * makefile.nt (emacs.bat, debug.bat): Create them in the
2407         installation directory.
2409 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
2411         * ddeclient.c: New file.  (Support program for performing limited
2412         interprocess communication on Windows.)
2414         * makefile.nt: Build ddeclient.
2416         * cmdproxy.c (main): Only set environment size for real shell, and
2417         provide extra directory argument, when running on Windows 95.
2419 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
2421         * cmdproxy.c (fail): Exit with a negative return value.
2422         (spawn): Return subprocess return code as an argument.
2423         Explicitly copy environment block.
2424         (main): Update to use return value argument with spawn.
2425         Retry if spawn failed when a subshell was not tried.
2427         * config.nt: Include new macros from src/config.in.
2428         (GNU_MALLOC, REL_ALLOC): Define.
2429         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
2430         (RE_TRANSLATE): Use char_table_translate.
2432         * makefile.def (CP_DIR): Preserve attributes.
2434         * makefile.nt (clean): Delete patch generated files, optimized
2435         build directory.
2437 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
2439         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
2441 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2443         * Version 20.2 released.
2445 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2447         * Version 20.1 released.
2449 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
2451         * debug.bat.in: New file.
2452         * makefile.nt (debug.bat): New target.
2454 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
2456         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
2457         Quote group name.  Allow different icons to be specified.
2459         * cmdproxy.c (get_env_size): New function.
2460         (spawn): Explicitly pass in environment when creating subprocess.
2461         (main): Cleanup error messages.
2462         Specify dynamically sized environment block for real shell.
2463         Pass on unhandled switches to real shell.
2464         Quote program name.
2466         * makefile.def (CFLAGS_COMMON): Place pdb file in object build
2467         directory.
2468         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
2470         * runemacs.c (WinMain): Allow Emacs process to be started with
2471         high or low priority.
2473         * emacs.bat.in: Remove OS dependent operations.
2475 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
2477         * addpm.c (env_vars): No longer set INFOPATH.
2479         * cmdproxy.c (get_next_token): Null terminate token returned.
2481         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
2483 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
2485         * addpm.c (env_vars): Set SHELL to cmdproxy.
2486         (main): Initialize idDde to 0.
2487         Determine emacs_path from module file name.
2488         Prompt for install.
2490         * makefile.def (MSVCNT11): Conditionally define it.
2491         (BASE_LIBS): Do not use oldnames.lib.
2492         (SYS_LDFLAGS): Use pdb files.
2493         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
2494         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
2495         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
2497         * makefile.nt (ALL): Build cmdproxy.
2498         (cmdproxy): New target.
2499         (install): Install cmdproxy.
2501         * ftime.bat, debug.bat, cmdproxy.c: New files.
2503 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
2505         * inc/sys/socket.h (shutdown): Define.
2506         (sys_shutdown): Export.
2508 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2510         * config.nt (RE_TRANSLATE): Copy definition from config.in.
2512 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
2514         * config.nt: Update file comments.
2515         Update undefs added/removed in src/config.in.
2517 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
2519         * makefile.def, emacs.bat: Use windows95 and windowsnt instead
2520         of win95 and winnt, respectively.
2522 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
2524         * makefile.nt (real_install): Create site-lisp in installation dir.
2525         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
2526         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
2528 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2530         * Version 19.33 released.
2532 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
2534         * runemacs.c (WinMain): Put a space between the binary and its args.
2536 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
2538         * Version 19.32 released.
2540 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
2542         * makefile.nt (clean): Use OBJDIR macro.
2544 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
2546         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
2547         Not defined by default.
2548         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
2549         (WinMain): Convert backslashes to slashes in env var values.
2551         * addpm.c (env_vars): Use slashes, not backslashes.
2553 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
2555         * Version 19.31 released.
2557 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
2559         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
2560         undo settings afterwards.
2562 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
2564         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
2565         environment variable.
2567 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
2569         * install.bat: Allow for optimized build.
2570         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
2571         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
2573 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
2575         * addpm.c (REG_ROOT): Don't use a trailing backslash.
2576         (env_vars): Rename field emacs_path to emacs_dir.
2577         (main): Add link to runemacs instead of emacs.
2579         * install.bat: Check if INSTALL_DIR is passed as an argument.
2581         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
2583         * makefile.nt: Build and install runemacs.exe.
2585         * runemacs.c: New file.
2587         * config.w95: File removed.
2589         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
2590         inc/sys/socket.h, inc/sys/time.h: New header files.
2592         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
2594 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
2596         * makefile.def (DEL): Defined.
2597         (DEL_TREE) [win95]: Defined.
2598         (SYS_LDFLAGS): Set executable versions to 3.10.
2600         * makefile.nt: Change uses of del to $(DEL).
2602 1996-01-17  Erik Naggum  <erik@naggum.no>
2604         * All files: Update FSF's address in comment preamble.
2606 1996-01-03  George V. Reilly  <georger@microcrafts.com>
2608         * emacs.ico: Now the proverbial kitchen sink icon.
2610 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2612         * Version 19.30 released.
2614 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
2616         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
2618         * makefile.nt (install, fast_install, real_install, clean):
2619         Don't use switches to del not supported by Windows 95.
2621 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
2623         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
2624         (install, fast_install): Change same-dir test to create test file in
2625         installation tree and thereby support read-only shares.
2626         (clean): Remove .pdb files.
2628         * makefile.def (NTGUI): New macro.
2629         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
2631         * config.nt, config.w95: Update to latest src/config.in.
2633         * addpm.c (env_vars): New variable.
2634         (add_registry): New procedure.
2635         (main): Use values of configuration environment variables from
2636         the registry if defined, the process environment otherwise.
2638 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2640         * Version 19.29 released.
2642         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
2644 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
2646         * makefile.nt: Define .c to .obj suffix rule.
2647         (addpm.obj): Compile directly, use CFLAGS.
2648         (addpm.exe): Link from addpm.obj.
2650         * makefile.def (MSVCNT11): Defined.
2651         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
2652         (CFLAGS_COMMON): Defined.
2653         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
2655 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
2657         * emacs.bat.in: Renamed from emacs.bat.
2658         (emacs_dir): Rename from emacs_path.
2659         Definition removed.
2661         * addpm.c: New file.
2662         * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
2663         (all): Depend upon $(BLD) and $(ALL).
2664         (install): Depend upon emacs.bat.
2665         Create program item for Emacs.
2666         (clean): Delete obj.
2667         (emacs.bat): Defined.
2668         * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
2670 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
2672         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
2673         Add carriage returns; necessary for batch files on Windows 95.
2675 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
2677         * config.w95: Created.
2678         * config.h: Changed to config.nt.
2680         * makefile.nt (SUBDIRS): Commented out.
2681         (all, install, clean): Expand for-loops.
2682         (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
2684         * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
2685         (ARCH): New definition.
2686         (CPU, CONFIG_H, OS_TYPE): Defined.
2687         (INCLUDE, LIB): Checked if valid.
2688         (ntwin32.mak): Included.
2689         (AR, CC, LINK): New definition.
2690         (ADVAPI32, libc, BASE_LIBS): Defined.
2691         (SYS_LDFLAGS): New definition.
2692         Update comments and preprocessor conditionals.
2694         * emacs.bat (SHELL): Conditionally defined.
2695         (HOME): Conditionally defined.
2696         (emacs_path, HOME): Update comments.
2697         Turn off all echo.
2699 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
2701         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
2702         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
2703         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
2704         inc/sys/param.h: Removed carriage-returns.
2706 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
2708         * makefile.def (CVTRES): Defined.
2710         * emacs.ico, emacs.rc: New files by Kevin Gallo.
2712 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
2714         * src: Remove directory.
2716         * src\config.h, src\paths.h: Moved to parent dir, src removed.
2718 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
2720         * makefile.def (INSTALL_DIR): Change to generic directory.
2722         * emacs.bat: Added arguments when emacs.exe invoked.
2724         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
2726 1994-12-13  Geoff Voelker  <voelker@cs.washington.edu>
2728         * makefile.def (CC): In configuration section.
2729         (COMPAT_LIB): Defined.
2731 1994-11-01  Geoff Voelker  <voelker@cs.washington.edu>
2733         * src/paths.h: New file.
2735         * src/config.h: New file.
2737         * inc/pwd.h: New file.
2739         * inc/sys/dir.h: New file.
2741         * inc/sys/file.h: New file.
2743         * inc/sys/ioctl.h: New file.
2745         * inc/sys/param.h: New file.
2747         * todo: New file.
2749         * README: New file.
2751         * makefile.nt: New file.
2753         * makefile.def: New file.
2755         * install.cmd: New file.
2757         * INSTALL: New file.
2759         * fast-install.cmd: New file.
2761         * emacs.cmd: New file.
2763         * ebuild.cmd: New file.
2765         * _emacs: New file.
2767 ;; Local Variables:
2768 ;; coding: utf-8
2769 ;; add-log-time-zone-rule: t
2770 ;; End:
2772   Copyright (C) 1995-1999, 2001-2012  Free Software Foundation, Inc.
2774   This file is part of GNU Emacs.
2776   GNU Emacs is free software: you can redistribute it and/or modify
2777   it under the terms of the GNU General Public License as published by
2778   the Free Software Foundation, either version 3 of the License, or
2779   (at your option) any later version.
2781   GNU Emacs is distributed in the hope that it will be useful,
2782   but WITHOUT ANY WARRANTY; without even the implied warranty of
2783   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2784   GNU General Public License for more details.
2786   You should have received a copy of the GNU General Public License
2787   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.