1 2015-03-27 Eli Zaretskii <eliz@gnu.org>
3 * inc/ms-w32.h (BROKEN_NON_BLOCKING_CONNECT): Don't define.
6 2015-03-09 Eli Zaretskii <eliz@gnu.org>
8 * INSTALL: Add some more installation instructions for mingw-get
11 2015-03-03 Eli Zaretskii <eliz@gnu.org>
13 * cmdproxy.c (get_next_token): Don't make backslashes disappear
14 without a trace when they are not followed by a quote.
15 (search_dir): Support searching programs whose file name already
16 has an arbitrary extension. (Bug#19817)
17 (main): When passing a command line to the shell, use cmd.exe
18 rules for quoting command-line tail.
20 2015-02-27 Mark Laws <mdl@60hz.org>
22 Support daemon mode on MS-Windows (bug#19688)
23 * inc/ms-w32.h (W32_DAEMON_EVENT): New macro.
25 2015-01-16 Eli Zaretskii <eliz@gnu.org>
27 * Makefile.in (AM_V_CC, am__v_CC_, am__v_CC_0, am__v_CC_1)
28 (AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0, am__v_CCLD_1, AM_V_RC)
29 (am__v_RC_, am__v_RC_0, am__v_RC_1): New macros.
30 (addpm${EXEEXT}, ddeclient${EXEEXT}, cmdproxy${EXEEXT})
31 (runemacs${EXEEXT}): Use $(AM_V_CCLD).
32 (emacs.res, ../src/emacs.res): Use $(AM_V_RC).
34 2014-12-26 Eli Zaretskii <eliz@gnu.org>
36 * gnulib.mk (stpcpy, string): Sync with the latest change in
39 2014-12-13 Eli Zaretskii <eliz@gnu.org>
41 * gnulib.mk (stddef.h): Sync with the latest change in lib/gnulib.mk.
43 2014-11-27 Oscar Fuentes <ofv@wanadoo.es>
45 * inc/ms-w32.h: Define MINGW_W64.
46 * nt/addpm.c, nt/addsection.c, nt/preprep.c: Use it.
48 2014-11-24 Glenn Morris <rgm@gnu.org>
50 * Makefile.in (../src/emacs.res): New target.
52 2014-11-22 Glenn Morris <rgm@gnu.org>
54 * emacs.rc.in, emacsclient.rc.in: Rename from emacs.rc, emacsclient.rc.
55 Let configure generate the real files, and set the version numbers.
56 * Makefile.in (distclean): Delete *.rc.
57 (emacs.res): Update deps for nt/emacsclient.rc now being in the
58 build directory, not the source directory.
60 * Makefile.in (emacs.res): Add dependency on icons/hand.cur.
62 2014-11-18 Glenn Morris <rgm@gnu.org>
64 * Makefile.in (addpm${EXEEXT}, ddeclient${EXEEXT})
65 (cmdproxy${EXEEXT}, runemacs${EXEEXT}, emacs.res):
66 Use automatic variables.
68 2014-10-26 Dani Moncayo <dmoncayo@gmail.com>
70 * README.W32 (Preliminaries): Don't assume that this file is at
72 (Setting up Emacs): Minor rewording to be more accurate.
74 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
76 * Neutralize language specific to a repository type.
78 2014-10-22 Noam Postavsky <npostavs@users.sourceforget.net>
80 * nt/cmdproxy.c (batch_file_p): New function.
81 (spawn): If calling a quoted batch file pass NULL for progname.
84 2014-10-20 Glenn Morris <rgm@gnu.org>
86 * Merge in all changes up to 24.4 release.
88 2014-09-29 Eli Zaretskii <eliz@gnu.org>
90 * makefile.w32-in (VERSION): Bump version to 25.0.50.
92 * emacsclient.rc: Bump version to 25.0.50.
94 * emacs.rc: Bump version to 25.0.50.
96 * config.nt (VERSION): Bump version to 25.0.50.
98 2014-09-01 Eli Zaretskii <eliz@gnu.org>
100 * gnulib.mk: Synchronize with lib/gnulib.mk.
102 2014-06-15 Glenn Morris <rgm@gnu.org>
104 * Makefile.in (LDFLAGS): Explicitly set via configure.
106 2014-06-15 Eli Zaretskii <eliz@gnu.org>
108 * Makefile.in (CPPFLAGS): Define.
110 2014-06-15 Glenn Morris <rgm@gnu.org>
112 * Makefile.in (bootstrap-clean): New.
114 2014-06-05 Dmitry Antipov <dmantipov@yandex.ru>
116 * inc/ms-w32.h (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.
118 2014-05-29 Eli Zaretskii <eliz@gnu.org>
120 * Makefile.in (DONT_INSTALL): Now empty.
121 (addsection${EXEEXT}): Remove target.
122 * addsection.c: Remove file.
124 2014-05-27 Fabrice Popineau <fabrice.popineau@gmail.com>
126 * inc/ms-w32.h: Switch to the system heap allocation scheme
127 instead of GNU malloc and ralloc.
129 * inc/sys/mman.h: New file.
131 * INSTALL: Update for the new build requirements.
133 2014-05-17 Paul Eggert <eggert@cs.ucla.edu>
135 Assume C99 or later (Bug#17487).
136 * gnulib.mk: Remove stdarg and stdbool modules.
138 2014-05-16 Paul Eggert <eggert@cs.ucla.edu>
140 Don't require pkg-config when building from repository.
141 * INSTALL: Remove no-longer-needed notes about pkg-config.
143 2014-05-05 Eli Zaretskii <eliz@gnu.org>
145 * INSTALL: Update to the effect that pkg-config is now required
146 for building from the repository.
148 2014-04-30 Eli Zaretskii <eliz@gnu.org>
150 * cmdproxy.c (make_absolute): Don't copy more characters from PATH
151 than a single directory name can hold. (Bug#17334)
153 2014-04-22 Eli Zaretskii <eliz@gnu.org>
155 * inc/ms-w32.h (lseek): Define only if not already a macro.
156 Suggested by Fabrice Popineau <fabrice.popineau@gmail.com>.
158 2014-04-11 Ken Brown <kbrown@cornell.edu>
160 * emacs.rc: Revert last change.
162 2014-04-07 Ken Brown <kbrown@cornell.edu>
164 * emacs.rc: Don't use manifest on Cygwin. (Bug#17176)
166 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
168 * Makefile.in (install): Create destination directory before copying
169 README.W32, and use ${datadir} to refer to the file (bug#16772).
171 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
173 * Makefile.in (datarootdir, datadir, INSTALL_DATA): Declare.
174 (install): Copy README.W32 to $(datadir)/emacs/$(version).
175 (uninstall): Remove README.W32. (Bug#14757)
177 2014-02-08 Eli Zaretskii <eliz@gnu.org>
179 * INSTALL: Update for Emacs 24.4.
181 * README: Update for Emacs 24.4.
183 * README.W32: Update and improve instructions. (Bug#14762)
185 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
187 * README.W32: Say what GnuTLS and libxml2 does (bug#14762).
189 2014-01-18 Eli Zaretskii <eliz@gnu.org>
191 * runemacs.c (ensure_unicows_dll): Don't tell in the message box
192 that "emacs -nw" can do without UNICOWS.DLL on Windows 9X. See
193 w32.c:maybe_load_unicows_dll and its callers for the reason.
195 2014-01-11 Claudio Bley <claudio.bley@googlemail.com>
197 * inc/sys/stat.h (_WSTAT_DEFINED): Define, to avoid compilation
198 failures when wchar.h is included.
200 2014-01-11 Fabrice Popineau <fabrice.popineau@supelec.fr>
202 * inc/ms-w32.h (pthread_sigmask): Undefine if defined, for MinGW64.
204 2013-12-31 Fabrice Popineau <fabrice.popineau@supelec.fr>
206 * inc/ms-w32.h (sys_kill): Fix prototype.
208 2013-12-30 Eli Zaretskii <eliz@gnu.org>
210 * inc/ms-w32.h (umask) [emacs]: Redirect to sys_umask. (Bug#16299)
212 2013-12-23 Eli Zaretskii <eliz@gnu.org>
215 * INSTALL: Update instructions for downloading and using image
216 libraries in general, and librsvg in particular.
218 2013-12-16 Eli Zaretskii <eliz@gnu.org>
220 * emacs-x64.manifest:
221 * emacs-x86.manifest: Declare that we target Windows 8.1 as well
222 as earlier versions. This is so GetVersion and GetVersionEx APIs
223 used for bug reporting and other purposes return accurate version
224 number on Windows 8.1. See the discussion on MSDN
225 http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx
228 2013-12-12 Eli Zaretskii <eliz@gnu.org>
230 * inc/ms-w32.h (MAX_UTF8_PATH): New macro.
231 (opendir, closedir, readdir, seekdir): Redirect to replacement
233 * inc/dirent.h: Make d_name[] be MAXNAMELEN*4 characters long.
235 2013-11-27 Glenn Morris <rgm@gnu.org>
238 * addpm.c (env_vars):
239 * epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
240 * paths.h (PATH_LOADSEARCH): No more leim directory.
242 2013-11-26 Glenn Morris <rgm@gnu.org>
244 * epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.
246 2013-11-12 Dani Moncayo <dmoncayo@gmail.com>
248 * msysconfig.sh: Remove.
249 * INSTALL: Update for this.
251 2013-11-09 Glenn Morris <rgm@gnu.org>
253 * mingw-cfg.site: No need for this to be executable.
255 2013-10-24 Glenn Morris <rgm@gnu.org>
257 * Makefile.in ($(DESTDIR)${archlibdir}):
258 Avoid non-portable "`\" nesting.
260 * Makefile.in (abs_top_srcdir): New, set by configure.
262 2013-10-23 Glenn Morris <rgm@gnu.org>
264 * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
265 Quote entities that might contain whitespace.
267 2013-10-14 Eli Zaretskii <eliz@gnu.org>
269 * inc/mingw_time.h: New file.
271 * inc/ms-w32.h: Include mingw_time.h instead of doing its job.
273 2013-10-12 Eli Zaretskii <eliz@gnu.org>
275 * inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
276 the layout of 'struct dirent' be compatible with MinGW32 runtime
277 versions 4.0 and later.
279 * inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
280 (__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
281 defined, but not for MinGW64.
282 (_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
283 use of 32-bit time_t type.
285 2013-10-07 Paul Eggert <eggert@cs.ucla.edu>
287 Improve support for popcount and counting trailing zeros (Bug#15550).
288 * gnulib.mk: Merge changes from ../lib/gnulib.mk.
290 2013-10-04 Paul Eggert <eggert@cs.ucla.edu>
292 * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
294 2013-09-20 Eli Zaretskii <eliz@gnu.org>
296 * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
297 to avoid gnulib replacement of 'struct timeval' and the resulting
298 compilation of lib/gettimeofday.c with incompatible version of
299 gettimeofday. Related discussions on emacs-devel:
300 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
301 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html
303 2013-08-31 Glenn Morris <rgm@gnu.org>
305 * INSTALL: Rename from INSTALL.MSYS.
306 * INSTALL.OLD: Rename from INSTALL.
307 * configure.bat: Update for INSTALL name changes.
309 2013-08-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
311 * configure.bat: Rather than disabling, make configure.bat produce
312 some warning that building with configure.bat is deprecated and
313 ask for confirmation to continue.
315 2013-08-25 Glenn Morris <rgm@gnu.org>
317 * INSTALL: Refer to INSTALL.MSYS.
318 * configure.bat: Disable it.
320 2013-08-04 Eli Zaretskii <eliz@gnu.org>
322 * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
324 * inc/ms-w32.h (mkostemp): Declare prototype.
325 (mktemp): Don't redirect to sys_mktemp.
327 * config.nt (HAVE_MKOSTEMP): Define to 1. (Bug#15015)
329 2013-07-07 Eli Zaretskii <eliz@gnu.org>
331 * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
332 (FD_CLOEXEC): New macros.
334 2013-07-07 Paul Eggert <eggert@cs.ucla.edu>
336 Make file descriptors close-on-exec when possible (Bug#14803).
337 * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
338 otherwise, gnulib-tool complains given close-on-exec changes.
339 * inc/ms-w32.h (pipe): Remove.
340 * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
341 (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
343 2013-06-25 Juanma Barranquero <lekktu@gmail.com>
345 * configure.bat: Add warning to the help text about using the
346 MSYS/MinGW building procedure.
348 2013-06-07 Eli Zaretskii <eliz@gnu.org>
350 * INSTALL.MSYS: mingw-get is not a GUI program (yet).
351 msys-automake is not suitable for MinGW builds. Mention the
352 --enable-locallisppath switch to msysconfig.sh. Suggested by
353 Óscar Fuentes <ofv@wanadoo.es>.
355 2013-06-07 Richard Copley <rcopley@gmail.com> (tiny change)
357 * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
359 2013-06-03 Eli Zaretskii <eliz@gnu.org>
361 * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
363 2013-06-03 Eli Zaretskii <eliz@gnu.org>
365 * inc/sys/time.h (struct timeval): Remove the _W64 guards.
367 2013-06-01 Eli Zaretskii <eliz@gnu.org>
369 * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
370 avoid multiple definition errors on MinGW64.
372 2013-05-31 Eli Zaretskii <eliz@gnu.org>
374 * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
375 'restrict', which is a C99 extension. See
376 http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
377 and the following discussion for the problem this caused in the
378 old nt/configure.bat build.
380 2013-05-29 Eli Zaretskii <eliz@gnu.org>
382 * Makefile.in (emacs.res): Include srcdir when preprocessing
383 resources, for out-of-tree builds.
384 (mostlyclean): Remove *.res files.
386 2013-05-17 Eli Zaretskii <eliz@gnu.org>
388 * runemacs.c (WinMain): Support invocation of un-installed
389 nt/runemacs.exe, by looking for src/emacs.exe.
391 2013-05-16 Eli Zaretskii <eliz@gnu.org>
393 * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define. (Bug#14409)
395 * msysconfig.sh: New file.
397 * mingw-cfg.site: New file.
399 * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
401 * inc/unistd.h: Include pwd.h and sys/types.h.
403 * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
404 (timerclear): Define.
405 (gettimeofday): Adjust signature to be Posix compatible, by using
406 the 'restrict' keyword.
408 * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
409 (struct _stat, struct _stati64): Define.
411 * inc/sys/socket.h (timeval): Define only for MSVC.
412 (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
413 EMACS_CONFIG_H is defined.
414 (timeval): Undefine only for MSVC.
416 * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
417 (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
418 (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
419 (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
420 (fileno): Move definition after including stdio.h.
421 (sigset_t): Guard typedef by _W64.
423 * gnulib.mk: New file.
425 * epaths.nt: New file.
427 * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
428 copy of the file names there.
429 <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
432 * Makefile.in: New file.
434 * INSTALL.MSYS: New file.
436 * INSTALL: Mention INSTALL.MSYS.
438 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
440 * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
442 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
444 * config.nt: Sync with autogen/config.in.
445 (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
446 (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
447 (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
448 (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
449 (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
450 (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
451 (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
452 (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
453 (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
454 (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
456 2013-05-07 Paul Eggert <eggert@cs.ucla.edu>
458 Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295)
459 * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
460 * inc/ms-w32.h (EOPNOTSUPP): New macro.
462 2013-04-09 Ken Brown <kbrown@cornell.edu>
464 * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
467 2013-04-01 Eli Zaretskii <eliz@gnu.org>
469 * README: A better documentation of ddeclient.exe.
471 * README.W32: A better documentation of ddeclient.exe.
473 * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
476 2013-03-30 Eli Zaretskii <eliz@gnu.org>
478 * inc/ms-w32.h (TERM_HEADER): Remove definition.
480 * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
483 2013-03-29 Eli Zaretskii <eliz@gnu.org>
485 * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
487 * config.nt (HAVE_COPYSIGN): Define.
489 2013-03-29 Juanma Barranquero <lekktu@gmail.com>
491 * config.nt: Sync with autogen/config.in.
492 (HAVE_XKBGETKEYBOARD): Remove.
493 (HAVE_XKB): New macro.
495 2013-03-27 Eli Zaretskii <eliz@gnu.org>
497 * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
498 (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
499 Depend on .exe files.
501 * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
502 avoid MinGW64 compiler warnings in editfns.c.
504 Fix rules for parallel builds.
505 * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
506 without the .exe suffix.
507 (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
511 * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
512 headers, since that's where _W64 is declared by MinGW64.
514 2013-03-26 Eli Zaretskii <eliz@gnu.org>
516 * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
517 (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
519 * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
522 * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
525 Fix more incompatibilities between MinGW.org and MinGW64 headers
526 reported by Óscar Fuentes in
527 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
528 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
530 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
531 * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
532 For MinGW64, include sys/types.h and time.h.
533 (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
535 * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
537 * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
539 (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
542 * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
544 * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
547 2013-03-25 Eli Zaretskii <eliz@gnu.org>
549 Fix incompatibilities between MinGW.org and MinGW64 headers
550 reported by Óscar Fuentes in
551 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
552 * inc/ms-w32.h (struct timespec): Don't define if
553 _TIMESPEC_DEFINED is already defined.
554 (sigset_t) [!_POSIX]: Typedef for MinGW64.
555 (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
556 including the first system header, to avoid redefinition if some
557 system header defines a default value.
559 * inc/sys/time.h (struct itimerval): Don't define if
560 _TIMESPEC_DEFINED is already defined.
562 2013-03-16 Eli Zaretskii <eliz@gnu.org>
564 Fix the MSVC build. (Bug#13939)
565 * inc/stdint.h (UINTPTR_MAX): Define.
567 * nmake.defs (libc): Fix syntax of !if conditional.
569 2013-03-15 Juanma Barranquero <lekktu@gmail.com>
571 * config.nt: Sync with autogen/config.in.
572 (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
573 (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
574 (HAVE_FDATASYNC): New macros.
576 2013-03-13 Paul Eggert <eggert@cs.ucla.edu>
578 File synchronization fixes (Bug#13944).
579 * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
581 2013-03-05 Paul Eggert <eggert@cs.ucla.edu>
583 FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
584 * inc/unistd.h (O_NOFOLLOW): New macro.
586 2013-03-04 Juanma Barranquero <lekktu@gmail.com>
588 * config.nt: Sync with autogen/config.in.
589 (DATA_START, ORDINARY_LINK): Remove.
590 (HAVE_DATA_START, HAVE__PUTENV): New macros.
592 2013-02-25 Eli Zaretskii <eliz@gnu.org>
594 * inc/ms-w32.h (BOOT_TIME_FILE): Define.
596 * config.nt (CLASH_DETECTION): Define to 1.
598 2013-02-16 Eli Zaretskii <eliz@gnu.org>
600 * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
602 (chown, logb): Remove, unused.
604 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
606 * config.nt: Sync with autogen/config.in.
607 (GC_MARK_STACK): Remove.
608 (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
609 (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
610 (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
612 2013-02-12 Eli Zaretskii <eliz@gnu.org>
614 * inc/ms-w32.h: Add prototype for memrchr.
616 2013-02-01 Paul Eggert <eggert@cs.ucla.edu>
618 Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
619 * inc/sys/stat.h (fstatat):
620 * inc/unistd.h (readlinkat): New decls.
622 2013-01-28 Eli Zaretskii <eliz@gnu.org>
624 * inc/dirent.h (opendir): Update prototype.
626 2013-01-11 Eli Zaretskii <eliz@gnu.org>
628 * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
629 used in term.c. (Bug#13387)
631 2013-01-09 Juanma Barranquero <lekktu@gmail.com>
633 * config.nt: Sync with autogen/config.in.
634 (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
636 2012-12-24 Eli Zaretskii <eliz@gnu.org>
638 * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
639 in lib/filemode.c that broke the MS-Windows build.
640 Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
642 2012-12-17 Juanma Barranquero <lekktu@gmail.com>
644 * config.nt: Sync with autogen/config.in.
647 2012-12-17 Eli Zaretskii <eliz@gnu.org>
649 * inc/sys/acl.h: New file.
651 * inc/ms-w32.h (ENOTSUP): Define if undefined.
653 * config.nt (HAVE_POSIX_ACL): Define.
655 2012-12-15 Eli Zaretskii <eliz@gnu.org>
657 * inc/ms-w32.h (sys_unlink): Provide prototype.
659 2012-12-14 Eli Zaretskii <eliz@gnu.org>
661 * inc/sys/stat.h: Declare w32_stat_get_owner_group.
663 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
665 * config.nt: Sync with autogen/config.in.
666 (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
668 2012-12-11 Juanma Barranquero <lekktu@gmail.com>
670 * config.nt: Sync with autogen/config.in.
671 (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
672 (ULIMIT_BREAK_VALUE): Remove.
674 2012-12-10 Daniel Colascione <dancol@dancol.org>
676 * emacs.rc: Use forward slashes in relative paths in order to
677 avoid complaints from Cygwin. (Forward slashes work perfectly
678 well in the NT build.)
680 2012-12-09 Eli Zaretskii <eliz@gnu.org>
682 * inc/unistd.h (unsetenv): Provide a prototype.
684 2012-12-08 Eli Zaretskii <eliz@gnu.org>
686 * inc/ms-w32.h (putenv): Redirect to sys_putenv.
687 (sys_putenv): Add prototype.
689 * config.nt (HAVE_UNSETENV): Define to 1.
691 2012-12-01 Juanma Barranquero <lekktu@gmail.com>
693 * config.nt: Sync with autogen/config.in.
695 2012-11-24 Ken Brown <kbrown@cornell.edu>
697 * config.nt (HAVE_MOUSE): Remove.
699 2012-11-23 Juanma Barranquero <lekktu@gmail.com>
701 * config.nt: Sync with autogen/config.in.
702 (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
705 2012-11-23 Eli Zaretskii <eliz@gnu.org>
707 * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
710 * nmake.defs (SWITCHCHAR): Define to /.
712 2012-11-23 Paul Eggert <eggert@cs.ucla.edu>
714 Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
715 * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
716 (struct dirent): Rename from struct direct. All uses changed.
717 * inc/sys/dir.h: Remove.
719 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
721 Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
722 * config.nt (HAVE_GETCWD): Remove.
724 2012-11-21 Eli Zaretskii <eliz@gnu.org>
726 * nmake.defs: Use !if, not !ifdef. For the details, see
727 http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
729 * inc/stdint.h (INTPTR_MIN)
730 (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
732 2012-11-18 Eli Zaretskii <eliz@gnu.org>
734 * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
736 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
738 * config.nt: Sync with autogen/config.in.
739 (HAVE_FPATHCONF): Remove.
741 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
743 Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
744 * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
745 POSIX name for this flag is O_NONBLOCK. All uses changed.
746 * inc/unistd.h (O_RDWR, O_NOCTTY): New macros. Like AT_FDCWD etc.
747 these really should be moved to a replacement <fcntl.h> if and
748 when that gets implemented. In the meantime, include <fcntl.h>
749 to make sure we don't override its definitions.
751 2012-11-17 Eli Zaretskii <eliz@gnu.org>
753 * inc/sys/wait.h: New file, with prototype of waitpid and
754 definitions of macros it needs.
756 * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
757 (sys_wait): Remove prototype.
759 * config.nt (HAVE_SYS_WAIT_H): Define to 1.
761 2012-11-17 Dani Moncayo <dmoncayo@gmail.com>
763 * zipdist.bat (ZIP_CHECK): Remove unused label. When invoking 7z
764 to check if it's installed, redirect standard output and standard
765 error to the null device.
766 (ZIP_DIST): Don't build the "barebin" distribution.
768 2012-11-15 Juanma Barranquero <lekktu@gmail.com>
770 * config.nt: Sync with autogen/config.in.
771 (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
772 (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
775 2012-11-14 Eli Zaretskii <eliz@gnu.org>
777 * inc/unistd.h (faccessat): Add prototype.
778 (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
779 2 moved from ms-w32.h.
781 * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
783 2012-11-14 Paul Eggert <eggert@cs.ucla.edu>
785 Use faccessat, not access, when checking file permissions (Bug#12632).
786 * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
788 (faccessat): New macro.
790 2012-11-05 Eli Zaretskii <eliz@gnu.org>
792 * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
794 2012-11-05 Juanma Barranquero <lekktu@gmail.com>
796 * config.nt: Sync with autogen/config.in.
797 (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
798 (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
800 2012-11-04 Juanma Barranquero <lekktu@gmail.com>
802 * config.nt: Sync with autogen/config.in.
803 (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
805 2012-11-03 Eli Zaretskii <eliz@gnu.org>
807 * config.nt (PENDING_OUTPUT_N_BYTES): Define.
809 2012-11-01 Eli Zaretskii <eliz@gnu.org>
811 * inc/unistd.h (setpgid, getpgrp): Provide prototypes. (Bug#12776)
813 * config.nt (GETPGRP_VOID): Define to 1.
815 2012-10-24 Juanma Barranquero <lekktu@gmail.com>
817 * config.nt: Sync with autogen/config.in.
819 2012-10-17 Eli Zaretskii <eliz@gnu.org>
821 * inc/pwd.h (getuid, geteuid): Add prototypes.
823 * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
824 (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
825 (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
826 (sys_kill, getpagesize): Add prototypes for emulated functions.
828 * inc/grp.h (getgid, getegid): Add prototypes.
830 * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
832 * configure.bat (chkapiN): Avoid compiler warning in junk.c when
833 compiling with -std=gnu99.
835 * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
836 could be used via --cflags switch to configure.bat.
838 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
840 * config.nt: Sync with autogen/config.in.
841 (HAVE_NTGUI): New macro.
843 2012-10-02 Eli Zaretskii <eliz@gnu.org>
845 * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
846 compiler warnings when using the value.
848 2012-10-01 Eli Zaretskii <eliz@gnu.org>
850 * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
851 'void *', for pointer arithmetic.
852 (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
853 macro arguments in parentheses.
855 2012-09-30 Eli Zaretskii <eliz@gnu.org>
857 * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
859 2012-09-30 Fabrice Popineau <fabrice.popineau@supelec.fr>
861 * inc/sys/socket.h: Don't map Winsock error codes to standard ones
862 that are already defined.
864 * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
865 (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
866 [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
868 * preprep.c (pfnCheckSumMappedFile, rva_to_section)
869 (offset_to_section, relocate_offset, OFFSET_TO_RVA)
870 (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
871 (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
872 (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
873 Use DWORD_PTR instead of DWORD for compatibility with x64.
875 * nmake.defs: Support AMD64.
876 (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
878 * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
881 * addsection.c (pfnCheckSumMappedFile, rva_to_section)
882 (offset_to_section, relocate_offset, OFFSET_TO_RVA)
883 (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
884 (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
885 (copy_executable_and_add_section, main): Use DWORD_PTR instead of
886 DWORD, for compatibility with x64.
888 * emacs-x64.manifest: New file.
890 * emacs-x86.manifest: Renamed from emacs.manifest.
892 2012-09-30 Eli Zaretskii <eliz@gnu.org>
894 * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
895 (struct itimerval): Define.
896 (getitimer, setitimer): Add prototypes.
898 * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
900 (SA_RESTART, SIGPROF): Define.
902 * config.nt (HAVE_SETITIMER): Define to 1.
904 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
906 * config.nt: Sync with autogen/config.in.
908 2012-09-29 Juanma Barranquero <lekktu@gmail.com>
910 * config.nt: Sync with autogen/config.in.
911 (HAVE_TIMER_SETTIME): New macro.
913 2012-09-23 Eli Zaretskii <eliz@gnu.org>
915 * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
917 2012-09-23 Paul Eggert <eggert@cs.ucla.edu>
919 Simplify and avoid signal-handling races (Bug#12471).
920 * inc/ms-w32.h (emacs_raise): New macro.
922 2012-09-18 Eli Zaretskii <eliz@gnu.org>
924 * configure.bat: Include stddef.h before gif_lib.h, to have size_t
925 defined, as needed by giflib-5.0.0. (Bug#12464)
927 2012-09-17 Juanma Barranquero <lekktu@gmail.com>
929 * config.nt: Sync with autogen/config.in.
930 (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
932 2012-09-17 Glenn Morris <rgm@gnu.org>
934 * config.nt (COPYRIGHT): New.
936 2012-09-15 Paul Eggert <eggert@cs.ucla.edu>
938 Port _setjmp fix to POSIXish hosts as well as Microsoft.
939 * config.nt: Attempt to sync with autogen/config.in.
940 (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
941 (_longjmp, _setjmp): Remove.
943 2012-09-14 Juanma Barranquero <lekktu@gmail.com>
945 * config.nt: Sync with autogen/config.in.
946 (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
947 (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
948 (USABLE_FIONREAD, USABLE_SIGIO): New macros.
950 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
952 * config.nt: Sync with autogen/config.in.
953 (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
954 (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
956 2012-09-08 Eli Zaretskii <eliz@gnu.org>
958 * configure.bat <use_extensions>: Don't leave it set in the
959 environment when the script exits.
961 2012-09-07 Juanma Barranquero <lekktu@gmail.com>
963 * config.nt: Sync with autogen/config.in.
964 (NO_ABORT, SIGNAL_H_AHB): Remove.
966 2012-09-07 Eli Zaretskii <eliz@gnu.org>
968 * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
970 2012-09-05 Juanma Barranquero <lekktu@gmail.com>
972 * config.nt: Sync with autogen/config.in.
974 2012-09-04 Paul Eggert <eggert@cs.ucla.edu>
976 Simplify redefinition of 'abort' (Bug#12316).
977 * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
979 2012-09-02 Juanma Barranquero <lekktu@gmail.com>
981 * config.nt: Sync with autogen/config.in.
982 (HAVE_EXECINFO_H, TERM_HEADER): New macros.
984 2012-09-01 Daniel Colascione <dancol@dancol.org>
986 * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
988 2012-08-22 Juanma Barranquero <lekktu@gmail.com>
990 * config.nt: Sync with autogen/config.in.
992 2012-08-17 Juanma Barranquero <lekktu@gmail.com>
994 * config.nt: Sync with autogen/config.in.
995 (HAVE_POSIX_OPENPT): New macro.
997 2012-08-14 Juanma Barranquero <lekktu@gmail.com>
999 * config.nt: Sync with autogen/config.in.
1000 (_GL_INLINE_HEADER_BEGIN): Update.
1002 2012-08-10 Glenn Morris <rgm@gnu.org>
1004 * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
1006 2012-08-07 Juanma Barranquero <lekktu@gmail.com>
1008 * config.nt: Sync with autogen/config.in.
1009 (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
1010 (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
1012 * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
1014 2012-08-06 Glenn Morris <rgm@gnu.org>
1016 * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
1017 (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
1019 2012-08-04 Eli Zaretskii <eliz@gnu.org>
1021 * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
1022 (PATH_DATA, PATH_DOC): Replace dummy directory names with
1023 directories relative to %emacs_dir%.
1024 (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
1025 to the use case of running un-installed Emacs.
1027 2012-08-03 Juanma Barranquero <lekktu@gmail.com>
1029 * config.nt: Sync with autogen/config.in.
1030 (DOS_NT, MSDOS): New macros.
1031 (WRETCODE, wait3): Remove.
1033 * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
1035 2012-08-03 Eli Zaretskii <eliz@gnu.org>
1037 * inc/sys/stat.h (S_IFLNK): Define.
1038 (S_ISLNK): A non-trivial definition.
1039 (lstat): Prototype instead of a macro that redirects to 'stat'.
1041 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1043 Use C99-style 'extern inline' if available.
1044 * config.nt: Sync with autogen/config.in.
1045 (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
1046 (_GL_INLINE_HEADER_END): New macros.
1048 2012-08-02 Glenn Morris <rgm@gnu.org>
1050 * inc/ms-w32.h: Move here from ../src/s.
1051 * config.nt (config_opsysfile): Change to <ms-w32.h>.
1053 2012-08-01 Juanma Barranquero <lekktu@gmail.com>
1055 * config.nt: Sync with autogen/config.in.
1056 (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
1057 (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
1060 2012-08-01 Juanma Barranquero <lekktu@gmail.com>
1062 * config.nt: Sync with autogen/config.in.
1063 Remove code moved to conf_post.h and include <conf_post.h>
1064 (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
1065 (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
1067 2012-07-29 Juanma Barranquero <lekktu@gmail.com>
1069 * config.nt: Sync with autogen/config.in.
1070 (HAVE_ENVIRON_DECL): New macro.
1072 2012-07-29 Eli Zaretskii <eliz@gnu.org>
1074 * inc/stdalign.h (_Alignas, alignas): Define.
1076 2012-07-28 Paul Eggert <eggert@cs.ucla.edu>
1078 Use Gnulib stdalign module (Bug#9772, Bug#9960).
1079 * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
1081 2012-07-14 Juanma Barranquero <lekktu@gmail.com>
1083 * config.nt: Sync with autogen/config.in.
1084 (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
1085 (SETUP_SLAVE_PTY): New macros.
1087 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
1089 * config.nt: Sync with autogen/config.in.
1090 (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
1091 (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
1092 (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
1093 (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
1094 (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
1095 (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
1096 (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
1097 (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
1098 (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
1099 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
1100 Set in src/s/ms-w32.h, not here.
1102 2012-07-11 Juanma Barranquero <lekktu@gmail.com>
1104 * config.nt: Sync with autogen/config.in.
1105 (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
1106 (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
1107 (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
1109 2012-07-10 Juanma Barranquero <lekktu@gmail.com>
1111 * config.nt: Sync with autogen/config.in.
1113 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1115 * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
1117 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
1119 * config.nt: Sync with autogen/config.in.
1121 2012-07-07 Juanma Barranquero <lekktu@gmail.com>
1123 * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
1125 2012-07-06 Juanma Barranquero <lekktu@gmail.com>
1126 Eli Zaretskii <eliz@gnu.org>
1128 * config.nt: Complete rework to bring it in sync with autogen/config.in.
1129 All Windows-specific code moved to src/s/ms-w32.h.
1131 2012-07-04 Juanma Barranquero <lekktu@gmail.com>
1132 Eli Zaretskii <eliz@gnu.org>
1134 * configure.bat (enablechecking): Enable checks through src/config.h,
1135 not the compiler's command line.
1137 * nmake.defs (CHECKING_CFLAGS): Remove.
1138 (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1140 * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
1141 (CHECKING_CFLAGS): Remove.
1142 (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1144 2012-07-04 Juanma Barranquero <lekktu@gmail.com>
1146 * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
1147 (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
1148 (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
1149 (HAVE_MEMCMP): Remove, obsolete.
1151 2012-06-30 Glenn Morris <rgm@gnu.org>
1153 * paths.h (PATH_SITELOADSEARCH): New.
1155 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1157 * nmake.defs (CHECKING_CFLAGS):
1158 * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
1160 2012-06-24 Eli Zaretskii <eliz@gnu.org>
1162 * config.nt (_Noreturn): Don't reference __SUNPRO_C.
1164 2012-06-24 Paul Eggert <eggert@cs.ucla.edu>
1166 Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
1167 * config.nt (_Noreturn): New macro.
1168 (NO_RETURN): Remove. All uses replaced with _Noreturn.
1169 (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
1171 2012-06-24 Eli Zaretskii <eliz@gnu.org>
1173 * inc/sys/time.h (struct timespec): Don't define it here, it is
1174 now defined in src/s/ms-w32.h.
1176 2012-06-23 Eli Zaretskii <eliz@gnu.org>
1178 Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
1179 * inc/sys/time.h (struct timespec): Define.
1181 2012-06-16 Eli Zaretskii <eliz@gnu.org>
1183 * makefile.w32-in (install-addpm): New target.
1184 (dist): Depend on it.
1185 (install-shortcuts): Depend on install-addpm instead of copying
1186 addpm.exe as part of the recipe. See
1187 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
1188 for the related problem and discussions.
1190 2012-06-11 Glenn Morris <rgm@gnu.org>
1192 * config.nt (SYSTEM_TYPE): Define it.
1194 2012-05-31 Eli Zaretskii <eliz@gnu.org>
1196 * configure.bat (genmakefiles): Move the redirection away from the
1197 end of the command, to avoid excess whitespace at the end of Make
1198 variables created at configure time, and also avoid things like
1199 "FOO1>>config.settings", where "1" gets interpreted as the file
1200 descriptor and eaten up. This fixes breakage introduced by the
1201 last change, without reintroducing the bug fixed by that change.
1203 2012-05-31 Eli Zaretskii <eliz@gnu.org>
1205 * nmake.defs (MWINDOWS): Define as
1206 "-subsystem:windows -entry:mainCRTStartup". Suggested by Fabrice
1207 Popineau <fabrice.popineau@supelec.fr>. (Bug#11405)
1209 * gmake.defs (MWINDOWS): Define as "-mwindows".
1211 2012-05-28 Eli Zaretskii <eliz@gnu.org>
1213 * config.nt (HAVE_SYSINFO): Remove; unused.
1215 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1217 * inc/stdalign.h: New file.
1219 * configure.bat: Ensure a space between %var% expansion and
1220 redirection symbol '>', which breaks when %var% ends in a digit,
1223 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1226 * config.nt: Do not include "m/intel386.h"; file was removed.
1227 (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
1229 (EMACS_INT_MAX): New macro.
1231 2012-05-19 Paul Eggert <eggert@cs.ucla.edu>
1233 * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
1234 (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
1236 * config.nt (HAVE_FTIME): Remove undef; not needed.
1238 2012-05-01 Glenn Morris <rgm@gnu.org>
1240 * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
1242 2012-04-14 Dani Moncayo <dmoncayo@gmail.com> (tiny change)
1244 * makefile.w32-in: Fix typo (Bug#10261).
1246 2012-04-10 Eli Zaretskii <eliz@gnu.org>
1248 * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
1249 each runs makeinfo in its own subdirectory of 'doc'.
1250 (info-gmake): Depend on these new targets.
1252 2012-04-07 Glenn Morris <rgm@gnu.org>
1254 * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
1255 Bump version to 24.1.50.
1257 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1259 * configure.bat: Support building with libxml2.
1262 * README.W32: Add information about libxml2.
1264 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1266 * makefile.w32-in: Convert to Unix EOL format.
1267 (all): Don't depend on stamp_BLD and on maybe-bootstrap.
1268 (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
1269 (bootstrap-gmake): Invoke the "clean" and build targets in 2
1270 separate commands, so they run in that order even under "make -j".
1272 2012-03-29 Eli Zaretskii <eliz@gnu.org>
1274 * config.nt: Discourage from defining HAVE_GETCWD.
1276 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1278 * makefile.w32-in (install-bin): Don't copy addpm.exe here. Use
1279 $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
1280 on other (parallel) Make job's toes.
1281 (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
1282 (install-shortcuts): Depend on $(INSTALL_DIR)/bin. Copy addpm.exe
1284 (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
1285 Depend on create-tmp-dist-dir.
1287 * nmake.defs (DIRNAME): New variable.
1288 (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1291 * gmake.defs (DIRNAME): New variable.
1292 (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1293 same-dir.tst, to avoid conflicts between several (parallel) Make
1296 2012-02-24 Eli Zaretskii <eliz@gnu.org>
1298 Prevent endless re-spawning of cmdproxy.exe when some of its
1299 parent directories have access limitations.
1301 * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
1302 and our own module name to short 8+3 aliases, if the original file
1303 names compare equal. If GetShortPathName fails, compare the base
1304 names of the two file names, and only re-spawn the command line if
1305 the base-name comparison also fails. (Bug#10674)
1307 2012-02-23 Dani Moncayo <dmoncayo@gmail.com> (tiny change)
1309 * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
1311 2012-02-06 Christoph Scholtes <cschol2112@googlemail.com>
1313 * README.W32: Removed specific version information for libXpm
1314 included in the binary distribution for maintenance purposes.
1316 2012-02-05 Christoph Scholtes <cschol2112@googlemail.com>
1318 * README.W32: Clarification for inclusion in source tarball (bug#9750).
1320 * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1322 * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1324 * makefile.w32-in (maybe-copy-distfiles)
1325 (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1326 (create-tmp-dist-dir): Add to make --distfiles optional.
1327 (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1329 2012-02-04 Eli Zaretskii <eliz@gnu.org>
1331 * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1334 2011-11-27 Fabrice Popineau <fabrice.popineau@supelec.fr> (tiny change)
1336 * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1337 (UINT64_MAX) [_WIN64]: Fix definition.
1338 (uintmax_t, intmax_t): Fix definitions.
1340 * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1341 Provide correct definitions.
1343 * config.nt (HAVE_DECL_STRTOLL): Define.
1344 (va_copy) [_WIN64]: Provide a better definition.
1346 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
1348 * configure.bat: Fix typos.
1350 2011-11-25 Eli Zaretskii <eliz@gnu.org>
1352 * INSTALL: Elaborate on debugging fatal errors.
1354 2011-11-15 Eli Zaretskii <eliz@gnu.org>
1356 * README.W32: Update the GTK Windows download URL for libpng.
1358 2011-11-13 Christoph Scholtes <cschol2112@googlemail.com>
1360 * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1362 2011-11-05 Christoph Scholtes <cschol2112@googlemail.com>
1364 * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1365 (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1366 (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1367 (intmax_t, INT64_MAX): Add for MSVC.
1369 * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1371 2011-11-05 Eli Zaretskii <eliz@gnu.org>
1373 * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1375 Support MSVC build with newer versions of Visual Studio.
1376 * makefile.w32-in (clean-other-dirs-nmake)
1377 (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1378 Update for current structure of doc/ subdirectories.
1380 * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1382 * INSTALL: Update for newer versions of MSVC.
1384 2011-11-05 Fabrice Popineau <fabrice.popineau@supelec.fr> (tiny change)
1386 Support MSVC build with newer versions of Visual Studio.
1387 * nmake.defs (USE_CRT_DLL): Define to 1.
1388 (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1391 2011-11-04 Eli Zaretskii <eliz@gnu.org>
1393 * runemacs.c (ensure_unicows_dll): New function, tries to load
1394 UNICOWS.DLL on Windows 9X.
1395 (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1396 display a dialog to the effect that Emacs cannot be started.
1399 2011-10-28 Eli Zaretskii <eliz@gnu.org>
1401 * README.W32: Mention UNICOWS.DLL as prerequisite for running
1402 Emacs on Windows 9X.
1404 2011-10-25 Eli Zaretskii <eliz@gnu.org>
1406 * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1407 distribution. (Bug#9861)
1409 2011-10-25 Christoph Scholtes <cschol2112@googlemail.com>
1411 * INSTALL: Update URL for GTK download page.
1413 2011-10-19 Eli Zaretskii <eliz@gnu.org>
1415 * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1416 (Bug#9794) (Bug#641)
1418 2011-09-04 Paul Eggert <eggert@cs.ucla.edu>
1420 * config.nt (HAVE_SNPRINTF): New macro.
1422 2011-07-28 Paul Eggert <eggert@cs.ucla.edu>
1424 Assume freestanding C89 headers, string.h, stdlib.h.
1425 * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1426 (STDC_HEADERS): Remove.
1427 Iinclude string.h, stdlib.h unconditionally.
1429 2011-06-07 Eli Zaretskii <eliz@gnu.org>
1431 * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1432 [!__GNUC__]: New macros.
1434 2011-05-28 Paul Eggert <eggert@cs.ucla.edu>
1436 Use 'inline', not 'INLINE'.
1437 * config.nt (INLINE): Remove.
1439 2011-05-17 Eli Zaretskii <eliz@gnu.org>
1441 * README.W32: Add information about GnuTLS libraries.
1443 2011-05-09 Eli Zaretskii <eliz@gnu.org>
1445 * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1447 2011-05-07 Ben Key <bkey76@gmail.com>
1449 * configure.bat: Renamed the fusercflags variable to escusercflags
1450 so that the variable name better matches its purpose, to be
1451 identical to usercflags with the exception that all quotes are
1452 escaped by the \ character.
1454 Renamed the fuserldflags variable to escuserldflags so that the
1455 variable name better matches its purpose, to be identical to
1456 userldflags with the exception that all quotes are escaped by
1459 A new ESC_USER_CFLAGS variable is written to config.settings.
1460 This variable has the same value as the escusercflags variable.
1462 * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1463 This variable is identical to the CFLAGS variable except that it
1464 includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1466 These changes, along with some changes to src/makefile.w32-in,
1467 are required to extend my earlier fix to add support for
1468 --cflags and --ldflags options that include quotes so that it
1469 works whether make uses cmd or sh as the shell.
1471 2011-05-06 Eli Zaretskii <eliz@gnu.org>
1473 * inc/inttypes.h [!__MINGW32__]: Include stdint.h. Move the
1474 definition of uintmax_t from here...
1475 * inc/stdint.h (uintmax_t): ...to here.
1476 (intptr_t) [!__GNUC__]: New typedef.
1478 2011-05-06 Paul Eggert <eggert@cs.ucla.edu>
1480 * config.nt: Prepare to configure 64-bit integers for older compilers.
1481 However, temporarily disable this change unless the temporary
1482 symbol WIDE_EMACS_INT is defined.
1483 (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1484 "%I64d" work but long long and "%lld" do not.
1486 2011-05-05 Ben Key <bkey76@gmail.com>
1488 * configure.bat: Added support for --cflags and --ldflags
1489 options that include quotes as long as command extensions are
1490 enabled. Specifically when -I, -L, and similar flags are used
1491 to specify supplementary include and library directories a
1492 directory name that includes spaces may now be used if it is
1495 * INSTALL: Documented the change to configure.bat.
1497 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
1499 * INSTALL: Clarify GnuTLS support.
1501 2011-04-30 Eli Zaretskii <eliz@gnu.org>
1503 * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1504 Define to 1 for MinGW of MSVC versions >= 1400.
1506 2011-04-28 Eli Zaretskii <eliz@gnu.org>
1508 * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1510 2011-04-27 Eli Zaretskii <eliz@gnu.org>
1512 * inc/inttypes.h: New file.
1514 * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1515 (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1517 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1519 * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1520 inside quotation marks and bail out.
1522 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1524 * cmdproxy.c (try_dequote_cmdline): New function.
1527 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1529 * configure.bat: New options --without-gnutls and --lib, new build
1530 variable USER_LIBS, automatically detect GnuTLS. Copies the PNG
1531 library setup with trivial modifications.
1532 * INSTALL: Add instructions for GnuTLS support.
1533 * gmake.defs: Prefix USER_LIBS with -l.
1535 2011-04-15 Ben Key <bkey76@gmail.com>
1537 * configure.bat: Modified the code that parses the --cflags and
1538 --ldflags options to support parameters that include the =
1539 character as long as they are enclosed in quotes.
1540 This functionality depends on command extensions. Configure.bat now
1541 attempts to enable command extensions and displays a warning
1542 message if they could not be enabled. If configure.bat could
1543 not enable command extensions the old parsing code is used that
1544 does not support parameters that include the = character.
1546 * INSTALL: Updated the file to describe the new functionality
1547 using text provided by Eli Zaretskii.
1549 2011-04-06 Eli Zaretskii <eliz@gnu.org>
1551 * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1552 (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1553 on the trunk on 2011-04-06.
1555 2011-03-27 Glenn Morris <rgm@gnu.org>
1557 * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1559 2011-03-25 Juanma Barranquero <lekktu@gmail.com>
1561 * addpm.c (main): Remove unused variable `retval'.
1563 * preprep.c (main): Remove unused variable `ptr'.
1565 2011-03-23 Juanma Barranquero <lekktu@gmail.com>
1567 * cmdproxy.c: Include <ctype.h>.
1568 (make_absolute): Remove unused variable `i'.
1570 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
1572 * Version 23.3 released.
1574 2011-02-27 Eli Zaretskii <eliz@gnu.org>
1576 * inc/unistd.h (readlink, symlink): Declare prototypes.
1578 2011-02-26 Eli Zaretskii <eliz@gnu.org>
1580 * config.nt (nlink_t): Define.
1582 2011-02-21 Christoph Scholtes <cschol2112@gmail.com>
1584 * inc/stdint.h: New file, to support compilation with tool chains
1585 that do not have stdint.h (e.g. MSVC).
1587 2011-02-21 Eli Zaretskii <eliz@gnu.org>
1589 * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1590 (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1591 (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1592 (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1593 (lstat): Define to stat.
1595 2011-02-09 Eli Zaretskii <eliz@gnu.org>
1597 * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1598 "make-docfile" target in lib-src, before bootstrapping the src
1599 directory. Needed since building in src needs to run make-docfile
1600 to produce globals.h.
1602 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1604 * config.nt (inline) [__GNUC__]: Define (for gnulib).
1606 2011-01-31 Eli Zaretskii <eliz@gnu.org>
1608 * config.nt (VERSION): Uncomment definition.
1611 * inc/stdbool.h: New file.
1613 2011-01-29 Eli Zaretskii <eliz@gnu.org>
1615 * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1616 (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1617 (bootstrap-clean-gmake, clean-other-dirs-nmake)
1618 (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1619 (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1620 (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1621 (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1622 (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1624 * configure.bat: Create lib/makefile.
1626 * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1627 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1628 (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1629 (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1631 2011-01-07 Eli Zaretskii <eliz@gnu.org>
1633 * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1635 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1637 * configure.bat (end): Unset environment variables used by this
1640 * INSTALL: Update the information about PNG support libraries.
1643 * README.W32: Update the information about PNG support libraries.
1645 2010-11-23 Eli Zaretskii <eliz@gnu.org>
1647 * config.nt (EXTERNALLY_VISIBLE): Define.
1649 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
1651 * INSTALL: Refer to `dynamic-library-alist'.
1653 2010-10-06 Juanma Barranquero <lekktu@gmail.com>
1655 * INSTALL: Add note about problematic characters passed to configure.
1657 2010-10-01 Eli Zaretskii <eliz@gnu.org>
1659 * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1660 emacs-src.tags: New file.
1662 * gmake.defs: Add a comment with a single quote to fix
1663 fontification. (Bug#7102)
1665 2010-09-29 Eli Zaretskii <eliz@gnu.org>
1667 * configure.bat: Fix the condition for copying paths.h into
1670 2010-09-28 Juanma Barranquero <lekktu@gmail.com>
1672 * addpm.c (entry, add_registry, main):
1673 * addsection.c (file_data, open_input_file, open_output_file)
1674 (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1676 * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1677 (skip_nonspace, get_next_token, search_dir, make_absolute)
1679 * preprep.c (file_data, open_input_file, open_output_file)
1680 (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1683 * cmdproxy.c (stdin): Don't define, not used.
1684 (main): Don't assign remlen after last use.
1686 2010-09-22 Juanma Barranquero <lekktu@gmail.com>
1688 * configure.bat: Err out when the argument of --cflags contains
1689 invalid characters (check implemented only for GCC). (Bug#6820)
1691 2010-08-19 Juanma Barranquero <lekktu@gmail.com>
1693 * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1695 2010-08-12 Jason Rumney <jasonr@gnu.org>
1697 * addpm.c (add_registry): Set path for runemacs.exe to use.
1699 2010-08-08 Óscar Fuentes <ofv@wanadoo.es>
1701 * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1702 which has a 1024 char limit on Windows (bug#6647).
1704 2010-08-02 Juanma Barranquero <lekktu@gmail.com>
1706 * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1707 Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1709 2010-07-29 Dan Nicolaescu <dann@ics.uci.edu>
1711 * config.nt: Remove code referring to NO_REMAP, unused.
1713 2010-07-25 Christoph Scholtes <cschol2112@gmail.com>
1715 Build binary distros on Windows using emacs-VERSION as root dir name.
1717 * makefile.w32-in: Copy README.W32 to installation directory
1718 during `make install'. Remove README.W32 with `distclean' (in
1719 case Emacs was installed in place). Use temporary directory to
1720 create distribution zip files in `dist' target.
1721 * zipdist.bat: Simplify code using temporary directory.
1723 2010-07-25 Juanma Barranquero <lekktu@gmail.com>
1725 * runemacs.c (set_user_model_id): Fix prototype.
1727 2010-07-24 Christoph Scholtes <cschol2112@gmail.com>
1729 New make target for Windows platform: make dist (bug#6602)
1731 * INSTALL: Document new dist target and add section about
1732 creating binary distributions.
1733 * README.W32: Relocate from admin/nt/ directory.
1734 * configure.bat: New parameter `--distfiles'.
1735 * makefile.w32-in: Add version number, new target `dist'.
1736 Add new target `install-shortcuts'.
1737 * zipdist.bat: New file; create zipped binary distribution,
1738 replaces admin/nt/makedist.bat.
1740 2010-07-21 Juanma Barranquero <lekktu@gmail.com>
1742 * INSTALL: Add note about backslashes in Windows paths.
1743 Fix typos. Simplify references to Windows versions.
1745 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1747 * addpm.c (add_registry, main):
1748 * cmdproxy.c (get_env_size):
1749 * ddeclient.c (main):
1750 * runemacs.c (set_user_model_id):
1751 Convert definitions to standard C.
1753 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1755 * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1757 2010-07-18 Juanma Barranquero <lekktu@gmail.com>
1759 * configure.bat: New option --enable-checking.
1760 * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1761 (CFLAGS): Include it.
1763 2010-07-12 Dan Nicolaescu <dann@ics.uci.edu>
1765 * config.nt (volatile): Remove definition.
1767 2010-07-07 Andreas Schwab <schwab@linux-m68k.org>
1769 * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1770 (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1772 2010-07-02 Juanma Barranquero <lekktu@gmail.com>
1774 * config.nt (__P): Remove.
1776 2010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
1778 * config.nt: Remove code depending on BSTRING.
1780 2010-06-03 Glenn Morris <rgm@gnu.org>
1782 * config.nt: Remove NOT_C_CODE tests, it is always true now.
1784 2010-05-13 Glenn Morris <rgm@gnu.org>
1786 * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1788 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
1790 * Version 23.2 released.
1792 2010-05-04 Glenn Morris <rgm@gnu.org>
1794 * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1796 2010-04-20 Lewis Perin <perin@panix.com> (tiny change)
1798 * emacs.manifest: Add trustInfo section to Windows manifest.
1800 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
1804 2010-01-13 Martin Rudalics <rudalics@gmx.at>
1806 * emacsclient.rc: Fix format of "LegalCopyright" value.
1808 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
1810 * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1812 2009-12-27 Karl Fogel <kfogel@red-bean.com>
1814 * INSTALL: Update for CVS->Bazaar switchover.
1816 2009-09-14 Juanma Barranquero <lekktu@gmail.com>
1818 * configure.bat: Add #define PROFILING to config.h.
1820 2009-07-03 Jason Rumney <jasonr@gnu.org>
1822 * runemacs.c (set_user_model_id): Use standard types.
1824 2009-06-30 Jason Rumney <jasonr@gnu.org>
1826 * runemacs.c (set_user_model_id): New function.
1829 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
1833 2009-03-21 Eli Zaretskii <eliz@gnu.org>
1835 * inc/sys/stat.h (struct stat): Change the types of st_uid and
1838 * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1840 (getpwuid): Argument is now unsigned.
1841 uid_t is now unsigned.
1843 2009-02-24 Juanma Barranquero <lekktu@gmail.com>
1845 * INSTALL: Add comment about TCC; fix typos.
1847 2009-01-26 Jason Rumney <jasonr@gnu.org>
1849 * emacsclient.rc, emacs.rc: Swap name and description.
1850 Remove Windows versions.
1852 2009-01-15 Jason Rumney <jasonr@gnu.org>
1854 * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1856 * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1858 * addpm.c (main): Try using COM to create start menu shortcuts
1859 before resorting to DDE (Bug#202)
1860 Remove second command-line argument.
1862 2009-01-03 Juanma Barranquero <lekktu@gmail.com>
1864 * configure.bat: Untabify help message.
1866 2009-01-03 Jason Rumney <jasonr@gnu.org>
1868 * configure.bat: New option --with-svg.
1870 * INSTALL: Document experimental SVG support.
1872 2008-12-25 Jason Rumney <jasonr@gnu.org>
1874 * config.nt (PTR): Remove.
1876 2008-12-19 Dan Nicolaescu <dann@ics.uci.edu>
1878 * config.nt (LISTPROC, PROCATTR): Remove.
1880 2008-08-09 Eli Zaretskii <eliz@gnu.org>
1882 * config.nt (LISTPROC, PROCATTR): New macros.
1884 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
1886 * config.nt (MULTI_KBOARD): Remove.
1888 2008-07-23 Jason Rumney <jasonr@gnu.org>
1890 * configure.bat: New option --profile.
1891 * gmake.defs: Set cflags and ldflags for profiling when specified.
1893 2008-07-23 Dan Nicolaescu <dann@ics.uci.edu>
1895 * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1897 2008-07-13 Dan Nicolaescu <dann@ics.uci.edu>
1899 * config.nt (HAVE_FACES): Remove, unused.
1901 2008-06-26 Juanma Barranquero <lekktu@gmail.com>
1902 Eli Zaretskii <eliz@gnu.org>
1904 * nmake.defs (FONT_CFLAGS):
1905 * gmake.defs (FONT_CFLAGS): Remove.
1906 (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1907 (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1909 (ARCH_FLAGS): Don't include _X86_.
1911 * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1913 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
1915 * config.nt: Remove reference to UNEXEC_SRC.
1917 2008-06-23 Juanma Barranquero <lekktu@gmail.com>
1918 Eli Zaretskii <eliz@gnu.org>
1920 * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1921 Don't hardcode -gstabs+, use DEBUG_INFO.
1923 * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1924 Default to stabs if the compiler does not support DWARF-2.
1925 (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1927 2008-05-14 Jason Rumney <jasonr@gnu.org>
1929 * configure.bat: Remove code dealing with --disable-font-backend.
1931 2008-05-09 Eli Zaretskii <eliz@gnu.org>
1933 * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1934 better alignment. Make st_size 64-bit wide. Add new members
1935 st_uname and st_gname.
1937 * inc/grp.h (struct group): Add gr_gid member.
1939 2008-04-23 Eli Zaretskii <eliz@gnu.org>
1941 * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1942 (all): ...to here. $(ALL) is a prerequisite of .PHONY, so having
1943 a real file there is not a good idea.
1945 2008-04-23 Jason Rumney <jasonr@gnu.org>
1947 * makefile.w32-in (CLIENTRES): New variable and build target.
1948 (all): Depend on it.
1949 ($(TRES)): Use $(TRES) in rule.
1951 2008-04-21 Jason Rumney <jasonr@gnu.org>
1953 * configure.bat (success): Print "make" rather than "gmake", as that
1956 2008-04-11 Eli Zaretskii <eliz@gnu.org>
1958 * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1959 Add copyright notice.
1961 2008-04-10 Jason Rumney <jasonr@gnu.org>
1963 * emacsclient.rc: New file.
1965 * INSTALL: Document make targets.
1967 2008-04-09 Jason Rumney <jasonr@gnu.org>
1969 * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1970 (clean-other-dirs-gmake): Likewise. Clean doc dirs.
1971 (top-distclean, distclean, distclean-other-dirs-nmake)
1972 (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1973 (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1975 2008-04-05 Eli Zaretskii <eliz@gnu.org>
1977 * inc/sys/stat.h: New file.
1979 * configure.bat: Add check for usp10.h.
1981 2008-04-04 Jason Rumney <jasonr@gnu.org>
1983 * INSTALL: Update Windows API requirements.
1985 2008-04-03 Jason Rumney <jasonr@gnu.org>
1987 * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1989 2008-03-13 Glenn Morris <rgm@gnu.org>
1991 * emacs.rc: Set version to 23.0.60.
1993 2008-03-04 Jason Rumney <jasonr@gnu.org>
1995 * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1996 (EMACS_EXTRA_C_FLAGS): Include it.
1997 * configure.bat (usefontbackend): Default to Y.
1998 (--enable-font-backend): Replace with --disable-font-backend.
1999 (:withfont): Replace with :withoutfont.
2001 2008-03-03 Kentaro Ohkouchi <nanasess@fsm.ne.jp>
2003 * icons/emacs.ico: Full alpha for 32x32 full color.
2004 Add 32x32 and 16x16 256 color versions.
2006 2008-03-03 Andrew Zhilin <andrew_zhilin@yahoo.com>
2008 * icons/emacs22.ico: New file (the old emacs.ico under a new name).
2010 2008-03-02 Jason Rumney <jasonr@gnu.org>
2012 * makefile.w32-in ($(TRES)): Depend on icon and manifest.
2014 2008-03-02 Kentaro Ohkouchi <nanasess@fsm.ne.jp>
2016 * icons/README: Update.
2018 * icons/emacs.ico: New icon.
2020 2008-02-25 Juanma Barranquero <lekktu@gmail.com>
2022 * addpm.c: Include malloc.h.
2023 (add_registry): Cast return value of alloca.
2025 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
2027 * config.nt (SHORTNAMES): Remove reference to obsolete variable.
2029 2008-02-11 Eli Zaretskii <eliz@gnu.org>
2031 * configure.bat (checkgcc): Move "del junk.o" to here, and make it
2032 conditional on existence of junk.o. If %nocygwin% is already set
2033 to Y, skip to chkapiN instead of chkapi.
2034 (chkapi): Move "rm -f junk.c junk.o" to here.
2035 (chkapiN): New label.
2037 2008-02-11 Jason Rumney <jasonr@gnu.org>
2039 * makefile.w32-in: Remove unidata-gen related rules.
2041 2008-02-09 Eli Zaretskii <eliz@gnu.org>
2043 * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
2045 2008-02-11 Jason Rumney <jasonr@gnu.org>
2047 * addpm.c (add_registry): Add an App Paths registry key.
2048 Look for GTK and add it to the DLL search path for Emacs if found.
2050 2008-02-05 Juanma Barranquero <lekktu@gmail.com>
2052 * configure.bat: In help, use generic names for the image libraries.
2054 2008-02-04 Juanma Barranquero <lekktu@gmail.com>
2056 * .cvsignore: Don't ignore .arch-inventory.
2058 2008-02-03 Jason Rumney <jasonr@gnu.org>
2060 * configure.bat: Make gcc the default compiler.
2062 2008-02-02 Eli Zaretskii <eliz@gnu.org>
2064 * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
2065 Ignore return status.
2067 * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
2068 it out of the way of Windows generated file.
2069 Generate admin/unidata/makefile.
2071 * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
2072 (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
2073 (unidatagen-clean-SH): New targets.
2074 (bootstrap-nmake): Invoke unidatagen-nmake.
2075 (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
2077 2008-02-01 Jason Rumney <jasonr@gnu.org>
2079 * configure.bat (withfont): Set sep1 after modifying usercflags.
2081 2008-02-01 Jason Rumney <jasonr@gnu.org>
2083 * configure.bat: Rename --with-font-backend to --enable-font-backend
2084 for consistency with other platforms.
2086 2008-02-01 Jason Rumney <jasonr@gnu.org>
2088 * configure.bat: Add --with-font-backend option.
2090 2008-01-20 Jason Rumney <jasonr@gnu.org>
2092 * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
2093 permissions to NTFS ACLs.
2095 2007-11-01 Jan Djärv <jan.h.d@swipnet.se>
2097 * config.nt: Remove HAVE_X11R5.
2099 2007-10-22 Jason Rumney <jasonr@gnu.org>
2101 * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
2102 (strings.h, stdlib.h): Conditionally include.
2103 (w32_abort): Declare here.
2104 (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
2106 2007-10-20 Jason Rumney <jasonr@gnu.org>
2108 * makefile.w32-in (info-nmake): Change into correct directories.
2110 2007-10-20 Eli Zaretskii <eliz@gnu.org>
2112 * configure.bat (docflags, doldflags): New variables.
2113 (genmakefiles): Use them to work around problems with whitespace
2114 in arguments of the `if' command.
2116 2007-10-18 Jason Rumney <jasonr@gnu.org>
2118 * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
2120 2007-09-27 Jason Rumney <jasonr@gnu.org>
2122 * gmake.defs (COMCTL32): New system library.
2124 * nmake.defs (COMCTL32): New system library.
2126 2007-09-06 Glenn Morris <rgm@gnu.org>
2129 * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
2130 Change from ../man to ../doc/emacs and ../doc/misc; and from
2131 ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
2133 2007-08-29 Glenn Morris <rgm@gnu.org>
2135 * emacs.rc: Increase version to 23.0.50.
2137 2007-08-14 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
2139 * makefile.w32-in (bootstrap-nmake): Change directories once more.
2141 2007-07-25 Glenn Morris <rgm@gnu.org>
2143 * Relicense all FSF files to GPLv3 or later.
2145 * COPYING: Switch to GPLv3.
2147 2007-07-16 Eli Zaretskii <eliz@gnu.org>
2149 * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
2151 (cleanall): Don't delete *~.
2153 2007-07-15 Jason Rumney <jasonr@gnu.org>
2155 * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
2158 2007-07-14 Jason Rumney <jasonr@gnu.org>
2160 * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
2163 2007-07-11 Jason Rumney <jasonr@gnu.org>
2165 * gmake.defs (OLE32): New library to link.
2167 * nmake.defs (OLE32): Likewise.
2169 2007-06-25 Jason Rumney <jasonr@gnu.org>
2171 * cmdproxy.c (main): Set console codepages to "ANSI".
2173 2007-06-20 Jason Rumney <jasonr@gnu.org>
2175 * configure.bat: Complain if image libraries are missing.
2177 2007-06-15 Jason Rumney <jasonr@gnu.org>
2179 * emacs.manifest: New file.
2183 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
2185 * Version 22.1 released.
2187 2007-05-22 Eli Zaretskii <eliz@gnu.org>
2189 * INSTALL: Add information about where to find GDB, and warn
2190 against --no-debug option to configure.bat.
2192 2007-05-19 Eli Zaretskii <eliz@gnu.org>
2194 * INSTALL: Fix URL of EmacsW32 site where building with image
2195 support is described.
2197 2007-04-26 Glenn Morris <rgm@gnu.org>
2199 * emacs.rc: Increase version to 22.1.50.
2201 2007-03-31 Eli Zaretskii <eliz@gnu.org>
2203 * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
2205 2007-03-09 Richard Stallman <rms@gnu.org>
2207 * INSTALL: Say explicitly this is not for Cygwin.
2209 2007-03-03 Eli Zaretskii <eliz@gnu.org>
2211 * INSTALL: Add URL of another site with detailed build instructions.
2213 2007-02-16 Glenn Morris <rgm@gnu.org>
2215 * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
2216 * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
2217 * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
2218 * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
2219 * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
2220 Restore all but two of icons deleted in previous change.
2222 2007-02-13 Chong Yidong <cyd@stupidchicken.com>
2224 * icons/README: New file.
2226 * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
2227 * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
2228 * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
2229 * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
2230 * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
2231 * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
2232 Unused icons deleted.
2234 2007-01-31 Juanma Barranquero <lekktu@gmail.com>
2236 * configure.bat: Update ../site-lisp/subdirs.el when needed.
2238 2007-01-30 Juanma Barranquero <lekktu@gmail.com>
2240 * subdirs.el: Add "no-byte-compile: t" local variable.
2242 2007-01-10 Jason Rumney <jasonr@gnu.org>
2244 * README: Update URLs and advice about reporting bugs.
2246 2006-12-29 Jason Rumney <jasonr@gnu.org>
2248 * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
2250 (DEBUG_LINK): Remove -debugtype:both.
2252 2006-12-27 Eli Zaretskii <eliz@gnu.org>
2254 * INSTALL: Update table of supported Make ports. Show "make -j"
2255 command that is known to work.
2257 * configure.bat: Update table of supported Make ports.
2259 2006-12-24 Eli Zaretskii <eliz@gnu.org>
2261 * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
2262 only in implicit rules. Use literal "emacs.rc" instead.
2264 2006-12-23 Eli Zaretskii <eliz@gnu.org>
2266 * gmake.defs: Export XMFLAGS.
2268 * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
2269 Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
2271 2006-12-22 Eli Zaretskii <eliz@gnu.org>
2273 * INSTALL: Explain how to invoke GNU Make for parallel builds.
2275 * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
2276 command-line argument to sub-Make in src, since src/makefile.w32-in
2277 invokes Make recursively during bootstrap.
2278 (clean): Delete stamp_BLD.
2279 (bootstrap): Make `all' explicitly in a recursive Make.
2281 * gmake.defs (stamp_BLD): Rename from $(BLD). Create a file
2282 stamp_BLD after creating the $(BLD) directory.
2284 * nmake.defs (stamp_BLD): Rename from $(BLD). Create a file
2285 stamp_BLD after creating the $(BLD) directory.
2287 * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
2288 (preprep, $(TRES), runemacs)
2289 ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
2290 ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2291 Depend on stamp_BLD instead of on $(BLD).
2292 (XMFLAGS): New macro.
2293 (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
2294 (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
2295 (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
2296 (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2298 2006-12-20 Eli Zaretskii <eliz@gnu.org>
2300 * makefile.w32-in ($(TRES)): Depend on $(BLD). Use $< instead of
2302 ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
2303 ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2304 New dependency on $(BLD).
2305 (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
2306 (bootstrap-gmake): Depend on addsection.
2308 2006-10-29 Juanma Barranquero <lekktu@gmail.com>
2310 * runemacs.c (WinMain): Process all recognized arguments, not just
2311 the first one. Remove unused variable sec_desc.
2313 2006-09-24 Eli Zaretskii <eliz@gnu.org>
2315 * config.nt (HAVE_LANGINFO_CODESET): Define.
2317 * inc/langinfo.h: New file.
2319 * inc/nl_types.h: New file.
2321 2006-09-15 Jay Belanger <belanger@truman.edu>
2323 * COPYING: Replace "Library Public License" by "Lesser Public
2324 License" throughout.
2326 2006-07-27 Jason Rumney <jasonr@gnu.org>
2328 * INSTALL: Add notes about Cygwin make to impatient section.
2330 2006-06-02 Eli Zaretskii <eliz@gnu.org>
2332 * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2335 2006-03-12 Jason Rumney <jasonr@gnu.org>
2337 * addpm.c (add_registry): Don't change the registry unless keys
2338 already exist from a previous version.
2340 * makefile.w32-in (install): Use -q when invoking addpm.
2342 * addpm.c (main): Accept -q as alternative for /q.
2344 2006-03-11 Jason Rumney <jasonr@gnu.org>
2346 * runemacs.c (WinMain): Set screen buffer to 80x25.
2348 2005-12-24 Eli Zaretskii <eliz@gnu.org>
2350 * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2351 (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2353 2005-12-09 Eli Zaretskii <eliz@gnu.org>
2355 * INSTALL: Add explanation of how to debug with GDB starting from
2356 the Emacs Abort dialog.
2358 2005-11-26 Chong Yidong <cyd@stupidchicken.com>
2360 * emacs.rc: Use new icons.
2362 2005-11-26 Eli Zaretskii <eliz@gnu.org>
2364 * emacs21.ico: Renamed from emacs.ico.
2365 * emacs.ico: New icons from Andrew Zhilin
2366 <andrew_zhilin@yahoo.com>.
2368 2005-09-10 Eli Zaretskii <eliz@gnu.org>
2370 * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2372 2005-08-10 Juanma Barranquero <lekktu@gmail.com>
2374 * .cvsignore: Add `obj' and `oo' for in-place installations.
2376 2005-07-30 Eli Zaretskii <eliz@gnu.org>
2378 * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2380 2005-07-29 Juanma Barranquero <lekktu@gmail.com>
2382 * configure.bat: Don't create lisp/Makefile.unix.
2384 2005-07-28 Juanma Barranquero <lekktu@gmail.com>
2386 * .cvsignore: Add `makefile' and `config.log'.
2388 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
2390 Merge gnulib getopt implementation into Emacs.
2392 * inc/gettext.h: Remove; no longer needed now that
2393 lib-src/gettext.h exists.
2395 2005-07-16 Eli Zaretskii <eliz@gnu.org>
2397 * configure.bat: Finish config.log with a line that indicates that
2398 the configure step was successful.
2400 2005-07-04 Lute Kamstra <lute@gnu.org>
2402 Update FSF's address in GPL notices.
2404 2005-06-11 Eli Zaretskii <eliz@gnu.org>
2406 * configure.bat: If their fc.exe returns a meaningful exit status,
2407 don't overwrite src/config.h and src/epaths.h with identical
2410 * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2411 changes. Add a pointer to another site with detailed configure
2412 and build instructions. Suggest to look at config.log when
2413 configure fails. Add MinGW Make 3.80 to the list of successful
2416 * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2419 * configure.bat: Update copyright years.
2420 Delete config.log before doing anything else.
2421 Write additional diagnostics to config.log in case of failures to
2422 compile test programs, including the failed test program itself.
2423 Add a test for support of -mtune=pentium4 switch to GCC; if it is
2424 supported, set up MCPU_FLAG variable on the various Makefiles to
2425 use that switch during compilations. (This avoids GCC warning
2426 about -mcpu being deprecated.)
2428 2005-06-10 Eli Zaretskii <eliz@gnu.org>
2430 * addsection.c (copy_executable_and_add_section): Pass non-zero
2431 `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2432 environment. Print section names with %.8s.
2433 (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2434 only if non-zero. All callers changed.
2436 2005-06-05 Eli Zaretskii <eliz@gnu.org>
2438 * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2439 `const void *', for consistency with POSIX.
2441 2005-06-04 Eli Zaretskii <eliz@gnu.org>
2443 * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2445 2005-05-24 Juanma Barranquero <lekktu@gmail.com>
2447 * INSTALL: Add more pointers to ports of Unix tools to Windows,
2448 and to the Emacs Wiki (which contains building instructions for
2449 Windows). Reword image library instructions and remove obsolete
2450 incompatibility information.
2452 2005-04-23 David Hunter <hunterd42@comcast.net> (tiny change)
2454 * config.nt (HAVE_PWD_H): Undef.
2456 2004-06-07 Juanma Barranquero <lektu@terra.es>
2458 * INSTALL: Clarify paragraph about compatibility between image
2459 libraries and builds of Emacs with several compilers.
2461 2004-06-06 Juanma Barranquero <lektu@terra.es>
2463 * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2464 the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2465 calling non-existent cmdproxy.exe on bootstrapping after a
2466 previous install followed by realclean.
2468 * nmake.defs: Add quote in comment to resync font-locking.
2470 2004-06-04 Juanma Barranquero <lektu@terra.es>
2472 * INSTALL: Reword the section on image support. Add reference to
2473 GnuWin32. Mention problems when mixing binaries from different
2476 2004-05-06 Jason Rumney <jasonr@gnu.org>
2478 * configure.bat: Use -mno-cygwin to check for image libraries
2481 2004-05-03 Jason Rumney <jasonr@gnu.org>
2483 * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2484 * makefile.def: Remove.
2486 * nmake.defs (SYS_LDFLAGS): Add -nologo.
2488 * makefile.w32-in (info-gmake, info-nmake): New targets.
2491 2004-04-23 Juanma Barranquero <lektu@terra.es>
2497 * makefile.nt: Add "-*- makefile -*-" mode tag.
2499 2004-04-10 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
2501 * runemacs.c (WinMain): Let Emacs environment default to parent.
2503 2004-03-11 Jason Rumney <jasonr@gnu.org>
2505 * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2507 2004-03-10 Juanma Barranquero <lektu@terra.es>
2509 * makefile.w32-in (install): Don't try to copy
2510 ../lib-src/fns-*.el, as it isn't used anymore.
2512 2004-01-28 Peter Runestig <peter@runestig.com>
2514 * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2516 2003-12-24 Miles Bader <miles@gnu.ai.mit.edu>
2518 * .cvsignore: Add `.arch-inventory'.
2520 2003-11-22 Lars Hansen <larsh@math.ku.dk>
2522 * inc/grp.h: New file.
2524 2003-09-03 Peter Runestig <peter@runestig.com>
2526 * configure.bat: Create ``makefile'' in directories man, lispref
2529 * makefile.w32-in (force-info, info): New targets.
2531 * envadd.bat: New file.
2533 * multi-install-info.bat: New file.
2535 2003-06-27 Jan Djärv <jan.h.d@swipnet.se>
2537 * config.nt (my_strftime): New define.
2539 2003-02-01 Jason Rumney <jasonr@gnu.org>
2541 * configure.bat: Automatically detect libXpm.
2542 Suppress compiler output when testing for image libraries.
2543 Give names of un-found libraries in messages.
2545 2003-01-31 Juanma Barranquero <lektu@terra.es>
2547 * configure.bat: Automatically detect giflib and tifflib.
2549 2003-01-29 Jason Rumney <jasonr@gnu.org>
2551 * gmake.defs (CURDIR): Disable cygpath kludge.
2553 2003-01-29 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>
2555 * configure.bat: Avoid endless loop when configuring without image
2558 2003-01-26 Jason Rumney <jasonr@gnu.org>
2560 * configure.bat: Automatically detect jpeglib.
2562 2003-01-25 Jason Rumney <jasonr@gnu.org>
2564 * configure.bat: Automatically detect libpng.
2566 2003-01-21 Jason Rumney <jasonr@gnu.org>
2568 * icons/hand.cur: New file.
2570 2003-01-21 David Ponce <david@dponce.com>
2572 * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2574 2003-01-15 Andrew Innes <andrewi@gnu.org>
2576 * gmake.defs (CURDIR): Convert to native Windows format (with
2577 forward slashes), to support building with Cygwin builds of make.
2579 2002-11-17 Ben Key <BKey1@tampabay.rr.com>
2582 * gmake.defs: Made changes so that Emacs would link with
2583 WinMM.lib. This change was required for my addition of a Windows
2584 compatible implementation of play-sound-internal.
2586 2002-09-03 Peter Runestig <peter@runestig.com> (tiny change)
2588 * emacs.rc: Version updated to 21.3.50.
2590 2002-06-13 Jason Rumney <jasonr@gnu.org>
2592 * addpm.c (env_vars): Remove EMACSLOCKDIR.
2594 * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2595 (maybe-bootstrap-SH): New targets.
2596 (all): Depend on maybe-bootstrap.
2598 2002-05-03 Jason Rumney <jasonr@gnu.org>
2600 * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2601 (sys_getpeername, fcntl): Declare as wrappers.
2603 2002-04-10 Juanma Barranquero <lektu@terra.es>
2605 * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2606 after compiling .el files.
2608 2002-03-20 Jason Rumney <jasonr@gnu.org>
2610 * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2611 (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2613 2002-03-19 Kim F. Storm <storm@cua.dk>
2615 * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2616 (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2617 (HAVE_SYS_UN_H): Undef.
2618 From David Ponce <dponce@voila.fr>.
2620 2002-03-13 Jason Rumney <jasonr@gnu.org>
2622 * config.nt (STRFTIME_NO_POSIX2): Define.
2624 2002-02-18 Jason Rumney <jasonr@gnu.org>
2626 * emacs.rc: Define VS_VERSION_INFO if not already.
2627 Update version info.
2629 2002-01-04 Andrew Innes <andrewi@gnu.org>
2631 * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2632 pick up relevant bits of the Windows API definitions.
2634 * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2635 pick up relevant bits of the Windows API definitions.
2637 2001-12-14 Andrew Innes <andrewi@gnu.org>
2639 * makefile.w32-in (bootstrap): Build addsection program before
2640 bootstrap (required for post-processing temacs.exe).
2642 2001-12-08 Pavel JanÃk <Pavel@Janik.cz>
2644 * COPYING: New file.
2646 2001-12-03 Andrew Innes <andrewi@gnu.org>
2648 * makefile.w32-in (bootstrap-nmake)
2649 (bootstrap-gmake): Extend bootstrap process to first do
2650 bootstrap-clean in lisp dir and rebuild the DOC file.
2651 (bootstrap): Do a "normal" make after the bootstrap work.
2653 2001-11-20 Jason Rumney <jasonr@gnu.org>
2655 * INSTALL: Update table of versions of make that are suitable
2656 for building Emacs, based on recent feedback.
2658 * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2660 2001-11-19 Andrew Innes <andrewi@gnu.org>
2662 * ftime-nostartup.bat: New file.
2664 * ftime.bat: Don't include libc.lib for profiling - the profiler
2665 corrupts part of memcpy.
2667 2001-11-17 Jason Rumney <jasonr@gnu.org>
2669 * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2670 expansion. From Juanma Barranquero <lektu@terra.es>.
2672 2001-10-20 Gerd Moellmann <gerd@gnu.org>
2674 * (Version 21.1 released.)
2676 2001-10-12 Andrew Innes <andrewi@gnu.org>
2678 * inc/pwd.h (uid_t, gid_t): New typedefs.
2680 2001-10-05 Gerd Moellmann <gerd@gnu.org>
2684 2001-09-08 Eli Zaretskii <eliz@is.elta.co.il>
2686 * README: Update the address of the mailing list and subscription
2687 instructions. From Geoff Voelker <voelker@cs.ucsd.edu>.
2689 2001-09-06 Eli Zaretskii <eliz@is.elta.co.il>
2691 * INSTALL: Suggest to avoid using WinZip.
2693 * configure.bat: Make sure ../site-lisp exists; create if necessary.
2695 2001-09-05 Eli Zaretskii <eliz@is.elta.co.il>
2697 * INSTALL: Mention that "make install" can be "nmake install".
2699 2001-09-04 Eli Zaretskii <eliz@is.elta.co.il>
2701 * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2702 since some versions of `mkdir' don't automatically create parent
2703 directories. From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2705 2001-08-31 Eli Zaretskii <eliz@is.elta.co.il>
2707 * subdirs.el: New file.
2709 * configure.bat: Copy subdirs.el to the site-lisp directory.
2711 * makefile.w32-in (install): Copy subdirs.el to the installation
2714 2001-06-20 Jason Rumney <jasonr@gnu.org>
2716 * runemacs.c (WinMain): Add quotes around command in case of spaces.
2718 2001-06-01 Andrew Innes <andrewi@gnu.org>
2720 * gmake.defs (sh_output): Don't use $(warning ...) to output
2721 messages, since that is not supported by GNU make 3.77.
2723 2001-05-24 Jason Rumney <jasonr@gnu.org>
2725 * INSTALL: Clarify that building with MSVC requires nmake.
2727 2001-05-17 Andrew Innes <andrewi@gnu.org>
2729 * gmake.defs (NEW_CYGWIN): Output message about spurious error
2730 message that is to be ignored.
2732 2001-05-13 Andrew Innes <andrewi@gnu.org>
2734 * TODO: Remove file, since it is completely out of date.
2736 * README: Add copyright notice.
2738 * INSTALL: Add copyright notice.
2740 2001-04-18 Andrew Innes <andrewi@gnu.org>
2742 * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2745 * gmake.defs (SETLOADPATH): Remove definition.
2746 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2749 2001-03-26 Eli Zaretskii <eliz@is.elta.co.il>
2751 * configure.bat: Make the checkw32api* labels be distinct in the
2754 2001-03-17 Andrew Innes <andrewi@gnu.org>
2756 * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2759 * gmake.defs (DEBUG_LINK): New macro.
2760 (LINK_FLAGS): Use it.
2762 * nmake.defs (DEBUG_LINK): New macro.
2763 (LINK_FLAGS): Use it.
2765 2001-03-06 Andrew Innes <andrewi@gnu.org>
2767 * INSTALL: Add --ldflags to configure line for building with
2768 recent versions of Cygwin GCC.
2770 2001-03-05 Eli Zaretskii <eliz@is.elta.co.il>
2772 * configure.bat: Use correct options when compiling a test program
2773 with Cygwin. From David Ponce <dponce@voila.fr>.
2775 2001-02-24 Andrew Innes <andrewi@gnu.org>
2777 * _emacs: Remove obsolete file.
2779 * emacs.bat.in: Remove obsolete file.
2781 * debug.bat.in: Remove obsolete file.
2783 * inc/sys/socket.h: Add copyright notice.
2785 * paths.h: Add copyright notice.
2787 * makefile.nt: Update copyright notice.
2789 * makefile.def: Update copyright notice.
2791 * configure.bat: Update copyright notice.
2793 * nmake.defs: Add copyright notice.
2795 * gmake.defs: Add copyright notice.
2797 * makefile.w32-in: Add copyright notice.
2799 2001-02-05 Andrew Innes <andrewi@gnu.org>
2801 * nmake.defs (THISDIR): New definition.
2803 * gmake.defs (THISDIR): New definition.
2805 2001-02-03 Andrew Innes <andrewi@gnu.org>
2807 * configure.bat: Leave a space before >> only when there is a
2808 preceding digit. Add a comment about the importance of this.
2810 * README: Replace outdated information.
2812 * INSTALL (Trouble-shooting): Add note about need to specify extra
2813 compiler flags with recent Cygwin ports of gcc.
2815 2001-02-01 Eli Zaretskii <eliz@is.elta.co.il>
2817 * configure.bat: Use "rm -f" instead of "del /f", as the latter
2818 is not supported by Windows 9X's COMMAND.COM.
2820 2001-01-31 Eli Zaretskii <eliz@is.elta.co.il>
2822 * configure.bat: Make sure redirection is preceded by a blank, to
2823 avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2824 up the "1" part. From Rob Giardina <rob@criticalpointsoftware.com>.
2826 2001-01-30 Eli Zaretskii <eliz@is.elta.co.il>
2828 * INSTALL: Copy the table of tested combinations of development
2829 tools from configure.bat. Add suggestion to install Bash on
2832 * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2833 lisp/Makefile.in instead. Use "rm -f" where more than one file
2834 needs to be deleted, since command.com in Windows 9X doesn't grok
2835 more than one argument.
2837 2001-01-24 Andrew Innes <andrewi@gnu.org>
2839 * makefile.w32-in (cleanall-other-dirs-nmake)
2840 (cleanall-other-dirs-gmake): New targets.
2841 (cleanall): Invoke them.
2843 2001-01-19 Andrew Innes <andrewi@gnu.org>
2845 * addpm.c (env_vars): Add a version-independent site-lisp
2846 directory to EMACSLOADPATH, after the version dependent one.
2848 2001-01-06 Andrew Innes <andrewi@gnu.org>
2850 * README: Update info about compilers.
2852 * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2853 select correct rule for invoking make in another directory.
2854 Amend rules accordingly.
2855 (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2857 * nmake.defs (EMACS_ICON_PATH): Delete definition.
2858 (COMPILER_TEMP_FILES): New definition.
2859 (MAKETYPE): New definition.
2861 * gmake.defs (EMACS_ICON_PATH): Delete definition.
2862 (COMPILER_TEMP_FILES): New definition.
2863 (MAKETYPE): New definition.
2865 * makefile.def (EMACS_ICON_PATH): Delete definition.
2867 * configure.bat: Be careful not to add trailing spaces when
2868 outputting to config.settings.
2870 2001-01-02 Andrew Innes <andrewi@gnu.org>
2872 * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2875 2000-12-17 Andrew Innes <andrewi@gnu.org>
2877 * makefile.w32-in (install): Copy directories to the correct
2879 (real_install): Remove obsolete target.
2881 2000-12-06 Andrew Innes <andrewi@gnu.org>
2883 * nmake.defs (CURDIR): New define.
2884 (INSTALL_DIR): Use it.
2886 * gmake.defs (NEW_CYGWIN): New define.
2887 (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2888 so we need to adjust how we escape embedded quotes.
2889 (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2890 relative to $(CURDIR).
2892 2000-11-25 Jason Rumney <jasonr@gnu.org>
2894 * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2896 2000-10-17 Andrew Innes <andrewi@gnu.org>
2898 * makefile.w32-in (recompile): New target to recompile lisp
2900 (recompile-CMD, recompile-SH): New support targets.
2902 2000-09-24 Jason Rumney <jasonr@gnu.org>
2904 * config.nt (NO_RETURN): Define it.
2906 2000-09-17 Andrew Innes <andrewi@gnu.org>
2908 * gmake.defs: Revert to Unix line endings.
2910 * nmake.defs: Revert to Unix line endings.
2912 2000-09-16 Andrew Innes <andrewi@gnu.org>
2914 * gmake.defs (SETLOADPATH): Change definition to work from any
2917 2000-09-14 Andrew Innes <andrewi@gnu.org>
2919 * makefile.w32-in: Revert to Unix line endings.
2921 2000-09-14 Andrew Innes <andrewi@gnu.org>
2923 * INSTALL: Add note about expected error messages when configure
2926 * configure.bat: Simplify the generation of makefiles (don't need
2927 to generate various top-level targets that invoke make in other
2930 * gmake.defs (SHELLTYPE): New define.
2931 (SETLOADPATH): New define.
2933 * nmake.defs (SHELLTYPE): New define.
2935 * makefile.w32-in: Standardize indentation somewhat.
2936 Add bootstrap support.
2937 Pass $(MFLAGS) when invoking make recursively.
2938 Add shell-specific variants of top-level targets that invoke make
2939 recursively in other directories, and add necessary computed
2942 2000-09-03 Andrew Innes <andrewi@gnu.org>
2944 * makefile.w32-in: Change to DOS line endings.
2946 * configure.bat: Change to DOS line endings.
2948 * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2949 (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2951 * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2952 (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2954 * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2955 -D_ANONYMOUS_STRUCT on compile line.
2956 (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2957 (ARCH_CFLAGS): Change optimization flags to -O2.
2958 (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2959 (ARGQUOTE, DQUOTE): New defines.
2961 * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2962 -D_ANONYMOUS_STRUCT on compile line.
2963 (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2964 (ARGQUOTE, DQUOTE): New defines.
2966 2000-08-22 Andrew Innes <andrewi@gnu.org>
2968 * configure.bat: New file.
2970 * gmake.defs: New file.
2972 * nmake.defs: New file.
2974 * makefile.w32-in: New file.
2976 * INSTALL: Rewrite to match new configure process.
2978 * config.nt [WINDOWSNT]: Don't declare getenv.
2979 (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2981 * addpm.c (main): Accept /q to mean install based on addpm's
2982 location without asking. Remove reference to emacs.bat which is
2985 * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2987 * paths.h: Use forward slash as directory separator in all path
2989 (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2991 * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2993 * runemacs.c: Remove WIN32 define.
2995 * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2998 * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2999 (fd_set): Define to new name, after including winsock.h, so we can
3000 provide our own implementation.
3002 2000-07-05 Andrew Innes <andrewi@gnu.org>
3004 * ebuild.bat: Add support for specifying make arguments.
3006 * makefile.nt: Add support for `bootstrap' and related targets.
3008 2000-06-11 Jason Rumney <jasonr@gnu.org>
3010 * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
3012 2000-02-06 Andrew Innes <andrewi@gnu.org>
3014 * inc/sys/time.h: Add inclusion protection.
3016 * makefile.def (SYS_LDFLAGS): Add -nologo.
3018 1999-11-22 Andrew Innes <andrewi@gnu.org>
3020 * install.bat: Pass on command line arguments to make.
3022 * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
3024 1999-11-21 Andrew Innes <andrewi@gnu.org>
3026 * makefile.nt (all): Build leim if present.
3027 (install): Install leim if present.
3028 (clean): Clean leim if present.
3030 * addpm.c (env_vars): Include leim in default EMACSLOADPATH
3033 * emacs.bat.in (EMACSLOADPATH): Include leim.
3035 1999-07-12 Richard Stallman <rms@gnu.org>
3037 * Version 20.4 released.
3039 1999-06-16 Andrew Innes <andrewi@gnu.org>
3041 * emacs.rc: Use an icon with a transparent background, to be in
3042 keeping with other applications.
3044 1999-06-03 Andrew Innes <andrewi@gnu.org>
3046 * preprep.c: Fix typo.
3048 1999-05-02 Andrew Innes <andrewi@gnu.org>
3050 * config.h: Remove obsolete file.
3052 * preprep.c (copy_executable_and_move_sections): Ifdef out a
3053 couple of unused switch cases that aren't defined on all
3056 * ftime.bat: Add another variation of the profile command, which
3057 only profiles extended commands.
3059 1999-03-31 Geoff Voelker <voelker@cs.washington.edu>
3061 * cmdproxy.c (main): Fix parens.
3063 1999-03-25 Andrew Innes <andrewi@gnu.org>
3065 * cmdproxy.c (main): Call GetShortPathName to normalize program
3066 names for comparison.
3068 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
3070 * makefile.def: Compile multiple .c files when possible.
3071 Use BLD instead of assuming i386.
3072 * makefile.nt: Remove common multiple file compilation commands.
3074 1999-03-04 Geoff Voelker <voelker@cs.washington.edu>
3076 * cmdproxy.c (main): Add missing parens.
3078 1999-02-20 Andrew Innes <andrewi@gnu.org>
3080 * preprep.c: New program to allow dumped image to be profiled.
3082 * makefile.nt (preprep): New target.
3085 * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
3087 * ftime.bat: Invoke preprep to prepare dumped image for profiling.
3088 Change prep options to profile libc functions and skip the startup
3091 1999-02-15 Geoff Voelker <voelker@cs.washington.edu>
3093 * makefile.nt: Create installation directory as first step.
3095 1999-01-31 Andrew Innes <andrewi@gnu.org>
3097 * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
3098 ROUND_UP_DST. Zeroes the alignment slop.
3099 (copy_executable_and_add_section): Update the
3100 SizeOfHeaders field properly.
3102 1999-01-27 Andrew Innes <andrewi@gnu.org>
3104 * makefile.nt: Do make version comparison as strings.
3106 1999-01-26 Andrew Innes <andrewi@harlequin.co.uk>
3108 * runemacs.c (WinMain): Pass explicit environment block to
3109 CreateProcess, to work around a bug in Windows 95/98.
3111 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
3113 * icons: New directory with Davenport's icons.
3114 * icons/sink.ico: Renamed from emacs.ico.
3116 * makefile.nt (install, fast_install): Install Windows icons
3119 * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
3121 1999-01-17 Andrew Innes <andrewi@gnu.org>
3123 * makefile.nt (ALL): List top-level targets.
3124 (addsection): New top-level target.
3125 (install): Copy fns-*.el to bin directory.
3127 * addsection.c: New program to add static heap section to
3128 temacs.exe after linking, in support of new unexec method.
3130 1998-12-28 Andrew Innes <andrewi@delysid.gnu.org>
3132 * cmdproxy.c (spawn): Pass directory for child as parameter.
3133 (main): Save startup directory to give to spawn, then change
3134 directory to location of .exe in order not to prevent startup
3135 directory from being deleted.
3137 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
3139 * makefile.nt: Do string comparison of _NMAKE_VER.
3141 1998-12-02 Geoff Voelker <voelker@cs.washington.edu>
3143 * config.nt (LOCALTIME_CACHE): Define.
3145 1998-11-13 Andrew Innes <andrewi@delysid.gnu.org>
3147 * install.bat: Convert to DOS format.
3149 1998-11-10 Andrew Innes <andrewi@harlequin.co.uk>
3151 * cmdproxy.c (main): Set environment size only when running
3154 1998-11-03 Theodore Jump <tjump@tertius.com>
3156 * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
3157 (DEL_TREE): Use rd instead of rmdir.
3158 (ARCH_CFLAGS): Optimize for P6. Align structures on 8-byte boundaries.
3159 * makefile.nt: Compile multiple source files when possible.
3161 1998-10-05 Geoff Voelker <voelker@cs.washington.edu>
3163 * cmdproxy.c (main): Treat command line options as case-insensitive.
3165 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
3167 * Version 20.3 released.
3169 1998-07-20 Geoff Voelker <voelker@cs.washington.edu>
3171 * addpm.c (main): Explicitly check result of message box for OK.
3173 1998-06-05 Andrew Innes <andrewi@harlequin.co.uk>
3175 * inc/sys/file.h (D_OK): Define new macro.
3177 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
3179 * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
3181 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
3183 * emacs.rc (VS_VERSION_INFO): Define.
3185 1998-04-23 Geoff Voelker <voelker@cs.washington.edu>
3187 * makefile.nt (emacs.bat, debug.bat): Create them in the
3188 installation directory.
3190 1998-04-23 Andrew Innes <andrewi@harlequin.co.uk>
3192 * ddeclient.c: New file. (Support program for performing limited
3193 interprocess communication on Windows.)
3195 * makefile.nt: Build ddeclient.
3197 * cmdproxy.c (main): Only set environment size for real shell, and
3198 provide extra directory argument, when running on Windows 95.
3200 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
3202 * cmdproxy.c (fail): Exit with a negative return value.
3203 (spawn): Return subprocess return code as an argument.
3204 Explicitly copy environment block.
3205 (main): Update to use return value argument with spawn.
3206 Retry if spawn failed when a subshell was not tried.
3208 * config.nt: Include new macros from src/config.in.
3209 (GNU_MALLOC, REL_ALLOC): Define.
3210 (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
3211 (RE_TRANSLATE): Use char_table_translate.
3213 * makefile.def (CP_DIR): Preserve attributes.
3215 * makefile.nt (clean): Delete patch generated files, optimized
3218 1997-10-01 Geoff Voelker <voelker@cs.washington.edu>
3220 * addpm.c (env_vars): Fix misplaced % in SHELL entry.
3222 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3224 * Version 20.2 released.
3226 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3228 * Version 20.1 released.
3230 1997-09-11 Geoff Voelker <voelker@cs.washington.edu>
3232 * debug.bat.in: New file.
3233 * makefile.nt (debug.bat): New target.
3235 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
3237 * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
3238 Quote group name. Allow different icons to be specified.
3240 * cmdproxy.c (get_env_size): New function.
3241 (spawn): Explicitly pass in environment when creating subprocess.
3242 (main): Cleanup error messages.
3243 Specify dynamically sized environment block for real shell.
3244 Pass on unhandled switches to real shell.
3247 * makefile.def (CFLAGS_COMMON): Place pdb file in object build
3249 (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
3251 * runemacs.c (WinMain): Allow Emacs process to be started with
3252 high or low priority.
3254 * emacs.bat.in: Remove OS dependent operations.
3256 1997-09-02 Geoff Voelker <voelker@cs.washington.edu>
3258 * addpm.c (env_vars): No longer set INFOPATH.
3260 * cmdproxy.c (get_next_token): Null terminate token returned.
3262 * emacs.bat.in (INFOPATH): No longer set INFOPATH.
3264 1997-08-10 Andrew Innes <andrewi@harlequin.co.uk>
3266 * addpm.c (env_vars): Set SHELL to cmdproxy.
3267 (main): Initialize idDde to 0.
3268 Determine emacs_path from module file name.
3271 * makefile.def (MSVCNT11): Conditionally define it.
3272 (BASE_LIBS): Do not use oldnames.lib.
3273 (SYS_LDFLAGS): Use pdb files.
3274 (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
3275 (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
3276 (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
3278 * makefile.nt (ALL): Build cmdproxy.
3279 (cmdproxy): New target.
3280 (install): Install cmdproxy.
3282 * ftime.bat, debug.bat, cmdproxy.c: New files.
3284 1997-07-10 Geoff Voelker <voelker@cs.washington.edu>
3286 * inc/sys/socket.h (shutdown): Define.
3287 (sys_shutdown): Export.
3289 1997-07-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3291 * config.nt (RE_TRANSLATE): Copy definition from config.in.
3293 1997-07-01 Geoff Voelker <voelker@cs.washington.edu>
3295 * config.nt: Update file comments.
3296 Update undefs added/removed in src/config.in.
3298 1997-06-19 Geoff Voelker <voelker@cs.washington.edu>
3300 * makefile.def, emacs.bat.in: Use windows95 and windowsnt instead
3301 of win95 and winnt, respectively.
3303 1997-01-04 Geoff Voelker <voelker@cs.washington.edu>
3305 * makefile.nt (real_install): Create site-lisp in installation dir.
3306 * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
3307 * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
3309 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3311 * Version 19.33 released.
3313 1996-08-09 Geoff Voelker <voelker@cs.washington.edu>
3315 * runemacs.c (WinMain): Put a space between the binary and its args.
3317 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3319 * Version 19.32 released.
3321 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3323 * makefile.nt (clean): Use OBJDIR macro.
3325 1996-06-03 Kim F. Storm <kfs@olicom.dk>
3327 * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3328 Not defined by default.
3329 (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3330 (WinMain): Convert backslashes to slashes in env var values.
3332 * addpm.c (env_vars): Use slashes, not backslashes.
3334 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3336 * Version 19.31 released.
3338 1996-05-13 Andrew Innes <andrewi@harlequin.co.uk>
3340 * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3341 undo settings afterwards.
3343 1996-05-08 Andrew Innes <andrewi@harlequin.co.uk>
3345 * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3346 environment variable.
3348 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
3350 * install.bat: Allow for optimized build.
3351 * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3352 (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3354 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
3356 * addpm.c (REG_ROOT): Don't use a trailing backslash.
3357 (env_vars): Rename field emacs_path to emacs_dir.
3358 (main): Add link to runemacs instead of emacs.
3360 * install.bat: Check if INSTALL_DIR is passed as an argument.
3362 * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3364 * makefile.nt: Build and install runemacs.exe.
3366 * runemacs.c: New file.
3368 * config.w95: File removed.
3370 * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3371 inc/sys/socket.h, inc/sys/time.h: New header files.
3373 * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3375 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3377 * makefile.def (DEL): Defined.
3378 (DEL_TREE) [win95]: Defined.
3379 (SYS_LDFLAGS): Set executable versions to 3.10.
3381 * makefile.nt: Change uses of del to $(DEL).
3383 1996-01-17 Erik Naggum <erik@naggum.no>
3385 * All files: Update FSF's address in comment preamble.
3387 1996-01-03 George V. Reilly <georger@microcrafts.com>
3389 * emacs.ico: Now the proverbial kitchen sink icon.
3391 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3393 * Version 19.30 released.
3395 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
3397 * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3399 * makefile.nt (install, fast_install, real_install, clean):
3400 Don't use switches to del not supported by Windows 95.
3402 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
3404 * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3405 (install, fast_install): Change same-dir test to create test file in
3406 installation tree and thereby support read-only shares.
3407 (clean): Remove .pdb files.
3409 * makefile.def (NTGUI): New macro.
3410 [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3412 * config.nt, config.w95: Update to latest src/config.in.
3414 * addpm.c (env_vars): New variable.
3415 (add_registry): New procedure.
3416 (main): Use values of configuration environment variables from
3417 the registry if defined, the process environment otherwise.
3419 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3421 * Version 19.29 released.
3423 * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3425 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
3427 * makefile.nt: Define .c to .obj suffix rule.
3428 (addpm.obj): Compile directly, use CFLAGS.
3429 (addpm.exe): Link from addpm.obj.
3431 * makefile.def (MSVCNT11): Defined.
3432 (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3433 (CFLAGS_COMMON): Defined.
3434 (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3436 1995-06-09 Geoff Voelker <voelker@cs.washington.edu>
3438 * emacs.bat.in: Renamed from emacs.bat.
3439 (emacs_dir): Rename from emacs_path.
3442 * addpm.c: New file.
3443 * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3444 (all): Depend upon $(BLD) and $(ALL).
3445 (install): Depend upon emacs.bat.
3446 Create program item for Emacs.
3447 (clean): Delete obj.
3448 (emacs.bat): Defined.
3449 * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3451 1995-05-27 Geoff Voelker <voelker@cs.washington.edu>
3453 * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3454 Add carriage returns; necessary for batch files on Windows 95.
3456 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
3458 * config.w95: Created.
3459 * config.h: Changed to config.nt.
3461 * makefile.nt (SUBDIRS): Commented out.
3462 (all, install, clean): Expand for-loops.
3463 (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3465 * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3466 (ARCH): New definition.
3467 (CPU, CONFIG_H, OS_TYPE): Defined.
3468 (INCLUDE, LIB): Checked if valid.
3469 (ntwin32.mak): Included.
3470 (AR, CC, LINK): New definition.
3471 (ADVAPI32, libc, BASE_LIBS): Defined.
3472 (SYS_LDFLAGS): New definition.
3473 Update comments and preprocessor conditionals.
3475 * emacs.bat (SHELL): Conditionally defined.
3476 (HOME): Conditionally defined.
3477 (emacs_path, HOME): Update comments.
3480 1995-05-09 Geoff Voelker <voelker@cs.washington.edu>
3482 * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc:
3483 * fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h:
3484 * inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h:
3485 * inc/sys/param.h: Removed carriage-returns.
3487 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
3489 * makefile.def (CVTRES): Defined.
3491 * emacs.ico, emacs.rc: New files by Kevin Gallo.
3493 1995-04-10 Geoff Voelker <voelker@cs.washington.edu>
3495 * src/config.h, src/paths.h: Moved to parent dir, src/ removed.
3497 1995-04-09 Geoff Voelker <voelker@cs.washington.edu>
3499 * makefile.def (INSTALL_DIR): Change to generic directory.
3501 * emacs.bat: Added arguments when emacs.exe invoked.
3503 * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3505 1994-12-13 Geoff Voelker <voelker@cs.washington.edu>
3507 * makefile.def (CC): In configuration section.
3508 (COMPAT_LIB): Defined.
3510 1994-11-01 Geoff Voelker <voelker@cs.washington.edu>
3512 * src/paths.h: New file.
3514 * src/config.h: New file.
3516 * inc/pwd.h: New file.
3518 * inc/sys/dir.h: New file.
3520 * inc/sys/file.h: New file.
3522 * inc/sys/ioctl.h: New file.
3524 * inc/sys/param.h: New file.
3530 * makefile.nt: New file.
3532 * makefile.def: New file.
3534 * install.cmd: New file.
3536 * INSTALL: New file.
3538 * fast-install.cmd: New file.
3540 * emacs.cmd: New file.
3542 * ebuild.cmd: New file.
3548 ;; add-log-time-zone-rule: t
3551 Copyright (C) 1995-1999, 2001-2015 Free Software Foundation, Inc.
3553 This file is part of GNU Emacs.
3555 GNU Emacs is free software: you can redistribute it and/or modify
3556 it under the terms of the GNU General Public License as published by
3557 the Free Software Foundation, either version 3 of the License, or
3558 (at your option) any later version.
3560 GNU Emacs is distributed in the hope that it will be useful,
3561 but WITHOUT ANY WARRANTY; without even the implied warranty of
3562 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3563 GNU General Public License for more details.
3565 You should have received a copy of the GNU General Public License
3566 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.