Attempt at a fix for mingw CPPFLAGS
[bpt/emacs.git] / nt / ChangeLog
1 2013-10-24 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (abs_top_srcdir): New, set by configure.
4
5 2013-10-23 Glenn Morris <rgm@gnu.org>
6
7 * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
8 Quote entities that might contain whitespace.
9
10 2013-10-14 Eli Zaretskii <eliz@gnu.org>
11
12 * inc/mingw_time.h: New file.
13
14 * inc/ms-w32.h: Include mingw_time.h instead of doing its job.
15
16 2013-10-12 Eli Zaretskii <eliz@gnu.org>
17
18 * inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
19 the layout of 'struct dirent' be compatible with MinGW32 runtime
20 versions 4.0 and later.
21
22 * inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
23 (__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
24 defined, but not for MinGW64.
25 (_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
26 use of 32-bit time_t type.
27
28 2013-10-07 Paul Eggert <eggert@cs.ucla.edu>
29
30 Improve support for popcount and counting trailing zeros (Bug#15550).
31 * gnulib.mk: Merge changes from ../lib/gnulib.mk.
32
33 2013-10-04 Paul Eggert <eggert@cs.ucla.edu>
34
35 * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
36
37 2013-09-20 Eli Zaretskii <eliz@gnu.org>
38
39 * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
40 to avoid gnulib replacement of 'struct timeval' and the resulting
41 compilation of lib/gettimeofday.c with incompatible version of
42 gettimeofday. Related discussions on emacs-devel:
43 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
44 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html
45
46 2013-08-31 Glenn Morris <rgm@gnu.org>
47
48 * INSTALL: Rename from INSTALL.MSYS.
49 * INSTALL.OLD: Rename from INSTALL.
50 * configure.bat: Update for INSTALL name changes.
51
52 2013-08-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
53
54 * configure.bat: Rather than disabling, make configure.bat produce
55 some warning that building with configure.bat is deprecated and
56 ask for confirmation to continue.
57
58 2013-08-25 Glenn Morris <rgm@gnu.org>
59
60 * INSTALL: Refer to INSTALL.MSYS.
61 * configure.bat: Disable it.
62
63 2013-08-04 Eli Zaretskii <eliz@gnu.org>
64
65 * mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes".
66
67 * inc/ms-w32.h (mkostemp): Declare prototype.
68 (mktemp): Don't redirect to sys_mktemp.
69
70 * config.nt (HAVE_MKOSTEMP): Define to 1. (Bug#15015)
71
72 2013-07-07 Eli Zaretskii <eliz@gnu.org>
73
74 * inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC)
75 (FD_CLOEXEC): New macros.
76
77 2013-07-07 Paul Eggert <eggert@cs.ucla.edu>
78
79 Make file descriptors close-on-exec when possible (Bug#14803).
80 * gnulib.mk: Remove empty gl_GNULIB_ENABLED_verify section;
81 otherwise, gnulib-tool complains given close-on-exec changes.
82 * inc/ms-w32.h (pipe): Remove.
83 * mingw-cfg.site (ac_cv_func_fcntl, gl_cv_func_fcntl_f_dupfd_cloexec)
84 (gl_cv_func_fcntl_f_dupfd_works, ac_cv_func_pipe2): New vars.
85
86 2013-06-25 Juanma Barranquero <lekktu@gmail.com>
87
88 * configure.bat: Add warning to the help text about using the
89 MSYS/MinGW building procedure.
90
91 2013-06-07 Eli Zaretskii <eliz@gnu.org>
92
93 * INSTALL.MSYS: mingw-get is not a GUI program (yet).
94 msys-automake is not suitable for MinGW builds. Mention the
95 --enable-locallisppath switch to msysconfig.sh. Suggested by
96 Óscar Fuentes <ofv@wanadoo.es>.
97
98 2013-06-07 Richard Copley <rcopley@gmail.com> (tiny change)
99
100 * epaths.nt (PATH_SITELOADSEARCH): Fix commentary.
101
102 2013-06-03 Eli Zaretskii <eliz@gnu.org>
103
104 * config.nt: Add HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY.
105
106 2013-06-03 Eli Zaretskii <eliz@gnu.org>
107
108 * inc/sys/time.h (struct timeval): Remove the _W64 guards.
109
110 2013-06-01 Eli Zaretskii <eliz@gnu.org>
111
112 * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
113 avoid multiple definition errors on MinGW64.
114
115 2013-05-31 Eli Zaretskii <eliz@gnu.org>
116
117 * inc/sys/time.h (gettimeofday): Use '__restrict' instead of
118 'restrict', which is a C99 extension. See
119 http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00588.html
120 and the following discussion for the problem this caused in the
121 old nt/configure.bat build.
122
123 2013-05-29 Eli Zaretskii <eliz@gnu.org>
124
125 * Makefile.in (emacs.res): Include srcdir when preprocessing
126 resources, for out-of-tree builds.
127 (mostlyclean): Remove *.res files.
128
129 2013-05-17 Eli Zaretskii <eliz@gnu.org>
130
131 * runemacs.c (WinMain): Support invocation of un-installed
132 nt/runemacs.exe, by looking for src/emacs.exe.
133
134 2013-05-16 Eli Zaretskii <eliz@gnu.org>
135
136 * inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define. (Bug#14409)
137
138 * msysconfig.sh: New file.
139
140 * mingw-cfg.site: New file.
141
142 * makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
143
144 * inc/unistd.h: Include pwd.h and sys/types.h.
145
146 * inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
147 (timerclear): Define.
148 (gettimeofday): Adjust signature to be Posix compatible, by using
149 the 'restrict' keyword.
150
151 * inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
152 (struct _stat, struct _stati64): Define.
153
154 * inc/sys/socket.h (timeval): Define only for MSVC.
155 (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
156 EMACS_CONFIG_H is defined.
157 (timeval): Undefine only for MSVC.
158
159 * inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
160 (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
161 (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
162 (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
163 (fileno): Move definition after including stdio.h.
164 (sigset_t): Guard typedef by _W64.
165
166 * gnulib.mk: New file.
167
168 * epaths.nt: New file.
169
170 * addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
171 copy of the file names there.
172 <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
173 literal strings.
174
175 * Makefile.in: New file.
176
177 * INSTALL.MSYS: New file.
178
179 * INSTALL: Mention INSTALL.MSYS.
180
181 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
184
185 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
186
187 * config.nt: Sync with autogen/config.in.
188 (HAVE_ACLSORT, HAVE_ACLV_H, HAVE_ACLX_GET, HAVE_ACL_COPY_EXT_NATIVE)
189 (HAVE_ACL_CREATE_ENTRY_NP, HAVE_ACL_DELETE_DEF_FILE)
190 (HAVE_ACL_DELETE_FD_NP, HAVE_ACL_DELETE_FILE_NP, HAVE_ACL_ENTRIES)
191 (HAVE_ACL_EXTENDED_FILE, HAVE_ACL_FIRST_ENTRY, HAVE_ACL_FREE)
192 (HAVE_ACL_FREE_TEXT, HAVE_ACL_FROM_MODE, HAVE_ACL_FROM_TEXT)
193 (HAVE_ACL_GET_FD, HAVE_ACL_GET_FILE, HAVE_ACL_LIBACL_H, HAVE_ACL_SET_FD)
194 (HAVE_ACL_TO_SHORT_TEXT, HAVE_ACL_TRIVIAL, HAVE_ACL_TYPE_EXTENDED)
195 (HAVE_FACL, HAVE_GETACL, HAVE_STATACL, HAVE_SYS_ACL_H, HAVE_XINERAMA)
196 (HAVE_XRANDR, HAVE_XRRGETOUTPUTPRIMARY)
197 (HAVE_XRRGETSCREENRESOURCESCURRENT, USE_ACL): New macros.
198
199 2013-05-07 Paul Eggert <eggert@cs.ucla.edu>
200
201 Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295)
202 * config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
203 * inc/ms-w32.h (EOPNOTSUPP): New macro.
204
205 2013-04-09 Ken Brown <kbrown@cornell.edu>
206
207 * emacs.rc: Use 64-bit manifest for 64-bit Cygwin build.
208 (Bug#12993)
209
210 2013-04-01 Eli Zaretskii <eliz@gnu.org>
211
212 * README: A better documentation of ddeclient.exe.
213
214 * README.W32: A better documentation of ddeclient.exe.
215
216 * paths.h (PATH_EXEC): Add nt/oo-spd/i386 and nt/oo/i386
217 subdirectories.
218
219 2013-03-30 Eli Zaretskii <eliz@gnu.org>
220
221 * inc/ms-w32.h (TERM_HEADER): Remove definition.
222
223 * config.nt (TERM_HEADER): Move the definition to "w32term.h" from
224 ms-w32.h.
225
226 2013-03-29 Eli Zaretskii <eliz@gnu.org>
227
228 * inc/ms-w32.h (copysign) [_MSC_VER]: Redirect to _copysign.
229
230 * config.nt (HAVE_COPYSIGN): Define.
231
232 2013-03-29 Juanma Barranquero <lekktu@gmail.com>
233
234 * config.nt: Sync with autogen/config.in.
235 (HAVE_XKBGETKEYBOARD): Remove.
236 (HAVE_XKB): New macro.
237
238 2013-03-27 Eli Zaretskii <eliz@gnu.org>
239
240 * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
241 (bootstrap, bootstrap-nmake, bootstrap-gmake, install-addpm):
242 Depend on .exe files.
243
244 * inc/ms-w32.h (sys_localtime) [_W64]: Provide a prototype, to
245 avoid MinGW64 compiler warnings in editfns.c.
246
247 Fix rules for parallel builds.
248 * makefile.w32-in (ALL): Depend on *.exe files, not on phony names
249 without the .exe suffix.
250 (addpm, ddeclient, cmdproxy, addsection, preprep): Remove phony
251 targets.
252 (.PHONY): Remove.
253
254 * addpm.c (_WIN32_IE) [_W64]: Move after inclusion of standard
255 headers, since that's where _W64 is declared by MinGW64.
256
257 2013-03-26 Eli Zaretskii <eliz@gnu.org>
258
259 * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS): Don't define.
260 (HAVE__SETJMP) [_W64]: Undefine for MinGW64.
261
262 * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
263 define for MinGW64.
264
265 * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
266 for MinGW64.
267
268 Fix more incompatibilities between MinGW.org and MinGW64 headers
269 reported by Óscar Fuentes in
270 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
271 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
272 and in
273 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
274 * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
275 For MinGW64, include sys/types.h and time.h.
276 (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
277
278 * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
279
280 * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
281 _W64.
282 (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
283 _TIMEZONE_DEFINED.
284
285 * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
286
287 * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
288 lstat, and fstatat.
289
290 2013-03-25 Eli Zaretskii <eliz@gnu.org>
291
292 Fix incompatibilities between MinGW.org and MinGW64 headers
293 reported by Óscar Fuentes in
294 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
295 * inc/ms-w32.h (struct timespec): Don't define if
296 _TIMESPEC_DEFINED is already defined.
297 (sigset_t) [!_POSIX]: Typedef for MinGW64.
298 (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
299 including the first system header, to avoid redefinition if some
300 system header defines a default value.
301
302 * inc/sys/time.h (struct itimerval): Don't define if
303 _TIMESPEC_DEFINED is already defined.
304
305 2013-03-16 Eli Zaretskii <eliz@gnu.org>
306
307 Fix the MSVC build. (Bug#13939)
308 * inc/stdint.h (UINTPTR_MAX): Define.
309
310 * nmake.defs (libc): Fix syntax of !if conditional.
311
312 2013-03-15 Juanma Barranquero <lekktu@gmail.com>
313
314 * config.nt: Sync with autogen/config.in.
315 (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
316 (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
317 (HAVE_FDATASYNC): New macros.
318
319 2013-03-13 Paul Eggert <eggert@cs.ucla.edu>
320
321 File synchronization fixes (Bug#13944).
322 * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
323
324 2013-03-05 Paul Eggert <eggert@cs.ucla.edu>
325
326 FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
327 * inc/unistd.h (O_NOFOLLOW): New macro.
328
329 2013-03-04 Juanma Barranquero <lekktu@gmail.com>
330
331 * config.nt: Sync with autogen/config.in.
332 (DATA_START, ORDINARY_LINK): Remove.
333 (HAVE_DATA_START, HAVE__PUTENV): New macros.
334
335 2013-02-25 Eli Zaretskii <eliz@gnu.org>
336
337 * inc/ms-w32.h (BOOT_TIME_FILE): Define.
338
339 * config.nt (CLASH_DETECTION): Define to 1.
340
341 2013-02-16 Eli Zaretskii <eliz@gnu.org>
342
343 * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
344 (Bug#9066)
345 (chown, logb): Remove, unused.
346
347 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
348
349 * config.nt: Sync with autogen/config.in.
350 (GC_MARK_STACK): Remove.
351 (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
352 (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
353 (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
354
355 2013-02-12 Eli Zaretskii <eliz@gnu.org>
356
357 * inc/ms-w32.h: Add prototype for memrchr.
358
359 2013-02-01 Paul Eggert <eggert@cs.ucla.edu>
360
361 Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
362 * inc/sys/stat.h (fstatat):
363 * inc/unistd.h (readlinkat): New decls.
364
365 2013-01-28 Eli Zaretskii <eliz@gnu.org>
366
367 * inc/dirent.h (opendir): Update prototype.
368
369 2013-01-11 Eli Zaretskii <eliz@gnu.org>
370
371 * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
372 used in term.c. (Bug#13387)
373
374 2013-01-09 Juanma Barranquero <lekktu@gmail.com>
375
376 * config.nt: Sync with autogen/config.in.
377 (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
378
379 2012-12-24 Eli Zaretskii <eliz@gnu.org>
380
381 * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
382 in lib/filemode.c that broke the MS-Windows build.
383 Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
384
385 2012-12-17 Juanma Barranquero <lekktu@gmail.com>
386
387 * config.nt: Sync with autogen/config.in.
388 (BSD4_2): Remove.
389
390 2012-12-17 Eli Zaretskii <eliz@gnu.org>
391
392 * inc/sys/acl.h: New file.
393
394 * inc/ms-w32.h (ENOTSUP): Define if undefined.
395
396 * config.nt (HAVE_POSIX_ACL): Define.
397
398 2012-12-15 Eli Zaretskii <eliz@gnu.org>
399
400 * inc/ms-w32.h (sys_unlink): Provide prototype.
401
402 2012-12-14 Eli Zaretskii <eliz@gnu.org>
403
404 * inc/sys/stat.h: Declare w32_stat_get_owner_group.
405
406 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
407
408 * config.nt: Sync with autogen/config.in.
409 (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
410
411 2012-12-11 Juanma Barranquero <lekktu@gmail.com>
412
413 * config.nt: Sync with autogen/config.in.
414 (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
415 (ULIMIT_BREAK_VALUE): Remove.
416
417 2012-12-10 Daniel Colascione <dancol@dancol.org>
418
419 * emacs.rc: Use forward slashes in relative paths in order to
420 avoid complaints from Cygwin. (Forward slashes work perfectly
421 well in the NT build.)
422
423 2012-12-09 Eli Zaretskii <eliz@gnu.org>
424
425 * inc/unistd.h (unsetenv): Provide a prototype.
426
427 2012-12-08 Eli Zaretskii <eliz@gnu.org>
428
429 * inc/ms-w32.h (putenv): Redirect to sys_putenv.
430 (sys_putenv): Add prototype.
431
432 * config.nt (HAVE_UNSETENV): Define to 1.
433
434 2012-12-01 Juanma Barranquero <lekktu@gmail.com>
435
436 * config.nt: Sync with autogen/config.in.
437
438 2012-11-24 Ken Brown <kbrown@cornell.edu>
439
440 * config.nt (HAVE_MOUSE): Remove.
441
442 2012-11-23 Juanma Barranquero <lekktu@gmail.com>
443
444 * config.nt: Sync with autogen/config.in.
445 (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
446 Remove.
447
448 2012-11-23 Eli Zaretskii <eliz@gnu.org>
449
450 * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
451 (Bug#12955)
452
453 * nmake.defs (SWITCHCHAR): Define to /.
454
455 2012-11-23 Paul Eggert <eggert@cs.ucla.edu>
456
457 Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
458 * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
459 (struct dirent): Rename from struct direct. All uses changed.
460 * inc/sys/dir.h: Remove.
461
462 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
463
464 Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
465 * config.nt (HAVE_GETCWD): Remove.
466
467 2012-11-21 Eli Zaretskii <eliz@gnu.org>
468
469 * nmake.defs: Use !if, not !ifdef. For the details, see
470 http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
471
472 * inc/stdint.h (INTPTR_MIN):
473 (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
474
475 2012-11-18 Eli Zaretskii <eliz@gnu.org>
476
477 * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
478
479 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
480
481 * config.nt: Sync with autogen/config.in.
482 (HAVE_FPATHCONF): Remove.
483
484 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
485
486 Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
487 * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
488 POSIX name for this flag is O_NONBLOCK. All uses changed.
489 * inc/unistd.h (O_RDWR, O_NOCTTY): New macros. Like AT_FDCWD etc.
490 these really should be moved to a replacement <fcntl.h> if and
491 when that gets implemented. In the meantime, include <fcntl.h>
492 to make sure we don't override its definitions.
493
494 2012-11-17 Eli Zaretskii <eliz@gnu.org>
495
496 * inc/sys/wait.h: New file, with prototype of waitpid and
497 definitions of macros it needs.
498
499 * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
500 (sys_wait): Remove prototype.
501
502 * config.nt (HAVE_SYS_WAIT_H): Define to 1.
503
504 2012-11-17 Dani Moncayo <dmoncayo@gmail.com>
505
506 * zipdist.bat (ZIP_CHECK): Remove unused label. When invoking 7z
507 to check if it's installed, redirect standard output and standard
508 error to the null device.
509 (ZIP_DIST): Don't build the "barebin" distribution.
510
511 2012-11-15 Juanma Barranquero <lekktu@gmail.com>
512
513 * config.nt: Sync with autogen/config.in.
514 (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
515 (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
516 New macros.
517
518 2012-11-14 Eli Zaretskii <eliz@gnu.org>
519
520 * inc/unistd.h (faccessat): Add prototype.
521 (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
522 2 moved from ms-w32.h.
523
524 * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
525
526 2012-11-14 Paul Eggert <eggert@cs.ucla.edu>
527
528 Use faccessat, not access, when checking file permissions (Bug#12632).
529 * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
530 (access): Remove.
531 (faccessat): New macro.
532
533 2012-11-05 Eli Zaretskii <eliz@gnu.org>
534
535 * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
536
537 2012-11-05 Juanma Barranquero <lekktu@gmail.com>
538
539 * config.nt: Sync with autogen/config.in.
540 (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
541 (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
542
543 2012-11-04 Juanma Barranquero <lekktu@gmail.com>
544
545 * config.nt: Sync with autogen/config.in.
546 (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
547
548 2012-11-03 Eli Zaretskii <eliz@gnu.org>
549
550 * config.nt (PENDING_OUTPUT_N_BYTES): Define.
551
552 2012-11-01 Eli Zaretskii <eliz@gnu.org>
553
554 * inc/unistd.h (setpgid, getpgrp): Provide prototypes. (Bug#12776)
555
556 * config.nt (GETPGRP_VOID): Define to 1.
557
558 2012-10-24 Juanma Barranquero <lekktu@gmail.com>
559
560 * config.nt: Sync with autogen/config.in.
561
562 2012-10-17 Eli Zaretskii <eliz@gnu.org>
563
564 * inc/pwd.h (getuid, geteuid): Add prototypes.
565
566 * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
567 (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
568 (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
569 (sys_kill, getpagesize): Add prototypes for emulated functions.
570
571 * inc/grp.h (getgid, getegid): Add prototypes.
572
573 * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
574
575 * configure.bat (chkapiN): Avoid compiler warning in junk.c when
576 compiling with -std=gnu99.
577
578 * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
579 could be used via --cflags switch to configure.bat.
580
581 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
582
583 * config.nt: Sync with autogen/config.in.
584 (HAVE_NTGUI): New macro.
585
586 2012-10-02 Eli Zaretskii <eliz@gnu.org>
587
588 * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
589 compiler warnings when using the value.
590
591 2012-10-01 Eli Zaretskii <eliz@gnu.org>
592
593 * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
594 'void *', for pointer arithmetics.
595 (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
596 macro arguments in parentheses.
597
598 2012-09-30 Eli Zaretskii <eliz@gnu.org>
599
600 * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
601
602 2012-09-30 Fabrice Popineau <fabrice.popineau@supelec.fr>
603
604 * inc/sys/socket.h: Don't map Winsock error codes to standard ones
605 that are already defined.
606
607 * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
608 (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
609 [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
610
611 * preprep.c (pfnCheckSumMappedFile, rva_to_section)
612 (offset_to_section, relocate_offset, OFFSET_TO_RVA)
613 (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
614 (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
615 (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
616 Use DWORD_PTR instead of DWORD for compatibility with x64.
617
618 * nmake.defs: Support AMD64.
619 (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
620
621 * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
622 New macros.
623
624 * addsection.c (pfnCheckSumMappedFile, rva_to_section)
625 (offset_to_section, relocate_offset, OFFSET_TO_RVA)
626 (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
627 (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
628 (copy_executable_and_add_section, main): Use DWORD_PTR instead of
629 DWORD, for compatibility with x64.
630
631 * emacs-x64.manifest: New file.
632
633 * emacs-x86.manifest: Renamed from emacs.manifest.
634
635 2012-09-30 Eli Zaretskii <eliz@gnu.org>
636
637 * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
638 (struct itimerval): Define.
639 (getitimer, setitimer): Add prototypes.
640
641 * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
642 with MinGW.
643 (SA_RESTART, SIGPROF): Define.
644
645 * config.nt (HAVE_SETITIMER): Define to 1.
646
647 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
648
649 * config.nt: Sync with autogen/config.in.
650
651 2012-09-29 Juanma Barranquero <lekktu@gmail.com>
652
653 * config.nt: Sync with autogen/config.in.
654 (HAVE_TIMER_SETTIME): New macro.
655
656 2012-09-23 Eli Zaretskii <eliz@gnu.org>
657
658 * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
659
660 2012-09-23 Paul Eggert <eggert@cs.ucla.edu>
661
662 Simplify and avoid signal-handling races (Bug#12471).
663 * inc/ms-w32.h (emacs_raise): New macro.
664
665 2012-09-18 Eli Zaretskii <eliz@gnu.org>
666
667 * configure.bat: Include stddef.h before gif_lib.h, to have size_t
668 defined, as needed by giflib-5.0.0. (Bug#12464)
669
670 2012-09-17 Juanma Barranquero <lekktu@gmail.com>
671
672 * config.nt: Sync with autogen/config.in.
673 (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
674
675 2012-09-17 Glenn Morris <rgm@gnu.org>
676
677 * config.nt (COPYRIGHT): New.
678
679 2012-09-15 Paul Eggert <eggert@cs.ucla.edu>
680
681 Port _setjmp fix to POSIXish hosts as well as Microsoft.
682 * config.nt: Attempt to sync with autogen/config.in.
683 (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
684 (_longjmp, _setjmp): Remove.
685
686 2012-09-14 Juanma Barranquero <lekktu@gmail.com>
687
688 * config.nt: Sync with autogen/config.in.
689 (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
690 (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
691 (USABLE_FIONREAD, USABLE_SIGIO): New macros.
692
693 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
694
695 * config.nt: Sync with autogen/config.in.
696 (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
697 (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
698
699 2012-09-08 Eli Zaretskii <eliz@gnu.org>
700
701 * configure.bat <use_extensions>: Don't leave it set in the
702 environment when the script exits.
703
704 2012-09-07 Juanma Barranquero <lekktu@gmail.com>
705
706 * config.nt: Sync with autogen/config.in.
707 (NO_ABORT, SIGNAL_H_AHB): Remove.
708
709 2012-09-07 Eli Zaretskii <eliz@gnu.org>
710
711 * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
712
713 2012-09-05 Juanma Barranquero <lekktu@gmail.com>
714
715 * config.nt: Sync with autogen/config.in.
716
717 2012-09-04 Paul Eggert <eggert@cs.ucla.edu>
718
719 Simplify redefinition of 'abort' (Bug#12316).
720 * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
721
722 2012-09-02 Juanma Barranquero <lekktu@gmail.com>
723
724 * config.nt: Sync with autogen/config.in.
725 (HAVE_EXECINFO_H, TERM_HEADER): New macros.
726
727 2012-09-01 Daniel Colascione <dancol@dancol.org>
728
729 * inc/ms-w32.h (TERM_HEADER): Add for refactoring.
730
731 2012-08-22 Juanma Barranquero <lekktu@gmail.com>
732
733 * config.nt: Sync with autogen/config.in.
734
735 2012-08-17 Juanma Barranquero <lekktu@gmail.com>
736
737 * config.nt: Sync with autogen/config.in.
738 (HAVE_POSIX_OPENPT): New macro.
739
740 2012-08-14 Juanma Barranquero <lekktu@gmail.com>
741
742 * config.nt: Sync with autogen/config.in.
743 (_GL_INLINE_HEADER_BEGIN): Update.
744
745 2012-08-10 Glenn Morris <rgm@gnu.org>
746
747 * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
748
749 2012-08-07 Juanma Barranquero <lekktu@gmail.com>
750
751 * config.nt: Sync with autogen/config.in.
752 (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
753 (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
754
755 * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
756
757 2012-08-06 Glenn Morris <rgm@gnu.org>
758
759 * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
760 (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
761
762 2012-08-04 Eli Zaretskii <eliz@gnu.org>
763
764 * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
765 (PATH_DATA, PATH_DOC): Replace dummy directory names with
766 directories relative to %emacs_dir%.
767 (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
768 to the use case of running un-installed Emacs.
769
770 2012-08-03 Juanma Barranquero <lekktu@gmail.com>
771
772 * config.nt: Sync with autogen/config.in.
773 (DOS_NT, MSDOS): New macros.
774 (WRETCODE, wait3): Remove.
775
776 * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
777
778 2012-08-03 Eli Zaretskii <eliz@gnu.org>
779
780 * inc/sys/stat.h (S_IFLNK): Define.
781 (S_ISLNK): A non-trivial definition.
782 (lstat): Prototype instead of a macro that redirects to 'stat'.
783
784 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
785
786 Use C99-style 'extern inline' if available.
787 * config.nt: Sync with autogen/config.in.
788 (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
789 (_GL_INLINE_HEADER_END): New macros.
790
791 2012-08-02 Glenn Morris <rgm@gnu.org>
792
793 * inc/ms-w32.h: Move here from ../src/s.
794 * config.nt (config_opsysfile): Change to <ms-w32.h>.
795
796 2012-08-01 Juanma Barranquero <lekktu@gmail.com>
797
798 * config.nt: Sync with autogen/config.in.
799 (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
800 (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
801 New macros.
802
803 2012-08-01 Juanma Barranquero <lekktu@gmail.com>
804
805 * config.nt: Sync with autogen/config.in.
806 Remove code moved to conf_post.h and include <conf_post.h>
807 (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
808 (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
809
810 2012-07-29 Juanma Barranquero <lekktu@gmail.com>
811
812 * config.nt: Sync with autogen/config.in.
813 (HAVE_ENVIRON_DECL): New macro.
814
815 2012-07-29 Eli Zaretskii <eliz@gnu.org>
816
817 * inc/stdalign.h (_Alignas, alignas): Define.
818
819 2012-07-28 Paul Eggert <eggert@cs.ucla.edu>
820
821 Use Gnulib stdalign module (Bug#9772, Bug#9960).
822 * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
823
824 2012-07-14 Juanma Barranquero <lekktu@gmail.com>
825
826 * config.nt: Sync with autogen/config.in.
827 (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
828 (SETUP_SLAVE_PTY): New macros.
829
830 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
831
832 * config.nt: Sync with autogen/config.in.
833 (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
834 (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
835 (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
836 (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
837 (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
838 (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
839 (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
840 (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
841 (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
842 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
843 Set in src/s/ms-w32.h, not here.
844
845 2012-07-11 Juanma Barranquero <lekktu@gmail.com>
846
847 * config.nt: Sync with autogen/config.in.
848 (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
849 (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
850 (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
851
852 2012-07-10 Juanma Barranquero <lekktu@gmail.com>
853
854 * config.nt: Sync with autogen/config.in.
855
856 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
857
858 * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
859
860 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
861
862 * config.nt: Sync with autogen/config.in.
863
864 2012-07-07 Juanma Barranquero <lekktu@gmail.com>
865
866 * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
867
868 2012-07-06 Juanma Barranquero <lekktu@gmail.com>
869 Eli Zaretskii <eliz@gnu.org>
870
871 * config.nt: Complete rework to bring it in sync with autogen/config.in.
872 All Windows-specific code moved to src/s/ms-w32.h.
873
874 2012-07-04 Juanma Barranquero <lekktu@gmail.com>
875 Eli Zaretskii <eliz@gnu.org>
876
877 * configure.bat (enablechecking): Enable checks through src/config.h,
878 not the compiler's command line.
879
880 * nmake.defs (CHECKING_CFLAGS): Remove.
881 (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
882
883 * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
884 (CHECKING_CFLAGS): Remove.
885 (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
886
887 2012-07-04 Juanma Barranquero <lekktu@gmail.com>
888
889 * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
890 (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
891 (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
892 (HAVE_MEMCMP): Remove, obsolete.
893
894 2012-06-30 Glenn Morris <rgm@gnu.org>
895
896 * paths.h (PATH_SITELOADSEARCH): New.
897
898 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
899
900 * nmake.defs (CHECKING_CFLAGS):
901 * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
902
903 2012-06-24 Eli Zaretskii <eliz@gnu.org>
904
905 * config.nt (_Noreturn): Don't reference __SUNPRO_C.
906
907 2012-06-24 Paul Eggert <eggert@cs.ucla.edu>
908
909 Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
910 * config.nt (_Noreturn): New macro.
911 (NO_RETURN): Remove. All uses replaced with _Noreturn.
912 (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
913
914 2012-06-24 Eli Zaretskii <eliz@gnu.org>
915
916 * inc/sys/time.h (struct timespec): Don't define it here, it is
917 now defined in src/s/ms-w32.h.
918
919 2012-06-23 Eli Zaretskii <eliz@gnu.org>
920
921 Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
922 * inc/sys/time.h (struct timespec): Define.
923
924 2012-06-16 Eli Zaretskii <eliz@gnu.org>
925
926 * makefile.w32-in (install-addpm): New target.
927 (dist): Depend on it.
928 (install-shortcuts): Depend on install-addpm instead of copying
929 addpm.exe as part of the recipe. See
930 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
931 for the related problem and discussions.
932
933 2012-06-11 Glenn Morris <rgm@gnu.org>
934
935 * config.nt (SYSTEM_TYPE): Define it.
936
937 2012-05-31 Eli Zaretskii <eliz@gnu.org>
938
939 * configure.bat (genmakefiles): Move the redirection away from the
940 end of the command, to avoid excess whitespace at the end of Make
941 variables created at configure time, and also avoid things like
942 "FOO1>>config.settings", where "1" gets interpreted as the file
943 descriptor and eaten up. This fixes breakage introduced by the
944 last change, without reintroducing the bug fixed by that change.
945
946 2012-05-31 Eli Zaretskii <eliz@gnu.org>
947
948 * nmake.defs (MWINDOWS): Define as
949 "-subsystem:windows -entry:mainCRTStartup". Suggested by Fabrice
950 Popineau <fabrice.popineau@supelec.fr>. (Bug#11405)
951
952 * gmake.defs (MWINDOWS): Define as "-mwindows".
953
954 2012-05-28 Eli Zaretskii <eliz@gnu.org>
955
956 * config.nt (HAVE_SYSINFO): Remove; unused.
957
958 2012-05-27 Eli Zaretskii <eliz@gnu.org>
959
960 * inc/stdalign.h: New file.
961
962 * configure.bat: Ensure a space between %var% expansion and
963 redirection symbol '>', which breaks when %var% ends in a digit,
964 such as 1.
965
966 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
967
968 Remove src/m/*.
969 * config.nt: Do not include "m/intel386.h"; file was removed.
970 (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
971 Move to src/lisp.h.
972 (EMACS_INT_MAX): New macro.
973
974 2012-05-19 Paul Eggert <eggert@cs.ucla.edu>
975
976 * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
977 (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
978
979 * config.nt (HAVE_FTIME): Remove undef; not needed.
980
981 2012-05-01 Glenn Morris <rgm@gnu.org>
982
983 * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
984
985 2012-04-14 Dani Moncayo <dmoncayo@gmail.com> (tiny change)
986
987 * makefile.w32-in: Fix typo (Bug#10261).
988
989 2012-04-10 Eli Zaretskii <eliz@gnu.org>
990
991 * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
992 each runs makeinfo in its own subdirectory of 'doc'.
993 (info-gmake): Depend on these new targets.
994
995 2012-04-07 Glenn Morris <rgm@gnu.org>
996
997 * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
998 Bump version to 24.1.50.
999
1000 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1001
1002 * configure.bat: Support building with libxml2.
1003
1004 * INSTALL:
1005 * README.W32: Add information about libxml2.
1006
1007 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1008
1009 * makefile.w32-in: Convert to Unix EOL format.
1010 (all): Don't depend on stamp_BLD and on maybe-bootstrap.
1011 (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
1012 (bootstrap-gmake): Invoke the "clean" and build targets in 2
1013 separate commands, so they run in that order even under "make -j".
1014
1015 2012-03-29 Eli Zaretskii <eliz@gnu.org>
1016
1017 * config.nt: Discourage from defining HAVE_GETCWD.
1018
1019 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1020
1021 * makefile.w32-in (install-bin): Don't copy addpm.exe here. Use
1022 $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
1023 on other (parallel) Make job's toes.
1024 (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
1025 (install-shortcuts): Depend on $(INSTALL_DIR)/bin. Copy addpm.exe
1026 here.
1027 (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist):
1028 Depend on create-tmp-dist-dir.
1029
1030 * nmake.defs (DIRNAME): New variable.
1031 (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1032 same-dir.tst.
1033
1034 * gmake.defs (DIRNAME): New variable.
1035 (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
1036 same-dir.tst, to avoid conflicts between several (parallel) Make
1037 jobs.
1038
1039 2012-02-24 Eli Zaretskii <eliz@gnu.org>
1040
1041 Prevent endless re-spawning of cmdproxy.exe when some of its
1042 parent directories have access limitations.
1043
1044 * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
1045 and our own module name to short 8+3 aliases, if the original file
1046 names compare equal. If GetShortPathName fails, compare the base
1047 names of the two file names, and only re-spawn the command line if
1048 the base-name comparison also fails. (Bug#10674)
1049
1050 2012-02-23 Dani Moncayo <dmoncayo@gmail.com> (tiny change)
1051
1052 * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
1053
1054 2012-02-06 Christoph Scholtes <cschol2112@googlemail.com>
1055
1056 * README.W32: Removed specific version information for libXpm
1057 included in the binary distribution for maintenance purposes.
1058
1059 2012-02-05 Christoph Scholtes <cschol2112@googlemail.com>
1060
1061 * README.W32: Clarification for inclusion in source tarball (bug#9750).
1062
1063 * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
1064
1065 * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
1066
1067 * makefile.w32-in (maybe-copy-distfiles)
1068 (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
1069 (create-tmp-dist-dir): Add to make --distfiles optional.
1070 (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
1071
1072 2012-02-04 Eli Zaretskii <eliz@gnu.org>
1073
1074 * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
1075 by other headers.
1076
1077 2011-11-27 Fabrice Popineau <fabrice.popineau@supelec.fr> (tiny change)
1078
1079 * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
1080 (UINT64_MAX) [_WIN64]: Fix definition.
1081 (uintmax_t, intmax_t): Fix definitions.
1082
1083 * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
1084 Provide correct definitions.
1085
1086 * config.nt (HAVE_DECL_STRTOLL): Define.
1087 (va_copy) [_WIN64]: Provide a better definition.
1088
1089 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
1090
1091 * configure.bat: Fix typos.
1092
1093 2011-11-25 Eli Zaretskii <eliz@gnu.org>
1094
1095 * INSTALL: Elaborate on debugging fatal errors.
1096
1097 2011-11-15 Eli Zaretskii <eliz@gnu.org>
1098
1099 * README.W32: Update the GTK Windows download URL for libpng.
1100
1101 2011-11-13 Christoph Scholtes <cschol2112@googlemail.com>
1102
1103 * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
1104
1105 2011-11-05 Christoph Scholtes <cschol2112@googlemail.com>
1106
1107 * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
1108 (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
1109 (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
1110 (intmax_t, INT64_MAX): Add for MSVC.
1111
1112 * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
1113
1114 2011-11-05 Eli Zaretskii <eliz@gnu.org>
1115
1116 * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
1117
1118 Support MSVC build with newer versions of Visual Studio.
1119 * makefile.w32-in (clean-other-dirs-nmake)
1120 (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
1121 Update for current structure of doc/ subdirectories.
1122
1123 * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
1124
1125 * INSTALL: Update for newer versions of MSVC.
1126
1127 2011-11-05 Fabrice Popineau <fabrice.popineau@supelec.fr> (tiny change)
1128
1129 Support MSVC build with newer versions of Visual Studio.
1130 * nmake.defs (USE_CRT_DLL): Define to 1.
1131 (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
1132 (D): New variable.
1133
1134 2011-11-04 Eli Zaretskii <eliz@gnu.org>
1135
1136 * runemacs.c (ensure_unicows_dll): New function, tries to load
1137 UNICOWS.DLL on Windows 9X.
1138 (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
1139 display a dialog to the effect that Emacs cannot be started.
1140 (Bug#8562)
1141
1142 2011-10-28 Eli Zaretskii <eliz@gnu.org>
1143
1144 * README.W32: Mention UNICOWS.DLL as prerequisite for running
1145 Emacs on Windows 9X.
1146
1147 2011-10-25 Eli Zaretskii <eliz@gnu.org>
1148
1149 * makefile.w32-in (dist): Don't put the top-level INSTALL into the
1150 distribution. (Bug#9861)
1151
1152 2011-10-25 Christoph Scholtes <cschol2112@googlemail.com>
1153
1154 * INSTALL: Update URL for GTK download page.
1155
1156 2011-10-19 Eli Zaretskii <eliz@gnu.org>
1157
1158 * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
1159 (Bug#9794) (Bug#641)
1160
1161 2011-09-04 Paul Eggert <eggert@cs.ucla.edu>
1162
1163 * config.nt (HAVE_SNPRINTF): New macro.
1164
1165 2011-07-28 Paul Eggert <eggert@cs.ucla.edu>
1166
1167 Assume freestanding C89 headers, string.h, stdlib.h.
1168 * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
1169 (STDC_HEADERS): Remove.
1170 Iinclude string.h, stdlib.h unconditionally.
1171
1172 2011-06-07 Eli Zaretskii <eliz@gnu.org>
1173
1174 * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
1175 [!__GNUC__]: New macros.
1176
1177 2011-05-28 Paul Eggert <eggert@cs.ucla.edu>
1178
1179 Use 'inline', not 'INLINE'.
1180 * config.nt (INLINE): Remove.
1181
1182 2011-05-17 Eli Zaretskii <eliz@gnu.org>
1183
1184 * README.W32: Add information about GnuTLS libraries.
1185
1186 2011-05-09 Eli Zaretskii <eliz@gnu.org>
1187
1188 * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
1189
1190 2011-05-07 Ben Key <bkey76@gmail.com>
1191
1192 * configure.bat: Renamed the fusercflags variable to escusercflags
1193 so that the variable name better matches its purpose, to be
1194 identical to usercflags with the exception that all quotes are
1195 escaped by the \ character.
1196
1197 Renamed the fuserldflags variable to escuserldflags so that the
1198 variable name better matches its purpose, to be identical to
1199 userldflags with the exception that all quotes are escaped by
1200 the \ character.
1201
1202 A new ESC_USER_CFLAGS variable is written to config.settings.
1203 This variable has the same value as the escusercflags variable.
1204
1205 * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
1206 This variable is identical to the CFLAGS variable except that it
1207 includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
1208
1209 These changes, along with some changes to src/makefile.w32-in,
1210 are required to extend my earlier fix to add support for
1211 --cflags and --ldflags options that include quotes so that it
1212 works whether make uses cmd or sh as the shell.
1213
1214 2011-05-06 Eli Zaretskii <eliz@gnu.org>
1215
1216 * inc/inttypes.h [!__MINGW32__]: Include stdint.h. Move the
1217 definition of uintmax_t from here...
1218 * inc/stdint.h (uintmax_t): ...to here.
1219 (intptr_t) [!__GNUC__]: New typedef.
1220
1221 2011-05-06 Paul Eggert <eggert@cs.ucla.edu>
1222
1223 * config.nt: Prepare to configure 64-bit integers for older compilers.
1224 However, temporarily disable this change unless the temporary
1225 symbol WIDE_EMACS_INT is defined.
1226 (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
1227 "%I64d" work but long long and "%lld" do not.
1228
1229 2011-05-05 Ben Key <bkey76@gmail.com>
1230
1231 * configure.bat: Added support for --cflags and --ldflags
1232 options that include quotes as long as command extensions are
1233 enabled. Specifically when -I, -L, and similar flags are used
1234 to specify supplementary include and library directories a
1235 directory name that includes spaces may now be used if it is
1236 enclosed in quotes.
1237
1238 * INSTALL: Documented the change to configure.bat.
1239
1240 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
1241
1242 * INSTALL: Clarify GnuTLS support.
1243
1244 2011-04-30 Eli Zaretskii <eliz@gnu.org>
1245
1246 * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
1247 Define to 1 for MinGW of MSVC versions >= 1400.
1248
1249 2011-04-28 Eli Zaretskii <eliz@gnu.org>
1250
1251 * gmake.defs (ARCH): Fix error message in case of unknown architecture.
1252
1253 2011-04-27 Eli Zaretskii <eliz@gnu.org>
1254
1255 * inc/inttypes.h: New file.
1256
1257 * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
1258 (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1259
1260 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1261
1262 * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1263 inside quotation marks and bail out.
1264
1265 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1266
1267 * cmdproxy.c (try_dequote_cmdline): New function.
1268 (main): Use it.
1269
1270 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1271
1272 * configure.bat: New options --without-gnutls and --lib, new build
1273 variable USER_LIBS, automatically detect GnuTLS. Copies the PNG
1274 library setup with trivial modifications.
1275 * INSTALL: Add instructions for GnuTLS support.
1276 * gmake.defs: Prefix USER_LIBS with -l.
1277
1278 2011-04-15 Ben Key <bkey76@gmail.com>
1279
1280 * configure.bat: Modified the code that parses the --cflags and
1281 --ldflags options to support parameters that include the =
1282 character as long as they are enclosed in quotes.
1283 This functionality depends on command extensions. Configure.bat now
1284 attempts to enable command extensions and displays a warning
1285 message if they could not be enabled. If configure.bat could
1286 not enable command extensions the old parsing code is used that
1287 does not support parameters that include the = character.
1288
1289 * INSTALL: Updated the file to describe the new functionality
1290 using text provided by Eli Zaretskii.
1291
1292 2011-04-06 Eli Zaretskii <eliz@gnu.org>
1293
1294 * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1295 (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1296 on the trunk on 2011-04-06.
1297
1298 2011-03-27 Glenn Morris <rgm@gnu.org>
1299
1300 * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1301
1302 2011-03-25 Juanma Barranquero <lekktu@gmail.com>
1303
1304 * addpm.c (main): Remove unused variable `retval'.
1305
1306 * preprep.c (main): Remove unused variable `ptr'.
1307
1308 2011-03-23 Juanma Barranquero <lekktu@gmail.com>
1309
1310 * cmdproxy.c: Include <ctype.h>.
1311 (make_absolute): Remove unused variable `i'.
1312
1313 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
1314
1315 * Version 23.3 released.
1316
1317 2011-02-27 Eli Zaretskii <eliz@gnu.org>
1318
1319 * inc/unistd.h (readlink, symlink): Declare prototypes.
1320
1321 2011-02-26 Eli Zaretskii <eliz@gnu.org>
1322
1323 * config.nt (nlink_t): Define.
1324
1325 2011-02-21 Christoph Scholtes <cschol2112@gmail.com>
1326
1327 * inc/stdint.h: New file, to support compilation with tool chains
1328 that do not have stdint.h (e.g. MSVC).
1329
1330 2011-02-21 Eli Zaretskii <eliz@gnu.org>
1331
1332 * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1333 (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1334 (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1335 (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1336 (lstat): Define to stat.
1337
1338 2011-02-09 Eli Zaretskii <eliz@gnu.org>
1339
1340 * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1341 "make-docfile" target in lib-src, before bootstrapping the src
1342 directory. Needed since building in src needs to run make-docfile
1343 to produce globals.h.
1344
1345 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1346
1347 * config.nt (inline) [__GNUC__]: Define (for gnulib).
1348
1349 2011-01-31 Eli Zaretskii <eliz@gnu.org>
1350
1351 * config.nt (VERSION): Uncomment definition.
1352 (restrict): Define.
1353
1354 * inc/stdbool.h: New file.
1355
1356 2011-01-29 Eli Zaretskii <eliz@gnu.org>
1357
1358 * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1359 (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1360 (bootstrap-clean-gmake, clean-other-dirs-nmake)
1361 (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1362 (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1363 (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1364 (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1365 (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1366
1367 * configure.bat: Create lib/makefile.
1368
1369 * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1370 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1371 (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1372 (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1373
1374 2011-01-07 Eli Zaretskii <eliz@gnu.org>
1375
1376 * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1377
1378 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1379
1380 * configure.bat (end): Unset environment variables used by this
1381 batch file.
1382
1383 * INSTALL: Update the information about PNG support libraries.
1384 (Bug#7716)
1385
1386 * README.W32: Update the information about PNG support libraries.
1387
1388 2010-11-23 Eli Zaretskii <eliz@gnu.org>
1389
1390 * config.nt (EXTERNALLY_VISIBLE): Define.
1391
1392 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
1393
1394 * INSTALL: Refer to `dynamic-library-alist'.
1395
1396 2010-10-06 Juanma Barranquero <lekktu@gmail.com>
1397
1398 * INSTALL: Add note about problematic characters passed to configure.
1399
1400 2010-10-01 Eli Zaretskii <eliz@gnu.org>
1401
1402 * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1403 emacs-src.tags: New file.
1404
1405 * gmake.defs: Add a comment with a single quote to fix
1406 fontification. (Bug#7102)
1407
1408 2010-09-29 Eli Zaretskii <eliz@gnu.org>
1409
1410 * configure.bat: Fix the condition for copying paths.h into
1411 ../src/epaths.h.
1412
1413 2010-09-28 Juanma Barranquero <lekktu@gmail.com>
1414
1415 * addpm.c (entry, add_registry, main):
1416 * addsection.c (file_data, open_input_file, open_output_file)
1417 (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1418 (COPY_CHUNK):
1419 * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1420 (skip_nonspace, get_next_token, search_dir, make_absolute)
1421 (spawn, main):
1422 * preprep.c (file_data, open_input_file, open_output_file)
1423 (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1424 Use const char*.
1425
1426 * cmdproxy.c (stdin): Don't define, not used.
1427 (main): Don't assign remlen after last use.
1428
1429 2010-09-22 Juanma Barranquero <lekktu@gmail.com>
1430
1431 * configure.bat: Err out when the argument of --cflags contains
1432 invalid characters (check implemented only for GCC). (Bug#6820)
1433
1434 2010-08-19 Juanma Barranquero <lekktu@gmail.com>
1435
1436 * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1437
1438 2010-08-12 Jason Rumney <jasonr@gnu.org>
1439
1440 * addpm.c (add_registry): Set path for runemacs.exe to use.
1441
1442 2010-08-08 Óscar Fuentes <ofv@wanadoo.es>
1443
1444 * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1445 which has a 1024 char limit on Windows (bug#6647).
1446
1447 2010-08-02 Juanma Barranquero <lekktu@gmail.com>
1448
1449 * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1450 Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1451
1452 2010-07-29 Dan Nicolaescu <dann@ics.uci.edu>
1453
1454 * config.nt: Remove code referring to NO_REMAP, unused.
1455
1456 2010-07-25 Christoph Scholtes <cschol2112@gmail.com>
1457
1458 Build binary distros on Windows using emacs-VERSION as root dir name.
1459
1460 * makefile.w32-in: Copy README.W32 to installation directory
1461 during `make install'. Remove README.W32 with `distclean' (in
1462 case Emacs was installed in place). Use temporary directory to
1463 create distribution zip files in `dist' target.
1464 * zipdist.bat: Simplify code using temporary directory.
1465
1466 2010-07-25 Juanma Barranquero <lekktu@gmail.com>
1467
1468 * runemacs.c (set_user_model_id): Fix prototype.
1469
1470 2010-07-24 Christoph Scholtes <cschol2112@gmail.com>
1471
1472 New make target for Windows platform: make dist (bug#6602)
1473
1474 * INSTALL: Document new dist target and add section about
1475 creating binary distributions.
1476 * README.W32: Relocate from admin/nt/ directory.
1477 * configure.bat: New parameter `--distfiles'.
1478 * makefile.w32-in: Add version number, new target `dist'.
1479 Add new target `install-shortcuts'.
1480 * zipdist.bat: New file; create zipped binary distribution,
1481 replaces admin/nt/makedist.bat.
1482
1483 2010-07-21 Juanma Barranquero <lekktu@gmail.com>
1484
1485 * INSTALL: Add note about backslashes in Windows paths.
1486 Fix typos. Simplify references to Windows versions.
1487
1488 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1489
1490 * addpm.c (add_registry, main):
1491 * cmdproxy.c (get_env_size):
1492 * ddeclient.c (main):
1493 * runemacs.c (set_user_model_id):
1494 Convert definitions to standard C.
1495
1496 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1497
1498 * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1499
1500 2010-07-18 Juanma Barranquero <lekktu@gmail.com>
1501
1502 * configure.bat: New option --enable-checking.
1503 * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1504 (CFLAGS): Include it.
1505
1506 2010-07-12 Dan Nicolaescu <dann@ics.uci.edu>
1507
1508 * config.nt (volatile): Remove definition.
1509
1510 2010-07-07 Andreas Schwab <schwab@linux-m68k.org>
1511
1512 * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1513 (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1514
1515 2010-07-02 Juanma Barranquero <lekktu@gmail.com>
1516
1517 * config.nt (__P): Remove.
1518
1519 2010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
1520
1521 * config.nt: Remove code depending on BSTRING.
1522
1523 2010-06-03 Glenn Morris <rgm@gnu.org>
1524
1525 * config.nt: Remove NOT_C_CODE tests, it is always true now.
1526
1527 2010-05-13 Glenn Morris <rgm@gnu.org>
1528
1529 * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1530
1531 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
1532
1533 * Version 23.2 released.
1534
1535 2010-05-04 Glenn Morris <rgm@gnu.org>
1536
1537 * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1538
1539 2010-04-20 Lewis Perin <perin@panix.com> (tiny change)
1540
1541 * emacs.manifest: Add trustInfo section to Windows manifest.
1542
1543 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
1544
1545 * Branch for 23.2.
1546
1547 2010-01-13 Martin Rudalics <rudalics@gmx.at>
1548
1549 * emacsclient.rc: Fix format of "LegalCopyright" value.
1550
1551 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
1552
1553 * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1554
1555 2009-12-27 Karl Fogel <kfogel@red-bean.com>
1556
1557 * INSTALL: Update for CVS->Bazaar switchover.
1558
1559 2009-09-14 Juanma Barranquero <lekktu@gmail.com>
1560
1561 * configure.bat: Add #define PROFILING to config.h.
1562
1563 2009-07-03 Jason Rumney <jasonr@gnu.org>
1564
1565 * runemacs.c (set_user_model_id): Use standard types.
1566
1567 2009-06-30 Jason Rumney <jasonr@gnu.org>
1568
1569 * runemacs.c (set_user_model_id): New function.
1570 (WinMain): Use it.
1571
1572 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
1573
1574 * Branch for 23.1.
1575
1576 2009-03-21 Eli Zaretskii <eliz@gnu.org>
1577
1578 * inc/sys/stat.h (struct stat): Change the types of st_uid and
1579 st_gid to unsigned.
1580
1581 * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1582 to unsigned.
1583 (getpwuid): Argument is now unsigned.
1584 uid_t is now unsigned.
1585
1586 2009-02-24 Juanma Barranquero <lekktu@gmail.com>
1587
1588 * INSTALL: Add comment about TCC; fix typos.
1589
1590 2009-01-26 Jason Rumney <jasonr@gnu.org>
1591
1592 * emacsclient.rc, emacs.rc: Swap name and description.
1593 Remove Windows versions.
1594
1595 2009-01-15 Jason Rumney <jasonr@gnu.org>
1596
1597 * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1598
1599 * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1600
1601 * addpm.c (main): Try using COM to create start menu shortcuts
1602 before resorting to DDE (Bug#202)
1603 Remove second command-line argument.
1604
1605 2009-01-03 Juanma Barranquero <lekktu@gmail.com>
1606
1607 * configure.bat: Untabify help message.
1608
1609 2009-01-03 Jason Rumney <jasonr@gnu.org>
1610
1611 * configure.bat: New option --with-svg.
1612
1613 * INSTALL: Document experimental SVG support.
1614
1615 2008-12-25 Jason Rumney <jasonr@gnu.org>
1616
1617 * config.nt (PTR): Remove.
1618
1619 2008-12-19 Dan Nicolaescu <dann@ics.uci.edu>
1620
1621 * config.nt (LISTPROC, PROCATTR): Remove.
1622
1623 2008-08-09 Eli Zaretskii <eliz@gnu.org>
1624
1625 * config.nt (LISTPROC, PROCATTR): New macros.
1626
1627 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
1628
1629 * config.nt (MULTI_KBOARD): Remove.
1630
1631 2008-07-23 Jason Rumney <jasonr@gnu.org>
1632
1633 * configure.bat: New option --profile.
1634 * gmake.defs: Set cflags and ldflags for profiling when specified.
1635
1636 2008-07-23 Dan Nicolaescu <dann@ics.uci.edu>
1637
1638 * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1639
1640 2008-07-13 Dan Nicolaescu <dann@ics.uci.edu>
1641
1642 * config.nt (HAVE_FACES): Remove, unused.
1643
1644 2008-06-26 Juanma Barranquero <lekktu@gmail.com>
1645 Eli Zaretskii <eliz@gnu.org>
1646
1647 * nmake.defs (FONT_CFLAGS):
1648 * gmake.defs (FONT_CFLAGS): Remove.
1649 (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1650 (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1651 and _CRTAPI1.
1652 (ARCH_FLAGS): Don't include _X86_.
1653
1654 * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1655
1656 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
1657
1658 * config.nt: Remove reference to UNEXEC_SRC.
1659
1660 2008-06-23 Juanma Barranquero <lekktu@gmail.com>
1661 Eli Zaretskii <eliz@gnu.org>
1662
1663 * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1664 Don't hardcode -gstabs+, use DEBUG_INFO.
1665
1666 * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1667 Default to stabs if the compiler does not support DWARF-2.
1668 (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1669
1670 2008-05-14 Jason Rumney <jasonr@gnu.org>
1671
1672 * configure.bat: Remove code dealing with --disable-font-backend.
1673
1674 2008-05-09 Eli Zaretskii <eliz@gnu.org>
1675
1676 * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1677 better alignment. Make st_size 64-bit wide. Add new members
1678 st_uname and st_gname.
1679
1680 * inc/grp.h (struct group): Add gr_gid member.
1681
1682 2008-04-23 Eli Zaretskii <eliz@gnu.org>
1683
1684 * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1685 (all): ...to here. $(ALL) is a prerequisite of .PHONY, so having
1686 a real file there is not a good idea.
1687
1688 2008-04-23 Jason Rumney <jasonr@gnu.org>
1689
1690 * makefile.w32-in (CLIENTRES): New variable and build target.
1691 (all): Depend on it.
1692 ($(TRES)): Use $(TRES) in rule.
1693
1694 2008-04-21 Jason Rumney <jasonr@gnu.org>
1695
1696 * configure.bat (success): Print "make" rather than "gmake", as that
1697 is what MinGW uses.
1698
1699 2008-04-11 Eli Zaretskii <eliz@gnu.org>
1700
1701 * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1702 Add copyright notice.
1703
1704 2008-04-10 Jason Rumney <jasonr@gnu.org>
1705
1706 * emacsclient.rc: New file.
1707
1708 * INSTALL: Document make targets.
1709
1710 2008-04-09 Jason Rumney <jasonr@gnu.org>
1711
1712 * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1713 (clean-other-dirs-gmake): Likewise. Clean doc dirs.
1714 (top-distclean, distclean, distclean-other-dirs-nmake)
1715 (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1716 (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1717
1718 2008-04-05 Eli Zaretskii <eliz@gnu.org>
1719
1720 * inc/sys/stat.h: New file.
1721
1722 * configure.bat: Add check for usp10.h.
1723
1724 2008-04-04 Jason Rumney <jasonr@gnu.org>
1725
1726 * INSTALL: Update Windows API requirements.
1727
1728 2008-04-03 Jason Rumney <jasonr@gnu.org>
1729
1730 * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1731
1732 2008-03-13 Glenn Morris <rgm@gnu.org>
1733
1734 * emacs.rc: Set version to 23.0.60.
1735
1736 2008-03-04 Jason Rumney <jasonr@gnu.org>
1737
1738 * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1739 (EMACS_EXTRA_C_FLAGS): Include it.
1740 * configure.bat (usefontbackend): Default to Y.
1741 (--enable-font-backend): Replace with --disable-font-backend.
1742 (:withfont): Replace with :withoutfont.
1743
1744 2008-03-03 Kentaro Ohkouchi <nanasess@fsm.ne.jp>
1745
1746 * icons/emacs.ico: Full alpha for 32x32 full color.
1747 Add 32x32 and 16x16 256 color versions.
1748
1749 2008-03-03 Andrew Zhilin <andrew_zhilin@yahoo.com>
1750
1751 * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1752
1753 2008-03-02 Jason Rumney <jasonr@gnu.org>
1754
1755 * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1756
1757 2008-03-02 Kentaro Ohkouchi <nanasess@fsm.ne.jp>
1758
1759 * icons/README: Update.
1760
1761 * icons/emacs.ico: New icon.
1762
1763 2008-02-25 Juanma Barranquero <lekktu@gmail.com>
1764
1765 * addpm.c: Include malloc.h.
1766 (add_registry): Cast return value of alloca.
1767
1768 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
1769
1770 * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1771
1772 2008-02-11 Eli Zaretskii <eliz@gnu.org>
1773
1774 * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1775 conditional on existence of junk.o. If %nocygwin% is already set
1776 to Y, skip to chkapiN instead of chkapi.
1777 (chkapi): Move "rm -f junk.c junk.o" to here.
1778 (chkapiN): New label.
1779
1780 2008-02-11 Jason Rumney <jasonr@gnu.org>
1781
1782 * makefile.w32-in: Remove unidata-gen related rules.
1783
1784 2008-02-09 Eli Zaretskii <eliz@gnu.org>
1785
1786 * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1787
1788 2008-02-11 Jason Rumney <jasonr@gnu.org>
1789
1790 * addpm.c (add_registry): Add an App Paths registry key.
1791 Look for GTK and add it to the DLL search path for Emacs if found.
1792
1793 2008-02-05 Juanma Barranquero <lekktu@gmail.com>
1794
1795 * configure.bat: In help, use generic names for the image libraries.
1796
1797 2008-02-04 Juanma Barranquero <lekktu@gmail.com>
1798
1799 * .cvsignore: Don't ignore .arch-inventory.
1800
1801 2008-02-03 Jason Rumney <jasonr@gnu.org>
1802
1803 * configure.bat: Make gcc the default compiler.
1804
1805 2008-02-02 Eli Zaretskii <eliz@gnu.org>
1806
1807 * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1808 Ignore return status.
1809
1810 * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1811 it out of the way of Windows generated file.
1812 Generate admin/unidata/makefile.
1813
1814 * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1815 (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1816 (unidatagen-clean-SH): New targets.
1817 (bootstrap-nmake): Invoke unidatagen-nmake.
1818 (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1819
1820 2008-02-01 Jason Rumney <jasonr@gnu.org>
1821
1822 * configure.bat (withfont): Set sep1 after modifying usercflags.
1823
1824 2008-02-01 Jason Rumney <jasonr@gnu.org>
1825
1826 * configure.bat: Rename --with-font-backend to --enable-font-backend
1827 for consistency with other platforms.
1828
1829 2008-02-01 Jason Rumney <jasonr@gnu.org>
1830
1831 * configure.bat: Add --with-font-backend option.
1832
1833 2008-01-20 Jason Rumney <jasonr@gnu.org>
1834
1835 * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1836 permissions to NTFS ACLs.
1837
1838 2007-11-01 Jan Djärv <jan.h.d@swipnet.se>
1839
1840 * config.nt: Remove HAVE_X11R5.
1841
1842 2007-10-22 Jason Rumney <jasonr@gnu.org>
1843
1844 * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1845 (strings.h, stdlib.h): Conditionally include.
1846 (w32_abort): Declare here.
1847 (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
1848
1849 2007-10-20 Jason Rumney <jasonr@gnu.org>
1850
1851 * makefile.w32-in (info-nmake): Change into correct directories.
1852
1853 2007-10-20 Eli Zaretskii <eliz@gnu.org>
1854
1855 * configure.bat (docflags, doldflags): New variables.
1856 (genmakefiles): Use them to work around problems with whitespace
1857 in arguments of the `if' command.
1858
1859 2007-10-18 Jason Rumney <jasonr@gnu.org>
1860
1861 * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1862
1863 2007-09-27 Jason Rumney <jasonr@gnu.org>
1864
1865 * gmake.defs (COMCTL32): New system library.
1866
1867 * nmake.defs (COMCTL32): New system library.
1868
1869 2007-09-06 Glenn Morris <rgm@gnu.org>
1870
1871 * configure.bat:
1872 * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
1873 Change from ../man to ../doc/emacs and ../doc/misc; and from
1874 ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
1875
1876 2007-08-29 Glenn Morris <rgm@gnu.org>
1877
1878 * emacs.rc: Increase version to 23.0.50.
1879
1880 2007-08-14 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
1881
1882 * makefile.w32-in (bootstrap-nmake): Change directories once more.
1883
1884 2007-07-25 Glenn Morris <rgm@gnu.org>
1885
1886 * Relicense all FSF files to GPLv3 or later.
1887
1888 * COPYING: Switch to GPLv3.
1889
1890 2007-07-16 Eli Zaretskii <eliz@gnu.org>
1891
1892 * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
1893 Depend on cmdproxy.
1894 (cleanall): Don't delete *~.
1895
1896 2007-07-15 Jason Rumney <jasonr@gnu.org>
1897
1898 * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
1899 be fully supported.
1900
1901 2007-07-14 Jason Rumney <jasonr@gnu.org>
1902
1903 * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
1904 of winsock.h.
1905
1906 2007-07-11 Jason Rumney <jasonr@gnu.org>
1907
1908 * gmake.defs (OLE32): New library to link.
1909
1910 * nmake.defs (OLE32): Likewise.
1911
1912 2007-06-25 Jason Rumney <jasonr@gnu.org>
1913
1914 * cmdproxy.c (main): Set console codepages to "ANSI".
1915
1916 2007-06-20 Jason Rumney <jasonr@gnu.org>
1917
1918 * configure.bat: Complain if image libraries are missing.
1919
1920 2007-06-15 Jason Rumney <jasonr@gnu.org>
1921
1922 * emacs.manifest: New file.
1923
1924 * emacs.rc: Use it.
1925
1926 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
1927
1928 * Version 22.1 released.
1929
1930 2007-05-22 Eli Zaretskii <eliz@gnu.org>
1931
1932 * INSTALL: Add information about where to find GDB, and warn
1933 against --no-debug option to configure.bat.
1934
1935 2007-05-19 Eli Zaretskii <eliz@gnu.org>
1936
1937 * INSTALL: Fix URL of EmacsW32 site where building with image
1938 support is described.
1939
1940 2007-04-26 Glenn Morris <rgm@gnu.org>
1941
1942 * emacs.rc: Increase version to 22.1.50.
1943
1944 2007-03-31 Eli Zaretskii <eliz@gnu.org>
1945
1946 * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
1947
1948 2007-03-09 Richard Stallman <rms@gnu.org>
1949
1950 * INSTALL: Say explicitly this is not for Cygwin.
1951
1952 2007-03-03 Eli Zaretskii <eliz@gnu.org>
1953
1954 * INSTALL: Add URL of another site with detailed build instructions.
1955
1956 2007-02-16 Glenn Morris <rgm@gnu.org>
1957
1958 * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
1959 * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
1960 * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
1961 * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
1962 * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
1963 Restore all but two of icons deleted in previous change.
1964
1965 2007-02-13 Chong Yidong <cyd@stupidchicken.com>
1966
1967 * icons/README: New file.
1968
1969 * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
1970 * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
1971 * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
1972 * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
1973 * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
1974 * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
1975 Unused icons deleted.
1976
1977 2007-01-31 Juanma Barranquero <lekktu@gmail.com>
1978
1979 * configure.bat: Update ../site-lisp/subdirs.el when needed.
1980
1981 2007-01-30 Juanma Barranquero <lekktu@gmail.com>
1982
1983 * subdirs.el: Add "no-byte-compile: t" local variable.
1984
1985 2007-01-10 Jason Rumney <jasonr@gnu.org>
1986
1987 * README: Update URLs and advice about reporting bugs.
1988
1989 2006-12-29 Jason Rumney <jasonr@gnu.org>
1990
1991 * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
1992 DEBUG_LINK.
1993 (DEBUG_LINK): Remove -debugtype:both.
1994
1995 2006-12-27 Eli Zaretskii <eliz@gnu.org>
1996
1997 * INSTALL: Update table of supported Make ports. Show "make -j"
1998 command that is known to work.
1999
2000 * configure.bat: Update table of supported Make ports.
2001
2002 2006-12-24 Eli Zaretskii <eliz@gnu.org>
2003
2004 * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
2005 only in implicit rules. Use literal "emacs.rc" instead.
2006
2007 2006-12-23 Eli Zaretskii <eliz@gnu.org>
2008
2009 * gmake.defs: Export XMFLAGS.
2010
2011 * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
2012 Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
2013
2014 2006-12-22 Eli Zaretskii <eliz@gnu.org>
2015
2016 * INSTALL: Explain how to invoke GNU Make for parallel builds.
2017
2018 * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
2019 command-line argument to sub-Make in src, since src/makefile.w32-in
2020 invokes Make recursively during bootstrap.
2021 (clean): Delete stamp_BLD.
2022 (bootstrap): Make `all' explicitly in a recursive Make.
2023
2024 * gmake.defs (stamp_BLD): Rename from $(BLD). Create a file
2025 stamp_BLD after creating the $(BLD) directory.
2026
2027 * nmake.defs (stamp_BLD): Rename from $(BLD). Create a file
2028 stamp_BLD after creating the $(BLD) directory.
2029
2030 * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
2031 (preprep, $(TRES), runemacs)
2032 ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
2033 ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2034 Depend on stamp_BLD instead of on $(BLD).
2035 (XMFLAGS): New macro.
2036 (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
2037 (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
2038 (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
2039 (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
2040
2041 2006-12-20 Eli Zaretskii <eliz@gnu.org>
2042
2043 * makefile.w32-in ($(TRES)): Depend on $(BLD). Use $< instead of
2044 $(ALL_DEPS).
2045 ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
2046 ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
2047 New dependency on $(BLD).
2048 (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
2049 (bootstrap-gmake): Depend on addsection.
2050
2051 2006-10-29 Juanma Barranquero <lekktu@gmail.com>
2052
2053 * runemacs.c (WinMain): Process all recognized arguments, not just
2054 the first one. Remove unused variable sec_desc.
2055
2056 2006-09-24 Eli Zaretskii <eliz@gnu.org>
2057
2058 * config.nt (HAVE_LANGINFO_CODESET): Define.
2059
2060 * inc/langinfo.h: New file.
2061
2062 * inc/nl_types.h: New file.
2063
2064 2006-09-15 Jay Belanger <belanger@truman.edu>
2065
2066 * COPYING: Replace "Library Public License" by "Lesser Public
2067 License" throughout.
2068
2069 2006-07-27 Jason Rumney <jasonr@gnu.org>
2070
2071 * INSTALL: Add notes about Cygwin make to impatient section.
2072
2073 2006-06-02 Eli Zaretskii <eliz@gnu.org>
2074
2075 * INSTALL: Add Make 3.81 to the list of Make & shell combinations
2076 known to work.
2077
2078 2006-03-12 Jason Rumney <jasonr@gnu.org>
2079
2080 * addpm.c (add_registry): Don't change the registry unless keys
2081 already exist from a previous version.
2082
2083 * makefile.w32-in (install): Use -q when invoking addpm.
2084
2085 * addpm.c (main): Accept -q as alternative for /q.
2086
2087 2006-03-11 Jason Rumney <jasonr@gnu.org>
2088
2089 * runemacs.c (WinMain): Set screen buffer to 80x25.
2090
2091 2005-12-24 Eli Zaretskii <eliz@gnu.org>
2092
2093 * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
2094 (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
2095
2096 2005-12-09 Eli Zaretskii <eliz@gnu.org>
2097
2098 * INSTALL: Add explanation of how to debug with GDB starting from
2099 the Emacs Abort dialog.
2100
2101 2005-11-26 Chong Yidong <cyd@stupidchicken.com>
2102
2103 * emacs.rc: Use new icons.
2104
2105 2005-11-26 Eli Zaretskii <eliz@gnu.org>
2106
2107 * emacs21.ico: Renamed from emacs.ico.
2108 * emacs.ico: New icons from Andrew Zhilin
2109 <andrew_zhilin@yahoo.com>.
2110
2111 2005-09-10 Eli Zaretskii <eliz@gnu.org>
2112
2113 * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
2114
2115 2005-08-10 Juanma Barranquero <lekktu@gmail.com>
2116
2117 * .cvsignore: Add `obj' and `oo' for in-place installations.
2118
2119 2005-07-30 Eli Zaretskii <eliz@gnu.org>
2120
2121 * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
2122
2123 2005-07-29 Juanma Barranquero <lekktu@gmail.com>
2124
2125 * configure.bat: Don't create lisp/Makefile.unix.
2126
2127 2005-07-28 Juanma Barranquero <lekktu@gmail.com>
2128
2129 * .cvsignore: Add `makefile' and `config.log'.
2130
2131 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
2132
2133 Merge gnulib getopt implementation into Emacs.
2134
2135 * inc/gettext.h: Remove; no longer needed now that
2136 lib-src/gettext.h exists.
2137
2138 2005-07-16 Eli Zaretskii <eliz@gnu.org>
2139
2140 * configure.bat: Finish config.log with a line that indicates that
2141 the configure step was successful.
2142
2143 2005-07-04 Lute Kamstra <lute@gnu.org>
2144
2145 Update FSF's address in GPL notices.
2146
2147 2005-06-11 Eli Zaretskii <eliz@gnu.org>
2148
2149 * configure.bat: If their fc.exe returns a meaningful exit status,
2150 don't overwrite src/config.h and src/epaths.h with identical
2151 copies.
2152
2153 * INSTALL: Warn about using "cvs up -kb" if one intends to commit
2154 changes. Add a pointer to another site with detailed configure
2155 and build instructions. Suggest to look at config.log when
2156 configure fails. Add MinGW Make 3.80 to the list of successful
2157 combinations.
2158
2159 * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
2160 "-mcpu=i686".
2161
2162 * configure.bat: Update copyright years.
2163 Delete config.log before doing anything else.
2164 Write additional diagnostics to config.log in case of failures to
2165 compile test programs, including the failed test program itself.
2166 Add a test for support of -mtune=pentium4 switch to GCC; if it is
2167 supported, set up MCPU_FLAG variable on the various Makefiles to
2168 use that switch during compilations. (This avoids GCC warning
2169 about -mcpu being deprecated.)
2170
2171 2005-06-10 Eli Zaretskii <eliz@gnu.org>
2172
2173 * addsection.c (copy_executable_and_add_section): Pass non-zero
2174 `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
2175 environment. Print section names with %.8s.
2176 (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
2177 only if non-zero. All callers changed.
2178
2179 2005-06-05 Eli Zaretskii <eliz@gnu.org>
2180
2181 * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
2182 `const void *', for consistency with POSIX.
2183
2184 2005-06-04 Eli Zaretskii <eliz@gnu.org>
2185
2186 * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
2187
2188 2005-05-24 Juanma Barranquero <lekktu@gmail.com>
2189
2190 * INSTALL: Add more pointers to ports of Unix tools to Windows,
2191 and to the Emacs Wiki (which contains building instructions for
2192 Windows). Reword image library instructions and remove obsolete
2193 incompatibility information.
2194
2195 2005-04-23 David Hunter <hunterd42@comcast.net> (tiny change)
2196
2197 * config.nt (HAVE_PWD_H): Undef.
2198
2199 2004-06-07 Juanma Barranquero <lektu@terra.es>
2200
2201 * INSTALL: Clarify paragraph about compatibility between image
2202 libraries and builds of Emacs with several compilers.
2203
2204 2004-06-06 Juanma Barranquero <lektu@terra.es>
2205
2206 * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
2207 the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
2208 calling non-existent cmdproxy.exe on bootstrapping after a
2209 previous install followed by realclean.
2210
2211 * nmake.defs: Add quote in comment to resync font-locking.
2212
2213 2004-06-04 Juanma Barranquero <lektu@terra.es>
2214
2215 * INSTALL: Reword the section on image support. Add reference to
2216 GnuWin32. Mention problems when mixing binaries from different
2217 compilers.
2218
2219 2004-05-06 Jason Rumney <jasonr@gnu.org>
2220
2221 * configure.bat: Use -mno-cygwin to check for image libraries
2222 when needed.
2223
2224 2004-05-03 Jason Rumney <jasonr@gnu.org>
2225
2226 * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
2227 * makefile.def: Remove.
2228
2229 * nmake.defs (SYS_LDFLAGS): Add -nologo.
2230
2231 * makefile.w32-in (info-gmake, info-nmake): New targets.
2232 (info): Use them.
2233
2234 2004-04-23 Juanma Barranquero <lektu@terra.es>
2235
2236 * nmake.defs:
2237 * gmake.defs:
2238 * makefile.w32-in:
2239 * makefile.def:
2240 * makefile.nt: Add "-*- makefile -*-" mode tag.
2241
2242 2004-04-10 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
2243
2244 * runemacs.c (WinMain): Let Emacs environment default to parent.
2245
2246 2004-03-11 Jason Rumney <jasonr@gnu.org>
2247
2248 * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
2249
2250 2004-03-10 Juanma Barranquero <lektu@terra.es>
2251
2252 * makefile.w32-in (install): Don't try to copy
2253 ../lib-src/fns-*.el, as it isn't used anymore.
2254
2255 2004-01-28 Peter Runestig <peter@runestig.com>
2256
2257 * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2258
2259 2003-12-24 Miles Bader <miles@gnu.ai.mit.edu>
2260
2261 * .cvsignore: Add `.arch-inventory'.
2262
2263 2003-11-22 Lars Hansen <larsh@math.ku.dk>
2264
2265 * inc/grp.h: New file.
2266
2267 2003-09-03 Peter Runestig <peter@runestig.com>
2268
2269 * configure.bat: Create ``makefile'' in directories man, lispref
2270 and lispintro.
2271
2272 * makefile.w32-in (force-info, info): New targets.
2273
2274 * envadd.bat: New file.
2275
2276 * multi-install-info.bat: New file.
2277
2278 2003-06-27 Jan Djärv <jan.h.d@swipnet.se>
2279
2280 * config.nt (my_strftime): New define.
2281
2282 2003-02-01 Jason Rumney <jasonr@gnu.org>
2283
2284 * configure.bat: Automatically detect libXpm.
2285 Suppress compiler output when testing for image libraries.
2286 Give names of un-found libraries in messages.
2287
2288 2003-01-31 Juanma Barranquero <lektu@terra.es>
2289
2290 * configure.bat: Automatically detect giflib and tifflib.
2291
2292 2003-01-29 Jason Rumney <jasonr@gnu.org>
2293
2294 * gmake.defs (CURDIR): Disable cygpath kludge.
2295
2296 2003-01-29 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>
2297
2298 * configure.bat: Avoid endless loop when configuring without image
2299 support.
2300
2301 2003-01-26 Jason Rumney <jasonr@gnu.org>
2302
2303 * configure.bat: Automatically detect jpeglib.
2304
2305 2003-01-25 Jason Rumney <jasonr@gnu.org>
2306
2307 * configure.bat: Automatically detect libpng.
2308
2309 2003-01-21 Jason Rumney <jasonr@gnu.org>
2310
2311 * icons/hand.cur: New file.
2312
2313 2003-01-21 David Ponce <david@dponce.com>
2314
2315 * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2316
2317 2003-01-15 Andrew Innes <andrewi@gnu.org>
2318
2319 * gmake.defs (CURDIR): Convert to native Windows format (with
2320 forward slashes), to support building with Cygwin builds of make.
2321
2322 2002-11-17 Ben Key <BKey1@tampabay.rr.com>
2323
2324 * nmake.defs:
2325 * gmake.defs: Made changes so that Emacs would link with
2326 WinMM.lib. This change was required for my addition of a Windows
2327 compatible implementation of play-sound-internal.
2328
2329 2002-09-03 Peter Runestig <peter@runestig.com> (tiny change)
2330
2331 * emacs.rc: Version updated to 21.3.50.
2332
2333 2002-06-13 Jason Rumney <jasonr@gnu.org>
2334
2335 * addpm.c (env_vars): Remove EMACSLOCKDIR.
2336
2337 * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2338 (maybe-bootstrap-SH): New targets.
2339 (all): Depend on maybe-bootstrap.
2340
2341 2002-05-03 Jason Rumney <jasonr@gnu.org>
2342
2343 * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2344 (sys_getpeername, fcntl): Declare as wrappers.
2345
2346 2002-04-10 Juanma Barranquero <lektu@terra.es>
2347
2348 * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2349 after compiling .el files.
2350
2351 2002-03-20 Jason Rumney <jasonr@gnu.org>
2352
2353 * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2354 (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2355
2356 2002-03-19 Kim F. Storm <storm@cua.dk>
2357
2358 * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2359 (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2360 (HAVE_SYS_UN_H): Undef.
2361 From David Ponce <dponce@voila.fr>.
2362
2363 2002-03-13 Jason Rumney <jasonr@gnu.org>
2364
2365 * config.nt (STRFTIME_NO_POSIX2): Define.
2366
2367 2002-02-18 Jason Rumney <jasonr@gnu.org>
2368
2369 * emacs.rc: Define VS_VERSION_INFO if not already.
2370 Update version info.
2371
2372 2002-01-04 Andrew Innes <andrewi@gnu.org>
2373
2374 * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2375 pick up relevant bits of the Windows API definitions.
2376
2377 * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2378 pick up relevant bits of the Windows API definitions.
2379
2380 2001-12-14 Andrew Innes <andrewi@gnu.org>
2381
2382 * makefile.w32-in (bootstrap): Build addsection program before
2383 bootstrap (required for post-processing temacs.exe).
2384
2385 2001-12-08 Pavel Janík <Pavel@Janik.cz>
2386
2387 * COPYING: New file.
2388
2389 2001-12-03 Andrew Innes <andrewi@gnu.org>
2390
2391 * makefile.w32-in (bootstrap-nmake):
2392 (bootstrap-gmake): Extend bootstrap process to first do
2393 bootstrap-clean in lisp dir and rebuild the DOC file.
2394 (bootstrap): Do a "normal" make after the bootstrap work.
2395
2396 2001-11-20 Jason Rumney <jasonr@gnu.org>
2397
2398 * INSTALL: Update table of versions of make that are suitable
2399 for building Emacs, based on recent feedback.
2400
2401 * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2402
2403 2001-11-19 Andrew Innes <andrewi@gnu.org>
2404
2405 * ftime-nostartup.bat: New file.
2406
2407 * ftime.bat: Don't include libc.lib for profiling - the profiler
2408 corrupts part of memcpy.
2409
2410 2001-11-17 Jason Rumney <jasonr@gnu.org>
2411
2412 * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2413 expansion. From Juanma Barranquero <lektu@terra.es>.
2414
2415 2001-10-20 Gerd Moellmann <gerd@gnu.org>
2416
2417 * (Version 21.1 released.)
2418
2419 2001-10-12 Andrew Innes <andrewi@gnu.org>
2420
2421 * inc/pwd.h (uid_t, gid_t): New typedefs.
2422
2423 2001-10-05 Gerd Moellmann <gerd@gnu.org>
2424
2425 * Branch for 21.1.
2426
2427 2001-09-08 Eli Zaretskii <eliz@is.elta.co.il>
2428
2429 * README: Update the address of the mailing list and subscription
2430 instructions. From Geoff Voelker <voelker@cs.ucsd.edu>.
2431
2432 2001-09-06 Eli Zaretskii <eliz@is.elta.co.il>
2433
2434 * INSTALL: Suggest to avoid using WinZip.
2435
2436 * configure.bat: Make sure ../site-lisp exists; create if necessary.
2437
2438 2001-09-05 Eli Zaretskii <eliz@is.elta.co.il>
2439
2440 * INSTALL: Mention that "make install" can be "nmake install".
2441
2442 2001-09-04 Eli Zaretskii <eliz@is.elta.co.il>
2443
2444 * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2445 since some versions of `mkdir' don't automatically create parent
2446 directories. From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2447
2448 2001-08-31 Eli Zaretskii <eliz@is.elta.co.il>
2449
2450 * subdirs.el: New file.
2451
2452 * configure.bat: Copy subdirs.el to the site-lisp directory.
2453
2454 * makefile.w32-in (install): Copy subdirs.el to the installation
2455 directory.
2456
2457 2001-06-20 Jason Rumney <jasonr@gnu.org>
2458
2459 * runemacs.c (WinMain): Add quotes around command in case of spaces.
2460
2461 2001-06-01 Andrew Innes <andrewi@gnu.org>
2462
2463 * gmake.defs (sh_output): Don't use $(warning ...) to output
2464 messages, since that is not supported by GNU make 3.77.
2465
2466 2001-05-24 Jason Rumney <jasonr@gnu.org>
2467
2468 * INSTALL: Clarify that building with MSVC requires nmake.
2469
2470 2001-05-17 Andrew Innes <andrewi@gnu.org>
2471
2472 * gmake.defs (NEW_CYGWIN): Output message about spurious error
2473 message that is to be ignored.
2474
2475 2001-05-13 Andrew Innes <andrewi@gnu.org>
2476
2477 * TODO: Remove file, since it is completely out of date.
2478
2479 * README: Add copyright notice.
2480
2481 * INSTALL: Add copyright notice.
2482
2483 2001-04-18 Andrew Innes <andrewi@gnu.org>
2484
2485 * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2486 the environment.
2487
2488 * gmake.defs (SETLOADPATH): Remove definition.
2489 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2490 environment.
2491
2492 2001-03-26 Eli Zaretskii <eliz@is.elta.co.il>
2493
2494 * configure.bat: Make the checkw32api* labels be distinct in the
2495 first 8 characters.
2496
2497 2001-03-17 Andrew Innes <andrewi@gnu.org>
2498
2499 * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2500 escaped quotes.
2501
2502 * gmake.defs (DEBUG_LINK): New macro.
2503 (LINK_FLAGS): Use it.
2504
2505 * nmake.defs (DEBUG_LINK): New macro.
2506 (LINK_FLAGS): Use it.
2507
2508 2001-03-06 Andrew Innes <andrewi@gnu.org>
2509
2510 * INSTALL: Add --ldflags to configure line for building with
2511 recent versions of Cygwin GCC.
2512
2513 2001-03-05 Eli Zaretskii <eliz@is.elta.co.il>
2514
2515 * configure.bat: Use correct options when compiling a test program
2516 with Cygwin. From David Ponce <dponce@voila.fr>.
2517
2518 2001-02-24 Andrew Innes <andrewi@gnu.org>
2519
2520 * _emacs: Remove obsolete file.
2521
2522 * emacs.bat.in: Remove obsolete file.
2523
2524 * debug.bat.in: Remove obsolete file.
2525
2526 * inc/sys/socket.h: Add copyright notice.
2527
2528 * paths.h: Add copyright notice.
2529
2530 * makefile.nt: Update copyright notice.
2531
2532 * makefile.def: Update copyright notice.
2533
2534 * configure.bat: Update copyright notice.
2535
2536 * nmake.defs: Add copyright notice.
2537
2538 * gmake.defs: Add copyright notice.
2539
2540 * makefile.w32-in: Add copyright notice.
2541
2542 2001-02-05 Andrew Innes <andrewi@gnu.org>
2543
2544 * nmake.defs (THISDIR): New definition.
2545
2546 * gmake.defs (THISDIR): New definition.
2547
2548 2001-02-03 Andrew Innes <andrewi@gnu.org>
2549
2550 * configure.bat: Leave a space before >> only when there is a
2551 preceding digit. Add a comment about the importance of this.
2552
2553 * README: Replace outdated information.
2554
2555 * INSTALL (Trouble-shooting): Add note about need to specify extra
2556 compiler flags with recent Cygwin ports of gcc.
2557
2558 2001-02-01 Eli Zaretskii <eliz@is.elta.co.il>
2559
2560 * configure.bat: Use "rm -f" instead of "del /f", as the latter
2561 is not supported by Windows 9X's COMMAND.COM.
2562
2563 2001-01-31 Eli Zaretskii <eliz@is.elta.co.il>
2564
2565 * configure.bat: Make sure redirection is preceded by a blank, to
2566 avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2567 up the "1" part. From Rob Giardina <rob@criticalpointsoftware.com>.
2568
2569 2001-01-30 Eli Zaretskii <eliz@is.elta.co.il>
2570
2571 * INSTALL: Copy the table of tested combinations of development
2572 tools from configure.bat. Add suggestion to install Bash on
2573 Windows 9X.
2574
2575 * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2576 lisp/Makefile.in instead. Use "rm -f" where more than one file
2577 needs to be deleted, since command.com in Windows 9X doesn't grok
2578 more than one argument.
2579
2580 2001-01-24 Andrew Innes <andrewi@gnu.org>
2581
2582 * makefile.w32-in (cleanall-other-dirs-nmake):
2583 (cleanall-other-dirs-gmake): New targets.
2584 (cleanall): Invoke them.
2585
2586 2001-01-19 Andrew Innes <andrewi@gnu.org>
2587
2588 * addpm.c (env_vars): Add a version-independent site-lisp
2589 directory to EMACSLOADPATH, after the version dependent one.
2590
2591 2001-01-06 Andrew Innes <andrewi@gnu.org>
2592
2593 * README: Update info about compilers.
2594
2595 * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2596 select correct rule for invoking make in another directory.
2597 Amend rules accordingly.
2598 (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2599
2600 * nmake.defs (EMACS_ICON_PATH): Delete definition.
2601 (COMPILER_TEMP_FILES): New definition.
2602 (MAKETYPE): New definition.
2603
2604 * gmake.defs (EMACS_ICON_PATH): Delete definition.
2605 (COMPILER_TEMP_FILES): New definition.
2606 (MAKETYPE): New definition.
2607
2608 * makefile.def (EMACS_ICON_PATH): Delete definition.
2609
2610 * configure.bat: Be careful not to add trailing spaces when
2611 outputting to config.settings.
2612
2613 2001-01-02 Andrew Innes <andrewi@gnu.org>
2614
2615 * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2616 than the function.
2617
2618 2000-12-17 Andrew Innes <andrewi@gnu.org>
2619
2620 * makefile.w32-in (install): Copy directories to the correct
2621 places.
2622 (real_install): Remove obsolete target.
2623
2624 2000-12-06 Andrew Innes <andrewi@gnu.org>
2625
2626 * nmake.defs (CURDIR): New define.
2627 (INSTALL_DIR): Use it.
2628
2629 * gmake.defs (NEW_CYGWIN): New define.
2630 (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2631 so we need to adjust how we escape embedded quotes.
2632 (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2633 relative to $(CURDIR).
2634
2635 2000-11-25 Jason Rumney <jasonr@gnu.org>
2636
2637 * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2638
2639 2000-10-17 Andrew Innes <andrewi@gnu.org>
2640
2641 * makefile.w32-in (recompile): New target to recompile lisp
2642 directory.
2643 (recompile-CMD, recompile-SH): New support targets.
2644
2645 2000-09-24 Jason Rumney <jasonr@gnu.org>
2646
2647 * config.nt (NO_RETURN): Define it.
2648
2649 2000-09-17 Andrew Innes <andrewi@gnu.org>
2650
2651 * gmake.defs: Revert to Unix line endings.
2652
2653 * nmake.defs: Revert to Unix line endings.
2654
2655 2000-09-16 Andrew Innes <andrewi@gnu.org>
2656
2657 * gmake.defs (SETLOADPATH): Change definition to work from any
2658 subdirectory.
2659
2660 2000-09-14 Andrew Innes <andrewi@gnu.org>
2661
2662 * makefile.w32-in: Revert to Unix line endings.
2663
2664 2000-09-14 Andrew Innes <andrewi@gnu.org>
2665
2666 * INSTALL: Add note about expected error messages when configure
2667 is run.
2668
2669 * configure.bat: Simplify the generation of makefiles (don't need
2670 to generate various top-level targets that invoke make in other
2671 directories).
2672
2673 * gmake.defs (SHELLTYPE): New define.
2674 (SETLOADPATH): New define.
2675
2676 * nmake.defs (SHELLTYPE): New define.
2677
2678 * makefile.w32-in: Standardize indentation somewhat.
2679 Add bootstrap support.
2680 Pass $(MFLAGS) when invoking make recursively.
2681 Add shell-specific variants of top-level targets that invoke make
2682 recursively in other directories, and add necessary computed
2683 dependencies.
2684
2685 2000-09-03 Andrew Innes <andrewi@gnu.org>
2686
2687 * makefile.w32-in: Change to DOS line endings.
2688
2689 * configure.bat: Change to DOS line endings.
2690
2691 * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2692 (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2693
2694 * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2695 (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2696
2697 * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2698 -D_ANONYMOUS_STRUCT on compile line.
2699 (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2700 (ARCH_CFLAGS): Change optimization flags to -O2.
2701 (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2702 (ARGQUOTE, DQUOTE): New defines.
2703
2704 * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2705 -D_ANONYMOUS_STRUCT on compile line.
2706 (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2707 (ARGQUOTE, DQUOTE): New defines.
2708
2709 2000-08-22 Andrew Innes <andrewi@gnu.org>
2710
2711 * configure.bat: New file.
2712
2713 * gmake.defs: New file.
2714
2715 * nmake.defs: New file.
2716
2717 * makefile.w32-in: New file.
2718
2719 * INSTALL: Rewrite to match new configure process.
2720
2721 * config.nt [WINDOWSNT]: Don't declare getenv.
2722 (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2723
2724 * addpm.c (main): Accept /q to mean install based on addpm's
2725 location without asking. Remove reference to emacs.bat which is
2726 now obsolete.
2727
2728 * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2729
2730 * paths.h: Use forward slash as directory separator in all path
2731 definitions.
2732 (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2733
2734 * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2735
2736 * runemacs.c: Remove WIN32 define.
2737
2738 * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2739 not defined.
2740
2741 * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2742 (fd_set): Define to new name, after including winsock.h, so we can
2743 provide our own implementation.
2744
2745 2000-07-05 Andrew Innes <andrewi@gnu.org>
2746
2747 * ebuild.bat: Add support for specifying make arguments.
2748
2749 * makefile.nt: Add support for `bootstrap' and related targets.
2750
2751 2000-06-11 Jason Rumney <jasonr@gnu.org>
2752
2753 * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2754
2755 2000-02-06 Andrew Innes <andrewi@gnu.org>
2756
2757 * inc/sys/time.h: Add inclusion protection.
2758
2759 * makefile.def (SYS_LDFLAGS): Add -nologo.
2760
2761 1999-11-22 Andrew Innes <andrewi@gnu.org>
2762
2763 * install.bat: Pass on command line arguments to make.
2764
2765 * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2766
2767 1999-11-21 Andrew Innes <andrewi@gnu.org>
2768
2769 * makefile.nt (all): Build leim if present.
2770 (install): Install leim if present.
2771 (clean): Clean leim if present.
2772
2773 * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2774 definition.
2775
2776 * emacs.bat.in (EMACSLOADPATH): Include leim.
2777
2778 1999-07-12 Richard Stallman <rms@gnu.org>
2779
2780 * Version 20.4 released.
2781
2782 1999-06-16 Andrew Innes <andrewi@gnu.org>
2783
2784 * emacs.rc: Use an icon with a transparent background, to be in
2785 keeping with other applications.
2786
2787 1999-06-03 Andrew Innes <andrewi@gnu.org>
2788
2789 * preprep.c: Fix typo.
2790
2791 1999-05-02 Andrew Innes <andrewi@gnu.org>
2792
2793 * config.h: Remove obsolete file.
2794
2795 * preprep.c (copy_executable_and_move_sections): Ifdef out a
2796 couple of unused switch cases that aren't defined on all
2797 platforms.
2798
2799 * ftime.bat: Add another variation of the profile command, which
2800 only profiles extended commands.
2801
2802 1999-03-31 Geoff Voelker <voelker@cs.washington.edu>
2803
2804 * cmdproxy.c (main): Fix parens.
2805
2806 1999-03-25 Andrew Innes <andrewi@gnu.org>
2807
2808 * cmdproxy.c (main): Call GetShortPathName to normalize program
2809 names for comparison.
2810
2811 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
2812
2813 * makefile.def: Compile multiple .c files when possible.
2814 Use BLD instead of assuming i386.
2815 * makefile.nt: Remove common multiple file compilation commands.
2816
2817 1999-03-04 Geoff Voelker <voelker@cs.washington.edu>
2818
2819 * cmdproxy.c (main): Add missing parens.
2820
2821 1999-02-20 Andrew Innes <andrewi@gnu.org>
2822
2823 * preprep.c: New program to allow dumped image to be profiled.
2824
2825 * makefile.nt (preprep): New target.
2826 (ALL): Build it.
2827
2828 * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2829
2830 * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2831 Change prep options to profile libc functions and skip the startup
2832 code.
2833
2834 1999-02-15 Geoff Voelker <voelker@cs.washington.edu>
2835
2836 * makefile.nt: Create installation directory as first step.
2837
2838 1999-01-31 Andrew Innes <andrewi@gnu.org>
2839
2840 * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2841 ROUND_UP_DST. Zeroes the alignment slop.
2842 (copy_executable_and_add_section): Update the
2843 SizeOfHeaders field properly.
2844
2845 1999-01-27 Andrew Innes <andrewi@gnu.org>
2846
2847 * makefile.nt: Do make version comparison as strings.
2848
2849 1999-01-26 Andrew Innes <andrewi@harlequin.co.uk>
2850
2851 * runemacs.c (WinMain): Pass explicit environment block to
2852 CreateProcess, to work around a bug in Windows 95/98.
2853
2854 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
2855
2856 * icons: New directory with Davenport's icons.
2857 * icons/sink.ico: Renamed from emacs.ico.
2858
2859 * makefile.nt (install, fast_install): Install Windows icons
2860 into etc/icons.
2861
2862 * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2863
2864 1999-01-17 Andrew Innes <andrewi@gnu.org>
2865
2866 * makefile.nt (ALL): List top-level targets.
2867 (addsection): New top-level target.
2868 (install): Copy fns-*.el to bin directory.
2869
2870 * addsection.c: New program to add static heap section to
2871 temacs.exe after linking, in support of new unexec method.
2872
2873 1998-12-28 Andrew Innes <andrewi@delysid.gnu.org>
2874
2875 * cmdproxy.c (spawn): Pass directory for child as parameter.
2876 (main): Save startup directory to give to spawn, then change
2877 directory to location of .exe in order not to prevent startup
2878 directory from being deleted.
2879
2880 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
2881
2882 * makefile.nt: Do string comparison of _NMAKE_VER.
2883
2884 1998-12-02 Geoff Voelker <voelker@cs.washington.edu>
2885
2886 * config.nt (LOCALTIME_CACHE): Define.
2887
2888 1998-11-13 Andrew Innes <andrewi@delysid.gnu.org>
2889
2890 * install.bat: Convert to DOS format.
2891
2892 1998-11-10 Andrew Innes <andrewi@harlequin.co.uk>
2893
2894 * cmdproxy.c (main): Set environment size only when running
2895 command.com.
2896
2897 1998-11-03 Theodore Jump <tjump@tertius.com>
2898
2899 * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
2900 (DEL_TREE): Use rd instead of rmdir.
2901 (ARCH_CFLAGS): Optimize for P6. Align structures on 8-byte boundaries.
2902 * makefile.nt: Compile multiple source files when possible.
2903
2904 1998-10-05 Geoff Voelker <voelker@cs.washington.edu>
2905
2906 * cmdproxy.c (main): Treat command line options as case-insensitive.
2907
2908 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
2909
2910 * Version 20.3 released.
2911
2912 1998-07-20 Geoff Voelker <voelker@cs.washington.edu>
2913
2914 * addpm.c (main): Explicitly check result of message box for OK.
2915
2916 1998-06-05 Andrew Innes <andrewi@harlequin.co.uk>
2917
2918 * inc/sys/file.h (D_OK): Define new macro.
2919
2920 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
2921
2922 * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
2923
2924 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
2925
2926 * emacs.rc (VS_VERSION_INFO): Define.
2927
2928 1998-04-23 Geoff Voelker <voelker@cs.washington.edu>
2929
2930 * makefile.nt (emacs.bat, debug.bat): Create them in the
2931 installation directory.
2932
2933 1998-04-23 Andrew Innes <andrewi@harlequin.co.uk>
2934
2935 * ddeclient.c: New file. (Support program for performing limited
2936 interprocess communication on Windows.)
2937
2938 * makefile.nt: Build ddeclient.
2939
2940 * cmdproxy.c (main): Only set environment size for real shell, and
2941 provide extra directory argument, when running on Windows 95.
2942
2943 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
2944
2945 * cmdproxy.c (fail): Exit with a negative return value.
2946 (spawn): Return subprocess return code as an argument.
2947 Explicitly copy environment block.
2948 (main): Update to use return value argument with spawn.
2949 Retry if spawn failed when a subshell was not tried.
2950
2951 * config.nt: Include new macros from src/config.in.
2952 (GNU_MALLOC, REL_ALLOC): Define.
2953 (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
2954 (RE_TRANSLATE): Use char_table_translate.
2955
2956 * makefile.def (CP_DIR): Preserve attributes.
2957
2958 * makefile.nt (clean): Delete patch generated files, optimized
2959 build directory.
2960
2961 1997-10-01 Geoff Voelker <voelker@cs.washington.edu>
2962
2963 * addpm.c (env_vars): Fix misplaced % in SHELL entry.
2964
2965 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2966
2967 * Version 20.2 released.
2968
2969 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2970
2971 * Version 20.1 released.
2972
2973 1997-09-11 Geoff Voelker <voelker@cs.washington.edu>
2974
2975 * debug.bat.in: New file.
2976 * makefile.nt (debug.bat): New target.
2977
2978 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
2979
2980 * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
2981 Quote group name. Allow different icons to be specified.
2982
2983 * cmdproxy.c (get_env_size): New function.
2984 (spawn): Explicitly pass in environment when creating subprocess.
2985 (main): Cleanup error messages.
2986 Specify dynamically sized environment block for real shell.
2987 Pass on unhandled switches to real shell.
2988 Quote program name.
2989
2990 * makefile.def (CFLAGS_COMMON): Place pdb file in object build
2991 directory.
2992 (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
2993
2994 * runemacs.c (WinMain): Allow Emacs process to be started with
2995 high or low priority.
2996
2997 * emacs.bat.in: Remove OS dependent operations.
2998
2999 1997-09-02 Geoff Voelker <voelker@cs.washington.edu>
3000
3001 * addpm.c (env_vars): No longer set INFOPATH.
3002
3003 * cmdproxy.c (get_next_token): Null terminate token returned.
3004
3005 * emacs.bat.in (INFOPATH): No longer set INFOPATH.
3006
3007 1997-08-10 Andrew Innes <andrewi@harlequin.co.uk>
3008
3009 * addpm.c (env_vars): Set SHELL to cmdproxy.
3010 (main): Initialize idDde to 0.
3011 Determine emacs_path from module file name.
3012 Prompt for install.
3013
3014 * makefile.def (MSVCNT11): Conditionally define it.
3015 (BASE_LIBS): Do not use oldnames.lib.
3016 (SYS_LDFLAGS): Use pdb files.
3017 (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
3018 (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
3019 (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
3020
3021 * makefile.nt (ALL): Build cmdproxy.
3022 (cmdproxy): New target.
3023 (install): Install cmdproxy.
3024
3025 * ftime.bat, debug.bat, cmdproxy.c: New files.
3026
3027 1997-07-10 Geoff Voelker <voelker@cs.washington.edu>
3028
3029 * inc/sys/socket.h (shutdown): Define.
3030 (sys_shutdown): Export.
3031
3032 1997-07-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3033
3034 * config.nt (RE_TRANSLATE): Copy definition from config.in.
3035
3036 1997-07-01 Geoff Voelker <voelker@cs.washington.edu>
3037
3038 * config.nt: Update file comments.
3039 Update undefs added/removed in src/config.in.
3040
3041 1997-06-19 Geoff Voelker <voelker@cs.washington.edu>
3042
3043 * makefile.def, emacs.bat: Use windows95 and windowsnt instead
3044 of win95 and winnt, respectively.
3045
3046 1997-01-04 Geoff Voelker <voelker@cs.washington.edu>
3047
3048 * makefile.nt (real_install): Create site-lisp in installation dir.
3049 * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
3050 * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
3051
3052 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3053
3054 * Version 19.33 released.
3055
3056 1996-08-09 Geoff Voelker <voelker@cs.washington.edu>
3057
3058 * runemacs.c (WinMain): Put a space between the binary and its args.
3059
3060 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3061
3062 * Version 19.32 released.
3063
3064 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3065
3066 * makefile.nt (clean): Use OBJDIR macro.
3067
3068 1996-06-03 Kim F. Storm <kfs@olicom.dk>
3069
3070 * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
3071 Not defined by default.
3072 (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
3073 (WinMain): Convert backslashes to slashes in env var values.
3074
3075 * addpm.c (env_vars): Use slashes, not backslashes.
3076
3077 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3078
3079 * Version 19.31 released.
3080
3081 1996-05-13 Andrew Innes <andrewi@harlequin.co.uk>
3082
3083 * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
3084 undo settings afterwards.
3085
3086 1996-05-08 Andrew Innes <andrewi@harlequin.co.uk>
3087
3088 * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
3089 environment variable.
3090
3091 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
3092
3093 * install.bat: Allow for optimized build.
3094 * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
3095 (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
3096
3097 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
3098
3099 * addpm.c (REG_ROOT): Don't use a trailing backslash.
3100 (env_vars): Rename field emacs_path to emacs_dir.
3101 (main): Add link to runemacs instead of emacs.
3102
3103 * install.bat: Check if INSTALL_DIR is passed as an argument.
3104
3105 * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
3106
3107 * makefile.nt: Build and install runemacs.exe.
3108
3109 * runemacs.c: New file.
3110
3111 * config.w95: File removed.
3112
3113 * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
3114 inc/sys/socket.h, inc/sys/time.h: New header files.
3115
3116 * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
3117
3118 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3119
3120 * makefile.def (DEL): Defined.
3121 (DEL_TREE) [win95]: Defined.
3122 (SYS_LDFLAGS): Set executable versions to 3.10.
3123
3124 * makefile.nt: Change uses of del to $(DEL).
3125
3126 1996-01-17 Erik Naggum <erik@naggum.no>
3127
3128 * All files: Update FSF's address in comment preamble.
3129
3130 1996-01-03 George V. Reilly <georger@microcrafts.com>
3131
3132 * emacs.ico: Now the proverbial kitchen sink icon.
3133
3134 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3135
3136 * Version 19.30 released.
3137
3138 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
3139
3140 * makefile.def (CP_DIR): Use platform independent switches for xcopy.
3141
3142 * makefile.nt (install, fast_install, real_install, clean):
3143 Don't use switches to del not supported by Windows 95.
3144
3145 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
3146
3147 * makefile.nt (addpm.exe): Link with $(ADVAPI32).
3148 (install, fast_install): Change same-dir test to create test file in
3149 installation tree and thereby support read-only shares.
3150 (clean): Remove .pdb files.
3151
3152 * makefile.def (NTGUI): New macro.
3153 [NTGUI] (CFLAGS): Define HAVE_NTGUI.
3154
3155 * config.nt, config.w95: Update to latest src/config.in.
3156
3157 * addpm.c (env_vars): New variable.
3158 (add_registry): New procedure.
3159 (main): Use values of configuration environment variables from
3160 the registry if defined, the process environment otherwise.
3161
3162 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3163
3164 * Version 19.29 released.
3165
3166 * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
3167
3168 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
3169
3170 * makefile.nt: Define .c to .obj suffix rule.
3171 (addpm.obj): Compile directly, use CFLAGS.
3172 (addpm.exe): Link from addpm.obj.
3173
3174 * makefile.def (MSVCNT11): Defined.
3175 (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
3176 (CFLAGS_COMMON): Defined.
3177 (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
3178
3179 1995-06-09 Geoff Voelker <voelker@cs.washington.edu>
3180
3181 * emacs.bat.in: Renamed from emacs.bat.
3182 (emacs_dir): Rename from emacs_path.
3183 Definition removed.
3184
3185 * addpm.c: New file.
3186 * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
3187 (all): Depend upon $(BLD) and $(ALL).
3188 (install): Depend upon emacs.bat.
3189 Create program item for Emacs.
3190 (clean): Delete obj.
3191 (emacs.bat): Defined.
3192 * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
3193
3194 1995-05-27 Geoff Voelker <voelker@cs.washington.edu>
3195
3196 * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
3197 Add carriage returns; necessary for batch files on Windows 95.
3198
3199 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
3200
3201 * config.w95: Created.
3202 * config.h: Changed to config.nt.
3203
3204 * makefile.nt (SUBDIRS): Commented out.
3205 (all, install, clean): Expand for-loops.
3206 (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
3207
3208 * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
3209 (ARCH): New definition.
3210 (CPU, CONFIG_H, OS_TYPE): Defined.
3211 (INCLUDE, LIB): Checked if valid.
3212 (ntwin32.mak): Included.
3213 (AR, CC, LINK): New definition.
3214 (ADVAPI32, libc, BASE_LIBS): Defined.
3215 (SYS_LDFLAGS): New definition.
3216 Update comments and preprocessor conditionals.
3217
3218 * emacs.bat (SHELL): Conditionally defined.
3219 (HOME): Conditionally defined.
3220 (emacs_path, HOME): Update comments.
3221 Turn off all echo.
3222
3223 1995-05-09 Geoff Voelker <voelker@cs.washington.edu>
3224
3225 * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
3226 fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
3227 inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
3228 inc/sys/param.h: Removed carriage-returns.
3229
3230 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
3231
3232 * makefile.def (CVTRES): Defined.
3233
3234 * emacs.ico, emacs.rc: New files by Kevin Gallo.
3235
3236 1995-04-10 Geoff Voelker <voelker@cs.washington.edu>
3237
3238 * src: Remove directory.
3239
3240 * src\config.h, src\paths.h: Moved to parent dir, src removed.
3241
3242 1995-04-09 Geoff Voelker <voelker@cs.washington.edu>
3243
3244 * makefile.def (INSTALL_DIR): Change to generic directory.
3245
3246 * emacs.bat: Added arguments when emacs.exe invoked.
3247
3248 * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
3249
3250 1994-12-13 Geoff Voelker <voelker@cs.washington.edu>
3251
3252 * makefile.def (CC): In configuration section.
3253 (COMPAT_LIB): Defined.
3254
3255 1994-11-01 Geoff Voelker <voelker@cs.washington.edu>
3256
3257 * src/paths.h: New file.
3258
3259 * src/config.h: New file.
3260
3261 * inc/pwd.h: New file.
3262
3263 * inc/sys/dir.h: New file.
3264
3265 * inc/sys/file.h: New file.
3266
3267 * inc/sys/ioctl.h: New file.
3268
3269 * inc/sys/param.h: New file.
3270
3271 * todo: New file.
3272
3273 * README: New file.
3274
3275 * makefile.nt: New file.
3276
3277 * makefile.def: New file.
3278
3279 * install.cmd: New file.
3280
3281 * INSTALL: New file.
3282
3283 * fast-install.cmd: New file.
3284
3285 * emacs.cmd: New file.
3286
3287 * ebuild.cmd: New file.
3288
3289 * _emacs: New file.
3290
3291 ;; Local Variables:
3292 ;; coding: utf-8
3293 ;; add-log-time-zone-rule: t
3294 ;; End:
3295
3296 Copyright (C) 1995-1999, 2001-2013 Free Software Foundation, Inc.
3297
3298 This file is part of GNU Emacs.
3299
3300 GNU Emacs is free software: you can redistribute it and/or modify
3301 it under the terms of the GNU General Public License as published by
3302 the Free Software Foundation, either version 3 of the License, or
3303 (at your option) any later version.
3304
3305 GNU Emacs is distributed in the hope that it will be useful,
3306 but WITHOUT ANY WARRANTY; without even the implied warranty of
3307 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3308 GNU General Public License for more details.
3309
3310 You should have received a copy of the GNU General Public License
3311 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.