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