1 2013-03-26 Eli Zaretskii <eliz@gnu.org>
3 * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
6 * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
9 Fix more incompatibilities between MinGW.org and MinGW64 headers
10 reported by Óscar Fuentes in
11 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html
12 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00699.html
14 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00707.html.
15 * inc/ms-w32.h (USE_NO_MINGW_SETJMP_TWO_ARGS) [_W64]: Define to 1.
16 For MinGW64, include sys/types.h and time.h.
17 (_WIN32_WINNT) [!_W64]: Don't define for MinGW64.
19 * inc/sys/stat.h (chmod): Remove _CRTIMP from prototype.
21 * inc/sys/time.h (struct timeval) [!_W64]: Guard definition with
23 (struct timezone) [!_TIMEZONE_DEFINED]: Guard definition with
26 * addpm.c (_WIN32_IE) [_W64]: For MinGW64, don't define to 0x400.
28 * inc/sys/stat.h: Remove _CRTIMP from prototypes of fstat, stat,
31 2013-03-25 Eli Zaretskii <eliz@gnu.org>
33 Fix incompatibilities between MinGW.org and MinGW64 headers
34 reported by Óscar Fuentes in
35 http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00611.html.
36 * inc/ms-w32.h (struct timespec): Don't define if
37 _TIMESPEC_DEFINED is already defined.
38 (sigset_t) [!_POSIX]: Typedef for MinGW64.
39 (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Move definitions before
40 including the first system header, to avoid redefinition if some
41 system header defines a default value.
43 * inc/sys/time.h (struct itimerval): Don't define if
44 _TIMESPEC_DEFINED is already defined.
46 2013-03-16 Eli Zaretskii <eliz@gnu.org>
48 Fix the MSVC build. (Bug#13939)
49 * inc/stdint.h (UINTPTR_MAX): Define.
51 * nmake.defs (libc): Fix syntax of !if conditional.
53 2013-03-15 Juanma Barranquero <lekktu@gmail.com>
55 * config.nt: Sync with autogen/config.in.
56 (BSD_SYSTEM, BSD_SYSTEM_AHB, HAVE_ALARM, HAVE__PUTENV): Remove.
57 (HAVE_DECL_ALARM, HAVE_DECL_FDATASYNC, HAVE_DECL__PUTENV)
58 (HAVE_FDATASYNC): New macros.
60 2013-03-13 Paul Eggert <eggert@cs.ucla.edu>
62 File synchronization fixes (Bug#13944).
63 * inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
65 2013-03-05 Paul Eggert <eggert@cs.ucla.edu>
67 FILE's lock is now always .#FILE and may be a regular file (Bug#13807).
68 * inc/unistd.h (O_NOFOLLOW): New macro.
70 2013-03-04 Juanma Barranquero <lekktu@gmail.com>
72 * config.nt: Sync with autogen/config.in.
73 (DATA_START, ORDINARY_LINK): Remove.
74 (HAVE_DATA_START, HAVE__PUTENV): New macros.
76 2013-02-25 Eli Zaretskii <eliz@gnu.org>
78 * inc/ms-w32.h (BOOT_TIME_FILE): Define.
80 * config.nt (CLASH_DETECTION): Define to 1.
82 2013-02-16 Eli Zaretskii <eliz@gnu.org>
84 * inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
86 (chown, logb): Remove, unused.
88 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
90 * config.nt: Sync with autogen/config.in.
91 (GC_MARK_STACK): Remove.
92 (GNULIB_FDOPENDIR, HAVE_DECL_FDOPENDIR, HAVE_DECL_MEMRCHR)
93 (HAVE_DIRENT_H, HAVE_FDOPENDIR, HAVE_FSTATAT, HAVE_MEMRCHR)
94 (HAVE_WORKING_FSTATAT_ZERO_FLAG, _NETBSD_SOURCE): New macros.
96 2013-02-12 Eli Zaretskii <eliz@gnu.org>
98 * inc/ms-w32.h: Add prototype for memrchr.
100 2013-02-01 Paul Eggert <eggert@cs.ucla.edu>
102 Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
103 * inc/sys/stat.h (fstatat):
104 * inc/unistd.h (readlinkat): New decls.
106 2013-01-28 Eli Zaretskii <eliz@gnu.org>
108 * inc/dirent.h (opendir): Update prototype.
110 2013-01-11 Eli Zaretskii <eliz@gnu.org>
112 * inc/unistd.h (O_IGNORE_CTTY): Define, as it is unconditionally
113 used in term.c. (Bug#13387)
115 2013-01-09 Juanma Barranquero <lekktu@gmail.com>
117 * config.nt: Sync with autogen/config.in.
118 (HAVE_GTK_HANDLE_BOX_NEW, HAVE_GTK_TEAROFF_MENU_ITEM_NEW): New macros.
120 2012-12-24 Eli Zaretskii <eliz@gnu.org>
122 * inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
123 in lib/filemode.c that broke the MS-Windows build.
124 Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
126 2012-12-17 Juanma Barranquero <lekktu@gmail.com>
128 * config.nt: Sync with autogen/config.in.
131 2012-12-17 Eli Zaretskii <eliz@gnu.org>
133 * inc/sys/acl.h: New file.
135 * inc/ms-w32.h (ENOTSUP): Define if undefined.
137 * config.nt (HAVE_POSIX_ACL): Define.
139 2012-12-15 Eli Zaretskii <eliz@gnu.org>
141 * inc/ms-w32.h (sys_unlink): Provide prototype.
143 2012-12-14 Eli Zaretskii <eliz@gnu.org>
145 * inc/sys/stat.h: Declare w32_stat_get_owner_group.
147 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
149 * config.nt: Sync with autogen/config.in.
150 (HAVE_INOTIFY, HAVE_SYS_INOTIFY_H): New macros.
152 2012-12-11 Juanma Barranquero <lekktu@gmail.com>
154 * config.nt: Sync with autogen/config.in.
155 (HAVE_DECL_UNSETENV, HAVE_SIG2STR, VOID_UNSETENV): New macros.
156 (ULIMIT_BREAK_VALUE): Remove.
158 2012-12-10 Daniel Colascione <dancol@dancol.org>
160 * emacs.rc: Use forward slashes in relative paths in order to
161 avoid complaints from Cygwin. (Forward slashes work perfectly
162 well in the NT build.)
164 2012-12-09 Eli Zaretskii <eliz@gnu.org>
166 * inc/unistd.h (unsetenv): Provide a prototype.
168 2012-12-08 Eli Zaretskii <eliz@gnu.org>
170 * inc/ms-w32.h (putenv): Redirect to sys_putenv.
171 (sys_putenv): Add prototype.
173 * config.nt (HAVE_UNSETENV): Define to 1.
175 2012-12-01 Juanma Barranquero <lekktu@gmail.com>
177 * config.nt: Sync with autogen/config.in.
179 2012-11-24 Ken Brown <kbrown@cornell.edu>
181 * config.nt (HAVE_MOUSE): Remove.
183 2012-11-23 Juanma Barranquero <lekktu@gmail.com>
185 * config.nt: Sync with autogen/config.in.
186 (BROKEN_GETWD, HAVE_CLOSEDIR, HAVE_DIRENT_H, HAVE_FCNTL_H, HAVE_GETWD):
189 2012-11-23 Eli Zaretskii <eliz@gnu.org>
191 * gmake.defs (SWITCHCHAR): Define to // under MSYS, / otherwise.
194 * nmake.defs (SWITCHCHAR): Define to /.
196 2012-11-23 Paul Eggert <eggert@cs.ucla.edu>
198 Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
199 * inc/dirent.h: Rename from ../src/ndir.h, with these changes:
200 (struct dirent): Rename from struct direct. All uses changed.
201 * inc/sys/dir.h: Remove.
203 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
205 Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
206 * config.nt (HAVE_GETCWD): Remove.
208 2012-11-21 Eli Zaretskii <eliz@gnu.org>
210 * nmake.defs: Use !if, not !ifdef. For the details, see
211 http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00027.html
213 * inc/stdint.h (INTPTR_MIN):
214 (PTRDIFF_MIN) [!__GNUC__]: Define for MSVC.
216 2012-11-18 Eli Zaretskii <eliz@gnu.org>
218 * inc/unistd.h: Don't include fcntl.h and don't define O_RDWR.
220 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
222 * config.nt: Sync with autogen/config.in.
223 (HAVE_FPATHCONF): Remove.
225 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
227 Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
228 * inc/sys/socket.h (O_NONBLOCK): Rename from O_NDELAY, since the
229 POSIX name for this flag is O_NONBLOCK. All uses changed.
230 * inc/unistd.h (O_RDWR, O_NOCTTY): New macros. Like AT_FDCWD etc.
231 these really should be moved to a replacement <fcntl.h> if and
232 when that gets implemented. In the meantime, include <fcntl.h>
233 to make sure we don't override its definitions.
235 2012-11-17 Eli Zaretskii <eliz@gnu.org>
237 * inc/sys/wait.h: New file, with prototype of waitpid and
238 definitions of macros it needs.
240 * inc/ms-w32.h (wait): Don't define, 'wait' is not used anymore.
241 (sys_wait): Remove prototype.
243 * config.nt (HAVE_SYS_WAIT_H): Define to 1.
245 2012-11-17 Dani Moncayo <dmoncayo@gmail.com>
247 * zipdist.bat (ZIP_CHECK): Remove unused label. When invoking 7z
248 to check if it's installed, redirect standard output and standard
249 error to the null device.
250 (ZIP_DIST): Don't build the "barebin" distribution.
252 2012-11-15 Juanma Barranquero <lekktu@gmail.com>
254 * config.nt: Sync with autogen/config.in.
255 (GETGROUPS_T, GETGROUPS_ZERO_BUG, GNULIB_FACCESSAT, HAVE_ACCESS)
256 (HAVE_EACCESS, HAVE_FACCESSAT, HAVE_GETGROUPS, HAVE_LIBGEN_H):
259 2012-11-14 Eli Zaretskii <eliz@gnu.org>
261 * inc/unistd.h (faccessat): Add prototype.
262 (AT_FDCWD, AT_EACCESS, AT_SYMLINK_NOFOLLOW): New macros; the first
263 2 moved from ms-w32.h.
265 * inc/ms-w32.h (AT_FDCWD, AT_EACCESS, faccessat): Remove macros.
267 2012-11-14 Paul Eggert <eggert@cs.ucla.edu>
269 Use faccessat, not access, when checking file permissions (Bug#12632).
270 * inc/ms-w32.h (AT_FDCWD, AT_EACCESS): New symbols.
272 (faccessat): New macro.
274 2012-11-05 Eli Zaretskii <eliz@gnu.org>
276 * inc/unistd.h (tcgetpgrp, setsid): Provide prototypes.
278 2012-11-05 Juanma Barranquero <lekktu@gmail.com>
280 * config.nt: Sync with autogen/config.in.
281 (DISPNEW_NEEDS_STDIO_EXT, GETPGRP_VOID, HAVE_SETPGID, HAVE_SETSID)
282 (PENDING_OUTPUT_COUNT, SETPGRP_RELEASES_CTTY): Remove.
284 2012-11-04 Juanma Barranquero <lekktu@gmail.com>
286 * config.nt: Sync with autogen/config.in.
287 (GNULIB_CLOSE_STREAM, HAVE_DECL___FPENDING): New macros.
289 2012-11-03 Eli Zaretskii <eliz@gnu.org>
291 * config.nt (PENDING_OUTPUT_N_BYTES): Define.
293 2012-11-01 Eli Zaretskii <eliz@gnu.org>
295 * inc/unistd.h (setpgid, getpgrp): Provide prototypes. (Bug#12776)
297 * config.nt (GETPGRP_VOID): Define to 1.
299 2012-10-24 Juanma Barranquero <lekktu@gmail.com>
301 * config.nt: Sync with autogen/config.in.
303 2012-10-17 Eli Zaretskii <eliz@gnu.org>
305 * inc/pwd.h (getuid, geteuid): Add prototypes.
307 * inc/ms-w32.h (sys_wait, _getpid, gmtgime_r, localtime_r)
308 (signal_handler, sys_signal, sigemptyset, sigfillset, sigprocmask)
309 (pthread_sigmask, sigismember, setpgrp, sigaction, alarm)
310 (sys_kill, getpagesize): Add prototypes for emulated functions.
312 * inc/grp.h (getgid, getegid): Add prototypes.
314 * gmake.defs (DEBUG_CFLAGS) [NOOPT]: Add -std=gnu99.
316 * configure.bat (chkapiN): Avoid compiler warning in junk.c when
317 compiling with -std=gnu99.
319 * config.nt (CHECK_LISP_OBJECT_TYPE): Don't undef, so that it
320 could be used via --cflags switch to configure.bat.
322 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
324 * config.nt: Sync with autogen/config.in.
325 (HAVE_NTGUI): New macro.
327 2012-10-02 Eli Zaretskii <eliz@gnu.org>
329 * preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid
330 compiler warnings when using the value.
332 2012-10-01 Eli Zaretskii <eliz@gnu.org>
334 * preprep.c (RVA_TO_PTR): Use 'unsigned char *' instead of
335 'void *', for pointer arithmetics.
336 (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET): Enclose all
337 macro arguments in parentheses.
339 2012-09-30 Eli Zaretskii <eliz@gnu.org>
341 * makefile.w32-in ($(TRES)): Use $(EMACS_MANIFEST).
343 2012-09-30 Fabrice Popineau <fabrice.popineau@supelec.fr>
345 * inc/sys/socket.h: Don't map Winsock error codes to standard ones
346 that are already defined.
348 * inc/ms-w32.h (EMACS_INT, EMACS_UINT, EMACS_INT_MAX, PRIuMAX)
349 (pI, _INTPTR) [_MSC_VER]: Fix definitions for MSVC.
350 [_MSC_VER]: Add pragmas to suppress some MSVC warnings.
352 * preprep.c (pfnCheckSumMappedFile, rva_to_section)
353 (offset_to_section, relocate_offset, OFFSET_TO_RVA)
354 (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
355 (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
356 (copy_executable_and_move_sections, ADJUST_IMPORT_RVA, main):
357 Use DWORD_PTR instead of DWORD for compatibility with x64.
359 * nmake.defs: Support AMD64.
360 (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST): New macros.
362 * gmake.defs (EMACS_HEAPSIZE, EMACS_PURESIZE, EMACS_MANIFEST):
365 * addsection.c (pfnCheckSumMappedFile, rva_to_section)
366 (offset_to_section, relocate_offset, OFFSET_TO_RVA)
367 (RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET, PTR_TO_RVA)
368 (OFFSET_TO_PTR, ROUND_UP, ROUND_DOWN)
369 (copy_executable_and_add_section, main): Use DWORD_PTR instead of
370 DWORD, for compatibility with x64.
372 * emacs-x64.manifest: New file.
374 * emacs-x86.manifest: Renamed from emacs.manifest.
376 2012-09-30 Eli Zaretskii <eliz@gnu.org>
378 * inc/sys/time.h (ITIMER_REAL, ITIMER_PROF): Define.
379 (struct itimerval): Define.
380 (getitimer, setitimer): Add prototypes.
382 * inc/ms-w32.h <sigset_t> [_MSVC_VER]: Make the typedef consistent
384 (SA_RESTART, SIGPROF): Define.
386 * config.nt (HAVE_SETITIMER): Define to 1.
388 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
390 * config.nt: Sync with autogen/config.in.
392 2012-09-29 Juanma Barranquero <lekktu@gmail.com>
394 * config.nt: Sync with autogen/config.in.
395 (HAVE_TIMER_SETTIME): New macro.
397 2012-09-23 Eli Zaretskii <eliz@gnu.org>
399 * inc/ms-w32.h (emacs_raise): Redefine to invoke emacs_abort.
401 2012-09-23 Paul Eggert <eggert@cs.ucla.edu>
403 Simplify and avoid signal-handling races (Bug#12471).
404 * inc/ms-w32.h (emacs_raise): New macro.
406 2012-09-18 Eli Zaretskii <eliz@gnu.org>
408 * configure.bat: Include stddef.h before gif_lib.h, to have size_t
409 defined, as needed by giflib-5.0.0. (Bug#12464)
411 2012-09-17 Juanma Barranquero <lekktu@gmail.com>
413 * config.nt: Sync with autogen/config.in.
414 (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
416 2012-09-17 Glenn Morris <rgm@gnu.org>
418 * config.nt (COPYRIGHT): New.
420 2012-09-15 Paul Eggert <eggert@cs.ucla.edu>
422 Port _setjmp fix to POSIXish hosts as well as Microsoft.
423 * config.nt: Attempt to sync with autogen/config.in.
424 (HAVE_SIGSETJMP, HAVE__SETJMP): New macros.
425 (_longjmp, _setjmp): Remove.
427 2012-09-14 Juanma Barranquero <lekktu@gmail.com>
429 * config.nt: Sync with autogen/config.in.
430 (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGIO, BROKEN_SIGPOLL)
431 (BROKEN_SIGPTY, HAVE_CBRT, HAVE_LOGB, NO_TERMIO): Remove.
432 (USABLE_FIONREAD, USABLE_SIGIO): New macros.
434 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
436 * config.nt: Sync with autogen/config.in.
437 (FLOAT_CHECK_DOMAIN, HAVE_FMOD, HAVE_FREXP)
438 (HAVE_INVERSE_HYPERBOLIC, NO_MATHERR): Remove.
440 2012-09-08 Eli Zaretskii <eliz@gnu.org>
442 * configure.bat <use_extensions>: Don't leave it set in the
443 environment when the script exits.
445 2012-09-07 Juanma Barranquero <lekktu@gmail.com>
447 * config.nt: Sync with autogen/config.in.
448 (NO_ABORT, SIGNAL_H_AHB): Remove.
450 2012-09-07 Eli Zaretskii <eliz@gnu.org>
452 * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
454 2012-09-05 Juanma Barranquero <lekktu@gmail.com>
456 * config.nt: Sync with autogen/config.in.
458 2012-09-04 Paul Eggert <eggert@cs.ucla.edu>
460 Simplify redefinition of 'abort' (Bug#12316).
461 * inc/ms-w32.h (w32_abort) [HAVE_NTGUI]: Remove.
463 2012-09-02 Juanma Barranquero <lekktu@gmail.com>
465 * config.nt: Sync with autogen/config.in.
466 (HAVE_EXECINFO_H, TERM_HEADER): New macros.
468 2012-09-01 Daniel Colascione <dancol@dancol.org>
470 * inc/ms-w32.h (TERM_HEADER): Add for refactoring
472 2012-08-22 Juanma Barranquero <lekktu@gmail.com>
474 * config.nt: Sync with autogen/config.in.
476 2012-08-17 Juanma Barranquero <lekktu@gmail.com>
478 * config.nt: Sync with autogen/config.in.
479 (HAVE_POSIX_OPENPT): New macro.
481 2012-08-14 Juanma Barranquero <lekktu@gmail.com>
483 * config.nt: Sync with autogen/config.in.
484 (_GL_INLINE_HEADER_BEGIN): Update.
486 2012-08-10 Glenn Morris <rgm@gnu.org>
488 * config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
490 2012-08-07 Juanma Barranquero <lekktu@gmail.com>
492 * config.nt: Sync with autogen/config.in.
493 (BROKEN_GETWD, DISPNEW_NEEDS_STDIO_EXT): New macros.
494 (PENDING_OUTPUT_COUNT): Move definition to inc/ms-w32.h.
496 * inc/ms-w32.h (PENDING_OUTPUT_COUNT): Define.
498 2012-08-06 Glenn Morris <rgm@gnu.org>
500 * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
501 (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
503 2012-08-04 Eli Zaretskii <eliz@gnu.org>
505 * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
506 (PATH_DATA, PATH_DOC): Replace dummy directory names with
507 directories relative to %emacs_dir%.
508 (PATH_EXEC): Add lib-src/oo-spd/i386 and lib-src/oo/i386, to cater
509 to the use case of running un-installed Emacs.
511 2012-08-03 Juanma Barranquero <lekktu@gmail.com>
513 * config.nt: Sync with autogen/config.in.
514 (DOS_NT, MSDOS): New macros.
515 (WRETCODE, wait3): Remove.
517 * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
519 2012-08-03 Eli Zaretskii <eliz@gnu.org>
521 * inc/sys/stat.h (S_IFLNK): Define.
522 (S_ISLNK): A non-trivial definition.
523 (lstat): Prototype instead of a macro that redirects to 'stat'.
525 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
527 Use C99-style 'extern inline' if available.
528 * config.nt: Sync with autogen/config.in.
529 (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
530 (_GL_INLINE_HEADER_END): New macros.
532 2012-08-02 Glenn Morris <rgm@gnu.org>
534 * inc/ms-w32.h: Move here from ../src/s.
535 * config.nt (config_opsysfile): Change to <ms-w32.h>.
537 2012-08-01 Juanma Barranquero <lekktu@gmail.com>
539 * config.nt: Sync with autogen/config.in.
540 (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
541 (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
544 2012-08-01 Juanma Barranquero <lekktu@gmail.com>
546 * config.nt: Sync with autogen/config.in.
547 Remove code moved to conf_post.h and include <conf_post.h>
548 (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
549 (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
551 2012-07-29 Juanma Barranquero <lekktu@gmail.com>
553 * config.nt: Sync with autogen/config.in.
554 (HAVE_ENVIRON_DECL): New macro.
556 2012-07-29 Eli Zaretskii <eliz@gnu.org>
558 * inc/stdalign.h (_Alignas, alignas): Define.
560 2012-07-28 Paul Eggert <eggert@cs.ucla.edu>
562 Use Gnulib stdalign module (Bug#9772, Bug#9960).
563 * config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
565 2012-07-14 Juanma Barranquero <lekktu@gmail.com>
567 * config.nt: Sync with autogen/config.in.
568 (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
569 (SETUP_SLAVE_PTY): New macros.
571 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
573 * config.nt: Sync with autogen/config.in.
574 (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
575 (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
576 (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
577 (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
578 (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
579 (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION)
580 (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
581 (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
582 (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
583 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
584 Set in src/s/ms-w32.h, not here.
586 2012-07-11 Juanma Barranquero <lekktu@gmail.com>
588 * config.nt: Sync with autogen/config.in.
589 (CLASH_DETECTION, DEFAULT_SOUND_DEVICE, DONT_REOPEN_PTY)
590 (GNU_LIBRARY_PENDING_OUTPUT_COUNT, SIGNALS_VIA_CHARACTERS): New macros.
591 (HAVE_MKDIR, HAVE_RENAME, HAVE_RMDIR, HAVE_STRERROR): Remove.
593 2012-07-10 Juanma Barranquero <lekktu@gmail.com>
595 * config.nt: Sync with autogen/config.in.
597 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
599 * config.nt (ATTRIBUTE_CONST): Add, to sync with configure.ac.
601 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
603 * config.nt: Sync with autogen/config.in.
605 2012-07-07 Juanma Barranquero <lekktu@gmail.com>
607 * config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
609 2012-07-06 Juanma Barranquero <lekktu@gmail.com>
610 Eli Zaretskii <eliz@gnu.org>
612 * config.nt: Complete rework to bring it in sync with autogen/config.in.
613 All Windows-specific code moved to src/s/ms-w32.h.
615 2012-07-04 Juanma Barranquero <lekktu@gmail.com>
616 Eli Zaretskii <eliz@gnu.org>
618 * configure.bat (enablechecking): Enable checks through src/config.h,
619 not the compiler's command line.
621 * nmake.defs (CHECKING_CFLAGS): Remove.
622 (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
624 * gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
625 (CHECKING_CFLAGS): Remove.
626 (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
628 2012-07-04 Juanma Barranquero <lekktu@gmail.com>
630 * config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
631 (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
632 (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
633 (HAVE_MEMCMP): Remove, obsolete.
635 2012-06-30 Glenn Morris <rgm@gnu.org>
637 * paths.h (PATH_SITELOADSEARCH): New.
639 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
641 * nmake.defs (CHECKING_CFLAGS):
642 * gmake.defs (CHECKING_CFLAGS): Remove XASSERTS.
644 2012-06-24 Eli Zaretskii <eliz@gnu.org>
646 * config.nt (_Noreturn): Don't reference __SUNPRO_C.
648 2012-06-24 Paul Eggert <eggert@cs.ucla.edu>
650 Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
651 * config.nt (_Noreturn): New macro.
652 (NO_RETURN): Remove. All uses replaced with _Noreturn.
653 (w32_abort) [HAVE_NTGUI]: Use _Noreturn rather than NO_RETURN.
655 2012-06-24 Eli Zaretskii <eliz@gnu.org>
657 * inc/sys/time.h (struct timespec): Don't define it here, it is
658 now defined in src/s/ms-w32.h.
660 2012-06-23 Eli Zaretskii <eliz@gnu.org>
662 Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
663 * inc/sys/time.h (struct timespec): Define.
665 2012-06-16 Eli Zaretskii <eliz@gnu.org>
667 * makefile.w32-in (install-addpm): New target.
668 (dist): Depend on it.
669 (install-shortcuts): Depend on install-addpm instead of copying
670 addpm.exe as part of the recipe. See
671 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html
672 for the related problem and discussions.
674 2012-06-11 Glenn Morris <rgm@gnu.org>
676 * config.nt (SYSTEM_TYPE): Define it.
678 2012-05-31 Eli Zaretskii <eliz@gnu.org>
680 * configure.bat (genmakefiles): Move the redirection away from the
681 end of the command, to avoid excess whitespace at the end of Make
682 variables created at configure time, and also avoid things like
683 "FOO1>>config.settings", where "1" gets interpreted as the file
684 descriptor and eaten up. This fixes breakage introduced by the
685 last change, without reintroducing the bug fixed by that change.
687 2012-05-31 Eli Zaretskii <eliz@gnu.org>
689 * nmake.defs (MWINDOWS): Define as
690 "-subsystem:windows -entry:mainCRTStartup". Suggested by Fabrice
691 Popineau <fabrice.popineau@supelec.fr>. (Bug#11405)
693 * gmake.defs (MWINDOWS): Define as "-mwindows".
695 2012-05-28 Eli Zaretskii <eliz@gnu.org>
697 * config.nt (HAVE_SYSINFO): Remove; unused.
699 2012-05-27 Eli Zaretskii <eliz@gnu.org>
701 * inc/stdalign.h: New file.
703 * configure.bat: Ensure a space between %var% expansion and
704 redirection symbol '>', which breaks when %var% ends in a digit,
707 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
710 * config.nt: Do not include "m/intel386.h"; file was removed.
711 (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
713 (EMACS_INT_MAX): New macro.
715 2012-05-19 Paul Eggert <eggert@cs.ucla.edu>
717 * config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
718 (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
720 * config.nt (HAVE_FTIME): Remove undef; not needed.
722 2012-05-01 Glenn Morris <rgm@gnu.org>
724 * config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
726 2012-04-14 Dani Moncayo <dmoncayo@gmail.com> (tiny change)
728 * makefile.w32-in: Fix typo (Bug#10261).
730 2012-04-10 Eli Zaretskii <eliz@gnu.org>
732 * makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
733 each runs makeinfo in its own subdirectory of 'doc'.
734 (info-gmake): Depend on these new targets.
736 2012-04-07 Glenn Morris <rgm@gnu.org>
738 * config.nt, makefile.w32-in, emacs.rc, emacsclient.rc:
739 Bump version to 24.1.50.
741 2012-04-07 Eli Zaretskii <eliz@gnu.org>
743 * configure.bat: Support building with libxml2.
746 * README.W32: Add information about libxml2.
748 2012-04-07 Eli Zaretskii <eliz@gnu.org>
750 * makefile.w32-in: Convert to Unix EOL format.
751 (all): Don't depend on stamp_BLD and on maybe-bootstrap.
752 (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
753 (bootstrap-gmake): Invoke the "clean" and build targets in 2
754 separate commands, so they run in that order even under "make -j".
756 2012-03-29 Eli Zaretskii <eliz@gnu.org>
758 * config.nt: Discourage from defining HAVE_GETCWD.
760 2012-03-25 Eli Zaretskii <eliz@gnu.org>
762 * makefile.w32-in (install-bin): Don't copy addpm.exe here. Use
763 $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
764 on other (parallel) Make job's toes.
765 (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
766 (install-shortcuts): Depend on $(INSTALL_DIR)/bin. Copy addpm.exe
768 (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist): Depend
769 on create-tmp-dist-dir.
771 * nmake.defs (DIRNAME): New variable.
772 (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
775 * gmake.defs (DIRNAME): New variable.
776 (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
777 same-dir.tst, to avoid conflicts between several (parallel) Make
780 2012-02-24 Eli Zaretskii <eliz@gnu.org>
782 Prevent endless re-spawning of cmdproxy.exe when some of its
783 parent directories have access limitations.
785 * cmdproxy.c (main): Bypass conversion of the file name in argv[0]
786 and our own module name to short 8+3 aliases, if the original file
787 names compare equal. If GetShortPathName fails, compare the base
788 names of the two file names, and only re-spawn the command line if
789 the base-name comparison also fails. (Bug#10674)
791 2012-02-23 Dani Moncayo <dmoncayo@gmail.com> (tiny change)
793 * makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.
795 2012-02-06 Christoph Scholtes <cschol2112@googlemail.com>
797 * README.W32: Removed specific version information for libXpm
798 included in the binary distribution for maintenance purposes.
800 2012-02-05 Christoph Scholtes <cschol2112@googlemail.com>
802 * README.W32: Clarification for inclusion in source tarball (bug#9750).
804 * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
806 * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
808 * makefile.w32-in (maybe-copy-distfiles)
809 (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
810 (create-tmp-dist-dir): Add to make --distfiles optional.
811 (dist): Use create-tmp-dist-dir and maybe-copy-distfiles (bug#10261).
813 2012-02-04 Eli Zaretskii <eliz@gnu.org>
815 * inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions
818 2011-11-27 Fabrice Popineau <fabrice.popineau@supelec.fr> (tiny change)
820 * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
821 (UINT64_MAX) [_WIN64]: Fix definition.
822 (uintmax_t, intmax_t): Fix definitions.
824 * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]:
825 Provide correct definitions.
827 * config.nt (HAVE_DECL_STRTOLL): Define.
828 (va_copy) [_WIN64]: Provide a better definition.
830 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
832 * configure.bat: Fix typos.
834 2011-11-25 Eli Zaretskii <eliz@gnu.org>
836 * INSTALL: Elaborate on debugging fatal errors.
838 2011-11-15 Eli Zaretskii <eliz@gnu.org>
840 * README.W32: Update the GTK Windows download URL for libpng.
842 2011-11-13 Christoph Scholtes <cschol2112@googlemail.com>
844 * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
846 2011-11-05 Christoph Scholtes <cschol2112@googlemail.com>
848 * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
849 (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
850 (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
851 (intmax_t, INT64_MAX): Add for MSVC.
853 * config.nt (mode_t) [!__GNUC__]: Define mode_t for MSVC.
855 2011-11-05 Eli Zaretskii <eliz@gnu.org>
857 * config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
859 Support MSVC build with newer versions of Visual Studio.
860 * makefile.w32-in (clean-other-dirs-nmake)
861 (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
862 Update for current structure of doc/ subdirectories.
864 * gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
866 * INSTALL: Update for newer versions of MSVC.
868 2011-11-05 Fabrice Popineau <fabrice.popineau@supelec.fr> (tiny change)
870 Support MSVC build with newer versions of Visual Studio.
871 * nmake.defs (USE_CRT_DLL): Define to 1.
872 (libc, EMACS_EXTRA_C_FLAGS, SYS_LDFLAGS, ARCH_CFLAGS): Update values.
875 2011-11-04 Eli Zaretskii <eliz@gnu.org>
877 * runemacs.c (ensure_unicows_dll): New function, tries to load
878 UNICOWS.DLL on Windows 9X.
879 (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL,
880 display a dialog to the effect that Emacs cannot be started.
883 2011-10-28 Eli Zaretskii <eliz@gnu.org>
885 * README.W32: Mention UNICOWS.DLL as prerequisite for running
888 2011-10-25 Eli Zaretskii <eliz@gnu.org>
890 * makefile.w32-in (dist): Don't put the top-level INSTALL into the
891 distribution. (Bug#9861)
893 2011-10-25 Christoph Scholtes <cschol2112@googlemail.com>
895 * INSTALL: Update URL for GTK download page.
897 2011-10-19 Eli Zaretskii <eliz@gnu.org>
899 * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
902 2011-09-04 Paul Eggert <eggert@cs.ucla.edu>
904 * config.nt (HAVE_SNPRINTF): New macro.
906 2011-07-28 Paul Eggert <eggert@cs.ucla.edu>
908 Assume freestanding C89 headers, string.h, stdlib.h.
909 * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H)
910 (STDC_HEADERS): Remove.
911 Iinclude string.h, stdlib.h unconditionally.
913 2011-06-07 Eli Zaretskii <eliz@gnu.org>
915 * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)
916 [!__GNUC__]: New macros.
918 2011-05-28 Paul Eggert <eggert@cs.ucla.edu>
920 Use 'inline', not 'INLINE'.
921 * config.nt (INLINE): Remove.
923 2011-05-17 Eli Zaretskii <eliz@gnu.org>
925 * README.W32: Add information about GnuTLS libraries.
927 2011-05-09 Eli Zaretskii <eliz@gnu.org>
929 * config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
931 2011-05-07 Ben Key <bkey76@gmail.com>
933 * configure.bat: Renamed the fusercflags variable to escusercflags
934 so that the variable name better matches its purpose, to be
935 identical to usercflags with the exception that all quotes are
936 escaped by the \ character.
938 Renamed the fuserldflags variable to escuserldflags so that the
939 variable name better matches its purpose, to be identical to
940 userldflags with the exception that all quotes are escaped by
943 A new ESC_USER_CFLAGS variable is written to config.settings.
944 This variable has the same value as the escusercflags variable.
946 * gmake.defs, nmake.defs: Added the variable ESC_CFLAGS.
947 This variable is identical to the CFLAGS variable except that it
948 includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS.
950 These changes, along with some changes to src/makefile.w32-in,
951 are required to extend my earlier fix to add support for
952 --cflags and --ldflags options that include quotes so that it
953 works whether make uses cmd or sh as the shell.
955 2011-05-06 Eli Zaretskii <eliz@gnu.org>
957 * inc/inttypes.h [!__MINGW32__]: Include stdint.h. Move the
958 definition of uintmax_t from here...
959 * inc/stdint.h (uintmax_t): ...to here.
960 (intptr_t) [!__GNUC__]: New typedef.
962 2011-05-06 Paul Eggert <eggert@cs.ucla.edu>
964 * config.nt: Prepare to configure 64-bit integers for older compilers.
965 However, temporarily disable this change unless the temporary
966 symbol WIDE_EMACS_INT is defined.
967 (EMACS_INT, BITS_PER_EMACS_INT, pI): Define these if __int64 and
968 "%I64d" work but long long and "%lld" do not.
970 2011-05-05 Ben Key <bkey76@gmail.com>
972 * configure.bat: Added support for --cflags and --ldflags
973 options that include quotes as long as command extensions are
974 enabled. Specifically when -I, -L, and similar flags are used
975 to specify supplementary include and library directories a
976 directory name that includes spaces may now be used if it is
979 * INSTALL: Documented the change to configure.bat.
981 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
983 * INSTALL: Clarify GnuTLS support.
985 2011-04-30 Eli Zaretskii <eliz@gnu.org>
987 * config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT):
988 Define to 1 for MinGW of MSVC versions >= 1400.
990 2011-04-28 Eli Zaretskii <eliz@gnu.org>
992 * gmake.defs (ARCH): Fix error message in case of unknown architecture.
994 2011-04-27 Eli Zaretskii <eliz@gnu.org>
996 * inc/inttypes.h: New file.
998 * config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
999 (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
1001 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1003 * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions
1004 inside quotation marks and bail out.
1006 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1008 * cmdproxy.c (try_dequote_cmdline): New function.
1011 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1013 * configure.bat: New options --without-gnutls and --lib, new build
1014 variable USER_LIBS, automatically detect GnuTLS. Copies the PNG
1015 library setup with trivial modifications.
1016 * INSTALL: Add instructions for GnuTLS support.
1017 * gmake.defs: Prefix USER_LIBS with -l.
1019 2011-04-15 Ben Key <bkey76@gmail.com>
1021 * configure.bat: Modified the code that parses the --cflags and
1022 --ldflags options to support parameters that include the =
1023 character as long as they are enclosed in quotes.
1024 This functionality depends on command extensions. Configure.bat now
1025 attempts to enable command extensions and displays a warning
1026 message if they could not be enabled. If configure.bat could
1027 not enable command extensions the old parsing code is used that
1028 does not support parameters that include the = character.
1030 * INSTALL: Updated the file to describe the new functionality
1031 using text provided by Eli Zaretskii.
1033 2011-04-06 Eli Zaretskii <eliz@gnu.org>
1035 * config.nt (NO_INLINE, ATTRIBUTE_FORMAT)
1036 (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu
1037 on the trunk on 2011-04-06.
1039 2011-03-27 Glenn Morris <rgm@gnu.org>
1041 * config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
1043 2011-03-25 Juanma Barranquero <lekktu@gmail.com>
1045 * addpm.c (main): Remove unused variable `retval'.
1047 * preprep.c (main): Remove unused variable `ptr'.
1049 2011-03-23 Juanma Barranquero <lekktu@gmail.com>
1051 * cmdproxy.c: Include <ctype.h>.
1052 (make_absolute): Remove unused variable `i'.
1054 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
1056 * Version 23.3 released.
1058 2011-02-27 Eli Zaretskii <eliz@gnu.org>
1060 * inc/unistd.h (readlink, symlink): Declare prototypes.
1062 2011-02-26 Eli Zaretskii <eliz@gnu.org>
1064 * config.nt (nlink_t): Define.
1066 2011-02-21 Christoph Scholtes <cschol2112@gmail.com>
1068 * inc/stdint.h: New file, to support compilation with tool chains
1069 that do not have stdint.h (e.g. MSVC).
1071 2011-02-21 Eli Zaretskii <eliz@gnu.org>
1073 * inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
1074 (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
1075 (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
1076 (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
1077 (lstat): Define to stat.
1079 2011-02-09 Eli Zaretskii <eliz@gnu.org>
1081 * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
1082 "make-docfile" target in lib-src, before bootstrapping the src
1083 directory. Needed since building in src needs to run make-docfile
1084 to produce globals.h.
1086 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1088 * config.nt (inline) [__GNUC__]: Define (for gnulib).
1090 2011-01-31 Eli Zaretskii <eliz@gnu.org>
1092 * config.nt (VERSION): Uncomment definition.
1095 * inc/stdbool.h: New file.
1097 2011-01-29 Eli Zaretskii <eliz@gnu.org>
1099 * makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
1100 (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
1101 (bootstrap-clean-gmake, clean-other-dirs-nmake)
1102 (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
1103 (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
1104 (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1105 (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
1106 (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
1108 * configure.bat: Create lib/makefile.
1110 * config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
1111 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
1112 (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
1113 (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
1115 2011-01-07 Eli Zaretskii <eliz@gnu.org>
1117 * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
1119 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1121 * configure.bat (end): Unset environment variables used by this
1124 * INSTALL: Update the information about PNG support libraries.
1127 * README.W32: Update the information about PNG support libraries.
1129 2010-11-23 Eli Zaretskii <eliz@gnu.org>
1131 * config.nt (EXTERNALLY_VISIBLE): Define.
1133 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
1135 * INSTALL: Refer to `dynamic-library-alist'.
1137 2010-10-06 Juanma Barranquero <lekktu@gmail.com>
1139 * INSTALL: Add note about problematic characters passed to configure.
1141 2010-10-01 Eli Zaretskii <eliz@gnu.org>
1143 * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
1144 emacs-src.tags: New file.
1146 * gmake.defs: Add a comment with a single quote to fix
1147 fontification. (Bug#7102)
1149 2010-09-29 Eli Zaretskii <eliz@gnu.org>
1151 * configure.bat: Fix the condition for copying paths.h into
1154 2010-09-28 Juanma Barranquero <lekktu@gmail.com>
1156 * addpm.c (entry, add_registry, main):
1157 * addsection.c (file_data, open_input_file, open_output_file)
1158 (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
1160 * cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
1161 (skip_nonspace, get_next_token, search_dir, make_absolute)
1163 * preprep.c (file_data, open_input_file, open_output_file)
1164 (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
1167 * cmdproxy.c (stdin): Don't define, not used.
1168 (main): Don't assign remlen after last use.
1170 2010-09-22 Juanma Barranquero <lekktu@gmail.com>
1172 * configure.bat: Err out when the argument of --cflags contains
1173 invalid characters (check implemented only for GCC). (Bug#6820)
1175 2010-08-19 Juanma Barranquero <lekktu@gmail.com>
1177 * addpm.c (add_registry): Create App Paths of type REG_EXPAND_SZ.
1179 2010-08-12 Jason Rumney <jasonr@gnu.org>
1181 * addpm.c (add_registry): Set path for runemacs.exe to use.
1183 2010-08-08 Óscar Fuentes <ofv@wanadoo.es>
1185 * cmdproxy.c (main): Use _snprintf instead of wsprintf,
1186 which has a 1024 char limit on Windows (bug#6647).
1188 2010-08-02 Juanma Barranquero <lekktu@gmail.com>
1190 * config.nt (TIME_WITH_SYS_TIME): Remove #undef, unused (bug#6754).
1191 Suggested by Dan Nicolaescu <dann@ics.uci.edu>.
1193 2010-07-29 Dan Nicolaescu <dann@ics.uci.edu>
1195 * config.nt: Remove code referring to NO_REMAP, unused.
1197 2010-07-25 Christoph Scholtes <cschol2112@gmail.com>
1199 Build binary distros on Windows using emacs-VERSION as root dir name.
1201 * makefile.w32-in: Copy README.W32 to installation directory
1202 during `make install'. Remove README.W32 with `distclean' (in
1203 case Emacs was installed in place). Use temporary directory to
1204 create distribution zip files in `dist' target.
1205 * zipdist.bat: Simplify code using temporary directory.
1207 2010-07-25 Juanma Barranquero <lekktu@gmail.com>
1209 * runemacs.c (set_user_model_id): Fix prototype.
1211 2010-07-24 Christoph Scholtes <cschol2112@gmail.com>
1213 New make target for Windows platform: make dist (bug#6602)
1215 * INSTALL: Document new dist target and add section about
1216 creating binary distributions.
1217 * README.W32: Relocate from admin/nt/ directory.
1218 * configure.bat: New parameter `--distfiles'.
1219 * makefile.w32-in: Add version number, new target `dist'.
1220 Add new target `install-shortcuts'.
1221 * zipdist.bat: New file; create zipped binary distribution,
1222 replaces admin/nt/makedist.bat.
1224 2010-07-21 Juanma Barranquero <lekktu@gmail.com>
1226 * INSTALL: Add note about backslashes in Windows paths.
1227 Fix typos. Simplify references to Windows versions.
1229 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1231 * addpm.c (add_registry, main):
1232 * cmdproxy.c (get_env_size):
1233 * ddeclient.c (main):
1234 * runemacs.c (set_user_model_id):
1235 Convert definitions to standard C.
1237 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1239 * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping.
1241 2010-07-18 Juanma Barranquero <lekktu@gmail.com>
1243 * configure.bat: New option --enable-checking.
1244 * gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
1245 (CFLAGS): Include it.
1247 2010-07-12 Dan Nicolaescu <dann@ics.uci.edu>
1249 * config.nt (volatile): Remove definition.
1251 2010-07-07 Andreas Schwab <schwab@linux-m68k.org>
1253 * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
1254 (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
1256 2010-07-02 Juanma Barranquero <lekktu@gmail.com>
1258 * config.nt (__P): Remove.
1260 2010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
1262 * config.nt: Remove code depending on BSTRING.
1264 2010-06-03 Glenn Morris <rgm@gnu.org>
1266 * config.nt: Remove NOT_C_CODE tests, it is always true now.
1268 2010-05-13 Glenn Morris <rgm@gnu.org>
1270 * config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
1272 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
1274 * Version 23.2 released.
1276 2010-05-04 Glenn Morris <rgm@gnu.org>
1278 * config.nt (LD_SWITCH_X_SITE_AUX): Remove.
1280 2010-04-20 Lewis Perin <perin@panix.com> (tiny change)
1282 * emacs.manifest: Add trustInfo section to Windows manifest.
1284 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
1288 2010-01-13 Martin Rudalics <rudalics@gmx.at>
1290 * emacsclient.rc: Fix format of "LegalCopyright" value.
1292 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
1294 * INSTALL: Remove obsolete notes about line endings, and fix some typos.
1296 2009-12-27 Karl Fogel <kfogel@red-bean.com>
1298 * INSTALL: Update for CVS->Bazaar switchover.
1300 2009-09-14 Juanma Barranquero <lekktu@gmail.com>
1302 * configure.bat: Add #define PROFILING to config.h.
1304 2009-07-03 Jason Rumney <jasonr@gnu.org>
1306 * runemacs.c (set_user_model_id): Use standard types.
1308 2009-06-30 Jason Rumney <jasonr@gnu.org>
1310 * runemacs.c (set_user_model_id): New function.
1313 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
1317 2009-03-21 Eli Zaretskii <eliz@gnu.org>
1319 * inc/sys/stat.h (struct stat): Change the types of st_uid and
1322 * inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid
1324 (getpwuid): Argument is now unsigned.
1325 uid_t is now unsigned.
1327 2009-02-24 Juanma Barranquero <lekktu@gmail.com>
1329 * INSTALL: Add comment about TCC; fix typos.
1331 2009-01-26 Jason Rumney <jasonr@gnu.org>
1333 * emacsclient.rc, emacs.rc: Swap name and description.
1334 Remove Windows versions.
1336 2009-01-15 Jason Rumney <jasonr@gnu.org>
1338 * nmake.defs, gmake.defs (UUID): New library for COM/OLE lookups.
1340 * makefile.w32-in ($(BLD)/addpm.exe): Link with SHELL and OLE libs.
1342 * addpm.c (main): Try using COM to create start menu shortcuts
1343 before resorting to DDE (Bug#202)
1344 Remove second command-line argument.
1346 2009-01-03 Juanma Barranquero <lekktu@gmail.com>
1348 * configure.bat: Untabify help message.
1350 2009-01-03 Jason Rumney <jasonr@gnu.org>
1352 * configure.bat: New option --with-svg.
1354 * INSTALL: Document experimental SVG support.
1356 2008-12-25 Jason Rumney <jasonr@gnu.org>
1358 * config.nt (PTR): Remove.
1360 2008-12-19 Dan Nicolaescu <dann@ics.uci.edu>
1362 * config.nt (LISTPROC, PROCATTR): Remove.
1364 2008-08-09 Eli Zaretskii <eliz@gnu.org>
1366 * config.nt (LISTPROC, PROCATTR): New macros.
1368 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
1370 * config.nt (MULTI_KBOARD): Remove.
1372 2008-07-23 Jason Rumney <jasonr@gnu.org>
1374 * configure.bat: New option --profile.
1375 * gmake.defs: Set cflags and ldflags for profiling when specified.
1377 2008-07-23 Dan Nicolaescu <dann@ics.uci.edu>
1379 * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
1381 2008-07-13 Dan Nicolaescu <dann@ics.uci.edu>
1383 * config.nt (HAVE_FACES): Remove, unused.
1385 2008-06-26 Juanma Barranquero <lekktu@gmail.com>
1386 Eli Zaretskii <eliz@gnu.org>
1388 * nmake.defs (FONT_CFLAGS):
1389 * gmake.defs (FONT_CFLAGS): Remove.
1390 (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
1391 (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
1393 (ARCH_FLAGS): Don't include _X86_.
1395 * config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
1397 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
1399 * config.nt: Remove reference to UNEXEC_SRC.
1401 2008-06-23 Juanma Barranquero <lekktu@gmail.com>
1402 Eli Zaretskii <eliz@gnu.org>
1404 * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
1405 Don't hardcode -gstabs+, use DEBUG_INFO.
1407 * configure.bat (gccdebug): Check for DWARF-2 support in GCC.
1408 Default to stabs if the compiler does not support DWARF-2.
1409 (genmakefiles): Write new variable DEBUG_INFO to config.settings.
1411 2008-05-14 Jason Rumney <jasonr@gnu.org>
1413 * configure.bat: Remove code dealing with --disable-font-backend.
1415 2008-05-09 Eli Zaretskii <eliz@gnu.org>
1417 * inc/sys/stat.h (struct stat): Move st_dev after st_ino, for
1418 better alignment. Make st_size 64-bit wide. Add new members
1419 st_uname and st_gname.
1421 * inc/grp.h (struct group): Add gr_gid member.
1423 2008-04-23 Eli Zaretskii <eliz@gnu.org>
1425 * makefile.w32-in (ALL): Move $(CLIENTRES) from here...
1426 (all): ...to here. $(ALL) is a prerequisite of .PHONY, so having
1427 a real file there is not a good idea.
1429 2008-04-23 Jason Rumney <jasonr@gnu.org>
1431 * makefile.w32-in (CLIENTRES): New variable and build target.
1432 (all): Depend on it.
1433 ($(TRES)): Use $(TRES) in rule.
1435 2008-04-21 Jason Rumney <jasonr@gnu.org>
1437 * configure.bat (success): Print "make" rather than "gmake", as that
1440 2008-04-11 Eli Zaretskii <eliz@gnu.org>
1442 * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
1443 Add copyright notice.
1445 2008-04-10 Jason Rumney <jasonr@gnu.org>
1447 * emacsclient.rc: New file.
1449 * INSTALL: Document make targets.
1451 2008-04-09 Jason Rumney <jasonr@gnu.org>
1453 * makefile.w32-in (clean-other-dirs-nmake): Don't clean lisp dir.
1454 (clean-other-dirs-gmake): Likewise. Clean doc dirs.
1455 (top-distclean, distclean, distclean-other-dirs-nmake)
1456 (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
1457 (maintainer-clean-other-dirs-gmake, maintainer-clean): New targets.
1459 2008-04-05 Eli Zaretskii <eliz@gnu.org>
1461 * inc/sys/stat.h: New file.
1463 * configure.bat: Add check for usp10.h.
1465 2008-04-04 Jason Rumney <jasonr@gnu.org>
1467 * INSTALL: Update Windows API requirements.
1469 2008-04-03 Jason Rumney <jasonr@gnu.org>
1471 * gmake.defs, nmake.defs (UNISCRIBE): New variable.
1473 2008-03-13 Glenn Morris <rgm@gnu.org>
1475 * emacs.rc: Set version to 23.0.60.
1477 2008-03-04 Jason Rumney <jasonr@gnu.org>
1479 * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
1480 (EMACS_EXTRA_C_FLAGS): Include it.
1481 * configure.bat (usefontbackend): Default to Y.
1482 (--enable-font-backend): Replace with --disable-font-backend.
1483 (:withfont): Replace with :withoutfont.
1485 2008-03-03 Kentaro Ohkouchi <nanasess@fsm.ne.jp>
1487 * icons/emacs.ico: Full alpha for 32x32 full color.
1488 Add 32x32 and 16x16 256 color versions.
1490 2008-03-03 Andrew Zhilin <andrew_zhilin@yahoo.com>
1492 * icons/emacs22.ico: New file (the old emacs.ico under a new name).
1494 2008-03-02 Jason Rumney <jasonr@gnu.org>
1496 * makefile.w32-in ($(TRES)): Depend on icon and manifest.
1498 2008-03-02 Kentaro Ohkouchi <nanasess@fsm.ne.jp>
1500 * icons/README: Update.
1502 * icons/emacs.ico: New icon.
1504 2008-02-25 Juanma Barranquero <lekktu@gmail.com>
1506 * addpm.c: Include malloc.h.
1507 (add_registry): Cast return value of alloca.
1509 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
1511 * config.nt (SHORTNAMES): Remove reference to obsolete variable.
1513 2008-02-11 Eli Zaretskii <eliz@gnu.org>
1515 * configure.bat (checkgcc): Move "del junk.o" to here, and make it
1516 conditional on existence of junk.o. If %nocygwin% is already set
1517 to Y, skip to chkapiN instead of chkapi.
1518 (chkapi): Move "rm -f junk.c junk.o" to here.
1519 (chkapiN): New label.
1521 2008-02-11 Jason Rumney <jasonr@gnu.org>
1523 * makefile.w32-in: Remove unidata-gen related rules.
1525 2008-02-09 Eli Zaretskii <eliz@gnu.org>
1527 * configure.bat (dontCopy): Do not rename admin/unidata/Makefile.
1529 2008-02-11 Jason Rumney <jasonr@gnu.org>
1531 * addpm.c (add_registry): Add an App Paths registry key.
1532 Look for GTK and add it to the DLL search path for Emacs if found.
1534 2008-02-05 Juanma Barranquero <lekktu@gmail.com>
1536 * configure.bat: In help, use generic names for the image libraries.
1538 2008-02-04 Juanma Barranquero <lekktu@gmail.com>
1540 * .cvsignore: Don't ignore .arch-inventory.
1542 2008-02-03 Jason Rumney <jasonr@gnu.org>
1544 * configure.bat: Make gcc the default compiler.
1546 2008-02-02 Eli Zaretskii <eliz@gnu.org>
1548 * makefile.w32-in (unidatagen-SH, unidatagen-clean-SH):
1549 Ignore return status.
1551 * configure.bat (dontCopy): Rename admin/unidata/Makefile to keep
1552 it out of the way of Windows generated file.
1553 Generate admin/unidata/makefile.
1555 * makefile.w32-in (unidatagen-nmake, unidatagen-clean-nmake)
1556 (unidatagen-CMD, unidatagen-clean-CMD, unidatagen-SH)
1557 (unidatagen-clean-SH): New targets.
1558 (bootstrap-nmake): Invoke unidatagen-nmake.
1559 (bootstrap-gmake): Invoke unidatagen-$(SHELLTYPE).
1561 2008-02-01 Jason Rumney <jasonr@gnu.org>
1563 * configure.bat (withfont): Set sep1 after modifying usercflags.
1565 2008-02-01 Jason Rumney <jasonr@gnu.org>
1567 * configure.bat: Rename --with-font-backend to --enable-font-backend
1568 for consistency with other platforms.
1570 2008-02-01 Jason Rumney <jasonr@gnu.org>
1572 * configure.bat: Add --with-font-backend option.
1574 2008-01-20 Jason Rumney <jasonr@gnu.org>
1576 * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
1577 permissions to NTFS ACLs.
1579 2007-11-01 Jan Djärv <jan.h.d@swipnet.se>
1581 * config.nt: Remove HAVE_X11R5.
1583 2007-10-22 Jason Rumney <jasonr@gnu.org>
1585 * config.nt (HAVE_STRINGS_H, HAVE_STDLIB_H): Undefine.
1586 (strings.h, stdlib.h): Conditionally include.
1587 (w32_abort): Declare here.
1588 (abort): Redefine to w32_abort (moved from src/s/ms-w32.h).
1590 2007-10-20 Jason Rumney <jasonr@gnu.org>
1592 * makefile.w32-in (info-nmake): Change into correct directories.
1594 2007-10-20 Eli Zaretskii <eliz@gnu.org>
1596 * configure.bat (docflags, doldflags): New variables.
1597 (genmakefiles): Use them to work around problems with whitespace
1598 in arguments of the `if' command.
1600 2007-10-18 Jason Rumney <jasonr@gnu.org>
1602 * makefile.w32-in (install): Install COPYING in top-level and bin dirs.
1604 2007-09-27 Jason Rumney <jasonr@gnu.org>
1606 * gmake.defs (COMCTL32): New system library.
1608 * nmake.defs (COMCTL32): New system library.
1610 2007-09-06 Glenn Morris <rgm@gnu.org>
1613 * makefile.w32-in (info-nmake, info-gmake, clean-other-dirs-nmake):
1614 Change from ../man to ../doc/emacs and ../doc/misc; and from
1615 ../lispref, ../lispintro to ../doc/lispref, ../doc/lispintro.
1617 2007-08-29 Glenn Morris <rgm@gnu.org>
1619 * emacs.rc: Increase version to 23.0.50.
1621 2007-08-14 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
1623 * makefile.w32-in (bootstrap-nmake): Change directories once more.
1625 2007-07-25 Glenn Morris <rgm@gnu.org>
1627 * Relicense all FSF files to GPLv3 or later.
1629 * COPYING: Switch to GPLv3.
1631 2007-07-16 Eli Zaretskii <eliz@gnu.org>
1633 * makefile.w32-in (bootstrap, bootstrap-nmake, bootstrap-gmake):
1635 (cleanall): Don't delete *~.
1637 2007-07-15 Jason Rumney <jasonr@gnu.org>
1639 * inc/sys/socket.h (uint16_t): Define if C99 does not appear to
1642 2007-07-14 Jason Rumney <jasonr@gnu.org>
1644 * inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
1647 2007-07-11 Jason Rumney <jasonr@gnu.org>
1649 * gmake.defs (OLE32): New library to link.
1651 * nmake.defs (OLE32): Likewise.
1653 2007-06-25 Jason Rumney <jasonr@gnu.org>
1655 * cmdproxy.c (main): Set console codepages to "ANSI".
1657 2007-06-20 Jason Rumney <jasonr@gnu.org>
1659 * configure.bat: Complain if image libraries are missing.
1661 2007-06-15 Jason Rumney <jasonr@gnu.org>
1663 * emacs.manifest: New file.
1667 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
1669 * Version 22.1 released.
1671 2007-05-22 Eli Zaretskii <eliz@gnu.org>
1673 * INSTALL: Add information about where to find GDB, and warn
1674 against --no-debug option to configure.bat.
1676 2007-05-19 Eli Zaretskii <eliz@gnu.org>
1678 * INSTALL: Fix URL of EmacsW32 site where building with image
1679 support is described.
1681 2007-04-26 Glenn Morris <rgm@gnu.org>
1683 * emacs.rc: Increase version to 22.1.50.
1685 2007-03-31 Eli Zaretskii <eliz@gnu.org>
1687 * INSTALL: Mention the VCVARS32.BAT batch file for VS.NET users.
1689 2007-03-09 Richard Stallman <rms@gnu.org>
1691 * INSTALL: Say explicitly this is not for Cygwin.
1693 2007-03-03 Eli Zaretskii <eliz@gnu.org>
1695 * INSTALL: Add URL of another site with detailed build instructions.
1697 2007-02-16 Glenn Morris <rgm@gnu.org>
1699 * icons/gnu2a32.ico, icons/gnu2a32t.ico, icons/gnu2b48.ico:
1700 * icons/gnu2b48t.ico, icons/gnu3b32.ico, icons/gnu3b32t.ico:
1701 * icons/gnu4g48.ico, icons/gnu4g48t.ico, icons/gnu5w32.ico:
1702 * icons/gnu5w32t.ico, icons/gnu6w48.ico, icons/gnu6w48t.ico:
1703 * icons/gnu7.ico, icons/gnu8.ico, icons/gnu9.ico:
1704 Restore all but two of icons deleted in previous change.
1706 2007-02-13 Chong Yidong <cyd@stupidchicken.com>
1708 * icons/README: New file.
1710 * icons/gnu2a32t.ico, icons/gnu3b32t.ico, icons/gnu5w32t.ico:
1711 * icons/gnu8.ico, icons/emacs21.ico, icons/gnu2b48.ico:
1712 * icons/gnu4g48.ico, icons/gnu6w48.ico, icons/gnu9.ico:
1713 * icons/gnu2b48t.ico, icons/gnu4g48t.ico:
1714 * icons/gnu6w48t.ico, icons/gnu2a32.ico, icons/gnu3b32.ico:
1715 * icons/gnu5w32.ico, icons/gnu7.ico, icons/sink.ico:
1716 Unused icons deleted.
1718 2007-01-31 Juanma Barranquero <lekktu@gmail.com>
1720 * configure.bat: Update ../site-lisp/subdirs.el when needed.
1722 2007-01-30 Juanma Barranquero <lekktu@gmail.com>
1724 * subdirs.el: Add "no-byte-compile: t" local variable.
1726 2007-01-10 Jason Rumney <jasonr@gnu.org>
1728 * README: Update URLs and advice about reporting bugs.
1730 2006-12-29 Jason Rumney <jasonr@gnu.org>
1732 * nmake.defs (TEMACS_EXTRA_LINK): Remove duplicated flags from
1734 (DEBUG_LINK): Remove -debugtype:both.
1736 2006-12-27 Eli Zaretskii <eliz@gnu.org>
1738 * INSTALL: Update table of supported Make ports. Show "make -j"
1739 command that is known to work.
1741 * configure.bat: Update table of supported Make ports.
1743 2006-12-24 Eli Zaretskii <eliz@gnu.org>
1745 * makefile.w32-in ($(TRES)): Don't use $<, as nmake supports it
1746 only in implicit rules. Use literal "emacs.rc" instead.
1748 2006-12-23 Eli Zaretskii <eliz@gnu.org>
1750 * gmake.defs: Export XMFLAGS.
1752 * makefile.w32-in (all-other-dirs-nmake, recompile-nmake):
1753 Don't use $(XMFLAGS) for nmake, as it doesn't support parallelism.
1755 2006-12-22 Eli Zaretskii <eliz@gnu.org>
1757 * INSTALL: Explain how to invoke GNU Make for parallel builds.
1759 * makefile.w32-in (bootstrap-gmake): Pass XMFLAGS="$(XMFLAGS)"
1760 command-line argument to sub-Make in src, since src/makefile.w32-in
1761 invokes Make recursively during bootstrap.
1762 (clean): Delete stamp_BLD.
1763 (bootstrap): Make `all' explicitly in a recursive Make.
1765 * gmake.defs (stamp_BLD): Rename from $(BLD). Create a file
1766 stamp_BLD after creating the $(BLD) directory.
1768 * nmake.defs (stamp_BLD): Rename from $(BLD). Create a file
1769 stamp_BLD after creating the $(BLD) directory.
1771 * makefile.w32-in (addpm, ddeclient, cmdproxy, addsection)
1772 (preprep, $(TRES), runemacs)
1773 ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O))
1774 ($(BLD)/cmdproxy.$(O), (BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1775 Depend on stamp_BLD instead of on $(BLD).
1776 (XMFLAGS): New macro.
1777 (all-other-dirs-nmake, all-other-dirs-gmake, recompile-nmake)
1778 (recompile-gmake, bootstrap-gmake, bootstrap-clean-gmake)
1779 (install-other-dirs-gmake, info-gmake, clean-other-dirs-gmake)
1780 (cleanall-other-dirs-gmake): Pass $(XMFLAGS) to sub-Make.
1782 2006-12-20 Eli Zaretskii <eliz@gnu.org>
1784 * makefile.w32-in ($(TRES)): Depend on $(BLD). Use $< instead of
1786 ($(BLD)/addpm.$(O), $(BLD)/ddeclient.$(O), $(BLD)/runemacs.$(O)
1787 ($(BLD)/cmdproxy.$(O), $(BLD)/addsection.$(O), $(BLD)/preprep.$(O)):
1788 New dependency on $(BLD).
1789 (all-other-dirs-nmake, all-other-dirs-gmake, bootstrap-nmake)
1790 (bootstrap-gmake): Depend on addsection.
1792 2006-10-29 Juanma Barranquero <lekktu@gmail.com>
1794 * runemacs.c (WinMain): Process all recognized arguments, not just
1795 the first one. Remove unused variable sec_desc.
1797 2006-09-24 Eli Zaretskii <eliz@gnu.org>
1799 * config.nt (HAVE_LANGINFO_CODESET): Define.
1801 * inc/langinfo.h: New file.
1803 * inc/nl_types.h: New file.
1805 2006-09-15 Jay Belanger <belanger@truman.edu>
1807 * COPYING: Replace "Library Public License" by "Lesser Public
1808 License" throughout.
1810 2006-07-27 Jason Rumney <jasonr@gnu.org>
1812 * INSTALL: Add notes about Cygwin make to impatient section.
1814 2006-06-02 Eli Zaretskii <eliz@gnu.org>
1816 * INSTALL: Add Make 3.81 to the list of Make & shell combinations
1819 2006-03-12 Jason Rumney <jasonr@gnu.org>
1821 * addpm.c (add_registry): Don't change the registry unless keys
1822 already exist from a previous version.
1824 * makefile.w32-in (install): Use -q when invoking addpm.
1826 * addpm.c (main): Accept -q as alternative for /q.
1828 2006-03-11 Jason Rumney <jasonr@gnu.org>
1830 * runemacs.c (WinMain): Set screen buffer to 80x25.
1832 2005-12-24 Eli Zaretskii <eliz@gnu.org>
1834 * gmake.defs (TEMACS_EXTRA_LINK): Remove redundant -g.
1835 (DEBUG_FLAG, DEBUG_LINK): Upgrade to "-gstabs+ -g3".
1837 2005-12-09 Eli Zaretskii <eliz@gnu.org>
1839 * INSTALL: Add explanation of how to debug with GDB starting from
1840 the Emacs Abort dialog.
1842 2005-11-26 Chong Yidong <cyd@stupidchicken.com>
1844 * emacs.rc: Use new icons.
1846 2005-11-26 Eli Zaretskii <eliz@gnu.org>
1848 * emacs21.ico: Renamed from emacs.ico.
1849 * emacs.ico: New icons from Andrew Zhilin
1850 <andrew_zhilin@yahoo.com>.
1852 2005-09-10 Eli Zaretskii <eliz@gnu.org>
1854 * config.nt (HAVE_GET_CURRENT_DIR_NAME): Undefine.
1856 2005-08-10 Juanma Barranquero <lekktu@gmail.com>
1858 * .cvsignore: Add `obj' and `oo' for in-place installations.
1860 2005-07-30 Eli Zaretskii <eliz@gnu.org>
1862 * config.nt (HAVE_GETOPT_H, HAVE_GETOPT_LONG_ONLY): Undefine.
1864 2005-07-29 Juanma Barranquero <lekktu@gmail.com>
1866 * configure.bat: Don't create lisp/Makefile.unix.
1868 2005-07-28 Juanma Barranquero <lekktu@gmail.com>
1870 * .cvsignore: Add `makefile' and `config.log'.
1872 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1874 Merge gnulib getopt implementation into Emacs.
1876 * inc/gettext.h: Remove; no longer needed now that
1877 lib-src/gettext.h exists.
1879 2005-07-16 Eli Zaretskii <eliz@gnu.org>
1881 * configure.bat: Finish config.log with a line that indicates that
1882 the configure step was successful.
1884 2005-07-04 Lute Kamstra <lute@gnu.org>
1886 Update FSF's address in GPL notices.
1888 2005-06-11 Eli Zaretskii <eliz@gnu.org>
1890 * configure.bat: If their fc.exe returns a meaningful exit status,
1891 don't overwrite src/config.h and src/epaths.h with identical
1894 * INSTALL: Warn about using "cvs up -kb" if one intends to commit
1895 changes. Add a pointer to another site with detailed configure
1896 and build instructions. Suggest to look at config.log when
1897 configure fails. Add MinGW Make 3.80 to the list of successful
1900 * gmake.defs (ARCH_CFLAGS): Use $(MCPU_FLAG) instead of a literal
1903 * configure.bat: Update copyright years.
1904 Delete config.log before doing anything else.
1905 Write additional diagnostics to config.log in case of failures to
1906 compile test programs, including the failed test program itself.
1907 Add a test for support of -mtune=pentium4 switch to GCC; if it is
1908 supported, set up MCPU_FLAG variable on the various Makefiles to
1909 use that switch during compilations. (This avoids GCC warning
1910 about -mcpu being deprecated.)
1912 2005-06-10 Eli Zaretskii <eliz@gnu.org>
1914 * addsection.c (copy_executable_and_add_section): Pass non-zero
1915 `verbose' arg to COPY_CHUNK only if DEBUG_DUMP is defined in the
1916 environment. Print section names with %.8s.
1917 (COPY_CHUNK): New 4th arg `verbose'; print diagnostic messages
1918 only if non-zero. All callers changed.
1920 2005-06-05 Eli Zaretskii <eliz@gnu.org>
1922 * inc/sys/socket.h: Change arg 4 of sys_setsockopt to
1923 `const void *', for consistency with POSIX.
1925 2005-06-04 Eli Zaretskii <eliz@gnu.org>
1927 * inc/pwd.h (getpwnam, getpwuid): Add prototypes.
1929 2005-05-24 Juanma Barranquero <lekktu@gmail.com>
1931 * INSTALL: Add more pointers to ports of Unix tools to Windows,
1932 and to the Emacs Wiki (which contains building instructions for
1933 Windows). Reword image library instructions and remove obsolete
1934 incompatibility information.
1936 2005-04-23 David Hunter <hunterd42@comcast.net> (tiny change)
1938 * config.nt (HAVE_PWD_H): Undef.
1940 2004-06-07 Juanma Barranquero <lektu@terra.es>
1942 * INSTALL: Clarify paragraph about compatibility between image
1943 libraries and builds of Emacs with several compilers.
1945 2004-06-06 Juanma Barranquero <lektu@terra.es>
1947 * makefile.w32-in (bootstrap-nmake): When nmake'ing bootstrap on
1948 the lisp/ directory, set SHELL to $(SHELLTYPE); this avoids
1949 calling non-existent cmdproxy.exe on bootstrapping after a
1950 previous install followed by realclean.
1952 * nmake.defs: Add quote in comment to resync font-locking.
1954 2004-06-04 Juanma Barranquero <lektu@terra.es>
1956 * INSTALL: Reword the section on image support. Add reference to
1957 GnuWin32. Mention problems when mixing binaries from different
1960 2004-05-06 Jason Rumney <jasonr@gnu.org>
1962 * configure.bat: Use -mno-cygwin to check for image libraries
1965 2004-05-03 Jason Rumney <jasonr@gnu.org>
1967 * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
1968 * makefile.def: Remove.
1970 * nmake.defs (SYS_LDFLAGS): Add -nologo.
1972 * makefile.w32-in (info-gmake, info-nmake): New targets.
1975 2004-04-23 Juanma Barranquero <lektu@terra.es>
1981 * makefile.nt: Add "-*- makefile -*-" mode tag.
1983 2004-04-10 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
1985 * runemacs.c (WinMain): Let Emacs environment default to parent.
1987 2004-03-11 Jason Rumney <jasonr@gnu.org>
1989 * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
1991 2004-03-10 Juanma Barranquero <lektu@terra.es>
1993 * makefile.w32-in (install): Don't try to copy
1994 ../lib-src/fns-*.el, as it isn't used anymore.
1996 2004-01-28 Peter Runestig <peter@runestig.com>
1998 * gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
2000 2003-12-24 Miles Bader <miles@gnu.ai.mit.edu>
2002 * .cvsignore: Add `.arch-inventory'.
2004 2003-11-22 Lars Hansen <larsh@math.ku.dk>
2006 * inc/grp.h: New file.
2008 2003-09-03 Peter Runestig <peter@runestig.com>
2010 * configure.bat: Create ``makefile'' in directories man, lispref
2013 * makefile.w32-in (force-info, info): New targets.
2015 * envadd.bat: New file.
2017 * multi-install-info.bat: New file.
2019 2003-06-27 Jan Djärv <jan.h.d@swipnet.se>
2021 * config.nt (my_strftime): New define.
2023 2003-02-01 Jason Rumney <jasonr@gnu.org>
2025 * configure.bat: Automatically detect libXpm.
2026 Suppress compiler output when testing for image libraries.
2027 Give names of un-found libraries in messages.
2029 2003-01-31 Juanma Barranquero <lektu@terra.es>
2031 * configure.bat: Automatically detect giflib and tifflib.
2033 2003-01-29 Jason Rumney <jasonr@gnu.org>
2035 * gmake.defs (CURDIR): Disable cygpath kludge.
2037 2003-01-29 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>
2039 * configure.bat: Avoid endless loop when configuring without image
2042 2003-01-26 Jason Rumney <jasonr@gnu.org>
2044 * configure.bat: Automatically detect jpeglib.
2046 2003-01-25 Jason Rumney <jasonr@gnu.org>
2048 * configure.bat: Automatically detect libpng.
2050 2003-01-21 Jason Rumney <jasonr@gnu.org>
2052 * icons/hand.cur: New file.
2054 2003-01-21 David Ponce <david@dponce.com>
2056 * emacs.rc (2000-10-19T07:24:01Z!eliz@gnu.org): Declare hand cursor resource.
2058 2003-01-15 Andrew Innes <andrewi@gnu.org>
2060 * gmake.defs (CURDIR): Convert to native Windows format (with
2061 forward slashes), to support building with Cygwin builds of make.
2063 2002-11-17 Ben Key <BKey1@tampabay.rr.com>
2066 * gmake.defs: Made changes so that Emacs would link with
2067 WinMM.lib. This change was required for my addition of a Windows
2068 compatible implementation of play-sound-internal.
2070 2002-09-03 Peter Runestig <peter@runestig.com> (tiny change)
2072 * emacs.rc: Version updated to 21.3.50.
2074 2002-06-13 Jason Rumney <jasonr@gnu.org>
2076 * addpm.c (env_vars): Remove EMACSLOCKDIR.
2078 * makefile.w32-in (maybe-bootstrap, doit, maybe-bootstrap-CMD)
2079 (maybe-bootstrap-SH): New targets.
2080 (all): Depend on maybe-bootstrap.
2082 2002-05-03 Jason Rumney <jasonr@gnu.org>
2084 * inc/sys/socket.h (F_SETFL, O_NDELAY): Define.
2085 (sys_getpeername, fcntl): Declare as wrappers.
2087 2002-04-10 Juanma Barranquero <lektu@terra.es>
2089 * makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make DOC
2090 after compiling .el files.
2092 2002-03-20 Jason Rumney <jasonr@gnu.org>
2094 * inc/sys/socket.h (sys_setsockopt, sys_listen, sys_getsockname)
2095 (sys_accept, sys_recvfrom, sys_sendto): Declare as wrappers.
2097 2002-03-19 Kim F. Storm <storm@cua.dk>
2099 * config.nt (HAVE_SENDTO, HAVE_RECVFROM, HAVE_GETSOCKOPT)
2100 (HAVE_SETSOCKOPT, HAVE_GETSOCKNAME, HAVE_GETPEERNAME): Define.
2101 (HAVE_SYS_UN_H): Undef.
2102 From David Ponce <dponce@voila.fr>.
2104 2002-03-13 Jason Rumney <jasonr@gnu.org>
2106 * config.nt (STRFTIME_NO_POSIX2): Define.
2108 2002-02-18 Jason Rumney <jasonr@gnu.org>
2110 * emacs.rc: Define VS_VERSION_INFO if not already.
2111 Update version info.
2113 2002-01-04 Andrew Innes <andrewi@gnu.org>
2115 * gmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2116 pick up relevant bits of the Windows API definitions.
2118 * nmake.defs (CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
2119 pick up relevant bits of the Windows API definitions.
2121 2001-12-14 Andrew Innes <andrewi@gnu.org>
2123 * makefile.w32-in (bootstrap): Build addsection program before
2124 bootstrap (required for post-processing temacs.exe).
2126 2001-12-08 Pavel Janík <Pavel@Janik.cz>
2128 * COPYING: New file.
2130 2001-12-03 Andrew Innes <andrewi@gnu.org>
2132 * makefile.w32-in (bootstrap-nmake):
2133 (bootstrap-gmake): Extend bootstrap process to first do
2134 bootstrap-clean in lisp dir and rebuild the DOC file.
2135 (bootstrap): Do a "normal" make after the bootstrap work.
2137 2001-11-20 Jason Rumney <jasonr@gnu.org>
2139 * INSTALL: Update table of versions of make that are suitable
2140 for building Emacs, based on recent feedback.
2142 * TODO, _emacs, emacs.bat.in, debug.bat.in: Remove.
2144 2001-11-19 Andrew Innes <andrewi@gnu.org>
2146 * ftime-nostartup.bat: New file.
2148 * ftime.bat: Don't include libc.lib for profiling - the profiler
2149 corrupts part of memcpy.
2151 2001-11-17 Jason Rumney <jasonr@gnu.org>
2153 * nmake.defs (SYS_LDFLAGS): Add setargv.obj for wildcard
2154 expansion. From Juanma Barranquero <lektu@terra.es>.
2156 2001-10-20 Gerd Moellmann <gerd@gnu.org>
2158 * (Version 21.1 released.)
2160 2001-10-12 Andrew Innes <andrewi@gnu.org>
2162 * inc/pwd.h (uid_t, gid_t): New typedefs.
2164 2001-10-05 Gerd Moellmann <gerd@gnu.org>
2168 2001-09-08 Eli Zaretskii <eliz@is.elta.co.il>
2170 * README: Update the address of the mailing list and subscription
2171 instructions. From Geoff Voelker <voelker@cs.ucsd.edu>.
2173 2001-09-06 Eli Zaretskii <eliz@is.elta.co.il>
2175 * INSTALL: Suggest to avoid using WinZip.
2177 * configure.bat: Make sure ../site-lisp exists; create if necessary.
2179 2001-09-05 Eli Zaretskii <eliz@is.elta.co.il>
2181 * INSTALL: Mention that "make install" can be "nmake install".
2183 2001-09-04 Eli Zaretskii <eliz@is.elta.co.il>
2185 * makefile.w32-in ($(INSTALL_DIR)/bin): Depend on $(INSTALL_DIR),
2186 since some versions of `mkdir' don't automatically create parent
2187 directories. From Bruno Grossniklaus <bruno.grossniklaus@ubs.com>.
2189 2001-08-31 Eli Zaretskii <eliz@is.elta.co.il>
2191 * subdirs.el: New file.
2193 * configure.bat: Copy subdirs.el to the site-lisp directory.
2195 * makefile.w32-in (install): Copy subdirs.el to the installation
2198 2001-06-20 Jason Rumney <jasonr@gnu.org>
2200 * runemacs.c (WinMain): Add quotes around command in case of spaces.
2202 2001-06-01 Andrew Innes <andrewi@gnu.org>
2204 * gmake.defs (sh_output): Don't use $(warning ...) to output
2205 messages, since that is not supported by GNU make 3.77.
2207 2001-05-24 Jason Rumney <jasonr@gnu.org>
2209 * INSTALL: Clarify that building with MSVC requires nmake.
2211 2001-05-17 Andrew Innes <andrewi@gnu.org>
2213 * gmake.defs (NEW_CYGWIN): Output message about spurious error
2214 message that is to be ignored.
2216 2001-05-13 Andrew Innes <andrewi@gnu.org>
2218 * TODO: Remove file, since it is completely out of date.
2220 * README: Add copyright notice.
2222 * INSTALL: Add copyright notice.
2224 2001-04-18 Andrew Innes <andrewi@gnu.org>
2226 * nmake.defs (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
2229 * gmake.defs (SETLOADPATH): Remove definition.
2230 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in the
2233 2001-03-26 Eli Zaretskii <eliz@is.elta.co.il>
2235 * configure.bat: Make the checkw32api* labels be distinct in the
2238 2001-03-17 Andrew Innes <andrewi@gnu.org>
2240 * cmdproxy.c (get_next_token): Fix indefinite loop bug scanning
2243 * gmake.defs (DEBUG_LINK): New macro.
2244 (LINK_FLAGS): Use it.
2246 * nmake.defs (DEBUG_LINK): New macro.
2247 (LINK_FLAGS): Use it.
2249 2001-03-06 Andrew Innes <andrewi@gnu.org>
2251 * INSTALL: Add --ldflags to configure line for building with
2252 recent versions of Cygwin GCC.
2254 2001-03-05 Eli Zaretskii <eliz@is.elta.co.il>
2256 * configure.bat: Use correct options when compiling a test program
2257 with Cygwin. From David Ponce <dponce@voila.fr>.
2259 2001-02-24 Andrew Innes <andrewi@gnu.org>
2261 * _emacs: Remove obsolete file.
2263 * emacs.bat.in: Remove obsolete file.
2265 * debug.bat.in: Remove obsolete file.
2267 * inc/sys/socket.h: Add copyright notice.
2269 * paths.h: Add copyright notice.
2271 * makefile.nt: Update copyright notice.
2273 * makefile.def: Update copyright notice.
2275 * configure.bat: Update copyright notice.
2277 * nmake.defs: Add copyright notice.
2279 * gmake.defs: Add copyright notice.
2281 * makefile.w32-in: Add copyright notice.
2283 2001-02-05 Andrew Innes <andrewi@gnu.org>
2285 * nmake.defs (THISDIR): New definition.
2287 * gmake.defs (THISDIR): New definition.
2289 2001-02-03 Andrew Innes <andrewi@gnu.org>
2291 * configure.bat: Leave a space before >> only when there is a
2292 preceding digit. Add a comment about the importance of this.
2294 * README: Replace outdated information.
2296 * INSTALL (Trouble-shooting): Add note about need to specify extra
2297 compiler flags with recent Cygwin ports of gcc.
2299 2001-02-01 Eli Zaretskii <eliz@is.elta.co.il>
2301 * configure.bat: Use "rm -f" instead of "del /f", as the latter
2302 is not supported by Windows 9X's COMMAND.COM.
2304 2001-01-31 Eli Zaretskii <eliz@is.elta.co.il>
2306 * configure.bat: Make sure redirection is preceded by a blank, to
2307 avoid problems with "1>>foo" when CMD.EXE is the shell, which eats
2308 up the "1" part. From Rob Giardina <rob@criticalpointsoftware.com>.
2310 2001-01-30 Eli Zaretskii <eliz@is.elta.co.il>
2312 * INSTALL: Copy the table of tested combinations of development
2313 tools from configure.bat. Add suggestion to install Bash on
2316 * configure.bat: Don't copy lisp/Makefile, it doesn't exist; copy
2317 lisp/Makefile.in instead. Use "rm -f" where more than one file
2318 needs to be deleted, since command.com in Windows 9X doesn't grok
2319 more than one argument.
2321 2001-01-24 Andrew Innes <andrewi@gnu.org>
2323 * makefile.w32-in (cleanall-other-dirs-nmake):
2324 (cleanall-other-dirs-gmake): New targets.
2325 (cleanall): Invoke them.
2327 2001-01-19 Andrew Innes <andrewi@gnu.org>
2329 * addpm.c (env_vars): Add a version-independent site-lisp
2330 directory to EMACSLOADPATH, after the version dependent one.
2332 2001-01-06 Andrew Innes <andrewi@gnu.org>
2334 * README: Update info about compilers.
2336 * makefile.w32-in: Use $(MAKETYPE) instead of $(SHELLTYPE) to
2337 select correct rule for invoking make in another directory.
2338 Amend rules accordingly.
2339 (clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
2341 * nmake.defs (EMACS_ICON_PATH): Delete definition.
2342 (COMPILER_TEMP_FILES): New definition.
2343 (MAKETYPE): New definition.
2345 * gmake.defs (EMACS_ICON_PATH): Delete definition.
2346 (COMPILER_TEMP_FILES): New definition.
2347 (MAKETYPE): New definition.
2349 * makefile.def (EMACS_ICON_PATH): Delete definition.
2351 * configure.bat: Be careful not to add trailing spaces when
2352 outputting to config.settings.
2354 2001-01-02 Andrew Innes <andrewi@gnu.org>
2356 * config.nt (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE macro rather
2359 2000-12-17 Andrew Innes <andrewi@gnu.org>
2361 * makefile.w32-in (install): Copy directories to the correct
2363 (real_install): Remove obsolete target.
2365 2000-12-06 Andrew Innes <andrewi@gnu.org>
2367 * nmake.defs (CURDIR): New define.
2368 (INSTALL_DIR): Use it.
2370 * gmake.defs (NEW_CYGWIN): New define.
2371 (DQUOTE) [NEW_CYGWIN]: Cygnus changed the quoting rules since b20,
2372 so we need to adjust how we escape embedded quotes.
2373 (SETLOADPATH): Set EMACSLOADPATH to an absolute directory,
2374 relative to $(CURDIR).
2376 2000-11-25 Jason Rumney <jasonr@gnu.org>
2378 * config.nt (GC_MARK_STACK, GC_SETJMP_WORKS): Define.
2380 2000-10-17 Andrew Innes <andrewi@gnu.org>
2382 * makefile.w32-in (recompile): New target to recompile lisp
2384 (recompile-CMD, recompile-SH): New support targets.
2386 2000-09-24 Jason Rumney <jasonr@gnu.org>
2388 * config.nt (NO_RETURN): Define it.
2390 2000-09-17 Andrew Innes <andrewi@gnu.org>
2392 * gmake.defs: Revert to Unix line endings.
2394 * nmake.defs: Revert to Unix line endings.
2396 2000-09-16 Andrew Innes <andrewi@gnu.org>
2398 * gmake.defs (SETLOADPATH): Change definition to work from any
2401 2000-09-14 Andrew Innes <andrewi@gnu.org>
2403 * makefile.w32-in: Revert to Unix line endings.
2405 2000-09-14 Andrew Innes <andrewi@gnu.org>
2407 * INSTALL: Add note about expected error messages when configure
2410 * configure.bat: Simplify the generation of makefiles (don't need
2411 to generate various top-level targets that invoke make in other
2414 * gmake.defs (SHELLTYPE): New define.
2415 (SETLOADPATH): New define.
2417 * nmake.defs (SHELLTYPE): New define.
2419 * makefile.w32-in: Standardize indentation somewhat.
2420 Add bootstrap support.
2421 Pass $(MFLAGS) when invoking make recursively.
2422 Add shell-specific variants of top-level targets that invoke make
2423 recursively in other directories, and add necessary computed
2426 2000-09-03 Andrew Innes <andrewi@gnu.org>
2428 * makefile.w32-in: Change to DOS line endings.
2430 * configure.bat: Change to DOS line endings.
2432 * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2433 (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2435 * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
2436 (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2438 * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2439 -D_ANONYMOUS_STRUCT on compile line.
2440 (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
2441 (ARCH_CFLAGS): Change optimization flags to -O2.
2442 (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2443 (ARGQUOTE, DQUOTE): New defines.
2445 * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
2446 -D_ANONYMOUS_STRUCT on compile line.
2447 (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
2448 (ARGQUOTE, DQUOTE): New defines.
2450 2000-08-22 Andrew Innes <andrewi@gnu.org>
2452 * configure.bat: New file.
2454 * gmake.defs: New file.
2456 * nmake.defs: New file.
2458 * makefile.w32-in: New file.
2460 * INSTALL: Rewrite to match new configure process.
2462 * config.nt [WINDOWSNT]: Don't declare getenv.
2463 (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
2465 * addpm.c (main): Accept /q to mean install based on addpm's
2466 location without asking. Remove reference to emacs.bat which is
2469 * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
2471 * paths.h: Use forward slash as directory separator in all path
2473 (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
2475 * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
2477 * runemacs.c: Remove WIN32 define.
2479 * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
2482 * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
2483 (fd_set): Define to new name, after including winsock.h, so we can
2484 provide our own implementation.
2486 2000-07-05 Andrew Innes <andrewi@gnu.org>
2488 * ebuild.bat: Add support for specifying make arguments.
2490 * makefile.nt: Add support for `bootstrap' and related targets.
2492 2000-06-11 Jason Rumney <jasonr@gnu.org>
2494 * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
2496 2000-02-06 Andrew Innes <andrewi@gnu.org>
2498 * inc/sys/time.h: Add inclusion protection.
2500 * makefile.def (SYS_LDFLAGS): Add -nologo.
2502 1999-11-22 Andrew Innes <andrewi@gnu.org>
2504 * install.bat: Pass on command line arguments to make.
2506 * makefile.nt (fast_install): Bring commands up-to-date, and fix typo.
2508 1999-11-21 Andrew Innes <andrewi@gnu.org>
2510 * makefile.nt (all): Build leim if present.
2511 (install): Install leim if present.
2512 (clean): Clean leim if present.
2514 * addpm.c (env_vars): Include leim in default EMACSLOADPATH
2517 * emacs.bat.in (EMACSLOADPATH): Include leim.
2519 1999-07-12 Richard Stallman <rms@gnu.org>
2521 * Version 20.4 released.
2523 1999-06-16 Andrew Innes <andrewi@gnu.org>
2525 * emacs.rc: Use an icon with a transparent background, to be in
2526 keeping with other applications.
2528 1999-06-03 Andrew Innes <andrewi@gnu.org>
2530 * preprep.c: Fix typo.
2532 1999-05-02 Andrew Innes <andrewi@gnu.org>
2534 * config.h: Remove obsolete file.
2536 * preprep.c (copy_executable_and_move_sections): Ifdef out a
2537 couple of unused switch cases that aren't defined on all
2540 * ftime.bat: Add another variation of the profile command, which
2541 only profiles extended commands.
2543 1999-03-31 Geoff Voelker <voelker@cs.washington.edu>
2545 * cmdproxy.c (main): Fix parens.
2547 1999-03-25 Andrew Innes <andrewi@gnu.org>
2549 * cmdproxy.c (main): Call GetShortPathName to normalize program
2550 names for comparison.
2552 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
2554 * makefile.def: Compile multiple .c files when possible.
2555 Use BLD instead of assuming i386.
2556 * makefile.nt: Remove common multiple file compilation commands.
2558 1999-03-04 Geoff Voelker <voelker@cs.washington.edu>
2560 * cmdproxy.c (main): Add missing parens.
2562 1999-02-20 Andrew Innes <andrewi@gnu.org>
2564 * preprep.c: New program to allow dumped image to be profiled.
2566 * makefile.nt (preprep): New target.
2569 * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
2571 * ftime.bat: Invoke preprep to prepare dumped image for profiling.
2572 Change prep options to profile libc functions and skip the startup
2575 1999-02-15 Geoff Voelker <voelker@cs.washington.edu>
2577 * makefile.nt: Create installation directory as first step.
2579 1999-01-31 Andrew Innes <andrewi@gnu.org>
2581 * addsection.c (ROUND_UP_DST_AND_ZERO): Rename from
2582 ROUND_UP_DST. Zeroes the alignment slop.
2583 (copy_executable_and_add_section): Update the
2584 SizeOfHeaders field properly.
2586 1999-01-27 Andrew Innes <andrewi@gnu.org>
2588 * makefile.nt: Do make version comparison as strings.
2590 1999-01-26 Andrew Innes <andrewi@harlequin.co.uk>
2592 * runemacs.c (WinMain): Pass explicit environment block to
2593 CreateProcess, to work around a bug in Windows 95/98.
2595 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
2597 * icons: New directory with Davenport's icons.
2598 * icons/sink.ico: Renamed from emacs.ico.
2600 * makefile.nt (install, fast_install): Install Windows icons
2603 * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
2605 1999-01-17 Andrew Innes <andrewi@gnu.org>
2607 * makefile.nt (ALL): List top-level targets.
2608 (addsection): New top-level target.
2609 (install): Copy fns-*.el to bin directory.
2611 * addsection.c: New program to add static heap section to
2612 temacs.exe after linking, in support of new unexec method.
2614 1998-12-28 Andrew Innes <andrewi@delysid.gnu.org>
2616 * cmdproxy.c (spawn): Pass directory for child as parameter.
2617 (main): Save startup directory to give to spawn, then change
2618 directory to location of .exe in order not to prevent startup
2619 directory from being deleted.
2621 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
2623 * makefile.nt: Do string comparison of _NMAKE_VER.
2625 1998-12-02 Geoff Voelker <voelker@cs.washington.edu>
2627 * config.nt (LOCALTIME_CACHE): Define.
2629 1998-11-13 Andrew Innes <andrewi@delysid.gnu.org>
2631 * install.bat: Convert to DOS format.
2633 1998-11-10 Andrew Innes <andrewi@harlequin.co.uk>
2635 * cmdproxy.c (main): Set environment size only when running
2638 1998-11-03 Theodore Jump <tjump@tertius.com>
2640 * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
2641 (DEL_TREE): Use rd instead of rmdir.
2642 (ARCH_CFLAGS): Optimize for P6. Align structures on 8-byte boundaries.
2643 * makefile.nt: Compile multiple source files when possible.
2645 1998-10-05 Geoff Voelker <voelker@cs.washington.edu>
2647 * cmdproxy.c (main): Treat command line options as case-insensitive.
2649 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
2651 * Version 20.3 released.
2653 1998-07-20 Geoff Voelker <voelker@cs.washington.edu>
2655 * addpm.c (main): Explicitly check result of message box for OK.
2657 1998-06-05 Andrew Innes <andrewi@harlequin.co.uk>
2659 * inc/sys/file.h (D_OK): Define new macro.
2661 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
2663 * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
2665 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
2667 * emacs.rc (VS_VERSION_INFO): Define.
2669 1998-04-23 Geoff Voelker <voelker@cs.washington.edu>
2671 * makefile.nt (emacs.bat, debug.bat): Create them in the
2672 installation directory.
2674 1998-04-23 Andrew Innes <andrewi@harlequin.co.uk>
2676 * ddeclient.c: New file. (Support program for performing limited
2677 interprocess communication on Windows.)
2679 * makefile.nt: Build ddeclient.
2681 * cmdproxy.c (main): Only set environment size for real shell, and
2682 provide extra directory argument, when running on Windows 95.
2684 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
2686 * cmdproxy.c (fail): Exit with a negative return value.
2687 (spawn): Return subprocess return code as an argument.
2688 Explicitly copy environment block.
2689 (main): Update to use return value argument with spawn.
2690 Retry if spawn failed when a subshell was not tried.
2692 * config.nt: Include new macros from src/config.in.
2693 (GNU_MALLOC, REL_ALLOC): Define.
2694 (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
2695 (RE_TRANSLATE): Use char_table_translate.
2697 * makefile.def (CP_DIR): Preserve attributes.
2699 * makefile.nt (clean): Delete patch generated files, optimized
2702 1997-10-01 Geoff Voelker <voelker@cs.washington.edu>
2704 * addpm.c (env_vars): Fix misplaced % in SHELL entry.
2706 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2708 * Version 20.2 released.
2710 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2712 * Version 20.1 released.
2714 1997-09-11 Geoff Voelker <voelker@cs.washington.edu>
2716 * debug.bat.in: New file.
2717 * makefile.nt (debug.bat): New target.
2719 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
2721 * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
2722 Quote group name. Allow different icons to be specified.
2724 * cmdproxy.c (get_env_size): New function.
2725 (spawn): Explicitly pass in environment when creating subprocess.
2726 (main): Cleanup error messages.
2727 Specify dynamically sized environment block for real shell.
2728 Pass on unhandled switches to real shell.
2731 * makefile.def (CFLAGS_COMMON): Place pdb file in object build
2733 (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
2735 * runemacs.c (WinMain): Allow Emacs process to be started with
2736 high or low priority.
2738 * emacs.bat.in: Remove OS dependent operations.
2740 1997-09-02 Geoff Voelker <voelker@cs.washington.edu>
2742 * addpm.c (env_vars): No longer set INFOPATH.
2744 * cmdproxy.c (get_next_token): Null terminate token returned.
2746 * emacs.bat.in (INFOPATH): No longer set INFOPATH.
2748 1997-08-10 Andrew Innes <andrewi@harlequin.co.uk>
2750 * addpm.c (env_vars): Set SHELL to cmdproxy.
2751 (main): Initialize idDde to 0.
2752 Determine emacs_path from module file name.
2755 * makefile.def (MSVCNT11): Conditionally define it.
2756 (BASE_LIBS): Do not use oldnames.lib.
2757 (SYS_LDFLAGS): Use pdb files.
2758 (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
2759 (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
2760 (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
2762 * makefile.nt (ALL): Build cmdproxy.
2763 (cmdproxy): New target.
2764 (install): Install cmdproxy.
2766 * ftime.bat, debug.bat, cmdproxy.c: New files.
2768 1997-07-10 Geoff Voelker <voelker@cs.washington.edu>
2770 * inc/sys/socket.h (shutdown): Define.
2771 (sys_shutdown): Export.
2773 1997-07-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2775 * config.nt (RE_TRANSLATE): Copy definition from config.in.
2777 1997-07-01 Geoff Voelker <voelker@cs.washington.edu>
2779 * config.nt: Update file comments.
2780 Update undefs added/removed in src/config.in.
2782 1997-06-19 Geoff Voelker <voelker@cs.washington.edu>
2784 * makefile.def, emacs.bat: Use windows95 and windowsnt instead
2785 of win95 and winnt, respectively.
2787 1997-01-04 Geoff Voelker <voelker@cs.washington.edu>
2789 * makefile.nt (real_install): Create site-lisp in installation dir.
2790 * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
2791 * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
2793 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2795 * Version 19.33 released.
2797 1996-08-09 Geoff Voelker <voelker@cs.washington.edu>
2799 * runemacs.c (WinMain): Put a space between the binary and its args.
2801 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2803 * Version 19.32 released.
2805 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
2807 * makefile.nt (clean): Use OBJDIR macro.
2809 1996-06-03 Kim F. Storm <kfs@olicom.dk>
2811 * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
2812 Not defined by default.
2813 (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
2814 (WinMain): Convert backslashes to slashes in env var values.
2816 * addpm.c (env_vars): Use slashes, not backslashes.
2818 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
2820 * Version 19.31 released.
2822 1996-05-13 Andrew Innes <andrewi@harlequin.co.uk>
2824 * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
2825 undo settings afterwards.
2827 1996-05-08 Andrew Innes <andrewi@harlequin.co.uk>
2829 * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
2830 environment variable.
2832 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
2834 * install.bat: Allow for optimized build.
2835 * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
2836 (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
2838 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
2840 * addpm.c (REG_ROOT): Don't use a trailing backslash.
2841 (env_vars): Rename field emacs_path to emacs_dir.
2842 (main): Add link to runemacs instead of emacs.
2844 * install.bat: Check if INSTALL_DIR is passed as an argument.
2846 * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
2848 * makefile.nt: Build and install runemacs.exe.
2850 * runemacs.c: New file.
2852 * config.w95: File removed.
2854 * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
2855 inc/sys/socket.h, inc/sys/time.h: New header files.
2857 * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
2859 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
2861 * makefile.def (DEL): Defined.
2862 (DEL_TREE) [win95]: Defined.
2863 (SYS_LDFLAGS): Set executable versions to 3.10.
2865 * makefile.nt: Change uses of del to $(DEL).
2867 1996-01-17 Erik Naggum <erik@naggum.no>
2869 * All files: Update FSF's address in comment preamble.
2871 1996-01-03 George V. Reilly <georger@microcrafts.com>
2873 * emacs.ico: Now the proverbial kitchen sink icon.
2875 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2877 * Version 19.30 released.
2879 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
2881 * makefile.def (CP_DIR): Use platform independent switches for xcopy.
2883 * makefile.nt (install, fast_install, real_install, clean):
2884 Don't use switches to del not supported by Windows 95.
2886 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
2888 * makefile.nt (addpm.exe): Link with $(ADVAPI32).
2889 (install, fast_install): Change same-dir test to create test file in
2890 installation tree and thereby support read-only shares.
2891 (clean): Remove .pdb files.
2893 * makefile.def (NTGUI): New macro.
2894 [NTGUI] (CFLAGS): Define HAVE_NTGUI.
2896 * config.nt, config.w95: Update to latest src/config.in.
2898 * addpm.c (env_vars): New variable.
2899 (add_registry): New procedure.
2900 (main): Use values of configuration environment variables from
2901 the registry if defined, the process environment otherwise.
2903 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2905 * Version 19.29 released.
2907 * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
2909 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
2911 * makefile.nt: Define .c to .obj suffix rule.
2912 (addpm.obj): Compile directly, use CFLAGS.
2913 (addpm.exe): Link from addpm.obj.
2915 * makefile.def (MSVCNT11): Defined.
2916 (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
2917 (CFLAGS_COMMON): Defined.
2918 (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
2920 1995-06-09 Geoff Voelker <voelker@cs.washington.edu>
2922 * emacs.bat.in: Renamed from emacs.bat.
2923 (emacs_dir): Rename from emacs_path.
2926 * addpm.c: New file.
2927 * makefile.nt (ALL, addpm, addpm.exe, addpm.obj): Defined.
2928 (all): Depend upon $(BLD) and $(ALL).
2929 (install): Depend upon emacs.bat.
2930 Create program item for Emacs.
2931 (clean): Delete obj.
2932 (emacs.bat): Defined.
2933 * makefile.def (EMACS_ICON_PATH, ADDPM): Defined.
2935 1995-05-27 Geoff Voelker <voelker@cs.washington.edu>
2937 * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
2938 Add carriage returns; necessary for batch files on Windows 95.
2940 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
2942 * config.w95: Created.
2943 * config.h: Changed to config.nt.
2945 * makefile.nt (SUBDIRS): Commented out.
2946 (all, install, clean): Expand for-loops.
2947 (BUILD_CMD, INSTALL_CMD, CLEAN_CMD): Defined.
2949 * makefile.def (SYS_LIB_DIR, SYS_INC_DIR): Undefined.
2950 (ARCH): New definition.
2951 (CPU, CONFIG_H, OS_TYPE): Defined.
2952 (INCLUDE, LIB): Checked if valid.
2953 (ntwin32.mak): Included.
2954 (AR, CC, LINK): New definition.
2955 (ADVAPI32, libc, BASE_LIBS): Defined.
2956 (SYS_LDFLAGS): New definition.
2957 Update comments and preprocessor conditionals.
2959 * emacs.bat (SHELL): Conditionally defined.
2960 (HOME): Conditionally defined.
2961 (emacs_path, HOME): Update comments.
2964 1995-05-09 Geoff Voelker <voelker@cs.washington.edu>
2966 * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
2967 fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
2968 inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
2969 inc/sys/param.h: Removed carriage-returns.
2971 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
2973 * makefile.def (CVTRES): Defined.
2975 * emacs.ico, emacs.rc: New files by Kevin Gallo.
2977 1995-04-10 Geoff Voelker <voelker@cs.washington.edu>
2979 * src: Remove directory.
2981 * src\config.h, src\paths.h: Moved to parent dir, src removed.
2983 1995-04-09 Geoff Voelker <voelker@cs.washington.edu>
2985 * makefile.def (INSTALL_DIR): Change to generic directory.
2987 * emacs.bat: Added arguments when emacs.exe invoked.
2989 * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
2991 1994-12-13 Geoff Voelker <voelker@cs.washington.edu>
2993 * makefile.def (CC): In configuration section.
2994 (COMPAT_LIB): Defined.
2996 1994-11-01 Geoff Voelker <voelker@cs.washington.edu>
2998 * src/paths.h: New file.
3000 * src/config.h: New file.
3002 * inc/pwd.h: New file.
3004 * inc/sys/dir.h: New file.
3006 * inc/sys/file.h: New file.
3008 * inc/sys/ioctl.h: New file.
3010 * inc/sys/param.h: New file.
3016 * makefile.nt: New file.
3018 * makefile.def: New file.
3020 * install.cmd: New file.
3022 * INSTALL: New file.
3024 * fast-install.cmd: New file.
3026 * emacs.cmd: New file.
3028 * ebuild.cmd: New file.
3034 ;; add-log-time-zone-rule: t
3037 Copyright (C) 1995-1999, 2001-2013 Free Software Foundation, Inc.
3039 This file is part of GNU Emacs.
3041 GNU Emacs is free software: you can redistribute it and/or modify
3042 it under the terms of the GNU General Public License as published by
3043 the Free Software Foundation, either version 3 of the License, or
3044 (at your option) any later version.
3046 GNU Emacs is distributed in the hope that it will be useful,
3047 but WITHOUT ANY WARRANTY; without even the implied warranty of
3048 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3049 GNU General Public License for more details.
3051 You should have received a copy of the GNU General Public License
3052 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.