ChangeLog.1 105 KB
Newer Older
1 2 3
2015-03-27  Eli Zaretskii  <eliz@gnu.org>

	* inc/ms-w32.h (BROKEN_NON_BLOCKING_CONNECT): Don't define.
4
	(Bug#20159)
5

Paul Eggert's avatar
Paul Eggert committed
6
2015-03-09  Eli Zaretskii  <eliz@gnu.org>
7 8 9 10

	* INSTALL: Add some more installation instructions for mingw-get
	users.  (Bug#19989)

Paul Eggert's avatar
Paul Eggert committed
11
2015-03-03  Eli Zaretskii  <eliz@gnu.org>
12 13 14 15 16 17 18 19

	* cmdproxy.c (get_next_token): Don't make backslashes disappear
	without a trace when they are not followed by a quote.
	(search_dir): Support searching programs whose file name already
	has an arbitrary extension.  (Bug#19817)
	(main): When passing a command line to the shell, use cmd.exe
	rules for quoting command-line tail.

20 21 22 23 24
2015-02-27  Mark Laws  <mdl@60hz.org>

	Support daemon mode on MS-Windows (bug#19688)
	* inc/ms-w32.h (W32_DAEMON_EVENT): New macro.

25 26 27 28 29 30 31 32 33
2015-01-16  Eli Zaretskii  <eliz@gnu.org>

	* Makefile.in (AM_V_CC, am__v_CC_, am__v_CC_0, am__v_CC_1)
	(AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0, am__v_CCLD_1, AM_V_RC)
	(am__v_RC_, am__v_RC_0, am__v_RC_1): New macros.
	(addpm${EXEEXT}, ddeclient${EXEEXT}, cmdproxy${EXEEXT})
	(runemacs${EXEEXT}): Use $(AM_V_CCLD).
	(emacs.res, ../src/emacs.res): Use $(AM_V_RC).

34 35 36 37 38
2014-12-26  Eli Zaretskii  <eliz@gnu.org>

	* gnulib.mk (stpcpy, string): Sync with the latest change in
	lib/gnulib.mk.

39 40 41 42
2014-12-13  Eli Zaretskii  <eliz@gnu.org>

	* gnulib.mk (stddef.h): Sync with the latest change in lib/gnulib.mk.

43
2014-11-27  Oscar Fuentes  <ofv@wanadoo.es>
44 45

	* inc/ms-w32.h: Define MINGW_W64.
46
	* nt/addpm.c, nt/addsection.c, nt/preprep.c: Use it.
47

48 49 50 51
2014-11-24  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (../src/emacs.res): New target.

52 53
2014-11-22  Glenn Morris  <rgm@gnu.org>

54 55 56 57 58 59
	* emacs.rc.in, emacsclient.rc.in: Rename from emacs.rc, emacsclient.rc.
	Let configure generate the real files, and set the version numbers.
	* Makefile.in (distclean): Delete *.rc.
	(emacs.res): Update deps for nt/emacsclient.rc now being in the
	build directory, not the source directory.

60 61
	* Makefile.in (emacs.res): Add dependency on icons/hand.cur.

62 63 64 65 66 67
2014-11-18  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (addpm${EXEEXT}, ddeclient${EXEEXT})
	(cmdproxy${EXEEXT}, runemacs${EXEEXT}, emacs.res):
	Use automatic variables.

68 69 70 71 72 73
2014-10-26  Dani Moncayo <dmoncayo@gmail.com>

	* README.W32 (Preliminaries): Don't assume that this file is at
	the top level.
	(Setting up Emacs): Minor rewording to be more accurate.

74 75 76 77
2014-10-25  Eric S. Raymond  <esr@thyrsus.com>

	* Neutralize language specific to a repository type.

78 79 80 81 82 83
2014-10-22  Noam Postavsky  <npostavs@users.sourceforget.net>

	* nt/cmdproxy.c (batch_file_p): New function.
	(spawn): If calling a quoted batch file pass NULL for progname.
	(Bug#18745)

84 85
2014-10-20  Glenn Morris  <rgm@gnu.org>

86
	* Merge in all changes up to 24.4 release.
87

88 89 90 91 92 93 94 95 96 97
2014-09-29  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (VERSION): Bump version to 25.0.50.

	* emacsclient.rc: Bump version to 25.0.50.

	* emacs.rc: Bump version to 25.0.50.

	* config.nt (VERSION): Bump version to 25.0.50.

98 99 100 101
2014-09-01  Eli Zaretskii  <eliz@gnu.org>

	* gnulib.mk: Synchronize with lib/gnulib.mk.

102 103 104 105
2014-06-15  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (LDFLAGS): Explicitly set via configure.

106 107 108 109
2014-06-15  Eli Zaretskii  <eliz@gnu.org>

	* Makefile.in (CPPFLAGS): Define.

110 111 112 113
2014-06-15  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (bootstrap-clean): New.

114 115 116 117
2014-06-05  Dmitry Antipov  <dmantipov@yandex.ru>

	* inc/ms-w32.h (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.

118 119 120 121
2014-05-29  Eli Zaretskii  <eliz@gnu.org>

	* Makefile.in (DONT_INSTALL): Now empty.
	(addsection${EXEEXT}): Remove target.
Glenn Morris's avatar
Glenn Morris committed
122
	* addsection.c: Remove file.
123

124 125 126 127 128 129 130 131 132
2014-05-27  Fabrice Popineau  <fabrice.popineau@gmail.com>

	* inc/ms-w32.h: Switch to the system heap allocation scheme
	instead of GNU malloc and ralloc.

	* inc/sys/mman.h: New file.

	* INSTALL: Update for the new build requirements.

Paul Eggert's avatar
Paul Eggert committed
133 134 135 136 137
2014-05-17  Paul Eggert  <eggert@cs.ucla.edu>

	Assume C99 or later (Bug#17487).
	* gnulib.mk: Remove stdarg and stdbool modules.

138 139 140 141 142
2014-05-16  Paul Eggert  <eggert@cs.ucla.edu>

	Don't require pkg-config when building from repository.
	* INSTALL: Remove no-longer-needed notes about pkg-config.

143 144 145 146 147
2014-05-05  Eli Zaretskii  <eliz@gnu.org>

	* INSTALL: Update to the effect that pkg-config is now required
	for building from the repository.

148
2014-04-30  Eli Zaretskii  <eliz@gnu.org>
149 150 151 152

	* cmdproxy.c (make_absolute): Don't copy more characters from PATH
	than a single directory name can hold.  (Bug#17334)

153
2014-04-22  Eli Zaretskii  <eliz@gnu.org>
154 155 156 157

	* inc/ms-w32.h (lseek): Define only if not already a macro.
	Suggested by Fabrice Popineau <fabrice.popineau@gmail.com>.

158
2014-04-11  Ken Brown  <kbrown@cornell.edu>
159 160 161

	* emacs.rc: Revert last change.

Glenn Morris's avatar
Glenn Morris committed
162
2014-04-07  Ken Brown  <kbrown@cornell.edu>
163 164 165

	* emacs.rc: Don't use manifest on Cygwin.  (Bug#17176)

166 167
2014-02-17  Juanma Barranquero  <lekktu@gmail.com>

168 169
	* Makefile.in (install): Create destination directory before copying
	README.W32, and use ${datadir} to refer to the file (bug#16772).
170

171 172 173 174 175 176
2014-02-13  Juanma Barranquero  <lekktu@gmail.com>

	* Makefile.in (datarootdir, datadir, INSTALL_DATA): Declare.
	(install): Copy README.W32 to $(datadir)/emacs/$(version).
	(uninstall): Remove README.W32.  (Bug#14757)

177 178 179 180 181 182 183 184
2014-02-08  Eli Zaretskii  <eliz@gnu.org>

	* INSTALL: Update for Emacs 24.4.

	* README: Update for Emacs 24.4.

	* README.W32: Update and improve instructions.  (Bug#14762)

185 186 187 188
2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>

	* README.W32: Say what GnuTLS and libxml2 does (bug#14762).

189 190 191 192 193 194
2014-01-18  Eli Zaretskii  <eliz@gnu.org>

	* runemacs.c (ensure_unicows_dll): Don't tell in the message box
	that "emacs -nw" can do without UNICOWS.DLL on Windows 9X.  See
	w32.c:maybe_load_unicows_dll and its callers for the reason.

195 196 197 198 199
2014-01-11  Claudio Bley  <claudio.bley@googlemail.com>

	* inc/sys/stat.h (_WSTAT_DEFINED): Define, to avoid compilation
	failures when wchar.h is included.

200 201 202 203
2014-01-11  Fabrice Popineau  <fabrice.popineau@supelec.fr>

	* inc/ms-w32.h (pthread_sigmask): Undefine if defined, for MinGW64.

204 205 206 207
2013-12-31  Fabrice Popineau  <fabrice.popineau@supelec.fr>

	* inc/ms-w32.h (sys_kill): Fix prototype.

208 209 210 211
2013-12-30  Eli Zaretskii  <eliz@gnu.org>

	* inc/ms-w32.h (umask) [emacs]: Redirect to sys_umask.  (Bug#16299)

212 213 214 215 216 217
2013-12-23  Eli Zaretskii  <eliz@gnu.org>

	* README.W32:
	* INSTALL: Update instructions for downloading and using image
	libraries in general, and librsvg in particular.

218 219 220 221 222 223 224 225 226 227
2013-12-16  Eli Zaretskii  <eliz@gnu.org>

	* emacs-x64.manifest:
	* emacs-x86.manifest: Declare that we target Windows 8.1 as well
	as earlier versions.  This is so GetVersion and GetVersionEx APIs
	used for bug reporting and other purposes return accurate version
	number on Windows 8.1.  See the discussion on MSDN
	http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx
	for more details.

228 229 230 231 232 233 234
2013-12-12  Eli Zaretskii  <eliz@gnu.org>

	* inc/ms-w32.h (MAX_UTF8_PATH): New macro.
	(opendir, closedir, readdir, seekdir): Redirect to replacement
	functions.
	* inc/dirent.h: Make d_name[] be MAXNAMELEN*4 characters long.

235 236 237 238 239 240 241
2013-11-27  Glenn Morris  <rgm@gnu.org>

	* README.W32:
	* addpm.c (env_vars):
	* epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
	* paths.h (PATH_LOADSEARCH): No more leim directory.

Glenn Morris's avatar
Glenn Morris committed
242 243 244 245
2013-11-26  Glenn Morris  <rgm@gnu.org>

	* epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.

Dani Moncayo's avatar
Dani Moncayo committed
246 247 248 249 250
2013-11-12  Dani Moncayo  <dmoncayo@gmail.com>

	* msysconfig.sh: Remove.
	* INSTALL: Update for this.

251 252 253 254
2013-11-09  Glenn Morris  <rgm@gnu.org>

	* mingw-cfg.site: No need for this to be executable.

255 256
2013-10-24  Glenn Morris  <rgm@gnu.org>

257 258 259
	* Makefile.in ($(DESTDIR)${archlibdir}):
	Avoid non-portable "`\" nesting.

260 261
	* Makefile.in (abs_top_srcdir): New, set by configure.

262 263
2013-10-23  Glenn Morris  <rgm@gnu.org>

264
	* Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
265 266
	Quote entities that might contain whitespace.

267 268 269 270 271 272
2013-10-14  Eli Zaretskii  <eliz@gnu.org>

	* inc/mingw_time.h: New file.

	* inc/ms-w32.h: Include mingw_time.h instead of doing its job.

273 274 275 276 277 278 279 280 281 282 283 284
2013-10-12  Eli Zaretskii  <eliz@gnu.org>

	* inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
	the layout of 'struct dirent' be compatible with MinGW32 runtime
	versions 4.0 and later.

	* inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
	(__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
	defined, but not for MinGW64.
	(_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
	use of 32-bit time_t type.

285 286 287 288 289
2013-10-07  Paul Eggert  <eggert@cs.ucla.edu>

	Improve support for popcount and counting trailing zeros (Bug#15550).
	* gnulib.mk: Merge changes from ../lib/gnulib.mk.

290 291 292 293
2013-10-04  Paul Eggert  <eggert@cs.ucla.edu>

	* gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.

294 295 296 297 298 299
2013-09-20  Eli Zaretskii  <eliz@gnu.org>

	* mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
	to avoid gnulib replacement of 'struct timeval' and the resulting
	compilation of lib/gettimeofday.c with incompatible version of
	gettimeofday.  Related discussions on emacs-devel:
300 301
	https://lists.gnu.org/r/emacs-devel/2013-09/msg00286.html
	https://lists.gnu.org/r/emacs-devel/2013-09/msg00361.html
302

303 304 305 306 307 308
2013-08-31  Glenn Morris  <rgm@gnu.org>

	* INSTALL: Rename from INSTALL.MSYS.
	* INSTALL.OLD: Rename from INSTALL.
	* configure.bat: Update for INSTALL name changes.

309 310 311 312 313 314
2013-08-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>

	* configure.bat: Rather than disabling, make configure.bat produce
	some warning that building with configure.bat is deprecated and
	ask for confirmation to continue.

315 316
2013-08-25  Glenn Morris  <rgm@gnu.org>

317
	* INSTALL: Refer to INSTALL.MSYS.
318 319
	* configure.bat: Disable it.

320 321
2013-08-04  Eli Zaretskii  <eliz@gnu.org>

322
	* mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
323 324

	* inc/ms-w32.h (mkostemp): Declare prototype.
325
	(mktemp): Don't redirect to sys_mktemp.
326 327 328

	* config.nt (HAVE_MKOSTEMP): Define to 1.  (Bug#15015)

329 330 331 332 333
2013-07-07  Eli Zaretskii  <eliz@gnu.org>

	* inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
	(FD_CLOEXEC): New macros.

334 335 336 337 338 339 340 341 342
2013-07-07  Paul Eggert  <eggert@cs.ucla.edu>

	Make file descriptors close-on-exec when possible (Bug#14803).
	* gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
	otherwise, gnulib-tool complains given close-on-exec changes.
	* inc/ms-w32.h (pipe): Remove.
	* mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
	(gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.

343 344 345 346 347
2013-06-25  Juanma Barranquero  <lekktu@gmail.com>

	* configure.bat: Add warning to the help text about using the
	MSYS/MinGW building procedure.

348 349 350 351 352 353 354
2013-06-07  Eli Zaretskii  <eliz@gnu.org>

	* INSTALL.MSYS: mingw-get is not a GUI program (yet).
	msys-automake is not suitable for MinGW builds.  Mention the
	--enable-locallisppath switch to msysconfig.sh.  Suggested by
	Óscar Fuentes <ofv@wanadoo.es>.

355 356 357 358
2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)

	* epaths.nt (PATH_SITELOADSEARCH): Fix commentary.

359 360 361 362
2013-06-03  Eli Zaretskii  <eliz@gnu.org>

	* config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.

363 364 365 366
2013-06-03  Eli Zaretskii  <eliz@gnu.org>

	* inc/sys/time.h (struct timeval): Remove the _W64 guards.

367 368 369 370 371
2013-06-01  Eli Zaretskii  <eliz@gnu.org>

	* inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
	avoid multiple definition errors on MinGW64.

372 373 374 375
2013-05-31  Eli Zaretskii  <eliz@gnu.org>

	* inc/sys/time.h (gettimeofday): Use '__restrict' instead of
	'restrict', which is a C99 extension.  See
376
	https://lists.gnu.org/r/emacs-devel/2013-05/msg00588.html
377 378 379
	and the following discussion for the problem this caused in the
	old nt/configure.bat build.

380 381 382 383 384 385
2013-05-29  Eli Zaretskii  <eliz@gnu.org>

	* Makefile.in (emacs.res): Include srcdir when preprocessing
	resources, for out-of-tree builds.
	(mostlyclean): Remove *.res files.

386 387 388 389 390
2013-05-17  Eli Zaretskii  <eliz@gnu.org>

	* runemacs.c (WinMain): Support invocation of un-installed
	nt/runemacs.exe, by looking for src/emacs.exe.

391 392
2013-05-16  Eli Zaretskii  <eliz@gnu.org>

393 394
	* inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.  (Bug#14409)

395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437
	* msysconfig.sh: New file.

	* mingw-cfg.site: New file.

	* makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.

	* inc/unistd.h: Include pwd.h and sys/types.h.

	* inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
	(timerclear): Define.
	(gettimeofday): Adjust signature to be Posix compatible, by using
	the 'restrict' keyword.

	* inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
	(struct _stat, struct _stati64): Define.

	* inc/sys/socket.h (timeval): Define only for MSVC.
	(FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
	EMACS_CONFIG_H is defined.
	(timeval): Undefine only for MSVC.

	* inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
	(HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
	(EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
	(HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
	(fileno): Move definition after including stdio.h.
	(sigset_t): Guard typedef by _W64.

	* gnulib.mk: New file.

	* epaths.nt: New file.

	* addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
	copy of the file names there.
	<env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
	literal strings.

	* Makefile.in: New file.

	* INSTALL.MSYS: New file.

	* INSTALL: Mention INSTALL.MSYS.

438 439 440 441
2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.

442 443 444 445 446 447 448 449 450 451 452 453 454 455
2013-05-08  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
	(HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
	(HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
	(HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
	(HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
	(HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
	(HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
	(HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
	(HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
	(HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.

456 457
2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>

458
	Use Gnulib ACL implementation, for benefit of Solaris etc.  (Bug#14295)
459 460 461
	* config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
	* inc/ms-w32.h (EOPNOTSUPP): New macro.

462 463 464 465 466
2013-04-09  Ken Brown  <kbrown@cornell.edu>

	* emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
	(Bug#12993)

467 468 469 470 471 472 473 474 475
2013-04-01  Eli Zaretskii  <eliz@gnu.org>

	* README: A better documentation of ddeclient.exe.

	* README.W32: A better documentation of ddeclient.exe.

	* paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
	subdirectories.

476 477 478 479 480 481 482
2013-03-30  Eli Zaretskii  <eliz@gnu.org>

	* inc/ms-w32.h (TERM_HEADER): Remove definition.

	* config.nt (TERM_HEADER): Move the definition to "w32term.h" from
	ms-w32.h.

483 484 485 486 487 488
2013-03-29  Eli Zaretskii  <eliz@gnu.org>

	* inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.

	* config.nt (HAVE_COPYSIGN): Define.

489 490 491 492 493 494
2013-03-29  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(HAVE_XKBGETKEYBOARD): Remove.
	(HAVE_XKB): New macro.

495 496
2013-03-27  Eli Zaretskii  <eliz@gnu.org>

497 498 499 500
	* makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
	(bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
	Depend on .exe files.

501 502 503
	* inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
	avoid MinGW64 compiler warnings in editfns.c.

504 505 506 507 508 509 510
	Fix rules for parallel builds.
	* makefile.w32-in (ALL): Depend on *.exe files, not on phony names
	without the .exe suffix.
	(addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
	targets.
	(.PHONY): Remove.

511 512 513
	* addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
	headers, since that's where _W64 is declared by MinGW64.

514 515
2013-03-26  Eli Zaretskii  <eliz@gnu.org>

516
	* inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
517
	(HAVE__SETJMP) [_W64]: Undefine for MinGW64.
518

Eli Zaretskii's avatar
Eli Zaretskii committed
519 520 521 522 523 524
	* addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
	define for MinGW64.

	* preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
	for MinGW64.

525 526
	Fix more incompatibilities between MinGW.org and MinGW64 headers
	reported by Óscar Fuentes in
527 528
	https://lists.gnu.org/r/emacs-devel/2013-03/msg00733.html
	https://lists.gnu.org/r/emacs-devel/2013-03/msg00699.html
529
	and in
530
	https://lists.gnu.org/r/emacs-devel/2013-03/msg00707.html.
531 532
	* inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
	For MinGW64, include sys/types.h and time.h.
533 534 535
	(_WIN32_WINNT) [!_W64]: Don't define for MinGW64.

	* inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
536 537 538 539 540 541 542 543 544 545 546

	* inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
	_W64.
	(struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
	_TIMEZONE_DEFINED.

	* addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.

	* inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
	lstat, and fstatat.

547 548 549 550
2013-03-25  Eli Zaretskii  <eliz@gnu.org>

	Fix incompatibilities between MinGW.org and MinGW64 headers
	reported by Óscar Fuentes in
551
	https://lists.gnu.org/r/emacs-devel/2013-03/msg00611.html.
552 553 554 555 556 557 558 559 560 561
	* inc/ms-w32.h (struct timespec): Don't define if
	_TIMESPEC_DEFINED is already defined.
	(sigset_t) [!_POSIX]: Typedef for MinGW64.
	(_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
	including the first system header, to avoid redefinition if some
	system header defines a default value.

	* inc/sys/time.h (struct itimerval): Don't define if
	_TIMESPEC_DEFINED is already defined.

562 563 564 565 566 567 568
2013-03-16  Eli Zaretskii  <eliz@gnu.org>

	Fix the MSVC build.  (Bug#13939)
	* inc/stdint.h (UINTPTR_MAX): Define.

	* nmake.defs (libc): Fix syntax of !if conditional.

569 570 571 572 573 574 575
2013-03-15  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
	(HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
	(HAVE_FDATASYNC): New macros.

Paul Eggert's avatar
Paul Eggert committed
576 577 578 579 580
2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>

	File synchronization fixes (Bug#13944).
	* inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.

581 582 583 584 585
2013-03-05  Paul Eggert  <eggert@cs.ucla.edu>

	FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
	* inc/unistd.h (O_NOFOLLOW): New macro.

586 587 588 589 590 591
2013-03-04  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(DATA_START, ORDINARY_LINK): Remove.
	(HAVE_DATA_START, HAVE__PUTENV): New macros.

592 593 594 595 596 597
2013-02-25  Eli Zaretskii  <eliz@gnu.org>

	* inc/ms-w32.h (BOOT_TIME_FILE): Define.

	* config.nt (CLASH_DETECTION): Define to 1.

598 599 600 601
2013-02-16  Eli Zaretskii  <eliz@gnu.org>

	* inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
	(Bug#9066)
602
	(chown, logb): Remove, unused.
603

604 605 606 607 608 609 610 611
2013-02-13  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(GC_MARK_STACK): Remove.
	(GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
	(HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
	(HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.

612 613 614 615
2013-02-12  Eli Zaretskii  <eliz@gnu.org>

	* inc/ms-w32.h: Add prototype for memrchr.

616 617 618 619 620 621
2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>

	Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
	* inc/sys/stat.h (fstatat):
	* inc/unistd.h (readlinkat): New decls.

622 623 624 625
2013-01-28  Eli Zaretskii  <eliz@gnu.org>

	* inc/dirent.h (opendir): Update prototype.

626 627 628 629 630
2013-01-11  Eli Zaretskii  <eliz@gnu.org>

	* inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
	used in term.c.  (Bug#13387)

631 632 633 634 635
2013-01-09  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.

Eli Zaretskii's avatar
Eli Zaretskii committed
636 637 638 639 640 641
2012-12-24  Eli Zaretskii  <eliz@gnu.org>

	* inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
	in lib/filemode.c that broke the MS-Windows build.
	Suggested by Andy Moreton <andrewjmoreton@gmail.com>.

642 643 644 645 646
2012-12-17  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(BSD4_2): Remove.

647 648 649 650 651 652 653 654
2012-12-17  Eli Zaretskii  <eliz@gnu.org>

	* inc/sys/acl.h: New file.

	* inc/ms-w32.h (ENOTSUP): Define if undefined.

	* config.nt (HAVE_POSIX_ACL): Define.

655 656 657 658
2012-12-15  Eli Zaretskii  <eliz@gnu.org>

	* inc/ms-w32.h (sys_unlink): Provide prototype.

659 660 661 662
2012-12-14  Eli Zaretskii  <eliz@gnu.org>

	* inc/sys/stat.h: Declare w32_stat_get_owner_group.

663 664 665 666 667
2012-12-13  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.

668 669 670 671 672 673
2012-12-11  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
	(ULIMIT_BREAK_VALUE): Remove.

674 675 676 677 678 679
2012-12-10  Daniel Colascione  <dancol@dancol.org>

	* emacs.rc: Use forward slashes in relative paths in order to
	avoid complaints from Cygwin.  (Forward slashes work perfectly
	well in the NT build.)

680 681 682 683
2012-12-09  Eli Zaretskii  <eliz@gnu.org>

	* inc/unistd.h (unsetenv): Provide a prototype.

684 685 686
2012-12-08  Eli Zaretskii  <eliz@gnu.org>

	* inc/ms-w32.h (putenv): Redirect to sys_putenv.
687
	(sys_putenv): Add prototype.
688 689 690

	* config.nt (HAVE_UNSETENV): Define to 1.

691 692 693 694
2012-12-01  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.

695 696 697 698
2012-11-24  Ken Brown  <kbrown@cornell.edu>

	* config.nt (HAVE_MOUSE): Remove.

699 700 701 702 703 704
2012-11-23  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
	Remove.

705 706 707 708 709 710 711
2012-11-23  Eli Zaretskii  <eliz@gnu.org>

	* gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
	(Bug#12955)

	* nmake.defs (SWITCHCHAR): Define to /.

712 713 714 715 716 717 718
2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>

	Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
	* inc/dirent.h: Rename from ../src/ndir.h, with these changes:
	(struct dirent): Rename from struct direct.  All uses changed.
	* inc/sys/dir.h: Remove.

719 720 721 722 723
2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>

	Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
	* config.nt (HAVE_GETCWD): Remove.

724
2012-11-21  Eli Zaretskii  <eliz@gnu.org>
725

726
	* nmake.defs: Use !if, not !ifdef.  For the details, see
727
	https://lists.gnu.org/r/help-emacs-windows/2012-11/msg00027.html
Eli Zaretskii's avatar
Eli Zaretskii committed
728

729
	* inc/stdint.h (INTPTR_MIN)
730
	(PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
731

732 733 734 735
2012-11-18  Eli Zaretskii  <eliz@gnu.org>

	* inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.

736 737 738 739 740
2012-11-17  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(HAVE_FPATHCONF): Remove.

741 742 743 744 745 746 747 748 749 750
2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>

	Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
	* inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
	POSIX name for this flag is O_NONBLOCK.  All uses changed.
	* inc/unistd.h (O_RDWR, O_NOCTTY): New macros.  Like AT_FDCWD etc.
	these really should be moved to a replacement <fcntl.h> if and
	when that gets implemented.  In the meantime, include <fcntl.h>
	to make sure we don't override its definitions.

751 752 753 754 755 756 757 758 759 760
2012-11-17  Eli Zaretskii  <eliz@gnu.org>

	* inc/sys/wait.h: New file, with prototype of waitpid and
	definitions of macros it needs.

	* inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
	(sys_wait): Remove prototype.

	* config.nt (HAVE_SYS_WAIT_H): Define to 1.

761 762 763 764 765 766 767
2012-11-17  Dani Moncayo  <dmoncayo@gmail.com>

	* zipdist.bat (ZIP_CHECK): Remove unused label.  When invoking 7z
	to check if it's installed, redirect standard output and standard
	error to the null device.
	(ZIP_DIST): Don't build the "barebin" distribution.

768 769 770 771 772 773 774
2012-11-15  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
	(HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
	New macros.

775 776 777 778 779 780 781 782
2012-11-14  Eli Zaretskii  <eliz@gnu.org>

	* inc/unistd.h (faccessat): Add prototype.
	(AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
	2 moved from ms-w32.h.

	* inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.

783 784 785 786 787 788 789
2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>

	Use faccessat, not access, when checking file permissions (Bug#12632).
	* inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
	(access): Remove.
	(faccessat): New macro.

790 791 792 793
2012-11-05  Eli Zaretskii  <eliz@gnu.org>

	* inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.

794 795 796 797 798 799
2012-11-05  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
	(PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.

800 801 802 803 804
2012-11-04  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.

805 806 807 808
2012-11-03  Eli Zaretskii  <eliz@gnu.org>

	* config.nt (PENDING_OUTPUT_N_BYTES): Define.

809 810 811 812 813 814
2012-11-01  Eli Zaretskii  <eliz@gnu.org>

	* inc/unistd.h (setpgid, getpgrp): Provide prototypes.  (Bug#12776)

	* config.nt (GETPGRP_VOID): Define to 1.

815 816 817 818
2012-10-24  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.

819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837
2012-10-17  Eli Zaretskii  <eliz@gnu.org>

	* inc/pwd.h (getuid, geteuid): Add prototypes.

	* inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
	(signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
	(pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
	(sys_kill, getpagesize): Add prototypes for emulated functions.

	* inc/grp.h (getgid, getegid): Add prototypes.

	* gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.

	* configure.bat (chkapiN): Avoid compiler warning in junk.c when
	compiling with -std=gnu99.

	* config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
	could be used via --cflags switch to configure.bat.

838 839 840 841 842
2012-10-08  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(HAVE_NTGUI): New macro.

843 844 845 846 847
2012-10-02  Eli Zaretskii  <eliz@gnu.org>

	* preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
	compiler warnings when using the value.

848 849 850
2012-10-01  Eli Zaretskii  <eliz@gnu.org>

	* preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
Paul Eggert's avatar
Paul Eggert committed
851
	'void *', for pointer arithmetic.
852 853 854
	(OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
	macro arguments in parentheses.

855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871
2012-09-30  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).

2012-09-30  Fabrice Popineau  <fabrice.popineau@supelec.fr>

	* inc/sys/socket.h: Don't map Winsock error codes to standard ones
	that are already defined.

	* inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
	(pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
	[_MSC_VER]: Add pragmas to suppress some MSVC warnings.

	* preprep.c (pfnCheckSumMappedFile, rva_to_section)
	(offset_to_section, relocate_offset, OFFSET_TO_RVA)
	(RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
	(OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
Juanma Barranquero's avatar
Juanma Barranquero committed
872 873
	(copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
	Use DWORD_PTR instead of DWORD for compatibility with x64.
874 875 876 877

	* nmake.defs: Support AMD64.
	(EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.

Juanma Barranquero's avatar
Juanma Barranquero committed
878
	* gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
879 880 881 882 883 884 885 886 887 888 889 890 891
	New macros.

	* addsection.c (pfnCheckSumMappedFile, rva_to_section)
	(offset_to_section, relocate_offset, OFFSET_TO_RVA)
	(RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
	(OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
	(copy_executable_and_add_section, main): Use DWORD_PTR instead of
	DWORD, for compatibility with x64.

	* emacs-x64.manifest: New file.

	* emacs-x86.manifest: Renamed from emacs.manifest.

892 893 894 895 896 897 898 899 900 901 902 903
2012-09-30  Eli Zaretskii  <eliz@gnu.org>

	* inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
	(struct itimerval): Define.
	(getitimer, setitimer): Add prototypes.

	* inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
	with MinGW.
	(SA_RESTART, SIGPROF): Define.

	* config.nt (HAVE_SETITIMER): Define to 1.

904 905 906 907
2012-09-30  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.

908 909
2012-09-29  Juanma Barranquero  <lekktu@gmail.com>

910
	* config.nt: Sync with autogen/config.in.
911 912
	(HAVE_TIMER_SETTIME): New macro.

913 914 915 916
2012-09-23  Eli Zaretskii  <eliz@gnu.org>

	* inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.

917 918 919 920 921
2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify and avoid signal-handling races (Bug#12471).
	* inc/ms-w32.h (emacs_raise): New macro.

922 923 924 925 926
2012-09-18  Eli Zaretskii  <eliz@gnu.org>

	* configure.bat: Include stddef.h before gif_lib.h, to have size_t
	defined, as needed by giflib-5.0.0.  (Bug#12464)

927 928 929 930 931
2012-09-17  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(BROKEN_SA_RESTART, SYNC_INPUT): Remove.

932 933 934 935
2012-09-17  Glenn Morris  <rgm@gnu.org>

	* config.nt (COPYRIGHT): New.

936 937 938 939 940 941 942
2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>

	Port _setjmp fix to POSIXish hosts as well as Microsoft.
	* config.nt: Attempt to sync with autogen/config.in.
	(HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
	(_longjmp, _setjmp): Remove.

943 944 945 946 947 948 949
2012-09-14  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
	(BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
	(USABLE_FIONREAD, USABLE_SIGIO): New macros.

950 951 952 953 954 955
2012-09-10  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
	(HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.

956 957 958 959 960
2012-09-08  Eli Zaretskii  <eliz@gnu.org>

	* configure.bat <use_extensions>: Don't leave it set in the
	environment when the script exits.

961 962 963 964 965
2012-09-07  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(NO_ABORT, SIGNAL_H_AHB): Remove.

966 967 968 969
2012-09-07  Eli Zaretskii  <eliz@gnu.org>

	* inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.

970 971 972 973
2012-09-05  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.

974 975 976 977 978
2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify redefinition of 'abort' (Bug#12316).
	* inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.

979 980 981 982 983
2012-09-02  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(HAVE_EXECINFO_H, TERM_HEADER): New macros.

984 985
2012-09-01  Daniel Colascione  <dancol@dancol.org>

986
	* inc/ms-w32.h (TERM_HEADER): Add for refactoring.
987

988 989 990 991
2012-08-22  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.

992 993 994 995 996
2012-08-17  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(HAVE_POSIX_OPENPT): New macro.

997 998 999 1000 1001
2012-08-14  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(_GL_INLINE_HEADER_BEGIN): Update.

1002 1003 1004 1005
2012-08-10  Glenn Morris  <rgm@gnu.org>

	* config.nt (DIRECTORY_SEP): Move here from src/lisp.h.

1006 1007
2012-08-07  Juanma Barranquero  <lekktu@gmail.com>

1008
	* config.nt: Sync with autogen/config.in.
1009 1010 1011 1012 1013
	(BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
	(PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.

	* inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.

1014 1015 1016 1017 1018
2012-08-06  Glenn Morris  <rgm@gnu.org>

	* config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
	(PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.

1019 1020 1021 1022 1023 1024 1025 1026
2012-08-04  Eli Zaretskii  <eliz@gnu.org>

	* paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
	(PATH_DATA, PATH_DOC): Replace dummy directory names with
	directories relative to %emacs_dir%.
	(PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
	to the use case of running un-installed Emacs.

1027 1028 1029 1030 1031 1032 1033 1034
2012-08-03  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(DOS_NT, MSDOS): New macros.
	(WRETCODE, wait3): Remove.

	* inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.

1035 1036 1037 1038 1039 1040
2012-08-03  Eli Zaretskii  <eliz@gnu.org>

	* inc/sys/stat.h (S_IFLNK): Define.
	(S_ISLNK): A non-trivial definition.
	(lstat): Prototype instead of a macro that redirects to 'stat'.

1041 1042 1043 1044 1045 1046 1047
2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>

	Use C99-style 'extern inline' if available.
	* config.nt: Sync with autogen/config.in.
	(_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
	(_GL_INLINE_HEADER_END): New macros.

1048 1049 1050 1051 1052
2012-08-02  Glenn Morris  <rgm@gnu.org>

	* inc/ms-w32.h: Move here from ../src/s.
	* config.nt (config_opsysfile): Change to <ms-w32.h>.

1053 1054 1055 1056 1057 1058 1059
2012-08-01  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
	(INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
	New macros.

1060 1061 1062 1063 1064 1065 1066
2012-08-01  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	Remove code moved to conf_post.h and include <conf_post.h>
	(NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
	(USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.

1067 1068 1069 1070 1071
2012-07-29  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(HAVE_ENVIRON_DECL): New macro.

1072 1073 1074 1075
2012-07-29  Eli Zaretskii  <eliz@gnu.org>

	* inc/stdalign.h (_Alignas, alignas): Define.

1076 1077 1078 1079 1080
2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>

	Use Gnulib stdalign module (Bug#9772, Bug#9960).
	* config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.

1081 1082 1083 1084 1085 1086
2012-07-14  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
	(SETUP_SLAVE_PTY): New macros.

1087 1088 1089 1090 1091 1092 1093 1094
2012-07-13  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
	(BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
	(BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
	(FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
	(HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
1095
	(NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
1096 1097 1098 1099 1100 1101
	(PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
	(SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
	(UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
	(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
	Set in src/s/ms-w32.h, not here.

1102 1103 1104 1105 1106 1107 1108
2012-07-11  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.
	(CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
	(GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
	(HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.

1109 1110 1111 1112
2012-07-10  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.

1113 1114 1115 1116
2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>

	* config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.

1117 1118 1119 1120
2012-07-09  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt: Sync with autogen/config.in.

1121 1122 1123 1124
2012-07-07  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.

Juanma Barranquero's avatar
Juanma Barranquero committed
1125
2012-07-06  Juanma Barranquero  <lekktu@gmail.com>
1126 1127 1128 1129 1130
	    Eli Zaretskii  <eliz@gnu.org>

	* config.nt: Complete rework to bring it in sync with autogen/config.in.
	All Windows-specific code moved to src/s/ms-w32.h.

Juanma Barranquero's avatar
Juanma Barranquero committed
1131
2012-07-04  Juanma Barranquero  <lekktu@gmail.com>
1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143
	    Eli Zaretskii  <eliz@gnu.org>

	* configure.bat (enablechecking): Enable checks through src/config.h,
	not the compiler's command line.

	* nmake.defs (CHECKING_CFLAGS): Remove.
	(CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).

	* gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
	(CHECKING_CFLAGS): Remove.
	(CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).

1144 1145 1146 1147 1148 1149 1150
2012-07-04  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
	(GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
	(HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
	(HAVE_MEMCMP): Remove, obsolete.

1151 1152 1153 1154
2012-06-30  Glenn Morris  <rgm@gnu.org>

	* paths.h (PATH_SITELOADSEARCH): New.

1155 1156 1157 1158 1159
2012-06-28  Juanma Barranquero  <lekktu@gmail.com>

	* nmake.defs (CHECKING_CFLAGS):
	* gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.

1160 1161 1162 1163
2012-06-24  Eli Zaretskii  <eliz@gnu.org>

	* config.nt (_Noreturn): Don't reference __SUNPRO_C.

1164 1165 1166 1167 1168 1169 1170
2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>

	Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
	* config.nt (_Noreturn): New macro.
	(NO_RETURN): Remove.  All uses replaced with _Noreturn.
	(w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.

1171 1172 1173 1174 1175
2012-06-24  Eli Zaretskii  <eliz@gnu.org>

	* inc/sys/time.h (struct timespec): Don't define it here, it is
	now defined in src/s/ms-w32.h.

1176 1177 1178 1179 1180
2012-06-23  Eli Zaretskii  <eliz@gnu.org>

	Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
	* inc/sys/time.h (struct timespec): Define.

1181 1182 1183 1184 1185 1186
2012-06-16  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (install-addpm): New target.
	(dist): Depend on it.
	(install-shortcuts): Depend on install-addpm instead of copying
	addpm.exe as part of the recipe.  See
1187
	https://lists.gnu.org/r/emacs-devel/2012-06/msg00171.html
1188 1189
	for the related problem and discussions.

1190 1191 1192 1193
2012-06-11  Glenn Morris  <rgm@gnu.org>

	* config.nt (SYSTEM_TYPE): Define it.

1194 1195 1196 1197 1198 1199 1200 1201 1202 1203
2012-05-31  Eli Zaretskii  <eliz@gnu.org>

	* configure.bat (genmakefiles): Move the redirection away from the
	end of the command, to avoid excess whitespace at the end of Make
	variables created at configure time, and also avoid things like
	"FOO1>>config.settings", where "1" gets interpreted as the file
	descriptor and eaten up.  This fixes breakage introduced by the
	last change, without reintroducing the bug fixed by that change.

2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1204 1205 1206 1207 1208 1209 1210

	* nmake.defs (MWINDOWS): Define as
	"-subsystem:windows -entry:mainCRTStartup".  Suggested by Fabrice
	Popineau <fabrice.popineau@supelec.fr>.  (Bug#11405)

	* gmake.defs (MWINDOWS): Define as "-mwindows".

1211 1212 1213 1214
2012-05-28  Eli Zaretskii  <eliz@gnu.org>

	* config.nt (HAVE_SYSINFO): Remove; unused.

1215
2012-05-27  Eli Zaretskii  <eliz@gnu.org>
1216

1217 1218
	* inc/stdalign.h: New file.

1219 1220 1221 1222
	* configure.bat: Ensure a space between %var% expansion and
	redirection symbol '>', which breaks when %var% ends in a digit,
	such as 1.

Paul Eggert's avatar
Paul Eggert committed
1223 1224 1225 1226 1227 1228 1229 1230
2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>

	Remove src/m/*.
	* config.nt: Do not include "m/intel386.h"; file was removed.
	(BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
	Move to src/lisp.h.
	(EMACS_INT_MAX): New macro.

1231 1232
2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>

1233 1234 1235
	* config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
	(HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.

1236 1237
	* config.nt (HAVE_FTIME): Remove undef; not needed.

1238 1239 1240 1241
2012-05-01  Glenn Morris  <rgm@gnu.org>

	* config.nt (HAVE_LIBNCURSES): Remove undef; not needed.

1242
2012-04-14  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)
1243 1244 1245

	* makefile.w32-in: Fix typo (Bug#10261).

1246 1247 1248 1249 1250 1251
2012-04-10  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
	each runs makeinfo in its own subdirectory of 'doc'.
	(info-gmake): Depend on these new targets.

1252 1253 1254 1255 1256
2012-04-07  Glenn Morris  <rgm@gnu.org>

	* config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
	Bump version to 24.1.50.

1257 1258 1259 1260 1261 1262 1263
2012-04-07  Eli Zaretskii  <eliz@gnu.org>

	* configure.bat: Support building with libxml2.

	* INSTALL:
	* README.W32: Add information about libxml2.

1264 1265 1266
2012-04-07  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in: Convert to Unix EOL format.
1267 1268 1269 1270
	(all): Don't depend on stamp_BLD and on maybe-bootstrap.
	(all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
	(bootstrap-gmake): Invoke the "clean" and build targets in 2
	separate commands, so they run in that order even under "make -j".
1271

1272 1273 1274 1275
2012-03-29  Eli Zaretskii  <eliz@gnu.org>

	* config.nt: Discourage from defining HAVE_GETCWD.

1276 1277 1278 1279 1280 1281 1282 1283
2012-03-25  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
	$(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
	on other (parallel) Make job's toes.
	(install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
	(install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
	here.
1284 1285
	(maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
	Depend on create-tmp-dist-dir.
1286 1287 1288 1289 1290 1291 1292 1293 1294 1295

	* nmake.defs (DIRNAME): New variable.
	(IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
	same-dir.tst.

	* gmake.defs (DIRNAME): New variable.
	(IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
	same-dir.tst, to avoid conflicts between several (parallel) Make
	jobs.

1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306
2012-02-24  Eli Zaretskii  <eliz@gnu.org>

	Prevent endless re-spawning of cmdproxy.exe when some of its
	parent directories have access limitations.

	* cmdproxy.c (main): Bypass conversion of the file name in argv[0]
	and our own module name to short 8+3 aliases, if the original file
	names compare equal.  If GetShortPathName fails, compare the base
	names of the two file names, and only re-spawn the command line if
	the base-name comparison also fails.  (Bug#10674)

1307 1308 1309 1310
2012-02-23  Dani Moncayo  <dmoncayo@gmail.com>  (tiny change)

	* makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.

1311 1312 1313 1314 1315
2012-02-06  Christoph Scholtes  <cschol2112@googlemail.com>

	* README.W32: Removed specific version information for libXpm
	included in the binary distribution for maintenance purposes.

1316 1317
2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1318
	* README.W32: Clarification for inclusion in source tarball (bug#9750).
1319

1320 1321 1322 1323
	* gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.

	* nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.

1324 1325
	* makefile.w32-in (maybe-copy-distfiles)
	(maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1326
	(create-tmp-dist-dir): Add to make --distfiles optional.
Juanma Barranquero's avatar
Juanma Barranquero committed
1327
	(dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1328

1329 1330 1331 1332 1333
2012-02-04  Eli Zaretskii  <eliz@gnu.org>

	* inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
	by other headers.

1334 1335 1336 1337 1338 1339
2011-11-27  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)

	* inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
	(UINT64_MAX) [_WIN64]: Fix definition.
	(uintmax_t, intmax_t): Fix definitions.

1340 1341
	* inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
	Provide correct definitions.
1342 1343 1344 1345

	* config.nt (HAVE_DECL_STRTOLL): Define.
	(va_copy) [_WIN64]: Provide a better definition.

Juanma Barranquero's avatar
Juanma Barranquero committed
1346 1347 1348 1349
2011-11-25  Juanma Barranquero  <lekktu@gmail.com>

	* configure.bat: Fix typos.

1350 1351 1352 1353
2011-11-25  Eli Zaretskii  <eliz@gnu.org>

	* INSTALL: Elaborate on debugging fatal errors.

1354 1355 1356 1357
2011-11-15  Eli Zaretskii  <eliz@gnu.org>

	* README.W32: Update the GTK Windows download URL for libpng.

1358 1359 1360 1361
2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>

	* inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.

1362 1363
2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>

1364 1365 1366 1367 1368
	* inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
	(UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
	(INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
	(intmax_t, INT64_MAX): Add for MSVC.

Juanma Barranquero's avatar
Juanma Barranquero committed
1369
	* config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1370

1371 1372
2011-11-05  Eli Zaretskii  <eliz@gnu.org>

1373 1374
	* config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.

1375 1376 1377 1378 1379 1380 1381 1382 1383
	Support MSVC build with newer versions of Visual Studio.
	* makefile.w32-in (clean-other-dirs-nmake)
	(distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
	Update for current structure of doc/ subdirectories.

	* gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.

	* INSTALL: Update for newer versions of MSVC.

Juanma Barranquero's avatar
Juanma Barranquero committed
1384
2011-11-05  Fabrice Popineau  <fabrice.popineau@supelec.fr>  (tiny change)
1385 1386 1387 1388 1389 1390

	Support MSVC build with newer versions of Visual Studio.
	* nmake.defs (USE_CRT_DLL): Define to 1.
	(libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
	(D): New variable.

1391 1392 1393 1394 1395 1396 1397 1398
2011-11-04  Eli Zaretskii  <eliz@gnu.org>

	* runemacs.c (ensure_unicows_dll): New function, tries to load
	UNICOWS.DLL on Windows 9X.
	(WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
	display a dialog to the effect that Emacs cannot be started.
	(Bug#8562)

1399 1400 1401 1402 1403
2011-10-28  Eli Zaretskii  <eliz@gnu.org>

	* README.W32: Mention UNICOWS.DLL as prerequisite for running
	Emacs on Windows 9X.

1404 1405 1406 1407 1408
2011-10-25  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (dist): Don't put the top-level INSTALL into the
	distribution.  (Bug#9861)

1409 1410 1411 1412
2011-10-25  Christoph Scholtes  <cschol2112@googlemail.com>

	* INSTALL: Update URL for GTK download page.

1413 1414 1415 1416 1417
2011-10-19  Eli Zaretskii  <eliz@gnu.org>

	* config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
	(Bug#9794) (Bug#641)

1418
2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1419 1420 1421

	* config.nt (HAVE_SNPRINTF): New macro.

1422
2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1423 1424 1425 1426 1427 1428

	Assume freestanding C89 headers, string.h, stdlib.h.
	* config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
	(STDC_HEADERS): Remove.
	Iinclude string.h, stdlib.h unconditionally.

1429 1430 1431
2011-06-07  Eli Zaretskii  <eliz@gnu.org>

	* inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1432
	[!__GNUC__]: New macros.
1433

Paul Eggert's avatar
Paul Eggert committed
1434 1435 1436 1437 1438
2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>

	Use 'inline', not 'INLINE'.
	* config.nt (INLINE): Remove.

1439 1440 1441 1442
2011-05-17  Eli Zaretskii  <eliz@gnu.org>

	* README.W32: Add information about GnuTLS libraries.

1443 1444 1445 1446
2011-05-09  Eli Zaretskii  <eliz@gnu.org>

	* config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.

1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461
2011-05-07  Ben Key  <bkey76@gmail.com>

	* configure.bat: Renamed the fusercflags variable to escusercflags
	so that the variable name better matches its purpose, to be
	identical to usercflags with the exception that all quotes are
	escaped by the \ character.

	Renamed the fuserldflags variable to escuserldflags so that the
	variable name better matches its purpose, to be identical to
	userldflags with the exception that all quotes are escaped by
	the \ character.

	A new ESC_USER_CFLAGS variable is written to config.settings.
	This variable has the same value as the escusercflags variable.

1462 1463
	* gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
	This variable is identical to the CFLAGS variable except that it
1464 1465 1466 1467 1468 1469 1470
	includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.

	These changes, along with some changes to src/makefile.w32-in,
	are required to extend my earlier fix to add support for
	--cflags and --ldflags options that include quotes so that it
	works whether make uses cmd or sh as the shell.

1471 1472 1473 1474 1475 1476 1477
2011-05-06  Eli Zaretskii  <eliz@gnu.org>

	* inc/inttypes.h [!__MINGW32__]: Include stdint.h.  Move the
	definition of uintmax_t from here...
	* inc/stdint.h (uintmax_t): ...to here.
	(intptr_t) [!__GNUC__]: New typedef.

1478
2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
1479

1480 1481 1482
	* config.nt: Prepare to configure 64-bit integers for older compilers.
	However, temporarily disable this change unless the temporary
	symbol WIDE_EMACS_INT is defined.
Paul Eggert's avatar
Paul Eggert committed
1483 1484 1485
	(EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
	"%I64d" work but long long and "%lld" do not.

1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496
2011-05-05  Ben Key  <bkey76@gmail.com>

	* configure.bat: Added support for --cflags and --ldflags
	options that include quotes as long as command extensions are
	enabled.  Specifically when -I, -L, and similar flags are used
	to specify supplementary include and library directories a
	directory name that includes spaces may now be used if it is
	enclosed in quotes.

	* INSTALL: Documented the change to configure.bat.

1497 1498 1499 1500
2011-05-04  Juanma Barranquero  <lekktu@gmail.com>

	* INSTALL: Clarify GnuTLS support.

1501 1502 1503 1504
2011-04-30  Eli Zaretskii  <eliz@gnu.org>

	* config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
	Define to 1 for MinGW of MSVC versions >= 1400.
1505

1506 1507
2011-04-28  Eli Zaretskii  <eliz@gnu.org>

1508
	* gmake.defs (ARCH): Fix error message in case of unknown architecture.
1509

1510 1511 1512 1513 1514 1515 1516
2011-04-27  Eli Zaretskii  <eliz@gnu.org>

	* inc/inttypes.h: New file.

	* config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
	(HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.

1517 1518 1519 1520 1521
2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>

	* cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
	inside quotation marks and bail out.

Juanma Barranquero's avatar
Juanma Barranquero committed
1522
2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1523 1524 1525 1526

	* cmdproxy.c (try_dequote_cmdline): New function.
	(main): Use it.

Ted Zlatanov's avatar
Ted Zlatanov committed
1527 1528 1529 1530 1531 1532 1533 1534
2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>

	* configure.bat: New options --without-gnutls and --lib, new build
	variable USER_LIBS, automatically detect GnuTLS.  Copies the PNG
	library setup with trivial modifications.
	* INSTALL: Add instructions for GnuTLS support.
	* gmake.defs: Prefix USER_LIBS with -l.

1535 1536 1537 1538
2011-04-15  Ben Key  <bkey76@gmail.com>

	* configure.bat: Modified the code that parses the --cflags and
	--ldflags options to support parameters that include the =
1539 1540
	character as long as they are enclosed in quotes.
	This functionality depends on command extensions.  Configure.bat now
1541 1542 1543 1544 1545 1546 1547 1548
	attempts to enable command extensions and displays a warning
	message if they could not be enabled.  If configure.bat could
	not enable command extensions the old parsing code is used that
	does not support parameters that include the = character.

	* INSTALL: Updated the file to describe the new functionality
	using text provided by Eli Zaretskii.

1549 1550 1551 1552 1553 1554
2011-04-06  Eli Zaretskii  <eliz@gnu.org>

	* config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
	(ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
	on the trunk on 2011-04-06.

1555 1556 1557 1558
2011-03-27  Glenn Morris  <rgm@gnu.org>

	* config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).

1559 1560 1561 1562 1563 1564
2011-03-25  Juanma Barranquero  <lekktu@gmail.com>

	* addpm.c (main): Remove unused variable `retval'.

	* preprep.c (main): Remove unused variable `ptr'.

1565 1566 1567 1568 1569
2011-03-23  Juanma Barranquero  <lekktu@gmail.com>

	* cmdproxy.c: Include <ctype.h>.
	(make_absolute): Remove unused variable `i'.

1570 1571 1572 1573
2011-03-07  Chong Yidong  <cyd@stupidchicken.com>

	* Version 23.3 released.

1574 1575 1576 1577
2011-02-27  Eli Zaretskii  <eliz@gnu.org>

	* inc/unistd.h (readlink, symlink): Declare prototypes.

Eli Zaretskii's avatar
Eli Zaretskii committed
1578 1579 1580 1581
2011-02-26  Eli Zaretskii  <eliz@gnu.org>

	* config.nt (nlink_t): Define.

1582 1583 1584 1585 1586
2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>

	* inc/stdint.h: New file, to support compilation with tool chains
	that do not have stdint.h (e.g. MSVC).

1587 1588 1589 1590 1591 1592 1593 1594
2011-02-21  Eli Zaretskii  <eliz@gnu.org>

	* inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
	(S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
	(S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
	(S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
	(lstat): Define to stat.

1595 1596 1597 1598 1599 1600 1601
2011-02-09  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
	"make-docfile" target in lib-src, before bootstrapping the src
	directory.  Needed since building in src needs to run make-docfile
	to produce globals.h.

1602 1603 1604 1605
2011-02-04  Eli Zaretskii  <eliz@gnu.org>

	* config.nt (inline) [__GNUC__]: Define (for gnulib).

1606 1607
2011-01-31  Eli Zaretskii  <eliz@gnu.org>

1608 1609 1610
	* config.nt (VERSION): Uncomment definition.
	(restrict): Define.

1611 1612
	* inc/stdbool.h: New file.

1613 1614 1615 1616 1617 1618 1619 1620 1621
2011-01-29  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
	(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
	(bootstrap-clean-gmake, clean-other-dirs-nmake)
	(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
	(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
	(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
	(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1622
	(bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1623 1624 1625 1626 1627 1628 1629 1630

	* configure.bat: Create lib/makefile.

	* config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
	(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
	(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
	(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.

1631 1632 1633 1634
2011-01-07  Eli Zaretskii  <eliz@gnu.org>

	* config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.

1635
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1636

1637 1638 1639
	* configure.bat (end): Unset environment variables used by this
	batch file.

1640 1641 1642
	* INSTALL: Update the information about PNG support libraries.
	(Bug#7716)

1643 1644
	* README.W32: Update the information about PNG support libraries.

1645 1646 1647 1648
2010-11-23  Eli Zaretskii  <eliz@gnu.org>

	* config.nt (EXTERNALLY_VISIBLE): Define.

1649 1650 1651 1652
2010-10-13  Juanma Barranquero  <lekktu@gmail.com>

	* INSTALL: Refer to `dynamic-library-alist'.

1653 1654 1655 1656
2010-10-06  Juanma Barranquero  <lekktu@gmail.com>

	* INSTALL: Add note about problematic characters passed to configure.

Eli Zaretskii's avatar
Eli Zaretskii committed
1657 1658
2010-10-01  Eli Zaretskii  <eliz@gnu.org>

1659
	* makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1660
	emacs-src.tags: New file.
1661

Eli Zaretskii's avatar
Eli Zaretskii committed
1662 1663 1664
	* gmake.defs: Add a comment with a single quote to fix
	fontification.  (Bug#7102)

1665 1666 1667 1668 1669
2010-09-29  Eli Zaretskii  <eliz@gnu.org>

	* configure.bat: Fix the condition for copying paths.h into
	../src/epaths.h.

1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685
2010-09-28  Juanma Barranquero  <lekktu@gmail.com>

	* addpm.c (entry, add_registry, main):
	* addsection.c (file_data, open_input_file, open_output_file)
	(find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
	(COPY_CHUNK):
	* cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
	(skip_nonspace, get_next_token, search_dir, make_absolute)
	(spawn, main):
	* preprep.c (file_data, open_input_file, open_output_file)
	(open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
	Use const char*.

	* cmdproxy.c (stdin): Don't define, not used.
	(main): Don't assign remlen after last use.

1686 1687 1688 1689 1690
2010-09-22  Juanma Barranquero  <lekktu@gmail.com>

	* configure.bat: Err out when the argument of --cflags contains
	invalid characters (check implemented only for GCC).  (Bug#6820)

1691 1692 1693 1694
2010-08-19  Juanma Barranquero  <lekktu@gmail.com>

	* addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.

1695 1696 1697 1698
2010-08-12  Jason Rumney  <jasonr@gnu.org>

	* addpm.c (add_registry): Set path for runemacs.exe to use.

1699
2010-08-08  Óscar Fuentes  <ofv@wanadoo.es>
1700 1701 1702 1703

	* cmdproxy.c (main): Use _snprintf instead of wsprintf,
	which has a 1024 char limit on Windows (bug#6647).

1704 1705 1706 1707 1708
2010-08-02  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
	Suggested by Dan Nicolaescu <dann@ics.uci.edu>.

1709 1710 1711 1712
2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>

	* config.nt: Remove code referring to NO_REMAP, unused.

1713 1714 1715
2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>

	Build binary distros on Windows using emacs-VERSION as root dir name.
1716

1717
	* makefile.w32-in: Copy README.W32 to installation directory
1718 1719 1720
	during `make install'.  Remove README.W32 with `distclean' (in
	case Emacs was installed in place).  Use temporary directory to
	create distribution zip files in `dist' target.
1721 1722
	* zipdist.bat: Simplify code using temporary directory.

1723 1724 1725 1726
2010-07-25  Juanma Barranquero  <lekktu@gmail.com>

	* runemacs.c (set_user_model_id): Fix prototype.

1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739
2010-07-24  Christoph Scholtes  <cschol2112@gmail.com>

	New make target for Windows platform: make dist (bug#6602)

	* INSTALL: Document new dist target and add section about
	creating binary distributions.
	* README.W32: Relocate from admin/nt/ directory.
	* configure.bat: New parameter `--distfiles'.
	* makefile.w32-in: Add version number, new target `dist'.
	Add new target `install-shortcuts'.
	* zipdist.bat: New file; create zipped binary distribution,
	replaces admin/nt/makedist.bat.

1740 1741 1742 1743 1744
2010-07-21  Juanma Barranquero  <lekktu@gmail.com>

	* INSTALL: Add note about backslashes in Windows paths.
	Fix typos.  Simplify references to Windows versions.

1745 1746 1747 1748 1749 1750 1751 1752
2010-07-20  Juanma Barranquero  <lekktu@gmail.com>

	* addpm.c (add_registry, main):
	* cmdproxy.c (get_env_size):
	* ddeclient.c (main):
	* runemacs.c (set_user_model_id):
	Convert definitions to standard C.

1753 1754 1755 1756
2010-07-20  Juanma Barranquero  <lekktu@gmail.com>

	* gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.

1757 1758 1759 1760 1761 1762
2010-07-18  Juanma Barranquero  <lekktu@gmail.com>

	* configure.bat: New option --enable-checking.
	* gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
	(CFLAGS): Include it.

1763 1764 1765 1766
2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>

	* config.nt (volatile): Remove definition.

1767 1768 1769 1770 1771
2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>

	* config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
	(HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.

1772 1773 1774 1775
2010-07-02  Juanma Barranquero  <lekktu@gmail.com>

	* config.nt (__P): Remove.

1776 1777 1778 1779
2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>

	* config.nt: Remove code depending on BSTRING.

1780 1781 1782 1783
2010-06-03  Glenn Morris  <rgm@gnu.org>

	* config.nt: Remove NOT_C_CODE tests, it is always true now.

1784 1785 1786 1787
2010-05-13  Glenn Morris  <rgm@gnu.org>

	* config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.

Chong Yidong's avatar
Chong Yidong committed
1788 1789 1790 1791
2010-05-07  Chong Yidong  <cyd@stupidchicken.com>

	* Version 23.2 released.