1 2000-09-24 Jason Rumney <jasonr@gnu.org>
3 * config.nt (NO_RETURN): Define it.
5 2000-09-17 Andrew Innes <andrewi@gnu.org>
7 * gmake.defs: Revert to Unix line endings.
9 * nmake.defs: Revert to Unix line endings.
11 2000-09-16 Andrew Innes <andrewi@gnu.org>
13 * gmake.defs (SETLOADPATH): Change definition to work from any
16 2000-09-14 Andrew Innes <andrewi@gnu.org>
18 * makefile.w32-in: Revert to Unix line endings.
20 2000-09-14 Andrew Innes <andrewi@gnu.org>
22 * INSTALL: Add note about expected error messages when configure
25 * configure.bat: Simplify the generation of makefiles (don't need
26 to generate various top-level targets that invoke make in other
29 * gmake.defs (SHELLTYPE): New define.
30 (SETLOADPATH): New define.
32 * nmake.defs (SHELLTYPE): New define.
34 * makefile.w32-in: Standardize indentation somewhat.
35 Add bootstrap support.
36 Pass $(MFLAGS) when invoking make recursively.
37 Add shell-specific variants of top-level targets that invoke make
38 recursively in other directories, and add necessary computed
41 2000-09-03 Andrew Innes <andrewi@gnu.org>
43 * makefile.w32-in: Change to DOS line endings.
45 * configure.bat: Change to DOS line endings.
47 * addsection.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
48 (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
50 * preprep.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
51 (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
53 * gmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
54 -D_ANONYMOUS_STRUCT on compile line.
55 (EMACS_EXTRA_C_FLAGS): No need for -DORDINARY_LINK.
56 (ARCH_CFLAGS): Change optimization flags to -O2.
57 (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
58 (ARGQUOTE, DQUOTE): New defines.
60 * nmake.defs (CFLAGS): No need for -D_ANONYMOUS_UNION
61 -D_ANONYMOUS_STRUCT on compile line.
62 (FOREACH, FORVAR, FORDO, ENDFOR): New definitions.
63 (ARGQUOTE, DQUOTE): New defines.
65 2000-08-22 Andrew Innes <andrewi@gnu.org>
67 * configure.bat: New file.
69 * gmake.defs: New file.
71 * nmake.defs: New file.
73 * makefile.w32-in: New file.
75 * INSTALL: Rewrite to match new configure process.
77 * config.nt [WINDOWSNT]: Don't declare getenv.
78 (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
80 * addpm.c (main): Accept /q to mean install based on addpm's
81 location without asking. Remove reference to emacs.bat which is
84 * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
86 * paths.h: Use forward slash as directory separator in all path
88 (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
90 * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
92 * runemacs.c: Remove WIN32 define.
94 * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
97 * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
98 (fd_set): Define to new name, after including winsock.h, so we can
99 provide our own implementation.
101 2000-07-05 Andrew Innes <andrewi@gnu.org>
103 * ebuild.bat: Add support for specifying make arguments.
105 * makefile.nt: Add support for `bootstrap' and related targets.
107 2000-06-11 Jason Rumney <jasonr@gnu.org>
109 * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
111 2000-02-06 Andrew Innes <andrewi@gnu.org>
113 * inc/sys/time.h: Add inclusion protection.
115 * makefile.def (SYS_LDFLAGS): Add -nologo.
117 1999-11-22 Andrew Innes <andrewi@gnu.org>
119 * install.bat: Pass on command line arguments to make.
121 * makefile.nt (fast_install): Bring commands up-to-date, and fix
124 1999-11-21 Andrew Innes <andrewi@gnu.org>
126 * makefile.nt (all): Build leim if present.
127 (install): Install leim if present.
128 (clean): Clean leim if present.
130 * addpm.c (env_vars): Include leim in default EMACSLOADPATH
133 * emacs.bat.in (EMACSLOADPATH): Include leim.
135 After the release of 20.4, development was split into two separate
136 code lines. One line contained the code for Emacs 21, and the other
137 one the code for the 20.x releases after 20.4. The following change
138 log entries up to the entry ``20.4 released'' are for the 20.x code
139 line. Change logs above this notice are those for the 21.x code line.
141 2000-06-13 Gerd Moellmann <gerd@gnu.org>
143 * Version 20.7 released.
145 2000-05-12 Jason Rumney <jasonr@gnu.org>
147 * INSTALL: Remove point 5 and other references to emacs.bat.
148 Renumber following points. Add note in point 1 about emacs.bat
149 and debug.bat being removed.
151 2000-02-20 Andrew Innes <andrewi@gnu.org>
153 * makefile.nt: Remove all references to emacs.bat and debug.bat.
155 * emacs.bat.in: Remove obsolete file.
157 * debug.bat.in: Remove obsolete file.
159 1999-11-22 Andrew Innes <andrewi@gnu.org>
161 * install.bat: Pass on command line arguments to make.
163 * makefile.nt (fast_install): Bring commands up-to-date, and fix
166 1999-11-21 Andrew Innes <andrewi@gnu.org>
168 * makefile.nt (all): Build leim if present.
169 (install): Install leim if present.
170 (clean): Clean leim if present.
172 * addpm.c (env_vars): Include leim in default EMACSLOADPATH
175 * emacs.bat.in (EMACSLOADPATH): Include leim.
177 1999-11-04 Andrew Innes <andrewi@gnu.org>
179 * makefile.def (ARCH_CFLAGS): Disable the frame pointer omission
180 optimization, to ensure accurate stack traces. The performance
183 1999-07-12 Richard Stallman <rms@gnu.org>
185 * Version 20.4 released.
187 1999-06-16 Andrew Innes <andrewi@gnu.org>
189 * emacs.rc: Use an icon with a transparent background, to be in
190 keeping with other applications.
192 1999-06-03 Andrew Innes <andrewi@gnu.org>
194 * preprep.c: Fix typo.
196 1999-05-02 Andrew Innes <andrewi@gnu.org>
198 * config.h: Remove obsolete file.
200 * preprep.c (copy_executable_and_move_sections): Ifdef out a
201 couple of unused switch cases that aren't defined on all
204 * ftime.bat: Add another variation of the profile command, which
205 only profiles extended commands.
207 1999-03-31 Geoff Voelker <voelker@cs.washington.edu>
209 * cmdproxy.c (main): Fix parens.
211 1999-03-25 Andrew Innes <andrewi@gnu.org>
213 * cmdproxy.c (main): Call GetShortPathName to normalize program
214 names for comparison.
216 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
218 * makefile.def: Compile multiple .c files when possible.
219 Use BLD instead of assuming i386.
220 * makefile.nt: Remove common multiple file compilation commands.
222 1999-03-04 Geoff Voelker <voelker@cs.washington.edu>
224 * cmdproxy.c (main): Add missing parens.
226 1999-02-20 Andrew Innes <andrewi@gnu.org>
228 * preprep.c: New program to allow dumped image to be profiled.
230 * makefile.nt (preprep): New target.
233 * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
235 * ftime.bat: Invoke preprep to prepare dumped image for profiling.
236 Change prep options to profile libc functions and skip the startup
239 1999-02-15 Geoff Voelker <voelker@cs.washington.edu>
241 * makefile.nt: Create installation directory as first step.
243 1999-01-31 Andrew Innes <andrewi@gnu.org>
245 * addsection.c: (ROUND_UP_DST_AND_ZERO): Renamed from
246 ROUND_UP_DST. Zeroes the alignment slop.
247 (copy_executable_and_add_section): Update the
248 SizeOfHeaders field properly.
250 1999-01-27 Andrew Innes <andrewi@gnu.org>
252 * makefile.nt: Do make version comparison as strings.
254 1999-01-26 Andrew Innes <andrewi@harlequin.co.uk>
256 * runemacs.c (WinMain): Pass explicit environment block to
257 CreateProcess, to work around a bug in Windows 95/98.
259 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
261 * icons: New directory with Davenport's icons.
262 icons/sink.ico: Renamed from emacs.ico.
264 * makefile.nt (install, fast_install): Install Windows icons
267 * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
269 1999-01-17 Andrew Innes <andrewi@gnu.org>
271 * makefile.nt: (ALL): List top-level targets.
272 (addsection): New top-level target.
273 (install): Copy fns-*.el to bin directory.
275 * addsection.c: New program to add static heap section to
276 temacs.exe after linking, in support of new unexec method.
278 1998-12-28 Andrew Innes <andrewi@delysid.gnu.org>
280 * cmdproxy.c (spawn): Pass directory for child as parameter.
281 (main): Save startup directory to give to spawn, then change
282 directory to location of .exe in order not to prevent startup
283 directory from being deleted.
285 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
287 * makefile.nt: Do string comparision of _NMAKE_VER.
289 1998-12-02 Geoff Voelker <voelker@cs.washington.edu>
291 * config.nt (LOCALTIME_CACHE): Define.
293 1998-11-13 Andrew Innes <andrewi@delysid.gnu.org>
295 * install.bat: Convert to DOS format.
297 1998-11-10 Andrew Innes <andrewi@harlequin.co.uk>
299 * cmdproxy.c (main): Set environment size only when running
302 1998-11-03 Theodore Jump <tjump@tertius.com>
304 * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
305 (DEL_TREE): Use rd instead of rmdir.
306 (ARCH_CFLAGS): Optimize for P6. Align structures on 8-byte boundaries.
307 * makefile.nt: Compile multiple source files when possible.
309 1998-10-05 Geoff Voelker <voelker@cs.washington.edu>
311 * cmdproxy.c (main): Treat command line options as case-insensitive.
313 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
315 * Version 20.3 released.
317 1998-07-20 Geoff Voelker <voelker@cs.washington.edu>
319 * addpm.c (main): Explicitly check result of message box for OK.
321 1998-06-05 Andrew Innes <andrewi@harlequin.co.uk>
323 * inc/sys/file.h (D_OK): Define new macro.
325 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
327 * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
329 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
331 * emacs.rc (VS_VERSION_INFO): Define.
333 1998-04-23 Geoff Voelker <voelker@cs.washington.edu>
335 * makefile.nt (emacs.bat, debug.bat): Create them in the
336 installation directory.
338 1998-04-23 Andrew Innes <andrewi@harlequin.co.uk>
340 * ddeclient.c: New file. (Support program for performing limited
341 interprocess communication on Windows.)
343 * makefile.nt: Build ddeclient.
345 * cmdproxy.c (main): Only set environment size for real shell, and
346 provide extra directory argument, when running on Windows 95.
348 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
350 * cmdproxy.c (fail): Exit with a negative return value.
351 (spawn): Return subprocess return code as an argument.
352 Explicitly copy environment block.
353 (main): Update to use return value argument with spawn.
354 Retry if spawn failed when a subshell was not tried.
356 * config.nt: Include new macros from src/config.in.
357 (GNU_MALLOC, REL_ALLOC): Define.
358 (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
359 (RE_TRANSLATE): Use char_table_translate.
361 * makefile.def (CP_DIR): Preserve attributes.
363 * makefile.nt (clean): Delete patch generated files, optimized
366 1997-10-01 Geoff Voelker <voelker@cs.washington.edu>
368 * addpm.c (env_vars): Fix misplaced % in SHELL entry.
370 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
372 * Version 20.2 released.
374 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
376 * Version 20.1 released.
378 1997-09-11 Geoff Voelker <voelker@cs.washington.edu>
380 * debug.bat.in: New file.
381 * makefile.nt (debug.bat): New target.
383 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
385 * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
386 Quote group name. Allow different icons to be specified.
388 * cmdproxy.c (get_env_size): New function.
389 (spawn): Explicitly pass in environment when creating subprocess.
390 (main): Cleaup error messages.
391 Specify dynamically sized environment block for real shell.
392 Pass on unhandled switches to real shell.
395 * makefile.def (CFLAGS_COMMON): Place pdb file in object build
397 (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
399 * runemacs.c (WinMain): Allow Emacs process to be started with
400 high or low priority.
402 * emacs.bat.in: Remove OS dependent operations.
404 1997-09-02 Geoff Voelker <voelker@cs.washington.edu>
406 * addpm.c (env_vars): No longer set INFOPATH.
408 * cmdproxy.c (get_next_token): Null terminate token returned.
410 * emacs.bat.in (INFOPATH): No longer set INFOPATH.
412 1997-08-10 Andrew Innes <andrewi@harlequin.co.uk>
414 * addpm.c (env_vars): Set SHELL to cmdproxy.
415 (main): Initialize idDde to 0.
416 Determine emacs_path from module file name.
419 * makefile.def (MSVCNT11): Conditionally define it.
420 (BASE_LIBS): Do not use oldnames.lib.
421 (SYS_LDFLAGS): Use pdb files.
422 (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
423 (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
424 (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
426 * makefile.nt (ALL): Build cmdproxy.
427 (cmdproxy): New target.
428 (install): Install cmdproxy.
430 * ftime.bat, debug.bat, cmdproxy.c: New files.
432 1997-07-10 Geoff Voelker <voelker@cs.washington.edu>
434 * inc/sys/socket.h: (shutdown): Define.
435 (sys_shutdown): Export.
437 1997-07-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
439 * config.nt (RE_TRANSLATE): Copy definition from config.in.
441 1997-07-01 Geoff Voelker <voelker@cs.washington.edu>
443 * config.nt: Update file comments.
444 Update undefs added/removed in src/config.in.
446 1997-06-19 Geoff Voelker <voelker@cs.washington.edu>
448 * makefil.def, emacs.bat: Use windows95 and windowsnt instead
449 of win95 and winnt, respectively.
451 1997-01-04 Geoff Voelker <voelker@cs.washington.edu>
453 * makefile.nt (real_install): Create site-lisp in installation dir.
454 * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
455 * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
457 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
459 * Version 19.33 released.
461 1996-08-09 Geoff Voelker <voelker@cs.washington.edu>
463 * runemacs.c (WinMain): Put a space between the binary and its args.
465 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
467 * Version 19.32 released.
469 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
471 * makefile.nt (clean): Use OBJDIR macro.
473 1996-06-03 Kim F. Storm <kfs@olicom.dk>
475 * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
476 Not defined by default.
477 (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
478 (WinMain): Convert backslashes to slashes in env var values.
480 * addpm.c (env_vars): Use slashes, not backslashes.
482 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
484 * Version 19.31 released.
486 1996-05-13 Andrew Innes <andrewi@harlequin.co.uk>
488 * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
489 undo settings afterwards.
491 1996-05-08 Andrew Innes <andrewi@harlequin.co.uk>
493 * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
494 environment variable.
496 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
498 * install.bat: Allow for optimized build.
499 * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
500 (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
502 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
504 * addpm.c (REG_ROOT): Don't use a trailing backslash.
505 (env_vars): Rename field emacs_path to emacs_dir.
506 (main): Add link to runemacs instead of emacs.
508 * install.bat: Check if INSTALL_DIR is passed as an argument.
510 * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
512 * makefile.nt: Build and install runemacs.exe.
514 * runemacs.c: New file.
516 * config.w95: File removed.
518 * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
519 inc/sys/socket.h, inc/sys/time.h: New header files.
521 * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
523 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
525 * makefile.def (DEL): Defined.
526 (DEL_TREE) [win95]: Defined.
527 (SYS_LDFLAGS): Set executable versions to 3.10.
529 * makefile.nt: Change uses of del to $(DEL).
531 1996-01-17 Erik Naggum <erik@naggum.no>
533 * All files: Update FSF's address in comment preamble.
535 1996-01-03 George V. Reilly <georger@microcrafts.com>
537 * emacs.ico: Now the proverbial kitchen sink icon.
539 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
541 * Version 19.30 released.
543 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
545 * makefile.def (CP_DIR): Use platform independent switches for xcopy.
547 * makefile.nt (install, fast_install, real_install, clean):
548 Don't use switches to del not supported by Win95.
550 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
552 * makefile.nt (addpm.exe): Link with $(ADVAPI32).
553 (install, fast_install): Change same-dir test to create test file in
554 installation tree and thereby support read-only shares.
555 (clean): Remove .pdb files.
557 * makefile.def (NTGUI): New macro.
558 [NTGUI] (CFLAGS): Define HAVE_NTGUI.
560 * config.nt, config.w95: Update to latest src/config.in.
562 * addpm.c (env_vars): New variable.
563 (add_registry): New procedure.
564 (main): Use values of configuration environment variables from
565 the registry if defined, the process environment otherwise.
567 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
569 * Version 19.29 released.
571 * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
573 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
575 * makefile.nt: Define .c to .obj suffix rule.
576 (addpm.obj): Compile directly, use CFLAGS.
577 (addpm.exe): Link from addpm.obj.
579 * makefile.def (MSVCNT11): Defined.
580 (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
581 (CFLAGS_COMMON): Defined.
582 (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
584 1995-06-09 Geoff Voelker <voelker@cs.washington.edu>
586 * emacs.bat.in: Renamed from emacs.bat
587 (emacs_dir): Renamed from emacs_path
591 * makefile.nt (ALL,addpm,addpm.exe,addpm.obj): Defined.
592 (all): Depend upon $(BLD) and $(ALL).
593 (install): Depend upon emacs.bat.
594 Create program item for Emacs.
596 (emacs.bat): Defined.
597 * makefile.def (EMACS_ICON_PATH,ADDPM): Defined.
599 1995-05-27 Geoff Voelker <voelker@cs.washington.edu>
601 * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
602 Add carriage returns; necessary for batch files on Win95.
604 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
606 * config.w95: Created.
607 * config.h: Changed to config.nt.
609 * makefile.nt (SUBDIRS): Commented out.
610 (all,install,clean): Expand for-loops.
611 (BUILD_CMD,INSTALL_CMD,CLEAN_CMD): Defined.
613 * makefile.def (SYS_LIB_DIR,SYS_INC_DIR): Undefined.
614 (ARCH): New definition.
615 (CPU,CONFIG_H,OS_TYPE): Defined.
616 (INCLUDE,LIB): Checked if valid.
617 (ntwin32.mak): Included.
618 (AR,CC,LINK): New definition.
619 (ADVAPI32,libc,BASE_LIBS): Defined.
620 (SYS_LDFLAGS): New definition.
621 Update comments and preprocessor conditionals.
623 * emacs.bat (SHELL): Conditionally defined.
624 (HOME): Conditionally defined.
625 (emacs_path,HOME): Update comments.
628 1995-05-09 Geoff Voelker <voelker@cs.washington.edu>
630 * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
631 fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
632 inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
633 inc/sys/param.h: Removed carriage-returns.
635 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
637 * makefile.def (CVTRES): Defined.
639 * emacs.ico, emacs.rc: New files by Kevin Gallo.
641 1995-04-10 Geoff Voelker <voelker@cs.washington.edu>
645 * src\config.h, src\paths.h: Moved to parent dir, src removed.
647 1995-04-09 Geoff Voelker <voelker@cs.washington.edu>
649 * makefile.def (INSTALL_DIR): Changed to generic directory.
651 * emacs.bat: Added arguments when emacs.exe invoked.
653 * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
655 1994-12-13 voelker <voelker@cs.washington.edu>
657 * makefile.def (CC): In configuration section.
658 (COMPAT_LIB): Defined.
660 1994-11-01 voelker <voelker@cs.washington.edu>
662 * src/paths.h: New file.
664 * src/config.h: New file.
666 * inc/pwd.h: New file.
668 * inc/sys/dir.h: New file.
670 * inc/sys/file.h: New file.
672 * inc/sys/ioctl.h: New file.
674 * inc/sys/param.h: New file.
680 * makefile.nt: New file.
682 * makefile.def: New file.
684 * install.cmd: New file.
688 * fast-install.cmd: New file.
690 * emacs.cmd: New file.
692 * ebuild.cmd: New file.
697 ;; coding: iso-2022-7bit