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