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