(after-save-hook): Customize, with
[bpt/emacs.git] / nt / ChangeLog
1 2000-02-06 Andrew Innes <andrewi@gnu.org>
2
3 * inc/sys/time.h: Add inclusion protection.
4
5 * makefile.def (SYS_LDFLAGS): Add -nologo.
6
7 1999-11-22 Andrew Innes <andrewi@gnu.org>
8
9 * install.bat: Pass on command line arguments to make.
10
11 * makefile.nt (fast_install): Bring commands up-to-date, and fix
12 typo.
13
14 1999-11-21 Andrew Innes <andrewi@gnu.org>
15
16 * makefile.nt (all): Build leim if present.
17 (install): Install leim if present.
18 (clean): Clean leim if present.
19
20 * addpm.c (env_vars): Include leim in default EMACSLOADPATH
21 definition.
22
23 * emacs.bat.in (EMACSLOADPATH): Include leim.
24
25 1999-07-12 Richard Stallman <rms@gnu.org>
26
27 * Version 20.4 released.
28
29 1999-06-16 Andrew Innes <andrewi@gnu.org>
30
31 * emacs.rc: Use an icon with a transparent background, to be in
32 keeping with other applications.
33
34 1999-06-03 Andrew Innes <andrewi@gnu.org>
35
36 * preprep.c: Fix typo.
37
38 1999-05-02 Andrew Innes <andrewi@gnu.org>
39
40 * config.h: Remove obsolete file.
41
42 * preprep.c (copy_executable_and_move_sections): Ifdef out a
43 couple of unused switch cases that aren't defined on all
44 platforms.
45
46 * ftime.bat: Add another variation of the profile command, which
47 only profiles extended commands.
48
49 1999-03-31 Geoff Voelker <voelker@cs.washington.edu>
50
51 * cmdproxy.c (main): Fix parens.
52
53 1999-03-25 Andrew Innes <andrewi@gnu.org>
54
55 * cmdproxy.c (main): Call GetShortPathName to normalize program
56 names for comparison.
57
58 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
59
60 * makefile.def: Compile multiple .c files when possible.
61 Use BLD instead of assuming i386.
62 * makefile.nt: Remove common multiple file compilation commands.
63
64 1999-03-04 Geoff Voelker <voelker@cs.washington.edu>
65
66 * cmdproxy.c (main): Add missing parens.
67
68 1999-02-20 Andrew Innes <andrewi@gnu.org>
69
70 * preprep.c: New program to allow dumped image to be profiled.
71
72 * makefile.nt (preprep): New target.
73 (ALL): Build it.
74
75 * makefile.def (ARCH_CFLAGS): Set struct packing to 8.
76
77 * ftime.bat: Invoke preprep to prepare dumped image for profiling.
78 Change prep options to profile libc functions and skip the startup
79 code.
80
81 1999-02-15 Geoff Voelker <voelker@cs.washington.edu>
82
83 * makefile.nt: Create installation directory as first step.
84
85 1999-01-31 Andrew Innes <andrewi@gnu.org>
86
87 * addsection.c: (ROUND_UP_DST_AND_ZERO): Renamed from
88 ROUND_UP_DST. Zeroes the alignment slop.
89 (copy_executable_and_add_section): Update the
90 SizeOfHeaders field properly.
91
92 1999-01-27 Andrew Innes <andrewi@gnu.org>
93
94 * makefile.nt: Do make version comparison as strings.
95
96 1999-01-26 Andrew Innes <andrewi@harlequin.co.uk>
97
98 * runemacs.c (WinMain): Pass explicit environment block to
99 CreateProcess, to work around a bug in Windows 95/98.
100
101 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
102
103 * icons: New directory with Davenport's icons.
104 icons/sink.ico: Renamed from emacs.ico.
105
106 * makefile.nt (install, fast_install): Install Windows icons
107 into etc/icons.
108
109 * emacs.rc (ICON): Use icons/gnu2a32.ico as the default icon.
110
111 1999-01-17 Andrew Innes <andrewi@gnu.org>
112
113 * makefile.nt: (ALL): List top-level targets.
114 (addsection): New top-level target.
115 (install): Copy fns-*.el to bin directory.
116
117 * addsection.c: New program to add static heap section to
118 temacs.exe after linking, in support of new unexec method.
119
120 1998-12-28 Andrew Innes <andrewi@delysid.gnu.org>
121
122 * cmdproxy.c (spawn): Pass directory for child as parameter.
123 (main): Save startup directory to give to spawn, then change
124 directory to location of .exe in order not to prevent startup
125 directory from being deleted.
126
127 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
128
129 * makefile.nt: Do string comparision of _NMAKE_VER.
130
131 1998-12-02 Geoff Voelker <voelker@cs.washington.edu>
132
133 * config.nt (LOCALTIME_CACHE): Define.
134
135 1998-11-13 Andrew Innes <andrewi@delysid.gnu.org>
136
137 * install.bat: Convert to DOS format.
138
139 1998-11-10 Andrew Innes <andrewi@harlequin.co.uk>
140
141 * cmdproxy.c (main): Set environment size only when running
142 command.com.
143
144 1998-11-03 Theodore Jump <tjump@tertius.com>
145
146 * makefile.def (SYS_LDFLAGS): Use swapfile when running from cd or net.
147 (DEL_TREE): Use rd instead of rmdir.
148 (ARCH_CFLAGS): Optimize for P6. Align structures on 8-byte boundaries.
149 * makefile.nt: Compile multiple source files when possible.
150
151 1998-10-05 Geoff Voelker <voelker@cs.washington.edu>
152
153 * cmdproxy.c (main): Treat command line options as case-insensitive.
154
155 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
156
157 * Version 20.3 released.
158
159 1998-07-20 Geoff Voelker <voelker@cs.washington.edu>
160
161 * addpm.c (main): Explicitly check result of message box for OK.
162
163 1998-06-05 Andrew Innes <andrewi@harlequin.co.uk>
164
165 * inc/sys/file.h (D_OK): Define new macro.
166
167 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
168
169 * makefile.def (CFLAGS): Do not define HAVE_NTGUI.
170
171 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
172
173 * emacs.rc (VS_VERSION_INFO): Define.
174
175 1998-04-23 Geoff Voelker <voelker@cs.washington.edu>
176
177 * makefile.nt (emacs.bat, debug.bat): Create them in the
178 installation directory.
179
180 1998-04-23 Andrew Innes <andrewi@harlequin.co.uk>
181
182 * ddeclient.c: New file. (Support program for performing limited
183 interprocess communication on Windows.)
184
185 * makefile.nt: Build ddeclient.
186
187 * cmdproxy.c (main): Only set environment size for real shell, and
188 provide extra directory argument, when running on Windows 95.
189
190 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
191
192 * cmdproxy.c (fail): Exit with a negative return value.
193 (spawn): Return subprocess return code as an argument.
194 Explicitly copy environment block.
195 (main): Update to use return value argument with spawn.
196 Retry if spawn failed when a subshell was not tried.
197
198 * config.nt: Include new macros from src/config.in.
199 (GNU_MALLOC, REL_ALLOC): Define.
200 (RE_TRANSLATE_TYPE): Use Lisp_Object as type.
201 (RE_TRANSLATE): Use char_table_translate.
202
203 * makefile.def (CP_DIR): Preserve attributes.
204
205 * makefile.nt (clean): Delete patch generated files, optimized
206 build directory.
207
208 1997-10-01 Geoff Voelker <voelker@cs.washington.edu>
209
210 * addpm.c (env_vars): Fix misplaced % in SHELL entry.
211
212 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
213
214 * Version 20.2 released.
215
216 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
217
218 * Version 20.1 released.
219
220 1997-09-11 Geoff Voelker <voelker@cs.washington.edu>
221
222 * debug.bat.in: New file.
223 * makefile.nt (debug.bat): New target.
224
225 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
226
227 * addpm.c (env_vars): Put site-lisp before lisp in EMACSLOADPATH.
228 Quote group name. Allow different icons to be specified.
229
230 * cmdproxy.c (get_env_size): New function.
231 (spawn): Explicitly pass in environment when creating subprocess.
232 (main): Cleaup error messages.
233 Specify dynamically sized environment block for real shell.
234 Pass on unhandled switches to real shell.
235 Quote program name.
236
237 * makefile.def (CFLAGS_COMMON): Place pdb file in object build
238 directory.
239 (CFLAGS) [!MSVCNT11]: Define _CRTAPI1.
240
241 * runemacs.c (WinMain): Allow Emacs process to be started with
242 high or low priority.
243
244 * emacs.bat.in: Remove OS dependent operations.
245
246 1997-09-02 Geoff Voelker <voelker@cs.washington.edu>
247
248 * addpm.c (env_vars): No longer set INFOPATH.
249
250 * cmdproxy.c (get_next_token): Null terminate token returned.
251
252 * emacs.bat.in (INFOPATH): No longer set INFOPATH.
253
254 1997-08-10 Andrew Innes <andrewi@harlequin.co.uk>
255
256 * addpm.c (env_vars): Set SHELL to cmdproxy.
257 (main): Initialize idDde to 0.
258 Determine emacs_path from module file name.
259 Prompt for install.
260
261 * makefile.def (MSVCNT11): Conditionally define it.
262 (BASE_LIBS): Do not use oldnames.lib.
263 (SYS_LDFLAGS): Use pdb files.
264 (CFLAGS_COMMON) [!spd]: Define EMACSDEBUG.
265 (ARCH_CFLAGS) [i386 && spd]: Use space optimizations.
266 (ARCH_CFLAGS) [alpha && spd]: Use optimizations.
267
268 * makefile.nt (ALL): Build cmdproxy.
269 (cmdproxy): New target.
270 (install): Install cmdproxy.
271
272 * ftime.bat, debug.bat, cmdproxy.c: New files.
273
274 1997-07-10 Geoff Voelker <voelker@cs.washington.edu>
275
276 * inc/sys/socket.h: (shutdown): Define.
277 (sys_shutdown): Export.
278
279 1997-07-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
280
281 * config.nt (RE_TRANSLATE): Copy definition from config.in.
282
283 1997-07-01 Geoff Voelker <voelker@cs.washington.edu>
284
285 * config.nt: Update file comments.
286 Update undefs added/removed in src/config.in.
287
288 1997-06-19 Geoff Voelker <voelker@cs.washington.edu>
289
290 * makefil.def, emacs.bat: Use windows95 and windowsnt instead
291 of win95 and winnt, respectively.
292
293 1997-01-04 Geoff Voelker <voelker@cs.washington.edu>
294
295 * makefile.nt (real_install): Create site-lisp in installation dir.
296 * addpm.c (env_vars): Add site-lisp to EMACSLOADPATH.
297 * emacs.bat.in: Add site-lisp to EMACSLOADPATH.
298
299 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
300
301 * Version 19.33 released.
302
303 1996-08-09 Geoff Voelker <voelker@cs.washington.edu>
304
305 * runemacs.c (WinMain): Put a space between the binary and its args.
306
307 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
308
309 * Version 19.32 released.
310
311 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
312
313 * makefile.nt (clean): Use OBJDIR macro.
314
315 1996-06-03 Kim F. Storm <kfs@olicom.dk>
316
317 * runemacs.c (CHOOSE_NEWEST_EXE): New parameter macro.
318 Not defined by default.
319 (WinMain): Add conditional testing CHOOSE_NEWEST_EXE.
320 (WinMain): Convert backslashes to slashes in env var values.
321
322 * addpm.c (env_vars): Use slashes, not backslashes.
323
324 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
325
326 * Version 19.31 released.
327
328 1996-05-13 Andrew Innes <andrewi@harlequin.co.uk>
329
330 * install.bat: Set BUILD_TYPE and INSTALL_DIR before calling make;
331 undo settings afterwards.
332
333 1996-05-08 Andrew Innes <andrewi@harlequin.co.uk>
334
335 * addpm.c (env_vars): Set SHELL registry entry to value of COMSPEC
336 environment variable.
337
338 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
339
340 * install.bat: Allow for optimized build.
341 * makefile.def [BUILD_TYPE]: Build optimized version in its own dir.
342 (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
343
344 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
345
346 * addpm.c (REG_ROOT): Don't use a trailing backslash.
347 (env_vars): Rename field emacs_path to emacs_dir.
348 (main): Add link to runemacs instead of emacs.
349
350 * install.bat: Check if INSTALL_DIR is passed as an argument.
351
352 * makefile.def (CONFIG_H) [WIN95]: Use config.nt.
353
354 * makefile.nt: Build and install runemacs.exe.
355
356 * runemacs.c: New file.
357
358 * config.w95: File removed.
359
360 * inc/netdb.h, inc/unistd.h, inc/arpa/inet.h, inc/netinet/in.h,
361 inc/sys/socket.h, inc/sys/time.h: New header files.
362
363 * inc/sys/file.h (F_OK, X_OK, W_OK, R_OK): New macros.
364
365 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
366
367 * makefile.def (DEL): Defined.
368 (DEL_TREE) [win95]: Defined.
369 (SYS_LDFLAGS): Set executable versions to 3.10.
370
371 * makefile.nt: Change uses of del to $(DEL).
372
373 1996-01-17 Erik Naggum <erik@naggum.no>
374
375 * All files: Update FSF's address in comment preamble.
376
377 1996-01-03 George V. Reilly <georger@microcrafts.com>
378
379 * emacs.ico: Now the proverbial kitchen sink icon.
380
381 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
382
383 * Version 19.30 released.
384
385 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
386
387 * makefile.def (CP_DIR): Use platform independent switches for xcopy.
388
389 * makefile.nt (install, fast_install, real_install, clean):
390 Don't use switches to del not supported by Win95.
391
392 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
393
394 * makefile.nt (addpm.exe): Link with $(ADVAPI32).
395 (install, fast_install): Change same-dir test to create test file in
396 installation tree and thereby support read-only shares.
397 (clean): Remove .pdb files.
398
399 * makefile.def (NTGUI): New macro.
400 [NTGUI] (CFLAGS): Define HAVE_NTGUI.
401
402 * config.nt, config.w95: Update to latest src/config.in.
403
404 * addpm.c (env_vars): New variable.
405 (add_registry): New procedure.
406 (main): Use values of configuration environment variables from
407 the registry if defined, the process environment otherwise.
408
409 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
410
411 * Version 19.29 released.
412
413 * makefile.nt (addpm.exe): Change WinMainCRTStartup to mainCRTStartup.
414
415 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
416
417 * makefile.nt: Define .c to .obj suffix rule.
418 (addpm.obj): Compile directly, use CFLAGS.
419 (addpm.exe): Link from addpm.obj.
420
421 * makefile.def (MSVCNT11): Defined.
422 (BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
423 (CFLAGS_COMMON): Defined.
424 (CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
425
426 1995-06-09 Geoff Voelker <voelker@cs.washington.edu>
427
428 * emacs.bat.in: Renamed from emacs.bat
429 (emacs_dir): Renamed from emacs_path
430 Definition removed.
431
432 * addpm.c: New file.
433 * makefile.nt (ALL,addpm,addpm.exe,addpm.obj): Defined.
434 (all): Depend upon $(BLD) and $(ALL).
435 (install): Depend upon emacs.bat.
436 Create program item for Emacs.
437 (clean): Delete obj.
438 (emacs.bat): Defined.
439 * makefile.def (EMACS_ICON_PATH,ADDPM): Defined.
440
441 1995-05-27 Geoff Voelker <voelker@cs.washington.edu>
442
443 * ebuild.bat, emacs.bat, fast-install.bat, install.bat:
444 Add carriage returns; necessary for batch files on Win95.
445
446 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
447
448 * config.w95: Created.
449 * config.h: Changed to config.nt.
450
451 * makefile.nt (SUBDIRS): Commented out.
452 (all,install,clean): Expand for-loops.
453 (BUILD_CMD,INSTALL_CMD,CLEAN_CMD): Defined.
454
455 * makefile.def (SYS_LIB_DIR,SYS_INC_DIR): Undefined.
456 (ARCH): New definition.
457 (CPU,CONFIG_H,OS_TYPE): Defined.
458 (INCLUDE,LIB): Checked if valid.
459 (ntwin32.mak): Included.
460 (AR,CC,LINK): New definition.
461 (ADVAPI32,libc,BASE_LIBS): Defined.
462 (SYS_LDFLAGS): New definition.
463 Update comments and preprocessor conditionals.
464
465 * emacs.bat (SHELL): Conditionally defined.
466 (HOME): Conditionally defined.
467 (emacs_path,HOME): Update comments.
468 Turn off all echo.
469
470 1995-05-09 Geoff Voelker <voelker@cs.washington.edu>
471
472 * _emacs, config.h, ebuild.bat, emacs.bat, emacs.rc,
473 fast-install.bat, install.bat, makefile.def, makefile.nt, paths.h,
474 inc/pwd.h, inc/sys/dir.h, inc/sys/file.h, inc/sys/ioctl.h,
475 inc/sys/param.h: Removed carriage-returns.
476
477 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
478
479 * makefile.def (CVTRES): Defined.
480
481 * emacs.ico, emacs.rc: New files by Kevin Gallo.
482
483 1995-04-10 Geoff Voelker <voelker@cs.washington.edu>
484
485 * src: Removed.
486
487 * src\config.h, src\paths.h: Moved to parent dir, src removed.
488
489 1995-04-09 Geoff Voelker <voelker@cs.washington.edu>
490
491 * makefile.def (INSTALL_DIR): Changed to generic directory.
492
493 * emacs.bat: Added arguments when emacs.exe invoked.
494
495 * ebuild.cmd, emacs.cmd, install.cmd: Changed extension to .bat.
496
497 1994-12-13 voelker <voelker@cs.washington.edu>
498
499 * makefile.def (CC): In configuration section.
500 (COMPAT_LIB): Defined.
501
502 1994-11-01 voelker <voelker@cs.washington.edu>
503
504 * src/paths.h: New file.
505
506 * src/config.h: New file.
507
508 * inc/pwd.h: New file.
509
510 * inc/sys/dir.h: New file.
511
512 * inc/sys/file.h: New file.
513
514 * inc/sys/ioctl.h: New file.
515
516 * inc/sys/param.h: New file.
517
518 * todo: New file.
519
520 * readme: New file.
521
522 * makefile.nt: New file.
523
524 * makefile.def: New file.
525
526 * install.cmd: New file.
527
528 * install: New file.
529
530 * fast-install.cmd: New file.
531
532 * emacs.cmd: New file.
533
534 * ebuild.cmd: New file.
535
536 * _emacs: New file.