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