(back_comment): Detect cases where a comment-starter is
[emacs.git] / nt / ChangeLog
blob783cf14e932a70aa640b9a4c1b2e86465cfc039f
1 2000-08-22  Andrew Innes  <andrewi@gnu.org>
3         * configure.bat: New file.
5         * gmake.defs: New file.
7         * nmake.defs: New file.
9         * makefile.w32-in: New file.
11         * INSTALL: Rewrite to match new configure process.
13         * config.nt [WINDOWSNT]: Don't declare getenv.
14         (EMACS_CONFIG_OPTIONS): Define according to compiler being used.
16         * addpm.c (main): Accept /q to mean install based on addpm's
17         location without asking.  Remove reference to emacs.bat which is
18         now obsolete.
20         * addsection.c (PTR_TO_OFFSET): Cast ptr to unsigned char*.
22         * paths.h: Use forward slash as directory separator in all path
23         definitions.
24         (PATH_DUMPLOADSEARCH): Revert to definition used on Unix.
26         * preprep.c (PTR_TO_OFFSET): Cast ptr to unsigned char *.
28         * runemacs.c: Remove WIN32 define.
30         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
31         not defined.
33         * inc/sys/socket.h (_WINSOCK_H): Undefine if defined.
34         (fd_set): Define to new name, after including winsock.h, so we can
35         provide our own implementation.
37 2000-07-05  Andrew Innes  <andrewi@gnu.org>
39         * ebuild.bat: Add support for specifying make arguments.
41         * makefile.nt: Add support for `bootstrap' and related targets.
43 2000-06-11  Jason Rumney  <jasonr@gnu.org>
45         * config.nt: Define POINTER_TYPE, PTR, PROTOTYPES and __P.
47 2000-02-06  Andrew Innes  <andrewi@gnu.org>
49         * inc/sys/time.h: Add inclusion protection.
51         * makefile.def (SYS_LDFLAGS): Add -nologo.
53 1999-11-22  Andrew Innes  <andrewi@gnu.org>
55         * install.bat: Pass on command line arguments to make.
57         * makefile.nt (fast_install): Bring commands up-to-date, and fix
58         typo.
60 1999-11-21  Andrew Innes  <andrewi@gnu.org>
62         * makefile.nt (all): Build leim if present.
63         (install): Install leim if present.
64         (clean): Clean leim if present.
66         * addpm.c (env_vars): Include leim in default EMACSLOADPATH
67         definition.
69         * emacs.bat.in (EMACSLOADPATH): Include leim.
71 1999-07-12  Richard Stallman  <rms@gnu.org>
73         * Version 20.4 released.
75 1999-06-16  Andrew Innes  <andrewi@gnu.org>
77         * emacs.rc: Use an icon with a transparent background, to be in
78         keeping with other applications.
80 1999-06-03  Andrew Innes  <andrewi@gnu.org>
82         * preprep.c: Fix typo.
84 1999-05-02  Andrew Innes  <andrewi@gnu.org>
86         * config.h: Remove obsolete file.
88         * preprep.c (copy_executable_and_move_sections): Ifdef out a
89         couple of unused switch cases that aren't defined on all
90         platforms.
92         * ftime.bat: Add another variation of the profile command, which
93         only profiles extended commands.
95 1999-03-31  Geoff Voelker  <voelker@cs.washington.edu>
97         * cmdproxy.c (main): Fix parens.
99 1999-03-25  Andrew Innes  <andrewi@gnu.org>
101         * cmdproxy.c (main): Call GetShortPathName to normalize program
102         names for comparison.
104 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
106         * makefile.def: Compile multiple .c files when possible.
107         Use BLD instead of assuming i386.
108         * makefile.nt: Remove common multiple file compilation commands.
110 1999-03-04  Geoff Voelker  <voelker@cs.washington.edu>
112         * cmdproxy.c (main): Add missing parens.
114 1999-02-20  Andrew Innes  <andrewi@gnu.org>
116         * preprep.c: New program to allow dumped image to be profiled.
118         * makefile.nt (preprep): New target.
119         (ALL): Build it.
121         * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
123         * ftime.bat: Invoke preprep to prepare dumped image for profiling.
124         Change prep options to profile libc functions and skip the startup
125         code.
127 1999-02-15  Geoff Voelker  <voelker@cs.washington.edu>
129         * makefile.nt: Create installation directory as first step.
131 1999-01-31  Andrew Innes  <andrewi@gnu.org>
133         * addsection.c: (ROUND_UP_DST_AND_ZERO): Renamed from
134         ROUND_UP_DST.  Zeroes the alignment slop.
135         (copy_executable_and_add_section): Update the
136         SizeOfHeaders field properly.
138 1999-01-27  Andrew Innes  <andrewi@gnu.org>
140         * makefile.nt: Do make version comparison as strings.
142 1999-01-26  Andrew Innes  <andrewi@harlequin.co.uk>
144         * runemacs.c (WinMain): Pass explicit environment block to
145         CreateProcess, to work around a bug in Windows 95/98.
147 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
149         * icons: New directory with Davenport's icons.
150         icons/sink.ico: Renamed from emacs.ico.
152         * makefile.nt (install, fast_install): Install Windows icons
153         into etc/icons.
155         * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
157 1999-01-17  Andrew Innes  <andrewi@gnu.org>
159         * makefile.nt: (ALL): List top-level targets.
160         (addsection): New top-level target.
161         (install): Copy fns-*.el to bin directory.
163         * addsection.c: New program to add static heap section to
164         temacs.exe after linking, in support of new unexec method.
166 1998-12-28  Andrew Innes  <andrewi@delysid.gnu.org>
168         * cmdproxy.c (spawn): Pass directory for child as parameter.
169         (main): Save startup directory to give to spawn, then change
170         directory to location of .exe in order not to prevent startup
171         directory from being deleted.
173 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
175         * makefile.nt: Do string comparision of _NMAKE_VER.
177 1998-12-02  Geoff Voelker  <voelker@cs.washington.edu>
179         * config.nt (LOCALTIME_CACHE): Define.
181 1998-11-13  Andrew Innes  <andrewi@delysid.gnu.org>
183         * install.bat: Convert to DOS format.
185 1998-11-10  Andrew Innes  <andrewi@harlequin.co.uk>
187         * cmdproxy.c (main): Set environment size only when running
188         command.com.
190 1998-11-03  Theodore Jump <tjump@tertius.com>
192         * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
193         (DEL_TREE): Use rd instead of rmdir.
194         (ARCH_CFLAGS): Optimize for P6.  Align structures on 8-byte boundaries.
195         * makefile.nt: Compile multiple source files when possible.
196         
197 1998-10-05  Geoff Voelker  <voelker@cs.washington.edu>
199         * cmdproxy.c (main): Treat command line options as case-insensitive.
201 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
203         * Version 20.3 released.
205 1998-07-20  Geoff Voelker  <voelker@cs.washington.edu>
207         * addpm.c (main): Explicitly check result of message box for OK.
209 1998-06-05  Andrew Innes  <andrewi@harlequin.co.uk>
211         * inc/sys/file.h (D_OK): Define new macro.
213 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
215         * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
217 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
219         * emacs.rc (VS_VERSION_INFO): Define.
221 1998-04-23  Geoff Voelker  <voelker@cs.washington.edu>
223         * makefile.nt (emacs.bat, debug.bat): Create them in the
224         installation directory.
226 1998-04-23  Andrew Innes  <andrewi@harlequin.co.uk>
228         * ddeclient.c: New file.  (Support program for performing limited
229         interprocess communication on Windows.)
231         * makefile.nt: Build ddeclient.
233         * cmdproxy.c (main): Only set environment size for real shell, and
234         provide extra directory argument, when running on Windows 95.
235         
236 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
238         * cmdproxy.c (fail): Exit with a negative return value.
239         (spawn): Return subprocess return code as an argument.
240         Explicitly copy environment block.
241         (main): Update to use return value argument with spawn.
242         Retry if spawn failed when a subshell was not tried.
244         * config.nt: Include new macros from src/config.in.
245         (GNU_MALLOC, REL_ALLOC): Define.
246         (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
247         (RE_TRANSLATE): Use char_table_translate.
249         * makefile.def (CP_DIR): Preserve attributes.
251         * makefile.nt (clean): Delete patch generated files, optimized
252         build directory.
254 1997-10-01  Geoff Voelker  <voelker@cs.washington.edu>
256         * addpm.c (env_vars): Fix misplaced % in SHELL entry.
258 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
260         * Version 20.2 released.
262 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
264         * Version 20.1 released.
266 1997-09-11  Geoff Voelker  <voelker@cs.washington.edu>
268         * debug.bat.in: New file.
269         * makefile.nt (debug.bat): New target.
271 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
273         * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
274         Quote group name.  Allow different icons to be specified.
276         * cmdproxy.c (get_env_size): New function.
277         (spawn): Explicitly pass in environment when creating subprocess.
278         (main): Cleaup error messages.
279         Specify dynamically sized environment block for real shell.
280         Pass on unhandled switches to real shell.
281         Quote program name.
283         * makefile.def (CFLAGS_COMMON): Place pdb file in object build 
284         directory.
285         (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.  
287         * runemacs.c (WinMain): Allow Emacs process to be started with
288         high or low priority.
290         * emacs.bat.in: Remove OS dependent operations.
291         
292 1997-09-02  Geoff Voelker  <voelker@cs.washington.edu>
294         * addpm.c (env_vars): No longer set INFOPATH.
296         * cmdproxy.c (get_next_token): Null terminate token returned.
298         * emacs.bat.in (INFOPATH): No longer set INFOPATH.
300 1997-08-10  Andrew Innes  <andrewi@harlequin.co.uk>
302         * addpm.c (env_vars): Set SHELL to cmdproxy.
303         (main): Initialize idDde to 0.
304         Determine emacs_path from module file name.
305         Prompt for install.
307         * makefile.def (MSVCNT11): Conditionally define it.
308         (BASE_LIBS): Do not use oldnames.lib.
309         (SYS_LDFLAGS): Use pdb files.
310         (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
311         (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
312         (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
314         * makefile.nt (ALL): Build cmdproxy.
315         (cmdproxy): New target.
316         (install): Install cmdproxy.
318         * ftime.bat, debug.bat, cmdproxy.c: New files.
320 1997-07-10  Geoff Voelker  <voelker@cs.washington.edu>
322         * inc/sys/socket.h: (shutdown): Define.
323         (sys_shutdown): Export.
325 1997-07-08  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
327         * config.nt (RE_TRANSLATE): Copy definition from config.in.
329 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
331         * config.nt: Update file comments.
332         Update undefs added/removed in src/config.in.
334 1997-06-19  Geoff Voelker  <voelker@cs.washington.edu>
336         * makefil.def, emacs.bat: Use windows95 and windowsnt instead
337         of win95 and winnt, respectively.
339 1997-01-04  Geoff Voelker  <voelker@cs.washington.edu>
341         * makefile.nt (real_install): Create site-lisp in installation dir.
342         * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
343         * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
345 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
347         * Version 19.33 released.
349 1996-08-09  Geoff Voelker  <voelker@cs.washington.edu>
351         * runemacs.c (WinMain): Put a space between the binary and its args.
353 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
355         * Version 19.32 released.
357 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
359         * makefile.nt (clean): Use OBJDIR macro.
361 1996-06-03  Kim F. Storm  <kfs@olicom.dk>
363         * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
364         Not defined by default.
365         (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
366         (WinMain): Convert backslashes to slashes in env var values.
368         * addpm.c (env_vars): Use slashes, not backslashes.
370 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
372         * Version 19.31 released.
374 1996-05-13  Andrew Innes  <andrewi@harlequin.co.uk>
376         * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
377         undo settings afterwards.
379 1996-05-08  Andrew Innes  <andrewi@harlequin.co.uk>
381         * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
382         environment variable.
384 1996-05-03  Andrew Innes <andrewi@harlequin.co.uk>
386         * install.bat: Allow for optimized build.
387         * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
388         (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
390 1996-05-03  Andrew Innes <andrewi@harlequin.co.uk>
392         * addpm.c (REG_ROOT): Don't use a trailing backslash.
393         (env_vars): Rename field emacs_path to emacs_dir.
394         (main): Add link to runemacs instead of emacs.
396         * install.bat: Check if INSTALL_DIR is passed as an argument.
398         * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
400         * makefile.nt: Build and install runemacs.exe.
402         * runemacs.c: New file.
404         * config.w95: File removed.
406         * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
407         inc/sys/socket.h, inc/sys/time.h: New header files.
409         * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
410         
411 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
413         * makefile.def (DEL): Defined.
414         (DEL_TREE) [win95]: Defined.
415         (SYS_LDFLAGS): Set executable versions to 3.10.
416         
417         * makefile.nt: Change uses of del to $(DEL).
419 1996-01-17  Erik Naggum  <erik@naggum.no>
421         * All files: Update FSF's address in comment preamble.
423 1996-01-03  George V. Reilly  <georger@microcrafts.com>
425         * emacs.ico: Now the proverbial kitchen sink icon.
427 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
429         * Version 19.30 released.
431 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
433         * makefile.def (CP_DIR): Use platform independent switches for xcopy.
435         * makefile.nt (install, fast_install, real_install, clean):
436         Don't use switches to del not supported by Win95.
438 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
440         * makefile.nt (addpm.exe): Link with $(ADVAPI32).
441         (install, fast_install): Change same-dir test to create test file in
442         installation tree and thereby support read-only shares.
443         (clean): Remove .pdb files.
445         * makefile.def (NTGUI): New macro.
446         [NTGUI] (CFLAGS): Define HAVE_NTGUI.
448         * config.nt, config.w95: Update to latest src/config.in.
450         * addpm.c (env_vars): New variable.
451         (add_registry): New procedure.
452         (main): Use values of configuration environment variables from
453         the registry if defined, the process environment otherwise.
455 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
457         * Version 19.29 released.
459         * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
461 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
463         * makefile.nt: Define .c to .obj suffix rule.
464         (addpm.obj): Compile directly, use CFLAGS.
465         (addpm.exe): Link from addpm.obj.
466         
467         * makefile.def (MSVCNT11): Defined.
468         (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
469         (CFLAGS_COMMON): Defined.
470         (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
471         
472 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
474         * emacs.bat.in: Renamed from emacs.bat
475         (emacs_dir): Renamed from emacs_path
476         Definition removed.
478         * addpm.c: New file.
479         * makefile.nt (ALL,addpm,addpm.exe,addpm.obj): Defined.
480         (all): Depend upon $(BLD) and $(ALL).
481         (install): Depend upon emacs.bat.
482         Create program item for Emacs.
483         (clean): Delete obj.
484         (emacs.bat): Defined.
485         * makefile.def (EMACS_ICON_PATH,ADDPM): Defined.
487 1995-05-27  Geoff Voelker  <voelker@cs.washington.edu>
489         * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
490         Add carriage returns; necessary for batch files on Win95.
492 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
494         * config.w95: Created.
495         * config.h: Changed to config.nt.
496         
497         * makefile.nt (SUBDIRS): Commented out.
498         (all,install,clean): Expand for-loops.
499         (BUILD_CMD,INSTALL_CMD,CLEAN_CMD): Defined.
501         * makefile.def (SYS_LIB_DIR,SYS_INC_DIR): Undefined.
502         (ARCH): New definition.
503         (CPU,CONFIG_H,OS_TYPE): Defined.
504         (INCLUDE,LIB): Checked if valid.
505         (ntwin32.mak): Included.
506         (AR,CC,LINK): New definition.
507         (ADVAPI32,libc,BASE_LIBS): Defined.
508         (SYS_LDFLAGS): New definition.
509         Update comments and preprocessor conditionals.
511         * emacs.bat (SHELL): Conditionally defined.
512         (HOME): Conditionally defined.
513         (emacs_path,HOME): Update comments.
514         Turn off all echo.
516 1995-05-09  Geoff Voelker  <voelker@cs.washington.edu>
518         * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
519         fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
520         inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
521         inc/sys/param.h: Removed carriage-returns.
523 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
525         * makefile.def (CVTRES): Defined.
527         * emacs.ico, emacs.rc: New files by Kevin Gallo.
529 1995-04-10  Geoff Voelker  <voelker@cs.washington.edu>
531         * src: Removed.
533         * src\config.h, src\paths.h: Moved to parent dir, src removed.
535 1995-04-09  Geoff Voelker  <voelker@cs.washington.edu>
537         * makefile.def (INSTALL_DIR): Changed to generic directory.
539         * emacs.bat: Added arguments when emacs.exe invoked.
541         * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
543 1994-12-13  voelker  <voelker@cs.washington.edu>
545         * makefile.def (CC): In configuration section.
546         (COMPAT_LIB): Defined.
548 1994-11-01  voelker  <voelker@cs.washington.edu>
550         * src/paths.h: New file.
552         * src/config.h: New file.
554         * inc/pwd.h: New file.
556         * inc/sys/dir.h: New file.
558         * inc/sys/file.h: New file.
560         * inc/sys/ioctl.h: New file.
562         * inc/sys/param.h: New file.
564         * todo: New file.
566         * readme: New file.
568         * makefile.nt: New file.
570         * makefile.def: New file.
572         * install.cmd: New file.
574         * install: New file.
576         * fast-install.cmd: New file.
578         * emacs.cmd: New file.
580         * ebuild.cmd: New file.
582         * _emacs: New file.
584 ;; Local Variables:
585 ;; coding: iso-2022-7bit
586 ;; End: