1 2015-03-03 Eli Zaretskii <eliz@gnu.org>
3 * cmdproxy.c (get_next_token): Don't make backslashes disappear
4 without a trace when they are not followed by a quote.
5 (search_dir): Support searching programs whose file name already
6 has an arbitrary extension. (Bug#19817)
7 (main): When passing a command line to the shell, use cmd.exe
8 rules for quoting command-line tail.
10 2015-03-03 Oscar Fuentes <ofv@wanadoo.es>
11 2015-02-27 Mark Laws <mdl@60hz.org>
13 Support daemon mode on MS-Windows (bug#19688)
14 * inc/ms-w32.h (W32_DAEMON_EVENT): New macro.
16 2015-01-16 Eli Zaretskii <eliz@gnu.org>
18 * Makefile.in (AM_V_CC, am__v_CC_, am__v_CC_0, am__v_CC_1)
19 (AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0, am__v_CCLD_1, AM_V_RC)
20 (am__v_RC_, am__v_RC_0, am__v_RC_1): New macros.
21 (addpm${EXEEXT}, ddeclient${EXEEXT}, cmdproxy${EXEEXT})
22 (runemacs${EXEEXT}): Use $(AM_V_CCLD).
23 (emacs.res, ../src/emacs.res): Use $(AM_V_RC).
25 2014-12-26 Eli Zaretskii <eliz@gnu.org>
27 * gnulib.mk (stpcpy, string): Sync with the latest change in
30 2014-12-13 Eli Zaretskii <eliz@gnu.org>
32 * gnulib.mk (stddef.h): Sync with the latest change in lib/gnulib.mk.
34 2014-11-27 Oscar Fuentes <ofv@wanadoo.es>
36 * inc/ms-w32.h: Define MINGW_W64.
37 * nt/addpm.c, nt/addsection.c, nt/preprep.c: Use it.
39 2014-11-24 Glenn Morris <rgm@gnu.org>
41 * Makefile.in (../src/emacs.res): New target.
43 2014-11-22 Glenn Morris <rgm@gnu.org>
45 * emacs.rc.in, emacsclient.rc.in: Rename from emacs.rc, emacsclient.rc.
46 Let configure generate the real files, and set the version numbers.
47 * Makefile.in (distclean): Delete *.rc.
48 (emacs.res): Update deps for nt/emacsclient.rc now being in the
49 build directory, not the source directory.
51 * Makefile.in (emacs.res): Add dependency on icons/hand.cur.
53 2014-11-18 Glenn Morris <rgm@gnu.org>
55 * Makefile.in (addpm${EXEEXT}, ddeclient${EXEEXT})
56 (cmdproxy${EXEEXT}, runemacs${EXEEXT}, emacs.res):
57 Use automatic variables.
59 2014-10-26 Dani Moncayo <dmoncayo@gmail.com>
61 * README.W32 (Preliminaries): Don't assume that this file is at
63 (Setting up Emacs): Minor rewording to be more accurate.
65 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
67 * Neutralize language specific to a repository type.
69 2014-10-22 Noam Postavsky <npostavs@users.sourceforget.net>
71 * nt/cmdproxy.c (batch_file_p): New function.
72 (spawn): If calling a quoted batch file pass NULL for progname.
75 2014-10-20 Glenn Morris <rgm@gnu.org>
77 * Merge in all changes up to 24.4 release.
79 2014-09-29 Eli Zaretskii <eliz@gnu.org>
81 * makefile.w32-in (VERSION): Bump version to 25.0.50.
83 * emacsclient.rc: Bump version to 25.0.50.
85 * emacs.rc: Bump version to 25.0.50.
87 * config.nt (VERSION): Bump version to 25.0.50.
89 2014-09-01 Eli Zaretskii <eliz@gnu.org>
91 * gnulib.mk: Synchronize with lib/gnulib.mk.
93 2014-06-15 Glenn Morris <rgm@gnu.org>
95 * Makefile.in (LDFLAGS): Explicitly set via configure.
97 2014-06-15 Eli Zaretskii <eliz@gnu.org>
99 * Makefile.in (CPPFLAGS): Define.
101 2014-06-15 Glenn Morris <rgm@gnu.org>
103 * Makefile.in (bootstrap-clean): New.
105 2014-06-05 Dmitry Antipov <dmantipov@yandex.ru>
107 * inc/ms-w32.h (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.
109 2014-05-29 Eli Zaretskii <eliz@gnu.org>
111 * Makefile.in (DONT_INSTALL): Now empty.
112 (addsection${EXEEXT}): Remove target.
113 * addsection.c: Remove file.
115 2014-05-27 Fabrice Popineau <fabrice.popineau@gmail.com>
117 * inc/ms-w32.h: Switch to the system heap allocation scheme
118 instead of GNU malloc and ralloc.
120 * inc/sys/mman.h: New file.
122 * INSTALL: Update for the new build requirements.
124 2014-05-17 Paul Eggert <eggert@cs.ucla.edu>
126 Assume C99 or later (Bug#17487).
127 * gnulib.mk: Remove stdarg and stdbool modules.
129 2014-05-16 Paul Eggert <eggert@cs.ucla.edu>
131 Don't require pkg-config when building from repository.
132 * INSTALL: Remove no-longer-needed notes about pkg-config.
134 2014-05-05 Eli Zaretskii <eliz@gnu.org>
136 * INSTALL: Update to the effect that pkg-config is now required
137 for building from the repository.
139 2014-04-30 Eli Zaretskii <eliz@gnu.org>
141 * cmdproxy.c (make_absolute): Don't copy more characters from PATH
142 than a single directory name can hold. (Bug#17334)
144 2014-04-22 Eli Zaretskii <eliz@gnu.org>
146 * inc/ms-w32.h (lseek): Define only if not already a macro.
147 Suggested by Fabrice Popineau <fabrice.popineau@gmail.com>.
149 2014-04-11 Ken Brown <kbrown@cornell.edu>
151 * emacs.rc: Revert last change.
153 2014-04-07 Ken Brown <kbrown@cornell.edu>
155 * emacs.rc: Don't use manifest on Cygwin. (Bug#17176)
157 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
159 * Makefile.in (install): Create destination directory before copying
160 README.W32, and use ${datadir} to refer to the file (bug#16772).
162 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
164 * Makefile.in (datarootdir, datadir, INSTALL_DATA): Declare.
165 (install): Copy README.W32 to $(datadir)/emacs/$(version).
166 (uninstall): Remove README.W32. (Bug#14757)
168 2014-02-08 Eli Zaretskii <eliz@gnu.org>
170 * INSTALL: Update for Emacs 24.4.
172 * README: Update for Emacs 24.4.
174 * README.W32: Update and improve instructions. (Bug#14762)
176 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
178 * README.W32: Say what GnuTLS and libxml2 does (bug#14762).
180 2014-01-18 Eli Zaretskii <eliz@gnu.org>
182 * runemacs.c (ensure_unicows_dll): Don't tell in the message box
183 that "emacs -nw" can do without UNICOWS.DLL on Windows 9X. See
184 w32.c:maybe_load_unicows_dll and its callers for the reason.
186 2014-01-11 Claudio Bley <claudio.bley@googlemail.com>
188 * inc/sys/stat.h (_WSTAT_DEFINED): Define, to avoid compilation
189 failures when wchar.h is included.
191 2014-01-11 Fabrice Popineau <fabrice.popineau@supelec.fr>
193 * inc/ms-w32.h (pthread_sigmask): Undefine if defined, for MinGW64.
195 2013-12-31 Fabrice Popineau <fabrice.popineau@supelec.fr>
197 * inc/ms-w32.h (sys_kill): Fix prototype.
199 2013-12-30 Eli Zaretskii <eliz@gnu.org>
201 * inc/ms-w32.h (umask) [emacs]: Redirect to sys_umask. (Bug#16299)
203 2013-12-23 Eli Zaretskii <eliz@gnu.org>
206 * INSTALL: Update instructions for downloading and using image
207 libraries in general, and librsvg in particular.
209 2013-12-16 Eli Zaretskii <eliz@gnu.org>
211 * emacs-x64.manifest:
212 * emacs-x86.manifest: Declare that we target Windows 8.1 as well
213 as earlier versions. This is so GetVersion and GetVersionEx APIs
214 used for bug reporting and other purposes return accurate version
215 number on Windows 8.1. See the discussion on MSDN
216 http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx
219 2013-12-12 Eli Zaretskii <eliz@gnu.org>
221 * inc/ms-w32.h (MAX_UTF8_PATH): New macro.
222 (opendir, closedir, readdir, seekdir): Redirect to replacement
224 * inc/dirent.h: Make d_name[] be MAXNAMELEN*4 characters long.
226 2013-11-27 Glenn Morris <rgm@gnu.org>
229 * addpm.c (env_vars):
230 * epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
231 * paths.h (PATH_LOADSEARCH): No more leim directory.
233 2013-11-26 Glenn Morris <rgm@gnu.org>
235 * epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.
237 2013-11-12 Dani Moncayo <dmoncayo@gmail.com>
239 * msysconfig.sh: Remove.
240 * INSTALL: Update for this.
242 2013-11-09 Glenn Morris <rgm@gnu.org>
244 * mingw-cfg.site: No need for this to be executable.
246 2013-10-24 Glenn Morris <rgm@gnu.org>
248 * Makefile.in ($(DESTDIR)${archlibdir}):
249 Avoid non-portable "`\" nesting.
251 * Makefile.in (abs_top_srcdir): New, set by configure.
253 2013-10-23 Glenn Morris <rgm@gnu.org>
255 * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
256 Quote entities that might contain whitespace.
258 2013-10-14 Eli Zaretskii <eliz@gnu.org>
260 * inc/mingw_time.h: New file.
262 * inc/ms-w32.h: Include mingw_time.h instead of doing its job.
264 2013-10-12 Eli Zaretskii <eliz@gnu.org>
266 * inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
267 the layout of 'struct dirent' be compatible with MinGW32 runtime
268 versions 4.0 and later.
270 * inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
271 (__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
272 defined, but not for MinGW64.
273 (_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
274 use of 32-bit time_t type.
276 2013-10-07 Paul Eggert <eggert@cs.ucla.edu>
278 Improve support for popcount and counting trailing zeros (Bug#15550).
279 * gnulib.mk: Merge changes from ../lib/gnulib.mk.
281 2013-10-04 Paul Eggert <eggert@cs.ucla.edu>
283 * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
285 2013-09-20 Eli Zaretskii <eliz@gnu.org>
287 * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
288 to avoid gnulib replacement of 'struct timeval' and the resulting
289 compilation of lib/gettimeofday.c with incompatible version of
290 gettimeofday. Related discussions on emacs-devel:
291 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
292 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html
294 2013-08-31 Glenn Morris <rgm@gnu.org>
296 * INSTALL: Rename from INSTALL.MSYS.
297 * INSTALL.OLD: Rename from INSTALL.
298 * configure.bat: Update for INSTALL name changes.
300 2013-08-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
302 * configure.bat: Rather than disabling, make configure.bat produce
303 some warning that building with configure.bat is deprecated and
304 ask for confirmation to continue.
306 2013-08-25 Glenn Morris <rgm@gnu.org>
308 * INSTALL: Refer to INSTALL.MSYS.
309 * configure.bat: Disable it.
311 2013-08-04 Eli Zaretskii <eliz@gnu.org>
313 * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
315 * inc/ms-w32.h (mkostemp): Declare prototype.
316 (mktemp): Don't redirect to sys_mktemp.
318 * config.nt (HAVE_MKOSTEMP): Define to 1. (Bug#15015)
320 2013-07-07 Eli Zaretskii <eliz@gnu.org>
322 * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
323 (FD_CLOEXEC): New macros.
325 2013-07-07 Paul Eggert <eggert@cs.ucla.edu>
327 Make file descriptors close-on-exec when possible (Bug#14803).
328 * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
329 otherwise, gnulib-tool complains given close-on-exec changes.
330 * inc/ms-w32.h (pipe): Remove.
331 * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
332 (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
334 2013-06-25 Juanma Barranquero <lekktu@gmail.com>
336 * configure.bat: Add warning to the help text about using the
337 MSYS/MinGW building procedure.
339 2013-06-07 Eli Zaretskii <eliz@gnu.org>
341 * INSTALL.MSYS: mingw-get is not a GUI program (yet).
342 msys-automake is not suitable for MinGW builds. Mention the
343 --enable-locallisppath switch to msysconfig.sh. Suggested by
344 Óscar Fuentes <ofv@wanadoo.es>.
346 2013-06-07 Richard Copley <rcopley@gmail.com> (tiny change)
348 * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
350 2013-06-03 Eli Zaretskii <eliz@gnu.org>
352 * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
354 2013-06-03 Eli Zaretskii <eliz@gnu.org>
356 * inc/sys/time.h (struct timeval): Remove the _W64 guards.
358 2013-06-01 Eli Zaretskii <eliz@gnu.org>
360 * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
361 avoid multiple definition errors on MinGW64.
363 2013-05-31 Eli Zaretskii <eliz@gnu.org>
365 * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
366 'restrict', which is a C99 extension. See
367 http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
368 and the following discussion for the problem this caused in the
369 old nt/configure.bat build.
371 2013-05-29 Eli Zaretskii <eliz@gnu.org>
373 * Makefile.in (emacs.res): Include srcdir when preprocessing
374 resources, for out-of-tree builds.
375 (mostlyclean): Remove *.res files.
377 2013-05-17 Eli Zaretskii <eliz@gnu.org>
379 * runemacs.c (WinMain): Support invocation of un-installed
380 nt/runemacs.exe, by looking for src/emacs.exe.
382 2013-05-16 Eli Zaretskii <eliz@gnu.org>
384 * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define. (Bug#14409)
386 * msysconfig.sh: New file.
388 * mingw-cfg.site: New file.
390 * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
392 * inc/unistd.h: Include pwd.h and sys/types.h.
394 * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
395 (timerclear): Define.
396 (gettimeofday): Adjust signature to be Posix compatible, by using
397 the 'restrict' keyword.
399 * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
400 (struct _stat, struct _stati64): Define.
402 * inc/sys/socket.h (timeval): Define only for MSVC.
403 (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
404 EMACS_CONFIG_H is defined.
405 (timeval): Undefine only for MSVC.
407 * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
408 (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
409 (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
410 (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
411 (fileno): Move definition after including stdio.h.
412 (sigset_t): Guard typedef by _W64.
414 * gnulib.mk: New file.
416 * epaths.nt: New file.
418 * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
419 copy of the file names there.
420 <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
423 * Makefile.in: New file.
425 * INSTALL.MSYS: New file.
427 * INSTALL: Mention INSTALL.MSYS.
429 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
431 * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
433 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
435 * config.nt: Sync with autogen/config.in.
436 (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
437 (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
438 (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
439 (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
440 (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
441 (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
442 (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
443 (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
444 (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
445 (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
447 2013-05-07 Paul Eggert <eggert@cs.ucla.edu>
449 Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295)
450 * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
451 * inc/ms-w32.h (EOPNOTSUPP): New macro.
453 2013-04-09 Ken Brown <kbrown@cornell.edu>
455 * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
458 2013-04-01 Eli Zaretskii <eliz@gnu.org>
460 * README: A better documentation of ddeclient.exe.
462 * README.W32: A better documentation of ddeclient.exe.
464 * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
467 2013-03-30 Eli Zaretskii <eliz@gnu.org>
469 * inc/ms-w32.h (TERM_HEADER): Remove definition.
471 * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
474 2013-03-29 Eli Zaretskii <eliz@gnu.org>
476 * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
478 * config.nt (HAVE_COPYSIGN): Define.
480 2013-03-29 Juanma Barranquero <lekktu@gmail.com>
482 * config.nt: Sync with autogen/config.in.
483 (HAVE_XKBGETKEYBOARD): Remove.
484 (HAVE_XKB): New macro.
486 2013-03-27 Eli Zaretskii <eliz@gnu.org>
488 * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
489 (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
490 Depend on .exe files.
492 * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
493 avoid MinGW64 compiler warnings in editfns.c.
495 Fix rules for parallel builds.
496 * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
497 without the .exe suffix.
498 (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
502 * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
503 headers, since that's where _W64 is declared by MinGW64.
505 2013-03-26 Eli Zaretskii <eliz@gnu.org>
507 * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
508 (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
510 * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
513 * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
516 Fix more incompatibilities between MinGW.org and MinGW64 headers
517 reported by Óscar Fuentes in
518 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
519 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
521 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
522 * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
523 For MinGW64, include sys/types.h and time.h.
524 (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
526 * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
528 * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
530 (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
533 * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
535 * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
538 2013-03-25 Eli Zaretskii <eliz@gnu.org>
540 Fix incompatibilities between MinGW.org and MinGW64 headers
541 reported by Óscar Fuentes in
542 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
543 * inc/ms-w32.h (struct timespec): Don't define if
544 _TIMESPEC_DEFINED is already defined.
545 (sigset_t) [!_POSIX]: Typedef for MinGW64.
546 (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
547 including the first system header, to avoid redefinition if some
548 system header defines a default value.
550 * inc/sys/time.h (struct itimerval): Don't define if
551 _TIMESPEC_DEFINED is already defined.
553 2013-03-16 Eli Zaretskii <eliz@gnu.org>
555 Fix the MSVC build. (Bug#13939)
556 * inc/stdint.h (UINTPTR_MAX): Define.
558 * nmake.defs (libc): Fix syntax of !if conditional.
560 2013-03-15 Juanma Barranquero <lekktu@gmail.com>
562 * config.nt: Sync with autogen/config.in.
563 (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
564 (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
565 (HAVE_FDATASYNC): New macros.
567 2013-03-13 Paul Eggert <eggert@cs.ucla.edu>
569 File synchronization fixes (Bug#13944).
570 * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
572 2013-03-05 Paul Eggert <eggert@cs.ucla.edu>
574 FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
575 * inc/unistd.h (O_NOFOLLOW): New macro.
577 2013-03-04 Juanma Barranquero <lekktu@gmail.com>
579 * config.nt: Sync with autogen/config.in.
580 (DATA_START, ORDINARY_LINK): Remove.
581 (HAVE_DATA_START, HAVE__PUTENV): New macros.
583 2013-02-25 Eli Zaretskii <eliz@gnu.org>
585 * inc/ms-w32.h (BOOT_TIME_FILE): Define.
587 * config.nt (CLASH_DETECTION): Define to 1.
589 2013-02-16 Eli Zaretskii <eliz@gnu.org>
591 * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
593 (chown, logb): Remove, unused.
595 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
597 * config.nt: Sync with autogen/config.in.
598 (GC_MARK_STACK): Remove.
599 (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
600 (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
601 (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
603 2013-02-12 Eli Zaretskii <eliz@gnu.org>
605 * inc/ms-w32.h: Add prototype for memrchr.
607 2013-02-01 Paul Eggert <eggert@cs.ucla.edu>
609 Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
610 * inc/sys/stat.h (fstatat):
611 * inc/unistd.h (readlinkat): New decls.
613 2013-01-28 Eli Zaretskii <eliz@gnu.org>
615 * inc/dirent.h (opendir): Update prototype.
617 2013-01-11 Eli Zaretskii <eliz@gnu.org>
619 * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
620 used in term.c. (Bug#13387)
622 2013-01-09 Juanma Barranquero <lekktu@gmail.com>
624 * config.nt: Sync with autogen/config.in.
625 (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
627 2012-12-24 Eli Zaretskii <eliz@gnu.org>
629 * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
630 in lib/filemode.c that broke the MS-Windows build.
631 Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
633 2012-12-17 Juanma Barranquero <lekktu@gmail.com>
635 * config.nt: Sync with autogen/config.in.
638 2012-12-17 Eli Zaretskii <eliz@gnu.org>
640 * inc/sys/acl.h: New file.
642 * inc/ms-w32.h (ENOTSUP): Define if undefined.
644 * config.nt (HAVE_POSIX_ACL): Define.
646 2012-12-15 Eli Zaretskii <eliz@gnu.org>
648 * inc/ms-w32.h (sys_unlink): Provide prototype.
650 2012-12-14 Eli Zaretskii <eliz@gnu.org>
652 * inc/sys/stat.h: Declare w32_stat_get_owner_group.
654 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
656 * config.nt: Sync with autogen/config.in.
657 (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
659 2012-12-11 Juanma Barranquero <lekktu@gmail.com>
661 * config.nt: Sync with autogen/config.in.
662 (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
663 (ULIMIT_BREAK_VALUE): Remove.
665 2012-12-10 Daniel Colascione <dancol@dancol.org>
667 * emacs.rc: Use forward slashes in relative paths in order to
668 avoid complaints from Cygwin. (Forward slashes work perfectly
669 well in the NT build.)
671 2012-12-09 Eli Zaretskii <eliz@gnu.org>
673 * inc/unistd.h (unsetenv): Provide a prototype.
675 2012-12-08 Eli Zaretskii <eliz@gnu.org>
677 * inc/ms-w32.h (putenv): Redirect to sys_putenv.
678 (sys_putenv): Add prototype.
680 * config.nt (HAVE_UNSETENV): Define to 1.
682 2012-12-01 Juanma Barranquero <lekktu@gmail.com>
684 * config.nt: Sync with autogen/config.in.
686 2012-11-24 Ken Brown <kbrown@cornell.edu>
688 * config.nt (HAVE_MOUSE): Remove.
690 2012-11-23 Juanma Barranquero <lekktu@gmail.com>
692 * config.nt: Sync with autogen/config.in.
693 (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
696 2012-11-23 Eli Zaretskii <eliz@gnu.org>
698 * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
701 * nmake.defs (SWITCHCHAR): Define to /.
703 2012-11-23 Paul Eggert <eggert@cs.ucla.edu>
705 Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
706 * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
707 (struct dirent): Rename from struct direct. All uses changed.
708 * inc/sys/dir.h: Remove.
710 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
712 Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
713 * config.nt (HAVE_GETCWD): Remove.
715 2012-11-21 Eli Zaretskii <eliz@gnu.org>
717 * nmake.defs: Use !if, not !ifdef. For the details, see
718 http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
720 * inc/stdint.h (INTPTR_MIN)
721 (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
723 2012-11-18 Eli Zaretskii <eliz@gnu.org>
725 * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
727 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
729 * config.nt: Sync with autogen/config.in.
730 (HAVE_FPATHCONF): Remove.
732 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
734 Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
735 * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
736 POSIX name for this flag is O_NONBLOCK. All uses changed.
737 * inc/unistd.h (O_RDWR, O_NOCTTY): New macros. Like AT_FDCWD etc.
738 these really should be moved to a replacement <fcntl.h> if and
739 when that gets implemented. In the meantime, include <fcntl.h>
740 to make sure we don't override its definitions.
742 2012-11-17 Eli Zaretskii <eliz@gnu.org>
744 * inc/sys/wait.h: New file, with prototype of waitpid and
745 definitions of macros it needs.
747 * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
748 (sys_wait): Remove prototype.
750 * config.nt (HAVE_SYS_WAIT_H): Define to 1.
752 2012-11-17 Dani Moncayo <dmoncayo@gmail.com>
754 * zipdist.bat (ZIP_CHECK): Remove unused label. When invoking 7z
755 to check if it's installed, redirect standard output and standard
756 error to the null device.
757 (ZIP_DIST): Don't build the "barebin" distribution.
759 2012-11-15 Juanma Barranquero <lekktu@gmail.com>
761 * config.nt: Sync with autogen/config.in.
762 (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
763 (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
766 2012-11-14 Eli Zaretskii <eliz@gnu.org>
768 * inc/unistd.h (faccessat): Add prototype.
769 (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
770 2 moved from ms-w32.h.
772 * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
774 2012-11-14 Paul Eggert <eggert@cs.ucla.edu>
776 Use faccessat, not access, when checking file permissions (Bug#12632).
777 * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
779 (faccessat): New macro.
781 2012-11-05 Eli Zaretskii <eliz@gnu.org>
783 * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
785 2012-11-05 Juanma Barranquero <lekktu@gmail.com>
787 * config.nt: Sync with autogen/config.in.
788 (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
789 (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
791 2012-11-04 Juanma Barranquero <lekktu@gmail.com>
793 * config.nt: Sync with autogen/config.in.
794 (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
796 2012-11-03 Eli Zaretskii <eliz@gnu.org>
798 * config.nt (PENDING_OUTPUT_N_BYTES): Define.
800 2012-11-01 Eli Zaretskii <eliz@gnu.org>
802 * inc/unistd.h (setpgid, getpgrp): Provide prototypes. (Bug#12776)
804 * config.nt (GETPGRP_VOID): Define to 1.
806 2012-10-24 Juanma Barranquero <lekktu@gmail.com>
808 * config.nt: Sync with autogen/config.in.
810 2012-10-17 Eli Zaretskii <eliz@gnu.org>
812 * inc/pwd.h (getuid, geteuid): Add prototypes.
814 * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
815 (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
816 (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
817 (sys_kill, getpagesize): Add prototypes for emulated functions.
819 * inc/grp.h (getgid, getegid): Add prototypes.
821 * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
823 * configure.bat (chkapiN): Avoid compiler warning in junk.c when
824 compiling with -std=gnu99.
826 * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
827 could be used via --cflags switch to configure.bat.
829 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
831 * config.nt: Sync with autogen/config.in.
832 (HAVE_NTGUI): New macro.
834 2012-10-02 Eli Zaretskii <eliz@gnu.org>
836 * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
837 compiler warnings when using the value.
839 2012-10-01 Eli Zaretskii <eliz@gnu.org>
841 * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
842 'void *', for pointer arithmetic.
843 (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
844 macro arguments in parentheses.
846 2012-09-30 Eli Zaretskii <eliz@gnu.org>
848 * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
850 2012-09-30 Fabrice Popineau <fabrice.popineau@supelec.fr>
852 * inc/sys/socket.h: Don't map Winsock error codes to standard ones
853 that are already defined.
855 * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
856 (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
857 [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
859 * preprep.c (pfnCheckSumMappedFile, rva_to_section)
860 (offset_to_section, relocate_offset, OFFSET_TO_RVA)
861 (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
862 (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
863 (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
864 Use DWORD_PTR instead of DWORD for compatibility with x64.
866 * nmake.defs: Support AMD64.
867 (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
869 * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
872 * addsection.c (pfnCheckSumMappedFile, rva_to_section)
873 (offset_to_section, relocate_offset, OFFSET_TO_RVA)
874 (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
875 (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
876 (copy_executable_and_add_section, main): Use DWORD_PTR instead of
877 DWORD, for compatibility with x64.
879 * emacs-x64.manifest: New file.
881 * emacs-x86.manifest: Renamed from emacs.manifest.
883 2012-09-30 Eli Zaretskii <eliz@gnu.org>
885 * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
886 (struct itimerval): Define.
887 (getitimer, setitimer): Add prototypes.
889 * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
891 (SA_RESTART, SIGPROF): Define.
893 * config.nt (HAVE_SETITIMER): Define to 1.
895 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
897 * config.nt: Sync with autogen/config.in.
899 2012-09-29 Juanma Barranquero <lekktu@gmail.com>
901 * config.nt: Sync with autogen/config.in.
902 (HAVE_TIMER_SETTIME): New macro.
904 2012-09-23 Eli Zaretskii <eliz@gnu.org>
906 * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
908 2012-09-23 Paul Eggert <eggert@cs.ucla.edu>
910 Simplify and avoid signal-handling races (Bug#12471).
911 * inc/ms-w32.h (emacs_raise): New macro.
913 2012-09-18 Eli Zaretskii <eliz@gnu.org>
915 * configure.bat: Include stddef.h before gif_lib.h, to have size_t
916 defined, as needed by giflib-5.0.0. (Bug#12464)
918 2012-09-17 Juanma Barranquero <lekktu@gmail.com>
920 * config.nt: Sync with autogen/config.in.
921 (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
923 2012-09-17 Glenn Morris <rgm@gnu.org>
925 * config.nt (COPYRIGHT): New.
927 2012-09-15 Paul Eggert <eggert@cs.ucla.edu>
929 Port _setjmp fix to POSIXish hosts as well as Microsoft.
930 * config.nt: Attempt to sync with autogen/config.in.
931 (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
932 (_longjmp, _setjmp): Remove.
934 2012-09-14 Juanma Barranquero <lekktu@gmail.com>
936 * config.nt: Sync with autogen/config.in.
937 (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
938 (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
939 (USABLE_FIONREAD, USABLE_SIGIO): New macros.
941 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
943 * config.nt: Sync with autogen/config.in.
944 (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
945 (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
947 2012-09-08 Eli Zaretskii <eliz@gnu.org>
949 * configure.bat <use_extensions>: Don't leave it set in the
950 environment when the script exits.
952 2012-09-07 Juanma Barranquero <lekktu@gmail.com>
954 * config.nt: Sync with autogen/config.in.
955 (NO_ABORT, SIGNAL_H_AHB): Remove.
957 2012-09-07 Eli Zaretskii <eliz@gnu.org>
959 * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
961 2012-09-05 Juanma Barranquero <lekktu@gmail.com>
963 * config.nt: Sync with autogen/config.in.
965 2012-09-04 Paul Eggert <eggert@cs.ucla.edu>
967 Simplify redefinition of 'abort' (Bug#12316).
968 * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
970 2012-09-02 Juanma Barranquero <lekktu@gmail.com>
972 * config.nt: Sync with autogen/config.in.
973 (HAVE_EXECINFO_H, TERM_HEADER): New macros.
975 2012-09-01 Daniel Colascione <dancol@dancol.org>
977 * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
979 2012-08-22 Juanma Barranquero <lekktu@gmail.com>
981 * config.nt: Sync with autogen/config.in.
983 2012-08-17 Juanma Barranquero <lekktu@gmail.com>
985 * config.nt: Sync with autogen/config.in.
986 (HAVE_POSIX_OPENPT): New macro.
988 2012-08-14 Juanma Barranquero <lekktu@gmail.com>
990 * config.nt: Sync with autogen/config.in.
991 (_GL_INLINE_HEADER_BEGIN): Update.
993 2012-08-10 Glenn Morris <rgm@gnu.org>
995 * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
997 2012-08-07 Juanma Barranquero <lekktu@gmail.com>
999 * config.nt: Sync with autogen/config.in.
1000 (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
1001 (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
1003 * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
1005 2012-08-06 Glenn Morris <rgm@gnu.org>
1007 * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
1008 (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
1010 2012-08-04 Eli Zaretskii <eliz@gnu.org>
1012 * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
1013 (PATH_DATA, PATH_DOC): Replace dummy directory names with
1014 directories relative to %emacs_dir%.
1015 (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
1016 to the use case of running un-installed Emacs.
1018 2012-08-03 Juanma Barranquero <lekktu@gmail.com>
1020 * config.nt: Sync with autogen/config.in.
1021 (DOS_NT, MSDOS): New macros.
1022 (WRETCODE, wait3): Remove.
1024 * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
1026 2012-08-03 Eli Zaretskii <eliz@gnu.org>
1028 * inc/sys/stat.h (S_IFLNK): Define.
1029 (S_ISLNK): A non-trivial definition.
1030 (lstat): Prototype instead of a macro that redirects to 'stat'.
1032 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1034 Use C99-style 'extern inline' if available.
1035 * config.nt: Sync with autogen/config.in.
1036 (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
1037 (_GL_INLINE_HEADER_END): New macros.
1039 2012-08-02 Glenn Morris <rgm@gnu.org>
1041 * inc/ms-w32.h: Move here from ../src/s.
1042 * config.nt (config_opsysfile): Change to <ms-w32.h>.
1044 2012-08-01 Juanma Barranquero <lekktu@gmail.com>
1046 * config.nt: Sync with autogen/config.in.
1047 (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
1048 (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
1051 2012-08-01 Juanma Barranquero <lekktu@gmail.com>
1053 * config.nt: Sync with autogen/config.in.
1054 Remove code moved to conf_post.h and include <conf_post.h>
1055 (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
1056 (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
1058 2012-07-29 Juanma Barranquero <lekktu@gmail.com>
1060 * config.nt: Sync with autogen/config.in.
1061 (HAVE_ENVIRON_DECL): New macro.
1063 2012-07-29 Eli Zaretskii <eliz@gnu.org>
1065 * inc/stdalign.h (_Alignas, alignas): Define.
1067 2012-07-28 Paul Eggert <eggert@cs.ucla.edu>
1069 Use Gnulib stdalign module (Bug#9772, Bug#9960).
1070 * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
1072 2012-07-14 Juanma Barranquero <lekktu@gmail.com>
1074 * config.nt: Sync with autogen/config.in.
1075 (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
1076 (SETUP_SLAVE_PTY): New macros.
1078 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
1080 * config.nt: Sync with autogen/config.in.
1081 (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
1082 (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
1083 (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
1084 (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
1085 (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
1086 (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
1087 (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
1088 (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
1089 (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
1090 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
1091 Set in src/s/ms-w32.h, not here.
1093 2012-07-11 Juanma Barranquero <lekktu@gmail.com>
1095 * config.nt: Sync with autogen/config.in.
1096 (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
1097 (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
1098 (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
1100 2012-07-10 Juanma Barranquero <lekktu@gmail.com>
1102 * config.nt: Sync with autogen/config.in.
1104 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1106 * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
1108 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
1110 * config.nt: Sync with autogen/config.in.
1112 2012-07-07 Juanma Barranquero <lekktu@gmail.com>
1114 * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
1116 2012-07-06 Juanma Barranquero <lekktu@gmail.com>
1117 Eli Zaretskii <eliz@gnu.org>
1119 * config.nt: Complete rework to bring it in sync with autogen/config.in.
1120 All Windows-specific code moved to src/s/ms-w32.h.
1122 2012-07-04 Juanma Barranquero <lekktu@gmail.com>
1123 Eli Zaretskii <eliz@gnu.org>
1125 * configure.bat (enablechecking): Enable checks through src/config.h,
1126 not the compiler's command line.
1128 * nmake.defs (CHECKING_CFLAGS): Remove.
1129 (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1131 * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
1132 (CHECKING_CFLAGS): Remove.
1133 (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
1135 2012-07-04 Juanma Barranquero <lekktu@gmail.com>
1137 * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
1138 (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
1139 (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
1140 (HAVE_MEMCMP): Remove, obsolete.
1142 2012-06-30 Glenn Morris <rgm@gnu.org>
1144 * paths.h (PATH_SITELOADSEARCH): New.
1146 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1148 * nmake.defs (CHECKING_CFLAGS):
1149 * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
1151 2012-06-24 Eli Zaretskii <eliz@gnu.org>
1153 * config.nt (_Noreturn): Don't reference __SUNPRO_C.
1155 2012-06-24 Paul Eggert <eggert@cs.ucla.edu>
1157 Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
1158 * config.nt (_Noreturn): New macro.
1159 (NO_RETURN): Remove. All uses replaced with _Noreturn.
1160 (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
1162 2012-06-24 Eli Zaretskii <eliz@gnu.org>
1164 * inc/sys/time.h (struct timespec): Don't define it here, it is
1165 now defined in src/s/ms-w32.h.
1167 2012-06-23 Eli Zaretskii <eliz@gnu.org>
1169 Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
1170 * inc/sys/time.h (struct timespec): Define.
1172 2012-06-16 Eli Zaretskii <eliz@gnu.org>
1174 * makefile.w32-in (install-addpm): New target.
1175 (dist): Depend on it.
1176 (install-shortcuts): Depend on install-addpm instead of copying
1177 addpm.exe as part of the recipe. See
1178 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
1179 for the related problem and discussions.
1181 2012-06-11 Glenn Morris <rgm@gnu.org>
1183 * config.nt (SYSTEM_TYPE): Define it.
1185 2012-05-31 Eli Zaretskii <eliz@gnu.org>
1187 * configure.bat (genmakefiles): Move the redirection away from the
1188 end of the command, to avoid excess whitespace at the end of Make
1189 variables created at configure time, and also avoid things like
1190 "FOO1>>config.settings", where "1" gets interpreted as the file
1191 descriptor and eaten up. This fixes breakage introduced by the
1192 last change, without reintroducing the bug fixed by that change.
1194 2012-05-31 Eli Zaretskii <eliz@gnu.org>
1196 * nmake.defs (MWINDOWS): Define as
1197 "-subsystem:windows -entry:mainCRTStartup". Suggested by Fabrice
1198 Popineau <fabrice.popineau@supelec.fr>. (Bug#11405)
1200 * gmake.defs (MWINDOWS): Define as "-mwindows".
1202 2012-05-28 Eli Zaretskii <eliz@gnu.org>
1204 * config.nt (HAVE_SYSINFO): Remove; unused.
1206 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1208 * inc/stdalign.h: New file.
1210 * configure.bat: Ensure a space between %var% expansion and
1211 redirection symbol '>', which breaks when %var% ends in a digit,
1214 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1217 * config.nt: Do not include "m/intel386.h"; file was removed.
1218 (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
1220 (EMACS_INT_MAX): New macro.
1222 2012-05-19 Paul Eggert <eggert@cs.ucla.edu>
1224 * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
1225 (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
1227 * config.nt (HAVE_FTIME): Remove undef; not needed.
1229 2012-05-01 Glenn Morris <rgm@gnu.org>
1231 * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
1233 2012-04-14 Dani Moncayo <dmoncayo@gmail.com> (tiny change)
1235 * makefile.w32-in: Fix typo (Bug#10261).
1237 2012-04-10 Eli Zaretskii <eliz@gnu.org>
1239 * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
1240 each runs makeinfo in its own subdirectory of 'doc'.
1241 (info-gmake): Depend on these new targets.
1243 2012-04-07 Glenn Morris <rgm@gnu.org>
1245 * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
1246 Bump version to 24.1.50.
1248 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1250 * configure.bat: Support building with libxml2.
1253 * README.W32: Add information about libxml2.
1255 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1257 * makefile.w32-in: Convert to Unix EOL format.
1258 (all): Don't depend on stamp_BLD and on maybe-bootstrap.
1259 (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
1260 (bootstrap-gmake): Invoke the "clean" and build targets in 2
1261 separate commands, so they run in that order even under "make -j".
1263 2012-03-29 Eli Zaretskii <eliz@gnu.org>
1265 * config.nt: Discourage from defining HAVE_GETCWD.
1267 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1269 * makefile.w32-in (install-bin): Don't copy addpm.exe here. Use
1270 $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
1271 on other (parallel) Make job's toes.
1272 (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
1273 (install-shortcuts): Depend on $(INSTALL_DIR)/bin. Copy addpm.exe
1275 (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
1276 Depend on create-tmp-dist-dir.
1278 * nmake.defs (DIRNAME): New variable.
1279 (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1282 * gmake.defs (DIRNAME): New variable.
1283 (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1284 same-dir.tst, to avoid conflicts between several (parallel) Make
1287 2012-02-24 Eli Zaretskii <eliz@gnu.org>
1289 Prevent endless re-spawning of cmdproxy.exe when some of its
1290 parent directories have access limitations.
1292 * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
1293 and our own module name to short 8+3 aliases, if the original file
1294 names compare equal. If GetShortPathName fails, compare the base
1295 names of the two file names, and only re-spawn the command line if
1296 the base-name comparison also fails. (Bug#10674)
1298 2012-02-23 Dani Moncayo <dmoncayo@gmail.com> (tiny change)
1300 * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
1302 2012-02-06 Christoph Scholtes <cschol2112@googlemail.com>
1304 * README.W32: Removed specific version information for libXpm
1305 included in the binary distribution for maintenance purposes.
1307 2012-02-05 Christoph Scholtes <cschol2112@googlemail.com>
1309 * README.W32: Clarification for inclusion in source tarball (bug#9750).
1311 * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1313 * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1315 * makefile.w32-in (maybe-copy-distfiles)
1316 (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1317 (create-tmp-dist-dir): Add to make --distfiles optional.
1318 (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1320 2012-02-04 Eli Zaretskii <eliz@gnu.org>
1322 * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1325 2011-11-27 Fabrice Popineau <fabrice.popineau@supelec.fr> (tiny change)
1327 * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1328 (UINT64_MAX) [_WIN64]: Fix definition.
1329 (uintmax_t, intmax_t): Fix definitions.
1331 * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1332 Provide correct definitions.
1334 * config.nt (HAVE_DECL_STRTOLL): Define.
1335 (va_copy) [_WIN64]: Provide a better definition.
1337 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
1339 * configure.bat: Fix typos.
1341 2011-11-25 Eli Zaretskii <eliz@gnu.org>
1343 * INSTALL: Elaborate on debugging fatal errors.
1345 2011-11-15 Eli Zaretskii <eliz@gnu.org>
1347 * README.W32: Update the GTK Windows download URL for libpng.
1349 2011-11-13 Christoph Scholtes <cschol2112@googlemail.com>
1351 * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1353 2011-11-05 Christoph Scholtes <cschol2112@googlemail.com>
1355 * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1356 (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1357 (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1358 (intmax_t, INT64_MAX): Add for MSVC.
1360 * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1362 2011-11-05 Eli Zaretskii <eliz@gnu.org>
1364 * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1366 Support MSVC build with newer versions of Visual Studio.
1367 * makefile.w32-in (clean-other-dirs-nmake)
1368 (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1369 Update for current structure of doc/ subdirectories.
1371 * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1373 * INSTALL: Update for newer versions of MSVC.
1375 2011-11-05 Fabrice Popineau <fabrice.popineau@supelec.fr> (tiny change)
1377 Support MSVC build with newer versions of Visual Studio.
1378 * nmake.defs (USE_CRT_DLL): Define to 1.
1379 (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1382 2011-11-04 Eli Zaretskii <eliz@gnu.org>
1384 * runemacs.c (ensure_unicows_dll): New function, tries to load
1385 UNICOWS.DLL on Windows 9X.
1386 (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1387 display a dialog to the effect that Emacs cannot be started.
1390 2011-10-28 Eli Zaretskii <eliz@gnu.org>
1392 * README.W32: Mention UNICOWS.DLL as prerequisite for running
1393 Emacs on Windows 9X.
1395 2011-10-25 Eli Zaretskii <eliz@gnu.org>
1397 * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1398 distribution. (Bug#9861)
1400 2011-10-25 Christoph Scholtes <cschol2112@googlemail.com>
1402 * INSTALL: Update URL for GTK download page.
1404 2011-10-19 Eli Zaretskii <eliz@gnu.org>
1406 * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1407 (Bug#9794) (Bug#641)
1409 2011-09-04 Paul Eggert <eggert@cs.ucla.edu>
1411 * config.nt (HAVE_SNPRINTF): New macro.
1413 2011-07-28 Paul Eggert <eggert@cs.ucla.edu>
1415 Assume freestanding C89 headers, string.h, stdlib.h.
1416 * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1417 (STDC_HEADERS): Remove.
1418 Iinclude string.h, stdlib.h unconditionally.
1420 2011-06-07 Eli Zaretskii <eliz@gnu.org>
1422 * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1423 [!__GNUC__]: New macros.
1425 2011-05-28 Paul Eggert <eggert@cs.ucla.edu>
1427 Use 'inline', not 'INLINE'.
1428 * config.nt (INLINE): Remove.
1430 2011-05-17 Eli Zaretskii <eliz@gnu.org>
1432 * README.W32: Add information about GnuTLS libraries.
1434 2011-05-09 Eli Zaretskii <eliz@gnu.org>
1436 * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1438 2011-05-07 Ben Key <bkey76@gmail.com>
1440 * configure.bat: Renamed the fusercflags variable to escusercflags
1441 so that the variable name better matches its purpose, to be
1442 identical to usercflags with the exception that all quotes are
1443 escaped by the \ character.
1445 Renamed the fuserldflags variable to escuserldflags so that the
1446 variable name better matches its purpose, to be identical to
1447 userldflags with the exception that all quotes are escaped by
1450 A new ESC_USER_CFLAGS variable is written to config.settings.
1451 This variable has the same value as the escusercflags variable.
1453 * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1454 This variable is identical to the CFLAGS variable except that it
1455 includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1457 These changes, along with some changes to src/makefile.w32-in,
1458 are required to extend my earlier fix to add support for
1459 --cflags and --ldflags options that include quotes so that it
1460 works whether make uses cmd or sh as the shell.
1462 2011-05-06 Eli Zaretskii <eliz@gnu.org>
1464 * inc/inttypes.h [!__MINGW32__]: Include stdint.h. Move the
1465 definition of uintmax_t from here...
1466 * inc/stdint.h (uintmax_t): ...to here.
1467 (intptr_t) [!__GNUC__]: New typedef.
1469 2011-05-06 Paul Eggert <eggert@cs.ucla.edu>
1471 * config.nt: Prepare to configure 64-bit integers for older compilers.
1472 However, temporarily disable this change unless the temporary
1473 symbol WIDE_EMACS_INT is defined.
1474 (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1475 "%I64d" work but long long and "%lld" do not.
1477 2011-05-05 Ben Key <bkey76@gmail.com>
1479 * configure.bat: Added support for --cflags and --ldflags
1480 options that include quotes as long as command extensions are
1481 enabled. Specifically when -I, -L, and similar flags are used
1482 to specify supplementary include and library directories a
1483 directory name that includes spaces may now be used if it is
1486 * INSTALL: Documented the change to configure.bat.
1488 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
1490 * INSTALL: Clarify GnuTLS support.
1492 2011-04-30 Eli Zaretskii <eliz@gnu.org>
1494 * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1495 Define to 1 for MinGW of MSVC versions >= 1400.
1497 2011-04-28 Eli Zaretskii <eliz@gnu.org>
1499 * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1501 2011-04-27 Eli Zaretskii <eliz@gnu.org>
1503 * inc/inttypes.h: New file.
1505 * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1506 (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1508 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1510 * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1511 inside quotation marks and bail out.
1513 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1515 * cmdproxy.c (try_dequote_cmdline): New function.
1518 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1520 * configure.bat: New options --without-gnutls and --lib, new build
1521 variable USER_LIBS, automatically detect GnuTLS. Copies the PNG
1522 library setup with trivial modifications.
1523 * INSTALL: Add instructions for GnuTLS support.
1524 * gmake.defs: Prefix USER_LIBS with -l.
1526 2011-04-15 Ben Key <bkey76@gmail.com>
1528 * configure.bat: Modified the code that parses the --cflags and
1529 --ldflags options to support parameters that include the =
1530 character as long as they are enclosed in quotes.
1531 This functionality depends on command extensions. Configure.bat now
1532 attempts to enable command extensions and displays a warning
1533 message if they could not be enabled. If configure.bat could
1534 not enable command extensions the old parsing code is used that
1535 does not support parameters that include the = character.
1537 * INSTALL: Updated the file to describe the new functionality
1538 using text provided by Eli Zaretskii.
1540 2011-04-06 Eli Zaretskii <eliz@gnu.org>
1542 * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1543 (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1544 on the trunk on 2011-04-06.
1546 2011-03-27 Glenn Morris <rgm@gnu.org>
1548 * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1550 2011-03-25 Juanma Barranquero <lekktu@gmail.com>
1552 * addpm.c (main): Remove unused variable `retval'.
1554 * preprep.c (main): Remove unused variable `ptr'.
1556 2011-03-23 Juanma Barranquero <lekktu@gmail.com>
1558 * cmdproxy.c: Include <ctype.h>.
1559 (make_absolute): Remove unused variable `i'.
1561 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
1563 * Version 23.3 released.
1565 2011-02-27 Eli Zaretskii <eliz@gnu.org>
1567 * inc/unistd.h (readlink, symlink): Declare prototypes.
1569 2011-02-26 Eli Zaretskii <eliz@gnu.org>
1571 * config.nt (nlink_t): Define.
1573 2011-02-21 Christoph Scholtes <cschol2112@gmail.com>
1575 * inc/stdint.h: New file, to support compilation with tool chains
1576 that do not have stdint.h (e.g. MSVC).
1578 2011-02-21 Eli Zaretskii <eliz@gnu.org>
1580 * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1581 (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1582 (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1583 (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1584 (lstat): Define to stat.
1586 2011-02-09 Eli Zaretskii <eliz@gnu.org>
1588 * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1589 "make-docfile" target in lib-src, before bootstrapping the src
1590 directory. Needed since building in src needs to run make-docfile
1591 to produce globals.h.
1593 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1595 * config.nt (inline) [__GNUC__]: Define (for gnulib).
1597 2011-01-31 Eli Zaretskii <eliz@gnu.org>
1599 * config.nt (VERSION): Uncomment definition.
1602 * inc/stdbool.h: New file.
1604 2011-01-29 Eli Zaretskii <eliz@gnu.org>
1606 * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1607 (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1608 (bootstrap-clean-gmake, clean-other-dirs-nmake)
1609 (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1610 (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1611 (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1612 (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1613 (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1615 * configure.bat: Create lib/makefile.
1617 * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1618 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1619 (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1620 (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1622 2011-01-07 Eli Zaretskii <eliz@gnu.org>
1624 * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1626 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1628 * configure.bat (end): Unset environment variables used by this
1631 * INSTALL: Update the information about PNG support libraries.
1634 * README.W32: Update the information about PNG support libraries.
1636 2010-11-23 Eli Zaretskii <eliz@gnu.org>
1638 * config.nt (EXTERNALLY_VISIBLE): Define.
1640 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
1642 * INSTALL: Refer to `dynamic-library-alist'.
1644 2010-10-06 Juanma Barranquero <lekktu@gmail.com>
1646 * INSTALL: Add note about problematic characters passed to configure.
1648 2010-10-01 Eli Zaretskii <eliz@gnu.org>
1650 * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1651 emacs-src.tags: New file.
1653 * gmake.defs: Add a comment with a single quote to fix
1654 fontification. (Bug#7102)
1656 2010-09-29 Eli Zaretskii <eliz@gnu.org>
1658 * configure.bat: Fix the condition for copying paths.h into
1661 2010-09-28 Juanma Barranquero <lekktu@gmail.com>
1663 * addpm.c (entry, add_registry, main):
1664 * addsection.c (file_data, open_input_file, open_output_file)
1665 (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1667 * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1668 (skip_nonspace, get_next_token, search_dir, make_absolute)
1670 * preprep.c (file_data, open_input_file, open_output_file)
1671 (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1674 * cmdproxy.c (stdin): Don't define, not used.
1675 (main): Don't assign remlen after last use.
1677 2010-09-22 Juanma Barranquero <lekktu@gmail.com>
1679 * configure.bat: Err out when the argument of --cflags contains
1680 invalid characters (check implemented only for GCC). (Bug#6820)
1682 2010-08-19 Juanma Barranquero <lekktu@gmail.com>
1684 * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1686 2010-08-12 Jason Rumney <jasonr@gnu.org>
1688 * addpm.c (add_registry): Set path for runemacs.exe to use.
1690 2010-08-08 Óscar Fuentes <ofv@wanadoo.es>
1692 * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1693 which has a 1024 char limit on Windows (bug#6647).
1695 2010-08-02 Juanma Barranquero <lekktu@gmail.com>
1697 * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1698 Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1700 2010-07-29 Dan Nicolaescu <dann@ics.uci.edu>
1702 * config.nt: Remove code referring to NO_REMAP, unused.
1704 2010-07-25 Christoph Scholtes <cschol2112@gmail.com>
1706 Build binary distros on Windows using emacs-VERSION as root dir name.
1708 * makefile.w32-in: Copy README.W32 to installation directory
1709 during `make install'. Remove README.W32 with `distclean' (in
1710 case Emacs was installed in place). Use temporary directory to
1711 create distribution zip files in `dist' target.
1712 * zipdist.bat: Simplify code using temporary directory.
1714 2010-07-25 Juanma Barranquero <lekktu@gmail.com>
1716 * runemacs.c (set_user_model_id): Fix prototype.
1718 2010-07-24 Christoph Scholtes <cschol2112@gmail.com>
1720 New make target for Windows platform: make dist (bug#6602)
1722 * INSTALL: Document new dist target and add section about
1723 creating binary distributions.
1724 * README.W32: Relocate from admin/nt/ directory.
1725 * configure.bat: New parameter `--distfiles'.
1726 * makefile.w32-in: Add version number, new target `dist'.
1727 Add new target `install-shortcuts'.
1728 * zipdist.bat: New file; create zipped binary distribution,
1729 replaces admin/nt/makedist.bat.
1731 2010-07-21 Juanma Barranquero <lekktu@gmail.com>
1733 * INSTALL: Add note about backslashes in Windows paths.
1734 Fix typos. Simplify references to Windows versions.
1736 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1738 * addpm.c (add_registry, main):
1739 * cmdproxy.c (get_env_size):
1740 * ddeclient.c (main):
1741 * runemacs.c (set_user_model_id):
1742 Convert definitions to standard C.
1744 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1746 * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1748 2010-07-18 Juanma Barranquero <lekktu@gmail.com>
1750 * configure.bat: New option --enable-checking.
1751 * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1752 (CFLAGS): Include it.
1754 2010-07-12 Dan Nicolaescu <dann@ics.uci.edu>
1756 * config.nt (volatile): Remove definition.
1758 2010-07-07 Andreas Schwab <schwab@linux-m68k.org>
1760 * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1761 (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1763 2010-07-02 Juanma Barranquero <lekktu@gmail.com>
1765 * config.nt (__P): Remove.
1767 2010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
1769 * config.nt: Remove code depending on BSTRING.
1771 2010-06-03 Glenn Morris <rgm@gnu.org>
1773 * config.nt: Remove NOT_C_CODE tests, it is always true now.
1775 2010-05-13 Glenn Morris <rgm@gnu.org>
1777 * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1779 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
1781 * Version 23.2 released.
1783 2010-05-04 Glenn Morris <rgm@gnu.org>
1785 * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1787 2010-04-20 Lewis Perin <perin@panix.com> (tiny change)
1789 * emacs.manifest: Add trustInfo section to Windows manifest.
1791 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
1795 2010-01-13 Martin Rudalics <rudalics@gmx.at>
1797 * emacsclient.rc: Fix format of "LegalCopyright" value.
1799 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
1801 * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1803 2009-12-27 Karl Fogel <kfogel@red-bean.com>
1805 * INSTALL: Update for CVS->Bazaar switchover.
1807 2009-09-14 Juanma Barranquero <lekktu@gmail.com>
1809 * configure.bat: Add #define PROFILING to config.h.
1811 2009-07-03 Jason Rumney <jasonr@gnu.org>
1813 * runemacs.c (set_user_model_id): Use standard types.
1815 2009-06-30 Jason Rumney <jasonr@gnu.org>
1817 * runemacs.c (set_user_model_id): New function.
1820 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
1824 2009-03-21 Eli Zaretskii <eliz@gnu.org>
1826 * inc/sys/stat.h (struct stat): Change the types of st_uid and
1829 * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1831 (getpwuid): Argument is now unsigned.
1832 uid_t is now unsigned.
1834 2009-02-24 Juanma Barranquero <lekktu@gmail.com>
1836 * INSTALL: Add comment about TCC; fix typos.
1838 2009-01-26 Jason Rumney <jasonr@gnu.org>
1840 * emacsclient.rc, emacs.rc: Swap name and description.
1841 Remove Windows versions.
1843 2009-01-15 Jason Rumney <jasonr@gnu.org>
1845 * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1847 * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1849 * addpm.c (main): Try using COM to create start menu shortcuts
1850 before resorting to DDE (Bug#202)
1851 Remove second command-line argument.
1853 2009-01-03 Juanma Barranquero <lekktu@gmail.com>
1855 * configure.bat: Untabify help message.
1857 2009-01-03 Jason Rumney <jasonr@gnu.org>
1859 * configure.bat: New option --with-svg.
1861 * INSTALL: Document experimental SVG support.
1863 2008-12-25 Jason Rumney <jasonr@gnu.org>
1865 * config.nt (PTR): Remove.
1867 2008-12-19 Dan Nicolaescu <dann@ics.uci.edu>
1869 * config.nt (LISTPROC, PROCATTR): Remove.
1871 2008-08-09 Eli Zaretskii <eliz@gnu.org>
1873 * config.nt (LISTPROC, PROCATTR): New macros.
1875 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
1877 * config.nt (MULTI_KBOARD): Remove.
1879 2008-07-23 Jason Rumney <jasonr@gnu.org>
1881 * configure.bat: New option --profile.
1882 * gmake.defs: Set cflags and ldflags for profiling when specified.
1884 2008-07-23 Dan Nicolaescu <dann@ics.uci.edu>
1886 * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1888 2008-07-13 Dan Nicolaescu <dann@ics.uci.edu>
1890 * config.nt (HAVE_FACES): Remove, unused.
1892 2008-06-26 Juanma Barranquero <lekktu@gmail.com>
1893 Eli Zaretskii <eliz@gnu.org>
1895 * nmake.defs (FONT_CFLAGS):
1896 * gmake.defs (FONT_CFLAGS): Remove.
1897 (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1898 (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1900 (ARCH_FLAGS): Don't include _X86_.
1902 * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1904 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
1906 * config.nt: Remove reference to UNEXEC_SRC.
1908 2008-06-23 Juanma Barranquero <lekktu@gmail.com>
1909 Eli Zaretskii <eliz@gnu.org>
1911 * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1912 Don't hardcode -gstabs+, use DEBUG_INFO.
1914 * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1915 Default to stabs if the compiler does not support DWARF-2.
1916 (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1918 2008-05-14 Jason Rumney <jasonr@gnu.org>
1920 * configure.bat: Remove code dealing with --disable-font-backend.
1922 2008-05-09 Eli Zaretskii <eliz@gnu.org>
1924 * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1925 better alignment. Make st_size 64-bit wide. Add new members
1926 st_uname and st_gname.
1928 * inc/grp.h (struct group): Add gr_gid member.
1930 2008-04-23 Eli Zaretskii <eliz@gnu.org>
1932 * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1933 (all): ...to here. $(ALL) is a prerequisite of .PHONY, so having
1934 a real file there is not a good idea.
1936 2008-04-23 Jason Rumney <jasonr@gnu.org>
1938 * makefile.w32-in (CLIENTRES): New variable and build target.
1939 (all): Depend on it.
1940 ($(TRES)): Use $(TRES) in rule.
1942 2008-04-21 Jason Rumney <jasonr@gnu.org>
1944 * configure.bat (success): Print "make" rather than "gmake", as that
1947 2008-04-11 Eli Zaretskii <eliz@gnu.org>
1949 * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1950 Add copyright notice.
1952 2008-04-10 Jason Rumney <jasonr@gnu.org>
1954 * emacsclient.rc: New file.
1956 * INSTALL: Document make targets.
1958 2008-04-09 Jason Rumney <jasonr@gnu.org>
1960 * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1961 (clean-other-dirs-gmake): Likewise. Clean doc dirs.
1962 (top-distclean, distclean, distclean-other-dirs-nmake)
1963 (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1964 (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1966 2008-04-05 Eli Zaretskii <eliz@gnu.org>
1968 * inc/sys/stat.h: New file.
1970 * configure.bat: Add check for usp10.h.
1972 2008-04-04 Jason Rumney <jasonr@gnu.org>
1974 * INSTALL: Update Windows API requirements.
1976 2008-04-03 Jason Rumney <jasonr@gnu.org>
1978 * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1980 2008-03-13 Glenn Morris <rgm@gnu.org>
1982 * emacs.rc: Set version to 23.0.60.
1984 2008-03-04 Jason Rumney <jasonr@gnu.org>
1986 * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1987 (EMACS_EXTRA_C_FLAGS): Include it.
1988 * configure.bat (usefontbackend): Default to Y.
1989 (--enable-font-backend): Replace with --disable-font-backend.
1990 (:withfont): Replace with :withoutfont.
1992 2008-03-03 Kentaro Ohkouchi <nanasess@fsm.ne.jp>
1994 * icons/emacs.ico: Full alpha for 32x32 full color.
1995 Add 32x32 and 16x16 256 color versions.
1997 2008-03-03 Andrew Zhilin <andrew_zhilin@yahoo.com>
1999 * icons/emacs22.ico: New file (the old emacs.ico under a new name).
2001 2008-03-02 Jason Rumney <jasonr@gnu.org>
2003 * makefile.w32-in ($(TRES)): Depend on icon and manifest.
2005 2008-03-02 Kentaro Ohkouchi <nanasess@fsm.ne.jp>
2007 * icons/README: Update.
2009 * icons/emacs.ico: New icon.
2011 2008-02-25 Juanma Barranquero <lekktu@gmail.com>
2013 * addpm.c: Include malloc.h.
2014 (add_registry): Cast return value of alloca.
2016 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
2018 * config.nt (SHORTNAMES): Remove reference to obsolete variable.
2020 2008-02-11 Eli Zaretskii <eliz@gnu.org>
2022 * configure.bat (checkgcc): Move "del junk.o" to here, and make it
2023 conditional on existence of junk.o. If %nocygwin% is already set
2024 to Y, skip to chkapiN instead of chkapi.
2025 (chkapi): Move "rm -f junk.c junk.o" to here.
2026 (chkapiN): New label.
2028 2008-02-11 Jason Rumney <jasonr@gnu.org>
2030 * makefile.w32-in: Remove unidata-gen related rules.
2032 2008-02-09 Eli Zaretskii <eliz@gnu.org>
2034 * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
2036 2008-02-11 Jason Rumney <jasonr@gnu.org>
2038 * addpm.c (add_registry): Add an App Paths registry key.
2039 Look for GTK and add it to the DLL search path for Emacs if found.
2041 2008-02-05 Juanma Barranquero <lekktu@gmail.com>
2043 * configure.bat: In help, use generic names for the image libraries.
2045 2008-02-04 Juanma Barranquero <lekktu@gmail.com>
2047 * .cvsignore: Don't ignore .arch-inventory.
2049 2008-02-03 Jason Rumney <jasonr@gnu.org>
2051 * configure.bat: Make gcc the default compiler.
2053 2008-02-02 Eli Zaretskii <eliz@gnu.org>
2055 * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
2056 Ignore return status.
2058 * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
2059 it out of the way of Windows generated file.
2060 Generate admin/unidata/makefile.
2062 * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
2063 (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
2064 (unidatagen-clean-SH): New targets.
2065 (bootstrap-nmake): Invoke unidatagen-nmake.
2066 (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
2068 2008-02-01 Jason Rumney <jasonr@gnu.org>
2070 * configure.bat (withfont): Set sep1 after modifying usercflags.
2072 2008-02-01 Jason Rumney <jasonr@gnu.org>
2074 * configure.bat: Rename --with-font-backend to --enable-font-backend
2075 for consistency with other platforms.
2077 2008-02-01 Jason Rumney <jasonr@gnu.org>
2079 * configure.bat: Add --with-font-backend option.
2081 2008-01-20 Jason Rumney <jasonr@gnu.org>
2083 * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
2084 permissions to NTFS ACLs.
2086 2007-11-01 Jan Djärv <jan.h.d@swipnet.se>
2088 * config.nt: Remove HAVE_X11R5.
2090 2007-10-22 Jason Rumney <jasonr@gnu.org>
2092 * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
2093 (strings.h, stdlib.h): Conditionally include.
2094 (w32_abort): Declare here.
2095 (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
2097 2007-10-20 Jason Rumney <jasonr@gnu.org>
2099 * makefile.w32-in (info-nmake): Change into correct directories.
2101 2007-10-20 Eli Zaretskii <eliz@gnu.org>
2103 * configure.bat (docflags, doldflags): New variables.
2104 (genmakefiles): Use them to work around problems with whitespace
2105 in arguments of the `if' command.
2107 2007-10-18 Jason Rumney <jasonr@gnu.org>
2109 * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
2111 2007-09-27 Jason Rumney <jasonr@gnu.org>
2113 * gmake.defs (COMCTL32): New system library.
2115 * nmake.defs (COMCTL32): New system library.
2117 2007-09-06 Glenn Morris <rgm@gnu.org>
2120 * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
2121 Change from ../man to ../doc/emacs and ../doc/misc; and from
2122 ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
2124 2007-08-29 Glenn Morris <rgm@gnu.org>
2126 * emacs.rc: Increase version to 23.0.50.
2128 2007-08-14 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
2130 * makefile.w32-in (bootstrap-nmake): Change directories once more.
2132 2007-07-25 Glenn Morris <rgm@gnu.org>
2134 * Relicense all FSF files to GPLv3 or later.
2136 * COPYING: Switch to GPLv3.
2138 2007-07-16 Eli Zaretskii <eliz@gnu.org>
2140 * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
2142 (cleanall): Don't delete *~.
2144 2007-07-15 Jason Rumney <jasonr@gnu.org>
2146 * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
2149 2007-07-14 Jason Rumney <jasonr@gnu.org>
2151 * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
2154 2007-07-11 Jason Rumney <jasonr@gnu.org>
2156 * gmake.defs (OLE32): New library to link.
2158 * nmake.defs (OLE32): Likewise.
2160 2007-06-25 Jason Rumney <jasonr@gnu.org>
2162 * cmdproxy.c (main): Set console codepages to "ANSI".
2164 2007-06-20 Jason Rumney <jasonr@gnu.org>
2166 * configure.bat: Complain if image libraries are missing.
2168 2007-06-15 Jason Rumney <jasonr@gnu.org>
2170 * emacs.manifest: New file.
2174 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
2176 * Version 22.1 released.
2178 2007-05-22 Eli Zaretskii <eliz@gnu.org>
2180 * INSTALL: Add information about where to find GDB, and warn
2181 against --no-debug option to configure.bat.
2183 2007-05-19 Eli Zaretskii <eliz@gnu.org>
2185 * INSTALL: Fix URL of EmacsW32 site where building with image
2186 support is described.
2188 2007-04-26 Glenn Morris <rgm@gnu.org>
2190 * emacs.rc: Increase version to 22.1.50.
2192 2007-03-31 Eli Zaretskii <eliz@gnu.org>
2194 * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
2196 2007-03-09 Richard Stallman <rms@gnu.org>
2198 * INSTALL: Say explicitly this is not for Cygwin.
2200 2007-03-03 Eli Zaretskii <eliz@gnu.org>
2202 * INSTALL: Add URL of another site with detailed build instructions.
2204 2007-02-16 Glenn Morris <rgm@gnu.org>
2206 * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
2207 * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
2208 * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
2209 * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
2210 * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
2211 Restore all but two of icons deleted in previous change.
2213 2007-02-13 Chong Yidong <cyd@stupidchicken.com>
2215 * icons/README: New file.
2217 * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
2218 * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
2219 * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
2220 * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
2221 * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
2222 * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
2223 Unused icons deleted.
2225 2007-01-31 Juanma Barranquero <lekktu@gmail.com>
2227 * configure.bat: Update ../site-lisp/subdirs.el when needed.
2229 2007-01-30 Juanma Barranquero <lekktu@gmail.com>
2231 * subdirs.el: Add "no-byte-compile: t" local variable.
2233 2007-01-10 Jason Rumney <jasonr@gnu.org>
2235 * README: Update URLs and advice about reporting bugs.
2237 2006-12-29 Jason Rumney <jasonr@gnu.org>
2239 * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
2241 (DEBUG_LINK): Remove -debugtype:both.
2243 2006-12-27 Eli Zaretskii <eliz@gnu.org>
2245 * INSTALL: Update table of supported Make ports. Show "make -j"
2246 command that is known to work.
2248 * configure.bat: Update table of supported Make ports.
2250 2006-12-24 Eli Zaretskii <eliz@gnu.org>
2252 * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
2253 only in implicit rules. Use literal "emacs.rc" instead.
2255 2006-12-23 Eli Zaretskii <eliz@gnu.org>
2257 * gmake.defs: Export XMFLAGS.
2259 * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
2260 Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
2262 2006-12-22 Eli Zaretskii <eliz@gnu.org>
2264 * INSTALL: Explain how to invoke GNU Make for parallel builds.
2266 * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
2267 command-line argument to sub-Make in src, since src/makefile.w32-in
2268 invokes Make recursively during bootstrap.
2269 (clean): Delete stamp_BLD.
2270 (bootstrap): Make `all' explicitly in a recursive Make.
2272 * gmake.defs (stamp_BLD): Rename from $(BLD). Create a file
2273 stamp_BLD after creating the $(BLD) directory.
2275 * nmake.defs (stamp_BLD): Rename from $(BLD). Create a file
2276 stamp_BLD after creating the $(BLD) directory.
2278 * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
2279 (preprep, $(TRES), runemacs)
2280 ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
2281 ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2282 Depend on stamp_BLD instead of on $(BLD).
2283 (XMFLAGS): New macro.
2284 (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
2285 (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
2286 (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
2287 (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2289 2006-12-20 Eli Zaretskii <eliz@gnu.org>
2291 * makefile.w32-in ($(TRES)): Depend on $(BLD). Use $< instead of
2293 ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
2294 ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2295 New dependency on $(BLD).
2296 (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
2297 (bootstrap-gmake): Depend on addsection.
2299 2006-10-29 Juanma Barranquero <lekktu@gmail.com>
2301 * runemacs.c (WinMain): Process all recognized arguments, not just
2302 the first one. Remove unused variable sec_desc.
2304 2006-09-24 Eli Zaretskii <eliz@gnu.org>
2306 * config.nt (HAVE_LANGINFO_CODESET): Define.
2308 * inc/langinfo.h: New file.
2310 * inc/nl_types.h: New file.
2312 2006-09-15 Jay Belanger <belanger@truman.edu>
2314 * COPYING: Replace "Library Public License" by "Lesser Public
2315 License" throughout.
2317 2006-07-27 Jason Rumney <jasonr@gnu.org>
2319 * INSTALL: Add notes about Cygwin make to impatient section.
2321 2006-06-02 Eli Zaretskii <eliz@gnu.org>
2323 * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2326 2006-03-12 Jason Rumney <jasonr@gnu.org>
2328 * addpm.c (add_registry): Don't change the registry unless keys
2329 already exist from a previous version.
2331 * makefile.w32-in (install): Use -q when invoking addpm.
2333 * addpm.c (main): Accept -q as alternative for /q.
2335 2006-03-11 Jason Rumney <jasonr@gnu.org>
2337 * runemacs.c (WinMain): Set screen buffer to 80x25.
2339 2005-12-24 Eli Zaretskii <eliz@gnu.org>
2341 * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2342 (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2344 2005-12-09 Eli Zaretskii <eliz@gnu.org>
2346 * INSTALL: Add explanation of how to debug with GDB starting from
2347 the Emacs Abort dialog.
2349 2005-11-26 Chong Yidong <cyd@stupidchicken.com>
2351 * emacs.rc: Use new icons.
2353 2005-11-26 Eli Zaretskii <eliz@gnu.org>
2355 * emacs21.ico: Renamed from emacs.ico.
2356 * emacs.ico: New icons from Andrew Zhilin
2357 <andrew_zhilin@yahoo.com>.
2359 2005-09-10 Eli Zaretskii <eliz@gnu.org>
2361 * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2363 2005-08-10 Juanma Barranquero <lekktu@gmail.com>
2365 * .cvsignore: Add `obj' and `oo' for in-place installations.
2367 2005-07-30 Eli Zaretskii <eliz@gnu.org>
2369 * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2371 2005-07-29 Juanma Barranquero <lekktu@gmail.com>
2373 * configure.bat: Don't create lisp/Makefile.unix.
2375 2005-07-28 Juanma Barranquero <lekktu@gmail.com>
2377 * .cvsignore: Add `makefile' and `config.log'.
2379 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
2381 Merge gnulib getopt implementation into Emacs.
2383 * inc/gettext.h: Remove; no longer needed now that
2384 lib-src/gettext.h exists.
2386 2005-07-16 Eli Zaretskii <eliz@gnu.org>
2388 * configure.bat: Finish config.log with a line that indicates that
2389 the configure step was successful.
2391 2005-07-04 Lute Kamstra <lute@gnu.org>
2393 Update FSF's address in GPL notices.
2395 2005-06-11 Eli Zaretskii <eliz@gnu.org>
2397 * configure.bat: If their fc.exe returns a meaningful exit status,
2398 don't overwrite src/config.h and src/epaths.h with identical
2401 * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2402 changes. Add a pointer to another site with detailed configure
2403 and build instructions. Suggest to look at config.log when
2404 configure fails. Add MinGW Make 3.80 to the list of successful
2407 * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2410 * configure.bat: Update copyright years.
2411 Delete config.log before doing anything else.
2412 Write additional diagnostics to config.log in case of failures to
2413 compile test programs, including the failed test program itself.
2414 Add a test for support of -mtune=pentium4 switch to GCC; if it is
2415 supported, set up MCPU_FLAG variable on the various Makefiles to
2416 use that switch during compilations. (This avoids GCC warning
2417 about -mcpu being deprecated.)
2419 2005-06-10 Eli Zaretskii <eliz@gnu.org>
2421 * addsection.c (copy_executable_and_add_section): Pass non-zero
2422 `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2423 environment. Print section names with %.8s.
2424 (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2425 only if non-zero. All callers changed.
2427 2005-06-05 Eli Zaretskii <eliz@gnu.org>
2429 * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2430 `const void *', for consistency with POSIX.
2432 2005-06-04 Eli Zaretskii <eliz@gnu.org>
2434 * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2436 2005-05-24 Juanma Barranquero <lekktu@gmail.com>
2438 * INSTALL: Add more pointers to ports of Unix tools to Windows,
2439 and to the Emacs Wiki (which contains building instructions for
2440 Windows). Reword image library instructions and remove obsolete
2441 incompatibility information.
2443 2005-04-23 David Hunter <hunterd42@comcast.net> (tiny change)
2445 * config.nt (HAVE_PWD_H): Undef.
2447 2004-06-07 Juanma Barranquero <lektu@terra.es>
2449 * INSTALL: Clarify paragraph about compatibility between image
2450 libraries and builds of Emacs with several compilers.
2452 2004-06-06 Juanma Barranquero <lektu@terra.es>
2454 * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2455 the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2456 calling non-existent cmdproxy.exe on bootstrapping after a
2457 previous install followed by realclean.
2459 * nmake.defs: Add quote in comment to resync font-locking.
2461 2004-06-04 Juanma Barranquero <lektu@terra.es>
2463 * INSTALL: Reword the section on image support. Add reference to
2464 GnuWin32. Mention problems when mixing binaries from different
2467 2004-05-06 Jason Rumney <jasonr@gnu.org>
2469 * configure.bat: Use -mno-cygwin to check for image libraries
2472 2004-05-03 Jason Rumney <jasonr@gnu.org>
2474 * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2475 * makefile.def: Remove.
2477 * nmake.defs (SYS_LDFLAGS): Add -nologo.
2479 * makefile.w32-in (info-gmake, info-nmake): New targets.
2482 2004-04-23 Juanma Barranquero <lektu@terra.es>
2488 * makefile.nt: Add "-*- makefile -*-" mode tag.
2490 2004-04-10 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
2492 * runemacs.c (WinMain): Let Emacs environment default to parent.
2494 2004-03-11 Jason Rumney <jasonr@gnu.org>
2496 * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2498 2004-03-10 Juanma Barranquero <lektu@terra.es>
2500 * makefile.w32-in (install): Don't try to copy
2501 ../lib-src/fns-*.el, as it isn't used anymore.
2503 2004-01-28 Peter Runestig <peter@runestig.com>
2505 * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2507 2003-12-24 Miles Bader <miles@gnu.ai.mit.edu>
2509 * .cvsignore: Add `.arch-inventory'.
2511 2003-11-22 Lars Hansen <larsh@math.ku.dk>
2513 * inc/grp.h: New file.
2515 2003-09-03 Peter Runestig <peter@runestig.com>
2517 * configure.bat: Create ``makefile'' in directories man, lispref
2520 * makefile.w32-in (force-info, info): New targets.
2522 * envadd.bat: New file.
2524 * multi-install-info.bat: New file.
2526 2003-06-27 Jan Djärv <jan.h.d@swipnet.se>
2528 * config.nt (my_strftime): New define.
2530 2003-02-01 Jason Rumney <jasonr@gnu.org>
2532 * configure.bat: Automatically detect libXpm.
2533 Suppress compiler output when testing for image libraries.
2534 Give names of un-found libraries in messages.
2536 2003-01-31 Juanma Barranquero <lektu@terra.es>
2538 * configure.bat: Automatically detect giflib and tifflib.
2540 2003-01-29 Jason Rumney <jasonr@gnu.org>
2542 * gmake.defs (CURDIR): Disable cygpath kludge.
2544 2003-01-29 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>
2546 * configure.bat: Avoid endless loop when configuring without image
2549 2003-01-26 Jason Rumney <jasonr@gnu.org>
2551 * configure.bat: Automatically detect jpeglib.
2553 2003-01-25 Jason Rumney <jasonr@gnu.org>
2555 * configure.bat: Automatically detect libpng.
2557 2003-01-21 Jason Rumney <jasonr@gnu.org>
2559 * icons/hand.cur: New file.
2561 2003-01-21 David Ponce <david@dponce.com>
2563 * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2565 2003-01-15 Andrew Innes <andrewi@gnu.org>
2567 * gmake.defs (CURDIR): Convert to native Windows format (with
2568 forward slashes), to support building with Cygwin builds of make.
2570 2002-11-17 Ben Key <BKey1@tampabay.rr.com>
2573 * gmake.defs: Made changes so that Emacs would link with
2574 WinMM.lib. This change was required for my addition of a Windows
2575 compatible implementation of play-sound-internal.
2577 2002-09-03 Peter Runestig <peter@runestig.com> (tiny change)
2579 * emacs.rc: Version updated to 21.3.50.
2581 2002-06-13 Jason Rumney <jasonr@gnu.org>
2583 * addpm.c (env_vars): Remove EMACSLOCKDIR.
2585 * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2586 (maybe-bootstrap-SH): New targets.
2587 (all): Depend on maybe-bootstrap.
2589 2002-05-03 Jason Rumney <jasonr@gnu.org>
2591 * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2592 (sys_getpeername, fcntl): Declare as wrappers.
2594 2002-04-10 Juanma Barranquero <lektu@terra.es>
2596 * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2597 after compiling .el files.
2599 2002-03-20 Jason Rumney <jasonr@gnu.org>
2601 * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2602 (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2604 2002-03-19 Kim F. Storm <storm@cua.dk>
2606 * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2607 (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2608 (HAVE_SYS_UN_H): Undef.
2609 From David Ponce <dponce@voila.fr>.
2611 2002-03-13 Jason Rumney <jasonr@gnu.org>
2613 * config.nt (STRFTIME_NO_POSIX2): Define.
2615 2002-02-18 Jason Rumney <jasonr@gnu.org>
2617 * emacs.rc: Define VS_VERSION_INFO if not already.
2618 Update version info.
2620 2002-01-04 Andrew Innes <andrewi@gnu.org>
2622 * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2623 pick up relevant bits of the Windows API definitions.
2625 * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2626 pick up relevant bits of the Windows API definitions.
2628 2001-12-14 Andrew Innes <andrewi@gnu.org>
2630 * makefile.w32-in (bootstrap): Build addsection program before
2631 bootstrap (required for post-processing temacs.exe).
2633 2001-12-08 Pavel Janík <Pavel@Janik.cz>
2635 * COPYING: New file.
2637 2001-12-03 Andrew Innes <andrewi@gnu.org>
2639 * makefile.w32-in (bootstrap-nmake)
2640 (bootstrap-gmake): Extend bootstrap process to first do
2641 bootstrap-clean in lisp dir and rebuild the DOC file.
2642 (bootstrap): Do a "normal" make after the bootstrap work.
2644 2001-11-20 Jason Rumney <jasonr@gnu.org>
2646 * INSTALL: Update table of versions of make that are suitable
2647 for building Emacs, based on recent feedback.
2649 * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2651 2001-11-19 Andrew Innes <andrewi@gnu.org>
2653 * ftime-nostartup.bat: New file.
2655 * ftime.bat: Don't include libc.lib for profiling - the profiler
2656 corrupts part of memcpy.
2658 2001-11-17 Jason Rumney <jasonr@gnu.org>
2660 * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2661 expansion. From Juanma Barranquero <lektu@terra.es>.
2663 2001-10-20 Gerd Moellmann <gerd@gnu.org>
2665 * (Version 21.1 released.)
2667 2001-10-12 Andrew Innes <andrewi@gnu.org>
2669 * inc/pwd.h (uid_t, gid_t): New typedefs.
2671 2001-10-05 Gerd Moellmann <gerd@gnu.org>
2675 2001-09-08 Eli Zaretskii <eliz@is.elta.co.il>
2677 * README: Update the address of the mailing list and subscription
2678 instructions. From Geoff Voelker <voelker@cs.ucsd.edu>.
2680 2001-09-06 Eli Zaretskii <eliz@is.elta.co.il>
2682 * INSTALL: Suggest to avoid using WinZip.
2684 * configure.bat: Make sure ../site-lisp exists; create if necessary.
2686 2001-09-05 Eli Zaretskii <eliz@is.elta.co.il>
2688 * INSTALL: Mention that "make install" can be "nmake install".
2690 2001-09-04 Eli Zaretskii <eliz@is.elta.co.il>
2692 * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2693 since some versions of `mkdir' don't automatically create parent
2694 directories. From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2696 2001-08-31 Eli Zaretskii <eliz@is.elta.co.il>
2698 * subdirs.el: New file.
2700 * configure.bat: Copy subdirs.el to the site-lisp directory.
2702 * makefile.w32-in (install): Copy subdirs.el to the installation
2705 2001-06-20 Jason Rumney <jasonr@gnu.org>
2707 * runemacs.c (WinMain): Add quotes around command in case of spaces.
2709 2001-06-01 Andrew Innes <andrewi@gnu.org>
2711 * gmake.defs (sh_output): Don't use $(warning ...) to output
2712 messages, since that is not supported by GNU make 3.77.
2714 2001-05-24 Jason Rumney <jasonr@gnu.org>
2716 * INSTALL: Clarify that building with MSVC requires nmake.
2718 2001-05-17 Andrew Innes <andrewi@gnu.org>
2720 * gmake.defs (NEW_CYGWIN): Output message about spurious error
2721 message that is to be ignored.
2723 2001-05-13 Andrew Innes <andrewi@gnu.org>
2725 * TODO: Remove file, since it is completely out of date.
2727 * README: Add copyright notice.
2729 * INSTALL: Add copyright notice.
2731 2001-04-18 Andrew Innes <andrewi@gnu.org>
2733 * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2736 * gmake.defs (SETLOADPATH): Remove definition.
2737 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2740 2001-03-26 Eli Zaretskii <eliz@is.elta.co.il>
2742 * configure.bat: Make the checkw32api* labels be distinct in the
2745 2001-03-17 Andrew Innes <andrewi@gnu.org>
2747 * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2750 * gmake.defs (DEBUG_LINK): New macro.
2751 (LINK_FLAGS): Use it.
2753 * nmake.defs (DEBUG_LINK): New macro.
2754 (LINK_FLAGS): Use it.
2756 2001-03-06 Andrew Innes <andrewi@gnu.org>
2758 * INSTALL: Add --ldflags to configure line for building with
2759 recent versions of Cygwin GCC.
2761 2001-03-05 Eli Zaretskii <eliz@is.elta.co.il>
2763 * configure.bat: Use correct options when compiling a test program
2764 with Cygwin. From David Ponce <dponce@voila.fr>.
2766 2001-02-24 Andrew Innes <andrewi@gnu.org>
2768 * _emacs: Remove obsolete file.
2770 * emacs.bat.in: Remove obsolete file.
2772 * debug.bat.in: Remove obsolete file.
2774 * inc/sys/socket.h: Add copyright notice.
2776 * paths.h: Add copyright notice.
2778 * makefile.nt: Update copyright notice.
2780 * makefile.def: Update copyright notice.
2782 * configure.bat: Update copyright notice.
2784 * nmake.defs: Add copyright notice.
2786 * gmake.defs: Add copyright notice.
2788 * makefile.w32-in: Add copyright notice.
2790 2001-02-05 Andrew Innes <andrewi@gnu.org>
2792 * nmake.defs (THISDIR): New definition.
2794 * gmake.defs (THISDIR): New definition.
2796 2001-02-03 Andrew Innes <andrewi@gnu.org>
2798 * configure.bat: Leave a space before >> only when there is a
2799 preceding digit. Add a comment about the importance of this.
2801 * README: Replace outdated information.
2803 * INSTALL (Trouble-shooting): Add note about need to specify extra
2804 compiler flags with recent Cygwin ports of gcc.
2806 2001-02-01 Eli Zaretskii <eliz@is.elta.co.il>
2808 * configure.bat: Use "rm -f" instead of "del /f", as the latter
2809 is not supported by Windows 9X's COMMAND.COM.
2811 2001-01-31 Eli Zaretskii <eliz@is.elta.co.il>
2813 * configure.bat: Make sure redirection is preceded by a blank, to
2814 avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2815 up the "1" part. From Rob Giardina <rob@criticalpointsoftware.com>.
2817 2001-01-30 Eli Zaretskii <eliz@is.elta.co.il>
2819 * INSTALL: Copy the table of tested combinations of development
2820 tools from configure.bat. Add suggestion to install Bash on
2823 * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2824 lisp/Makefile.in instead. Use "rm -f" where more than one file
2825 needs to be deleted, since command.com in Windows 9X doesn't grok
2826 more than one argument.
2828 2001-01-24 Andrew Innes <andrewi@gnu.org>
2830 * makefile.w32-in (cleanall-other-dirs-nmake)
2831 (cleanall-other-dirs-gmake): New targets.
2832 (cleanall): Invoke them.
2834 2001-01-19 Andrew Innes <andrewi@gnu.org>
2836 * addpm.c (env_vars): Add a version-independent site-lisp
2837 directory to EMACSLOADPATH, after the version dependent one.
2839 2001-01-06 Andrew Innes <andrewi@gnu.org>
2841 * README: Update info about compilers.
2843 * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2844 select correct rule for invoking make in another directory.
2845 Amend rules accordingly.
2846 (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2848 * nmake.defs (EMACS_ICON_PATH): Delete definition.
2849 (COMPILER_TEMP_FILES): New definition.
2850 (MAKETYPE): New definition.
2852 * gmake.defs (EMACS_ICON_PATH): Delete definition.
2853 (COMPILER_TEMP_FILES): New definition.
2854 (MAKETYPE): New definition.
2856 * makefile.def (EMACS_ICON_PATH): Delete definition.
2858 * configure.bat: Be careful not to add trailing spaces when
2859 outputting to config.settings.
2861 2001-01-02 Andrew Innes <andrewi@gnu.org>
2863 * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2866 2000-12-17 Andrew Innes <andrewi@gnu.org>
2868 * makefile.w32-in (install): Copy directories to the correct
2870 (real_install): Remove obsolete target.
2872 2000-12-06 Andrew Innes <andrewi@gnu.org>
2874 * nmake.defs (CURDIR): New define.
2875 (INSTALL_DIR): Use it.
2877 * gmake.defs (NEW_CYGWIN): New define.
2878 (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2879 so we need to adjust how we escape embedded quotes.
2880 (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2881 relative to $(CURDIR).
2883 2000-11-25 Jason Rumney <jasonr@gnu.org>
2885 * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2887 2000-10-17 Andrew Innes <andrewi@gnu.org>
2889 * makefile.w32-in (recompile): New target to recompile lisp
2891 (recompile-CMD, recompile-SH): New support targets.
2893 2000-09-24 Jason Rumney <jasonr@gnu.org>
2895 * config.nt (NO_RETURN): Define it.
2897 2000-09-17 Andrew Innes <andrewi@gnu.org>
2899 * gmake.defs: Revert to Unix line endings.
2901 * nmake.defs: Revert to Unix line endings.
2903 2000-09-16 Andrew Innes <andrewi@gnu.org>
2905 * gmake.defs (SETLOADPATH): Change definition to work from any
2908 2000-09-14 Andrew Innes <andrewi@gnu.org>
2910 * makefile.w32-in: Revert to Unix line endings.
2912 2000-09-14 Andrew Innes <andrewi@gnu.org>
2914 * INSTALL: Add note about expected error messages when configure
2917 * configure.bat: Simplify the generation of makefiles (don't need
2918 to generate various top-level targets that invoke make in other
2921 * gmake.defs (SHELLTYPE): New define.
2922 (SETLOADPATH): New define.
2924 * nmake.defs (SHELLTYPE): New define.
2926 * makefile.w32-in: Standardize indentation somewhat.
2927 Add bootstrap support.
2928 Pass $(MFLAGS) when invoking make recursively.
2929 Add shell-specific variants of top-level targets that invoke make
2930 recursively in other directories, and add necessary computed
2933 2000-09-03 Andrew Innes <andrewi@gnu.org>
2935 * makefile.w32-in: Change to DOS line endings.
2937 * configure.bat: Change to DOS line endings.
2939 * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2940 (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2942 * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2943 (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2945 * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2946 -D_ANONYMOUS_STRUCT on compile line.
2947 (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2948 (ARCH_CFLAGS): Change optimization flags to -O2.
2949 (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2950 (ARGQUOTE, DQUOTE): New defines.
2952 * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2953 -D_ANONYMOUS_STRUCT on compile line.
2954 (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2955 (ARGQUOTE, DQUOTE): New defines.
2957 2000-08-22 Andrew Innes <andrewi@gnu.org>
2959 * configure.bat: New file.
2961 * gmake.defs: New file.
2963 * nmake.defs: New file.
2965 * makefile.w32-in: New file.
2967 * INSTALL: Rewrite to match new configure process.
2969 * config.nt [WINDOWSNT]: Don't declare getenv.
2970 (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2972 * addpm.c (main): Accept /q to mean install based on addpm's
2973 location without asking. Remove reference to emacs.bat which is
2976 * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2978 * paths.h: Use forward slash as directory separator in all path
2980 (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2982 * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2984 * runemacs.c: Remove WIN32 define.
2986 * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2989 * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2990 (fd_set): Define to new name, after including winsock.h, so we can
2991 provide our own implementation.
2993 2000-07-05 Andrew Innes <andrewi@gnu.org>
2995 * ebuild.bat: Add support for specifying make arguments.
2997 * makefile.nt: Add support for `bootstrap' and related targets.
2999 2000-06-11 Jason Rumney <jasonr@gnu.org>
3001 * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
3003 2000-02-06 Andrew Innes <andrewi@gnu.org>
3005 * inc/sys/time.h: Add inclusion protection.
3007 * makefile.def (SYS_LDFLAGS): Add -nologo.
3009 1999-11-22 Andrew Innes <andrewi@gnu.org>
3011 * install.bat: Pass on command line arguments to make.
3013 * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
3015 1999-11-21 Andrew Innes <andrewi@gnu.org>
3017 * makefile.nt (all): Build leim if present.
3018 (install): Install leim if present.
3019 (clean): Clean leim if present.
3021 * addpm.c (env_vars): Include leim in default EMACSLOADPATH
3024 * emacs.bat.in (EMACSLOADPATH): Include leim.
3026 1999-07-12 Richard Stallman <rms@gnu.org>
3028 * Version 20.4 released.
3030 1999-06-16 Andrew Innes <andrewi@gnu.org>
3032 * emacs.rc: Use an icon with a transparent background, to be in
3033 keeping with other applications.
3035 1999-06-03 Andrew Innes <andrewi@gnu.org>
3037 * preprep.c: Fix typo.
3039 1999-05-02 Andrew Innes <andrewi@gnu.org>
3041 * config.h: Remove obsolete file.
3043 * preprep.c (copy_executable_and_move_sections): Ifdef out a
3044 couple of unused switch cases that aren't defined on all
3047 * ftime.bat: Add another variation of the profile command, which
3048 only profiles extended commands.
3050 1999-03-31 Geoff Voelker <voelker@cs.washington.edu>
3052 * cmdproxy.c (main): Fix parens.
3054 1999-03-25 Andrew Innes <andrewi@gnu.org>
3056 * cmdproxy.c (main): Call GetShortPathName to normalize program
3057 names for comparison.
3059 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
3061 * makefile.def: Compile multiple .c files when possible.
3062 Use BLD instead of assuming i386.
3063 * makefile.nt: Remove common multiple file compilation commands.
3065 1999-03-04 Geoff Voelker <voelker@cs.washington.edu>
3067 * cmdproxy.c (main): Add missing parens.
3069 1999-02-20 Andrew Innes <andrewi@gnu.org>
3071 * preprep.c: New program to allow dumped image to be profiled.
3073 * makefile.nt (preprep): New target.
3076 * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
3078 * ftime.bat: Invoke preprep to prepare dumped image for profiling.
3079 Change prep options to profile libc functions and skip the startup
3082 1999-02-15 Geoff Voelker <voelker@cs.washington.edu>
3084 * makefile.nt: Create installation directory as first step.
3086 1999-01-31 Andrew Innes <andrewi@gnu.org>
3088 * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
3089 ROUND_UP_DST. Zeroes the alignment slop.
3090 (copy_executable_and_add_section): Update the
3091 SizeOfHeaders field properly.
3093 1999-01-27 Andrew Innes <andrewi@gnu.org>
3095 * makefile.nt: Do make version comparison as strings.
3097 1999-01-26 Andrew Innes <andrewi@harlequin.co.uk>
3099 * runemacs.c (WinMain): Pass explicit environment block to
3100 CreateProcess, to work around a bug in Windows 95/98.
3102 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
3104 * icons: New directory with Davenport's icons.
3105 * icons/sink.ico: Renamed from emacs.ico.
3107 * makefile.nt (install, fast_install): Install Windows icons
3110 * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
3112 1999-01-17 Andrew Innes <andrewi@gnu.org>
3114 * makefile.nt (ALL): List top-level targets.
3115 (addsection): New top-level target.
3116 (install): Copy fns-*.el to bin directory.
3118 * addsection.c: New program to add static heap section to
3119 temacs.exe after linking, in support of new unexec method.
3121 1998-12-28 Andrew Innes <andrewi@delysid.gnu.org>
3123 * cmdproxy.c (spawn): Pass directory for child as parameter.
3124 (main): Save startup directory to give to spawn, then change
3125 directory to location of .exe in order not to prevent startup
3126 directory from being deleted.
3128 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
3130 * makefile.nt: Do string comparison of _NMAKE_VER.
3132 1998-12-02 Geoff Voelker <voelker@cs.washington.edu>
3134 * config.nt (LOCALTIME_CACHE): Define.
3136 1998-11-13 Andrew Innes <andrewi@delysid.gnu.org>
3138 * install.bat: Convert to DOS format.
3140 1998-11-10 Andrew Innes <andrewi@harlequin.co.uk>
3142 * cmdproxy.c (main): Set environment size only when running
3145 1998-11-03 Theodore Jump <tjump@tertius.com>
3147 * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
3148 (DEL_TREE): Use rd instead of rmdir.
3149 (ARCH_CFLAGS): Optimize for P6. Align structures on 8-byte boundaries.
3150 * makefile.nt: Compile multiple source files when possible.
3152 1998-10-05 Geoff Voelker <voelker@cs.washington.edu>
3154 * cmdproxy.c (main): Treat command line options as case-insensitive.
3156 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
3158 * Version 20.3 released.
3160 1998-07-20 Geoff Voelker <voelker@cs.washington.edu>
3162 * addpm.c (main): Explicitly check result of message box for OK.
3164 1998-06-05 Andrew Innes <andrewi@harlequin.co.uk>
3166 * inc/sys/file.h (D_OK): Define new macro.
3168 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
3170 * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
3172 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
3174 * emacs.rc (VS_VERSION_INFO): Define.
3176 1998-04-23 Geoff Voelker <voelker@cs.washington.edu>
3178 * makefile.nt (emacs.bat, debug.bat): Create them in the
3179 installation directory.
3181 1998-04-23 Andrew Innes <andrewi@harlequin.co.uk>
3183 * ddeclient.c: New file. (Support program for performing limited
3184 interprocess communication on Windows.)
3186 * makefile.nt: Build ddeclient.
3188 * cmdproxy.c (main): Only set environment size for real shell, and
3189 provide extra directory argument, when running on Windows 95.
3191 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
3193 * cmdproxy.c (fail): Exit with a negative return value.
3194 (spawn): Return subprocess return code as an argument.
3195 Explicitly copy environment block.
3196 (main): Update to use return value argument with spawn.
3197 Retry if spawn failed when a subshell was not tried.
3199 * config.nt: Include new macros from src/config.in.
3200 (GNU_MALLOC, REL_ALLOC): Define.
3201 (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
3202 (RE_TRANSLATE): Use char_table_translate.
3204 * makefile.def (CP_DIR): Preserve attributes.
3206 * makefile.nt (clean): Delete patch generated files, optimized
3209 1997-10-01 Geoff Voelker <voelker@cs.washington.edu>
3211 * addpm.c (env_vars): Fix misplaced % in SHELL entry.
3213 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3215 * Version 20.2 released.
3217 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3219 * Version 20.1 released.
3221 1997-09-11 Geoff Voelker <voelker@cs.washington.edu>
3223 * debug.bat.in: New file.
3224 * makefile.nt (debug.bat): New target.
3226 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
3228 * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
3229 Quote group name. Allow different icons to be specified.
3231 * cmdproxy.c (get_env_size): New function.
3232 (spawn): Explicitly pass in environment when creating subprocess.
3233 (main): Cleanup error messages.
3234 Specify dynamically sized environment block for real shell.
3235 Pass on unhandled switches to real shell.
3238 * makefile.def (CFLAGS_COMMON): Place pdb file in object build
3240 (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
3242 * runemacs.c (WinMain): Allow Emacs process to be started with
3243 high or low priority.
3245 * emacs.bat.in: Remove OS dependent operations.
3247 1997-09-02 Geoff Voelker <voelker@cs.washington.edu>
3249 * addpm.c (env_vars): No longer set INFOPATH.
3251 * cmdproxy.c (get_next_token): Null terminate token returned.
3253 * emacs.bat.in (INFOPATH): No longer set INFOPATH.
3255 1997-08-10 Andrew Innes <andrewi@harlequin.co.uk>
3257 * addpm.c (env_vars): Set SHELL to cmdproxy.
3258 (main): Initialize idDde to 0.
3259 Determine emacs_path from module file name.
3262 * makefile.def (MSVCNT11): Conditionally define it.
3263 (BASE_LIBS): Do not use oldnames.lib.
3264 (SYS_LDFLAGS): Use pdb files.
3265 (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
3266 (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
3267 (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
3269 * makefile.nt (ALL): Build cmdproxy.
3270 (cmdproxy): New target.
3271 (install): Install cmdproxy.
3273 * ftime.bat, debug.bat, cmdproxy.c: New files.
3275 1997-07-10 Geoff Voelker <voelker@cs.washington.edu>
3277 * inc/sys/socket.h (shutdown): Define.
3278 (sys_shutdown): Export.
3280 1997-07-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3282 * config.nt (RE_TRANSLATE): Copy definition from config.in.
3284 1997-07-01 Geoff Voelker <voelker@cs.washington.edu>
3286 * config.nt: Update file comments.
3287 Update undefs added/removed in src/config.in.
3289 1997-06-19 Geoff Voelker <voelker@cs.washington.edu>
3291 * makefile.def, emacs.bat.in: Use windows95 and windowsnt instead
3292 of win95 and winnt, respectively.
3294 1997-01-04 Geoff Voelker <voelker@cs.washington.edu>
3296 * makefile.nt (real_install): Create site-lisp in installation dir.
3297 * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
3298 * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
3300 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3302 * Version 19.33 released.
3304 1996-08-09 Geoff Voelker <voelker@cs.washington.edu>
3306 * runemacs.c (WinMain): Put a space between the binary and its args.
3308 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3310 * Version 19.32 released.
3312 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3314 * makefile.nt (clean): Use OBJDIR macro.
3316 1996-06-03 Kim F. Storm <kfs@olicom.dk>
3318 * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3319 Not defined by default.
3320 (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3321 (WinMain): Convert backslashes to slashes in env var values.
3323 * addpm.c (env_vars): Use slashes, not backslashes.
3325 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3327 * Version 19.31 released.
3329 1996-05-13 Andrew Innes <andrewi@harlequin.co.uk>
3331 * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3332 undo settings afterwards.
3334 1996-05-08 Andrew Innes <andrewi@harlequin.co.uk>
3336 * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3337 environment variable.
3339 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
3341 * install.bat: Allow for optimized build.
3342 * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3343 (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3345 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
3347 * addpm.c (REG_ROOT): Don't use a trailing backslash.
3348 (env_vars): Rename field emacs_path to emacs_dir.
3349 (main): Add link to runemacs instead of emacs.
3351 * install.bat: Check if INSTALL_DIR is passed as an argument.
3353 * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3355 * makefile.nt: Build and install runemacs.exe.
3357 * runemacs.c: New file.
3359 * config.w95: File removed.
3361 * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3362 inc/sys/socket.h, inc/sys/time.h: New header files.
3364 * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3366 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3368 * makefile.def (DEL): Defined.
3369 (DEL_TREE) [win95]: Defined.
3370 (SYS_LDFLAGS): Set executable versions to 3.10.
3372 * makefile.nt: Change uses of del to $(DEL).
3374 1996-01-17 Erik Naggum <erik@naggum.no>
3376 * All files: Update FSF's address in comment preamble.
3378 1996-01-03 George V. Reilly <georger@microcrafts.com>
3380 * emacs.ico: Now the proverbial kitchen sink icon.
3382 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3384 * Version 19.30 released.
3386 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
3388 * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3390 * makefile.nt (install, fast_install, real_install, clean):
3391 Don't use switches to del not supported by Windows 95.
3393 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
3395 * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3396 (install, fast_install): Change same-dir test to create test file in
3397 installation tree and thereby support read-only shares.
3398 (clean): Remove .pdb files.
3400 * makefile.def (NTGUI): New macro.
3401 [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3403 * config.nt, config.w95: Update to latest src/config.in.
3405 * addpm.c (env_vars): New variable.
3406 (add_registry): New procedure.
3407 (main): Use values of configuration environment variables from
3408 the registry if defined, the process environment otherwise.
3410 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3412 * Version 19.29 released.
3414 * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3416 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
3418 * makefile.nt: Define .c to .obj suffix rule.
3419 (addpm.obj): Compile directly, use CFLAGS.
3420 (addpm.exe): Link from addpm.obj.
3422 * makefile.def (MSVCNT11): Defined.
3423 (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3424 (CFLAGS_COMMON): Defined.
3425 (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3427 1995-06-09 Geoff Voelker <voelker@cs.washington.edu>
3429 * emacs.bat.in: Renamed from emacs.bat.
3430 (emacs_dir): Rename from emacs_path.
3433 * addpm.c: New file.
3434 * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3435 (all): Depend upon $(BLD) and $(ALL).
3436 (install): Depend upon emacs.bat.
3437 Create program item for Emacs.
3438 (clean): Delete obj.
3439 (emacs.bat): Defined.
3440 * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3442 1995-05-27 Geoff Voelker <voelker@cs.washington.edu>
3444 * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3445 Add carriage returns; necessary for batch files on Windows 95.
3447 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
3449 * config.w95: Created.
3450 * config.h: Changed to config.nt.
3452 * makefile.nt (SUBDIRS): Commented out.
3453 (all, install, clean): Expand for-loops.
3454 (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3456 * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3457 (ARCH): New definition.
3458 (CPU, CONFIG_H, OS_TYPE): Defined.
3459 (INCLUDE, LIB): Checked if valid.
3460 (ntwin32.mak): Included.
3461 (AR, CC, LINK): New definition.
3462 (ADVAPI32, libc, BASE_LIBS): Defined.
3463 (SYS_LDFLAGS): New definition.
3464 Update comments and preprocessor conditionals.
3466 * emacs.bat (SHELL): Conditionally defined.
3467 (HOME): Conditionally defined.
3468 (emacs_path, HOME): Update comments.
3471 1995-05-09 Geoff Voelker <voelker@cs.washington.edu>
3473 * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc:
3474 * fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h:
3475 * inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h:
3476 * inc/sys/param.h: Removed carriage-returns.
3478 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
3480 * makefile.def (CVTRES): Defined.
3482 * emacs.ico, emacs.rc: New files by Kevin Gallo.
3484 1995-04-10 Geoff Voelker <voelker@cs.washington.edu>
3486 * src/config.h, src/paths.h: Moved to parent dir, src/ removed.
3488 1995-04-09 Geoff Voelker <voelker@cs.washington.edu>
3490 * makefile.def (INSTALL_DIR): Change to generic directory.
3492 * emacs.bat: Added arguments when emacs.exe invoked.
3494 * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3496 1994-12-13 Geoff Voelker <voelker@cs.washington.edu>
3498 * makefile.def (CC): In configuration section.
3499 (COMPAT_LIB): Defined.
3501 1994-11-01 Geoff Voelker <voelker@cs.washington.edu>
3503 * src/paths.h: New file.
3505 * src/config.h: New file.
3507 * inc/pwd.h: New file.
3509 * inc/sys/dir.h: New file.
3511 * inc/sys/file.h: New file.
3513 * inc/sys/ioctl.h: New file.
3515 * inc/sys/param.h: New file.
3521 * makefile.nt: New file.
3523 * makefile.def: New file.
3525 * install.cmd: New file.
3527 * INSTALL: New file.
3529 * fast-install.cmd: New file.
3531 * emacs.cmd: New file.
3533 * ebuild.cmd: New file.
3539 ;; add-log-time-zone-rule: t
3542 Copyright (C) 1995-1999, 2001-2015 Free Software Foundation, Inc.
3544 This file is part of GNU Emacs.
3546 GNU Emacs is free software: you can redistribute it and/or modify
3547 it under the terms of the GNU General Public License as published by
3548 the Free Software Foundation, either version 3 of the License, or
3549 (at your option) any later version.
3551 GNU Emacs is distributed in the hope that it will be useful,
3552 but WITHOUT ANY WARRANTY; without even the implied warranty of
3553 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3554 GNU General Public License for more details.
3556 You should have received a copy of the GNU General Public License
3557 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.