forked from fgeller/emacs-mac-port
/
ChangeLog.2
4789 lines (3216 loc) · 152 KB
/
ChangeLog.2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1988-08-31 Richard Stallman (rms@corn-chex.ai.mit.edu)
* Version 18.52 released.
* x11term.c (XT_GetDefaults): Replaced entire function.
* unexhp9k800.c: #endif was missing.
* crt0.c [hp9000s300]: New variable flag_68010.
1988-08-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* m-isi-ov.h (LOAD_AVE_{CVT,TYPE}): On 4.3, different definitions.
* m-iris4d.h: Define XSETMARKBIT.
1988-08-29 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* m-ibmrt.h (CANNOT_DUMP): Was defined by mistake in last change.
* m-amdahl.h (NSIG): If it's 19, make it 20.
Overrides Amdahl's mistake.
1988-08-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* x11fns.c, x11term.c (XXscreen): New variable, default screen number.
All calls to BlackPixel, WhitePixel, DisplayCells, DefaultColormap
pass this.
1988-08-26 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* data.c (init_data) [uts]: Handle SIGEMT.
* m-apollo.h (APOLLO_SR10): Define this if BSD4_3.
(BSTRING): If APOLLO_SR10, don't alter this.
* emacs.c [APOLLO]: If APOLLO_SR10, omit the acl code.
* filemode.c (ftypelet): If S_IFIFO==S_IFSOCK, avoid duplicate cases.
* m-alliant4.h: Add missing `*/'.
1988-08-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* x11term.c (writechars): Don't call updateline;
output just the chars that are specified; don't clear to end.
* m-ibmrt-aix.h: Define getwd. Define bcopy, etc. as macros.
Define LIBX10_MACHINE and change LIBS_MACHINE.
1988-08-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* xterm.c (XTread_socket): If HAVE_SELECT, call xfixscreen
before waiting.
* dispnew.c (update_line): Comments added.
* xterm.c (writechars): Output only the chars specified
even if in update; don't clear to end.
(XTread_socket): Check O_NDELAY only if it and F_GETFL are defined.
(x_term_init) [IBMRTAIX]: Do call gethostname.
() [IBMRTAIX]: Include sys/time, not time.
1988-08-23 Chris Hanson (cph@kleph)
* xterm.c (XTread_socket): Do not call `xfixscreen' if O_NDELAY is
set. On hpux, this causes an I/O error.
1988-08-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* m-news800.h: define HAVE_ALLOCA.
1988-08-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* keyboard.c (read_avail_input) [no FIONREAD]: Always set O_NDELAY.
1988-08-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* xterm.c, x11term.c (XTclear_end_of_line):
Arg was misinterpreted as place to *start* clearing.
(x_clear_end_of_line): New fn does what XTclear_end_of_line did.
All callers in this file changed.
* sysdep.c [USG] (getwd): Free the entire string retd by getcwd.
1988-08-20 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* m-ibmrt.h: Delete the USG conditionals.
* m-ibmrt-aix.h: New file.
* process.c (wait_reading_process_input) [IBMRTAIX]: Do `select'
as on HPUX.
* process.c [IBMRTAIX]: Use sys/time.h.
* dispnew.c (update_line): Handle case of !char_ins_del_ok.
* xterm.c (x_term_init): Use X keymap spec'd in user's xdefaults.
Also use macro X_DEFAULT_FONT to determine ultimate default font.
* sysdep.c (child_setup_tty) [IBMRTAIX]: Turn off extra tty features.
(init_sys_modes) [IBMRTAIX]: Turn off enhanced line editor.
Also, call hft_init.
(init_sys_modes) [TCXONC]: Make sure output isn't stopped.
(reset_sys_modes) [IBMRTAIX]: Call hft_reset.
(hft_init, hft_reset): New function.
(sys_siglist) [IBMRTAIX]: Alternate signal defs.
* unexec.c: Treat IBMRTAIX like IRIS.
* fileio.c (Fcopy_file): If USE_UTIME, use `utime' instead of `utimes'.
* emacs.c (main) [IBMRTAIX]: Handle additional fatal signals.
1988-08-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* search.c (Fstore_match_data): Failed to skip the 2nd nil in a pair.
* search.c (search_buffer) [C_ALLOCA]: Use auto space for BM_tab.
1988-08-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* keyboard.c: Declare errno.
1988-08-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* m-news800.h: Define COMPILER_REGISTER_BUG and LIBS_TERMCAP.
1988-08-12 Mike Haertel (mike@spiff.ai.mit.edu)
* m-7300.h: Made it understand how do undump a demand-paged
executable.
1988-08-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* unexec.c (adjust_lnnoptrs): auxent is a union, not a struct.
1988-08-10 Chris Hanson (cph@kleph)
* keyboard.c (read_avail_input): Do not set O_NDELAY if
`read_socket_hook' is in use. This causes Xlib to get an IO error
under X10, and could potentially do the same for X11.
* s-hpux.h (ADJUST_EXEC_HEADER): Undefine this. Demand loaded
exec format doesn't work correctly in hpux.
(HAVE_SOCKETS): hpux has BSD-style sockets.
* xfns.c, xterm.c, x11term.c, x11fns.c: Conditionalize "time.h"
inclusion on USG instead of HPUX.
* xterm.c, x11term.c (XTread_socket): Conditionalize call to
`XPeekEvent' on `HAVE_SELECT'.
* xterm.c: Supply missing definition of `handler'.
1988-08-09 Chris Hanson (cph@kleph)
* indent.c (current-column): fix typo.
* keyboard.c, undo.c: add explicit storage class to several
variable declarations so that GCC does not generate warning
message.
1988-08-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* eval.c: doc fix.
1988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* fileio.c: Doc fix.
* keymap.c (Fwhere_is_internal): Call get_keyelt.
1988-08-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* unexec.c [sun386]: control header files, like STRIDE, etc.
* s-sunos4.h: Define LD_SWITCH_SYSTEM, not LD_SWITCH_MACHINE.
* m-sun386.h: Vice versa.
(O_NDELAY): Delete definition; duplicates s-sunos4.h.
(LD_SWITCH_SYSTEM): Undefine this, since the s-sunos4.h defn
is wrong for the 386.
1988-07-31 Richard Stallman (rms@juicy-juice.lcs.mit.edu)
* sysdep.c (select_alarm): If read_alarm_should_throw, throw back
to read_input_waiting.
(read_input_waiting): Call setjmp, so that can be done.
* xterm.c (XTread_socket) [no SIGIO]:
If O_NDELAY not set, wait for an event.
Set read_alarm_should_throw while waiting.
* x11term.c (internal_socket_read): Similar change.
* x11fns.c (Fx_set_mouse_color): Don't free save_color; can be literal.
* x11term.c (x_term_init): Clear reversevideo if fg or bg color specd.
1988-07-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* print.c (Fwith_output_to_temp_buffer): Detect error for non-strings.
1988-07-22 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* s-usg5-3.h: Define LIBX{10,11}_SYSTEM.
* ymakefile: New variables LIBX{10,11}_SYSTEM to be set in s- file.
* xterm.c (XExitGracefully): Declare the args, for debugging.
(x_io_error): New function now used as handler for X I/O errors.
* xfns.c [not HAVE_TIMEVAL]: Don't include any time.h.
* sysdep.c (sys_suspend) [VMS]: Ignore SIGINT while suspended.
* undo.c (Fundo_more): Better err msg.
1988-07-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* indent.c (current_column, Fmove_to_column): ignore invisible lines.
* keyboard.c (command_loop_1): No direct output if selective display.
1988-07-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* ymakefile (LD_TEXT_START_FLAGS): -e should be __start, not address.
* m-orion105.h: New file.
1988-07-15 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* alloca.s (pyramid): Define _setjmp, _longjmp only if PYRAMID_OLD.
1988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* s-rtu.h (fsync): Define this as no-op.
* process.c, sysdep.c: Rename MASSCOMP flag to RTU.
1988-07-10 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* term.c (write_chars): Compensate for wasted_chars when comparing curX
1988-07-05 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* lread.c (openp): Don't call strncat if lsuffix is 0.
1988-06-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* callint.c (Fcall_interactively): On VMS, treat 'f' like 'F'.
1988-06-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* emacs.c (Fkill_emacs): Run kill-emacs-hook.
1988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* ymakefile: Add missing dependencies.
* cmds.c (Fself_insert_command): Pass correct 2nd arg to SelfInsert.
* ymakefile: Avoid newline after cpp in commands for alloca.s.
1988-06-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* ymakefile: #undef register, in case m- or s- defines it.
1988-06-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* unexhp9k800.c: Complete replacement.
* x11fns.c (x_set_cursor_colors): Send current colors to X server.
(Fx_set_mouse_color): Use that function.
* x11term.c (XFlipColor, XInitWindow): Use that function.
Variable `mous' deleted; handle reverse video for `mous_color'
by checking it with `strcmp'.
* x11term.c (x_term_init): `sizeof' was used for strings, in mallocing.
Delete unused vars `cursor_fore' and `cursor_back'.
* x11term.c (CursorToggle): Make solid cursor proper color
when no text char is there.
* x11term.c (XT_Set_Size_Hints): New arg PR.
At startup, it's the value from XGeometry, else 0.
Use it when setting the flags (which dims are user-specified).
* x11term.c (XT_Set_Size_Hints): Conditional for XICCC.
* x11term.c (internal_socket_read): Don't call change_window_size
with arguments too small for it to handle.
* dispnew.c (window_change_signal, {un,}hold_window_change):
If a signal happens during update_screen, just set flag;
resignal when update_screen finishes.
* xdisp.c (DoDsp, message, message1): Call {un,}hold_window_change.
* dispnew.c (Vwindow_system_version): New variable.
(syms_of_dispnew, init_display): Set this variable.
* callint.c (Fcall_interactively): For `N', convert prefix to number.
1988-06-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* termcap.c (tgetst1): Tolerate missing colon at end of entry.
1988-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* data.c (Fkill_local_variable): Used to clobber other buffer's value.
1988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* x11fns.c, x11term.c: "Mouse queue" was a stack; make it a queue.
New vars XXm_queue_in, XXm_queue_out.
(Fx_{proc,get}_mouse_event): Use XXm_queue_out as fetch index.
(internal_socket_read): Use XXm_queue_in as store index.
(x_term_init): Init the new vars.
1988-06-10 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* window.c (Fset_window_configuration): Handle change in screen size.
* s-hpux.h: Delete -lBSD from LIBS_SYSTEM.
* m-hp9000s300.h: Define string fns as macros even in version 6.
1988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* buffer.c (SetBfp): Initialize `swb'. This matters when SetBfp
is called during initialization, on Masscomp.
1988-06-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* sysdep.c (kbd_input_ast, end_kbd_input): Eliminate `ast_active'.
(end_kbd_input): Use LIB$AST_IN_PROG.
* lread.c (init_read): Don't be confused by Qnil in normal_path.
* data.c (Fsymbol_value): Check nullness of per-buffer sym's buffer.
* callint.c (Fcall_interactively): Don't put non-strings into visargs.
1988-06-02 Richard Stallman (rms@rice-krispies.ai.mit.edu)
* keyboard.c (read_avail_input, input_available_signal):
Make `buf' as long as kbd_buffer.
1988-06-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* xdisp.c (decode_mode_spec): Output `%%' as a `%'.
* sysdep.c (kbd_input_ast): Save and restore errno.
* keyboard.c (input_available_signal, interrupt_signal): Likewise.
* dispnew.c (window_change_signal): Likewise.
* process.c (child_sig): Likewise.
1988-05-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* x11fns.c (Fx_proc_mouse_event): When looking up a meta-click,
look for the meta-prefix-char first.
* xmenu.c (Fx_popup_menu): Typo calling BLOCK_INPUT_DECLARE.
1988-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
* s-iris3-5.h, s-iris3-6.h: Undo Jan 11 change.
1988-05-23 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* minibuf.c (read_minibuf): If PROMPT's not a string, make it one.
1988-05-22 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* m-alliant.h: Typo made m-alliant1.h lose.
* m-alliant4.h: New file.
* fns.c (Freverse): Rename `vector' to `vec'.
On alliant, `vector' is a typedef in param.h.
1988-05-20 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* process.c (kill_buffer_processes): Send SIGHUP, not SIGKILL.
1988-05-19 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* m-mips.h, m-iris4d.h (XUNMARK): Cast unsigned before shifting.
* m-sequent.h: No need for DKSTAT_HEADER_FILE.
1988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* x11term.c: First include system headers, then config.h, then maybe
undef FIONREAD and SIGIO, then read x11term.h which depends on them.
1988-05-15 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* keyboard.c (get_input_pending): Hold SIGIO around read_avail_input.
1988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
* keyboard.c (init_keyboard): Call keyboard_init_hook if nonzero.
* x11term.c (x_init_1): Move all keyboard-related inits here.
(x_term_init): Don't call x_init_1; put it in keyboard_init_hook.
* m-sun3.h, s-sunos4.h, s-bsd4-3.h: Delete DK_HEADER_FILE.
* m-sequent.h: Change it to DKSTAT_HEADER_FILE.
1988-05-13 Richard Stallman (rms@lucky-charms.ai.mit.edu)
* xdisp.c (DoDsp): if pause, and window is partial-width,
next redisplay must do all windows since preserve_other_columns
may lack the data to work right if we just did scrolling.
1988-05-13 Chris Hanson (cph@kleph)
* m-hp9000s300.h: Conditionalize a couple of things on `__GNUC__'.
1988-05-12 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* xdisp.c (mark_window_display_accurate): Don't use XBUFFER on nil.
* keyboard.c (keys_of_keyboard): Change ndefkey to defkey.
* keymap.c (keys_of_keymap): Change ndefkey to defkey.
1988-05-10 Richard Stallman (rms@corn-chex.ai.mit.edu)
* sysdep.c: Define sigmask.
1988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* Version 18.51 released.
* process.c (Fdelete_process): Change status of proc to `signaled'.
Then call change_msgs to run the sentinel.
* m-sequent.h, m-sun3.h, s-sunos4.h, s-bsd4-3.h: Define DK_HEADER_FILE.
* m-7300.h: Take out the Feb 11 change; umix!sendai!rich@rutgers.edu
says it doesn't work.
1988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* xdisp.c (DoDsp): Set clip_changed if Voverlay_... has changed.
1988-04-28 Chris Hanson (cph@kleph)
* s-hpux.h: Define HAVE_PTYS. HP-UX has them and they work fine
almost all of the time. The one case where they would fail
regularly (inferior Scheme) has been bypassed by using pipes.
1988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* keyboard.c (Fsuspend_emacs): Do init_sys_modes via unwind protect.
* fileio.c [VMS] (Fdefine_logical_name): Empty string value
means delete the name.
1988-04-27 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* sysdep.c [VMS]: RAB's never a macro; let RAB$C_BID control rab.h.
* sysdep.c [VMS] (sys_getenv): Only if value of lib$sys_trnlog
is exactly 1 does it mean it found something.
* sysdep.c (creat_copy_attrs): Downcase remaining SYS$OPEN, SYS$CLOSE.
1988-04-25 Richard Stallman (rms@lucky-charms.ai.mit.edu)
* fileio.c (Fdo_auto_save): Ignore shrinkage if not visiting file.
Wait only 1 second after shrinkage message.
(Fset_buffer_auto_saved): Update the buffer's save_length.
(auto_save_error): Mention buffer name in message.
* buffer.c (Fswitch_buffer): Error if in minibuffer window.
1988-04-24 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* sysdep.c (sys_close): Define this only if INTERRUPTABLE_CLOSE.
* s-usg5-3.h: Define INTERRUPTABLE_CLOSE.
1988-04-22 Richard Stallman (rms@rice-krispies.ai.mit.edu)
* sysdep.c (init_sys_modes) [VMS]: Undef _IOFBF so don't use setvbuf.
1988-04-20 Richard Stallman (rms@rice-krispies.ai.mit.edu)
* m-sun386.h: New file, for Roadrunner.
1988-04-19 Chris Hanson (cph@kleph)
* x11term.h, x11term.c, x11fns.c: Again (for the third time)
abstract input blocking so these files compile on systems without
SIGIO.
* x11term.c (x_term_init): Comment out fatal error which prevents
X11 interface from being used if interrupt_input is false. This
is unnecessary and untrue -- the interface works, but
suboptimally.
1988-04-19 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* sysdep.c (sys_access) [VMS]: If arg is dirname, cvt to name as file.
(sys_getenv): If arg is TERM, also look for TERM as logical name.
* unexconvex.c: New file.
1988-04-18 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* emacs.c (main) [APOLLO]: Eliminate call to set_sbrk_size.
* search.c (match_limit): Return nil for a paren-pair with no match.
1988-04-17 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* vmsfns.c (Fvms_system_info, Fshrink_to_icon): New functions.
Former comes with many subroutines.
1988-04-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* x11term.c (updateline, write_chars): Restore sigmask at every return.
(stufflines): Restore signal mask only once, at the end.
* sysdep.c ({un,}request_sigio): SIGWINCH mask actions were backwards.
Never change any other mask bit.
* x11term.c (internal_socket_read): Initialize COUNT.
* ymakefile (LIBX): /usr/X11/lib/oldX/liboldX.a becomes -loldX.
1988-04-14 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* fileio.c (auto_save_error): Print msg that there was an error.
(Fdo_auto_save): If don't save a bfr because it has shrunk, print msg.
1988-04-13 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* s-umax.h: Define MAIL_USE_FLOCK (LaLiberte says so).
1988-04-10 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* fileio.c (Fdefine_dcl_symbol): Deleted.
(Fdefine_logical_name): New function created.
* sysdep.c (define_dcl_symbol): Deleted.
(define_logical_name, delete_logical_name): New fns to make
job-wide logical names. "This is more useful for communicating with
other processes, since when Emacs is run in a subprocess (as it
usually is), the others see job-wide logical names, not DCL symbols)."
1988-04-09 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* ymakefile: If UNEXEC is defined, it specifies object file for unexec.
* unexmips.c: New file contains MIPS unexec code, moved from unexec.c.
* m-mips.h, m-iris4d.h: Define UNEXEC as unexmips.o.
No longer need to define COFF.
* unexenix.c, s-xenix.h: Likewise.
* unexhp9ks800.h: New file; m-hp9000s800.h says to use.
* unexec.c: Delete MIPS and Xenix code.
* dired.c (file_name_completion) [VMS]: specbind completion-ignore-case
to non-nil.
* m-sequent.h: Define PTY_ITERATION, etc., for Dynix 3.0 pty names.
1988-04-08 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* unexec.c (EXEC_HDR_TYPE): New macro overrides `struct exec' if def.
* unexec.c (DEFAULT_ENTRY_ADDRESS): Allow config to define this.
* m-iris4d.h: Define it here, instead of IRIS4D conditional in unexec.
* m-tek4300.h: New file.
* fileio.c: doc fix.
1988-03-29 Richard M. Stallman (rms@wilson)
* ymakefile: Default LIBX10_MACHINE and LIBX11_MACHINE to null.
Use them when defining LIBX.
* xterm.c: On all USG, include sys/time.h.
* xterm.c (XtFlash, flashback): Bodies conditional on ITIMER_REAL.
* xterm.c (x_term_init): Call gethostname only if BSD or HPUX.
* xterm.c (x_init_1): Don't mess with SIGIO if USG.
* sysdep.c: Fix typo, USG_SYSTEM_DIR => SYSV_SYSTEM_DIR.
Externally define sys_errlist, except on VMS.
Don't include rab.h if RAB is already defined.
* sysdep.c ({request,unrequest}_sigio) BSD4.2 version:
Also block and unblock SIGWINCH if that's defined.
* m-mips.h (XSETMARKBIT): New, test 2nd arg for only zero or nonzero.
* s-usg5-3.h: #define close sys_close (like open, read, write).
* sysdep.c: Undef `close', like `open'.
* sysdep.c (sys_close): New function.
All refs to close in sysdep.c renamed to sys_close.
* sysdep.c (read_input_waiting): Call `read_socket_hook'.
Define BUFFER_SIZE_FACTOR as in keyboard.c.
* sysdep.c (dup2): Alternate defn #ifdef F_DUPFD.
1988-03-27 Richard M. Stallman (rms@wilson)
* process.c [CYDRIX]: Include sys/tiuser.h; don't include pty.h.
* process.c (pty): Don't do ioctl FIONBIO if not defined.
New macros PTY_ITERATION, PTY_NAME_SPRINTF and
PTY_TTY_NAME_SPRINTF customize how to test all pty names.
* unexec.c (make_hdr): DATA_SECTION_ALIGNMENT, new, acts like
SECTION_ALIGMENT, but for data section only.
* callproc.c (init_callproc): Cvt dirname to filename for `access'.
* lread.c (init_read): Likewise. These used to lose on VMS.
* dired.c (file_name_completion) [VMS]: READFUNC is a ptr, not a fcn.
1988-03-24 Richard M. Stallman (rms@wilson)
* sink.h, sinkmask.h: Don't declare the array static.
* xfns.c: Make sink_bits and sink_mask_bits extern;
don't include sink.h and sinkmask.h here.
Define macros sign_width, etc.
* xterm.c (writechars, dumprectangle): Flush `if (PhysScreen)', etc.,
since an array is always nonzero as a pointer.
* filelock.c: Include config.h after sys/stat.h so can undef S_IFLNK.
* sysdep.c (sys_suspend): Use BSD, not SIGTSTP, as cond. for killpg.
* dispnew.c (init_display): Set Vwindow_system to `x' for X11.
* xterm.c, x11term.c (x_term_init): Set `window-system-version'
to 10 or 11.
* dispnew.c (update_screen): If cursor_in_echo_area is negative,
put cursor at left margin in echo area.
* fns.c (Fy_or_n_p): Make cursor_in_echo_area -1 when echoing response.
Don't alter cursX.
1988-03-23 Richard M. Stallman (rms@wilson)
* x11term.h: Use X11/ not X/ for dir of include files.
* xmenu.c: Likewise, in the X11 case.
* m-7300.h: Fix unterminated comment near end.
* s-xenix.h: Define n_zeroes so usage of struct nlist in fns.c works.
* term.c (fatal): Do fflush(stderr).
* sink11.h, sink11msk.h: New files.
* x11term.h: Define CLASS here.
Don't define X11 since this is included only if X11.
* x11term.c: Use sink11.h and sink11msk.h, not sink.h and sinkmask.h.
Don't define CLASS. Delete everything about BIGDEBUG.
Delete everything pertaining to read_events_block.
(XXidentity): now global.
(CursorOutline): New var; nonzero means cursor is hollow.
(XXicon_usebitmap): New var; nonzero means use bitmap icon.
(XTset_terminal_modes, ClearCursor): Set CursorOutline.
(XTflash, flashback): Combine into one function; use `select' to wait.
(CursorToggle): Handle CursorOutline.
(internal_socket_read): Delete 3rd arg, and code that handles it.
Handle MappingNotify events.
Handle EnterNotify and LeaveNotify (change solid to outline cursor).
(XT_GetDefaults): If asked for .BodyFont, look for .Font also.
(x_term_init): Init XXicon_usebitmap; strip dirs from `progname'.
Handle -i switch. Handle -geometry like -w.
(XT_Set_WM_Hints): Obey XXicon_usebitmap.
(XInitWindow): Use `fatal' for fatal error messages.
Init CursorOutline. Ask for EnterNotify and LeaveNotify events.
* x11fns.c (Fx_get_default): Use XXidentity. Clean up docstring.
* sysdep.c [VMS] (input_wait_timeout, wait_for_kbd_input):
Use detect_input_pending, not get_input_pending.
* process.c (wait_reading_process_input):
Use only detect_input_pending to check for pending kbd input.
(That `select' saw something on channel 0 doesn't mean it is
kbd input; it could be an expose event.)
* keyboard.c (read_avail_input) [FIONREAD]: Now static.
New arg specifies value of NREAD;
if it is nonzero, don't call get_input_pending to get it.
Use kbd_buffer_store_char to put chars into kbd_buffer.
Always abort if kbd_count is nonzero at start.
Don't call {set,clear}_waiting_for_input.
(get_input_pending): Now static.
Return immediately if kbd_count > 0 or if Vquit_flag is non-nil.
If FIONREAD and not interrupt_input and read_socket_hook,
call read_avail_input to see how much pending input is really
kbd characters; don't say we have some if an expose event is pending.
* dispnew.c (init_display): Check result of egetenv for emptiness
as well as nullness.
1988-03-21 Richard M. Stallman (rms@wilson)
* alloca.s [WICAT]: Don't clobber a2. Return value in a0 and in d0.
1988-03-20 Richard M. Stallman (rms@wilson)
* crt0.c (errno): Don't initialize it -- put it in bss space.
[M68K]: Define splevel% with `comm' -- put it in bss space.
* sysdep.c [MISSING_UTIMES]: Define `utimes' as a no-op.
* s-hpux.h: Define MISSING_UTIMES.
* buffer.c (Fbuffer_local_variables): The buffer's alist can be out
of date for a non-current buffer, so call Fsymbol_value to make
the alist up to date.
* sysdep.c [VMS] (end_kbd_input): If ast_active, don't clobber
any global variables.
* ymakefile (alloca.o): Copy sed output to a .s file and use cc
to run the assembler. I hear Xenix can't run it directly.
* sysdep.c [XENIX]: Undefine TIOCGETC.
* s-xenix.h: Undefine NLIST_STRUCT. Put `_' in defn of LDAV_SYMBOL.
Define HAVE_SYSVIPC.
* m-intel386.h [XENIX] (LIB_STANDARD): Add /lib/386/Slibcfp.a.
[XENIX] (FSCALE): Define it.
[XENIX] (C_ALLOCA): Undefine it.
* alloca.s: Define alloca for Xenix.
1988-03-19 Richard M. Stallman (rms@wilson)
* keyboard.c (read_avail_input): If `read' gives EAGAIN,
kbd_count should be 0. Can happen on V.3.
* x11fns.c (Vxterm1): Delete this variable, and lisp var `xterm'.
(syms_of_xfns): If CANNOT_DUMP and not `noninteractive',
init_display has already set up Vxterm, so don't init it here.
* display.c (syms_of_display): Likewise for Vwindow_system.
(init_display): Always set Vwindow_system.
1988-03-18 Chris Hanson (cph@kleph)
* m-hp9000s300.h: Add a definition for C_SWITCH_MACHINE which is
needed to compile the X11 interface files.
* s-hpux.h, m-hp9000s300.h, m-hp9000s800.h: Version 6.01 of HP-UX
(on 300 machines only) implements symbolic links and supplies BSD
procedures like `bcopy' and `index' as part of the BSD library.
Move definitions which depend on these features from the s- file
to the m- files, and conditionalize the features based on a flag.
1988-03-18 Richard M. Stallman (rms@wilson)
* scroll.c (calculate_scrolling): Abort if ->insertcount
is out of range.
* sysdep.c (getwd for USG): Don't define it if HAVE_GETWD.
* m-stride.h: Define HAVE_GETWD.
* buffer.c (init_buffer): If `getwd' fails, it's a fatal error.
* ymakefile (MAKE_PARALLEL): New name for PARALLEL, and now
a cpp macro, not a Make variable. Defaults to empty.
* m-sequent.h: Define MAKE_PARALLEL.
* xdisp.c (display_text_line): Handle the overlay arrow last of all,
and update line->length for the space it uses.
* xmenu.c: Conditionals for X11, using new macro X11ONLY.
Currently named x11menu.c until someone tests it.
* ymakefile: Handle HAVE_X_MENU and use xmenu.o, even if X11.
* x11term.h: Define BLOCK_INPUT, UNBLOCK_INPUT, BLOCK_INPUT_DECLARE.
* Makefile: Set $(MAKE), since some Make versions don't have it.
(xmakefile): Delete lines that are just one OR MORE whitespace
chars. Use \t to represent the tab in the `sed' command.
* fileio.c (Finsert_file_contents) [APOLLO]: Do another `stat'
after closing the file. Gets around kernel bug (in `fstat'?).
* fileio.c (Fwrite_region) [ALLIANT]: Don't do `fsync'; kernel bug.
* sysdep.c (sys_suspend): If forking shell, call close_process_descs.
1988-02-13 Richard Stallman (rms@sugar-smacks.ai.mit.edu)
* Version 18.50 released.
* sysdep.c [VMS]: Remove VMS4_6 conditional on execvp & rename
since s-vms.h is set to make us use our own definitions of these.
Make execvp call `error' instead of `croak'.
* s-vms.h: PURESIZE 132000.
* m-sun2.h: Likewise (for HAVE_SUN_WINDOWS).
1988-02-11 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* callproc.c (child_setup): Call close_process_descs
if can have subprocesses. Close the argument-descriptors
after copying them to 0, 1 and 2.
* callproc.c (Fcall_process): After fork, in subprocess,
explicitly close Emacs's end of the pipe. Don't bother calling
set_exclusive_use.
* process.c (close_process_descs): Close all descriptors
that are talking to subprocesses. Called from a new subprocess.
* process.c (create_process): Don't bother calling set_exclusive_use
since close_process_descs now closes Emacs's side of a pipe or pty.
* x11term.c, x11fns.c, x11term.h: New files from rfrench@athena.mit.edu
In x11term.c, the function `read_events_block' has been `if 0'd
and so have all calls to it. A call in wait_reading_process_output
was not added, and a call to internal_read_socket in
get_input_pending was not added.
* emacs.c (main) [HAVE_X_WINDOWS]: Set xargv, xargc for xterm.c.
* dispnew.c (init_display) [X11]: Set Vwindow_system to `x11'.
* s-hupx.h: Define HAVE_SYSVIPC.
Should s-usg*.h define this too?
* dir.h: Some union types were missing levels of struct inside them.
* alloc.c (Fpurecopy): If not purifying, do nothing.
* editfns.c (init_editfns): Record system name even if dumping.
* eval.c (Fcondition_case): Inverted endtest in handler validate loop.
* m-7300.h: Define SEGMENT_MASK, SECTION_ALIGNMENT
and pass the -z switch to ld. kenobi!ford@bass.nosc.mil says so.
1988-02-09 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* unexec.c: Merge gb's code for Xenix.
* m-intel386.h: Add conditionals for Xenix.
* s-xenix.h: New file.
* cm.h: Make the bit-fields unsigned.
1988-02-08 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* sysdep.c (init_sys_modes) [USG]: Set C-g for VQUIT as well as VINTR.
This was formerly done only on HPUX, and worked there.
It appears that all sysV is like HPUX in that CDEL does not
really turn off the signal--it makes Meta-DEL cause the signal!
* process.c (wait_reading_process_output): Change the test on
read_kbd to avoid losing on 80386 Xenix.
1988-02-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* xdisp.c (Voverlay_arrow_string, Voverlay_arrow_position):
New variables specifying a string to overlay on the buffer text
and a place to put it.
* xdisp.c (display_text_line, redisplay_window, DoDsp):
Handle these variables.
1988-02-04 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* insdel.c (prepare_to_modify_buffer):
If CLASH_DETECTION is disabled, verify the modtime here
since it won't be done via lock_file.
1988-01-31 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* fileio.c (Fcopy_file): Report error in `write'.
1988-01-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* eval.c (unbind_to): Recompute loop end-test from `count' each time
since an unwind-protect function can use realloc to grow the specpdl.
1988-01-26 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
* sysdep.c (vms_truncate) [VMS]: New fn to truncate a file.
* fileio.c (Fwrite_region) [VMS]: If writing auto-save file,
truncate any existing file.
* s-vms.h: Rename `rename', `execvp' and `system' so we don't
use the VMS-library versions of it.
1988-01-22 Richard Stallman (rms@frosted-flakes)
* m-ibmrt.h: Add some AIX conditionals; output on BSD should
be unchanged. Perhaps will now run on AIX.
1988-01-21 Richard Stallman (rms@frosted-flakes)
* keyboard.c (command_loop): Exit here for noninteractive eof.
* keyboard.c (kbd_buffer_get_char): Don't exit here.
1988-01-20 Richard Stallman (rms@frosted-flakes)
* lread.c (openp): Reject directories even if !exec_only.
* window.c (Fset_window_configuration): When keeping window's
old buffer, make sure its start and pointm are valid.
1988-01-19 Richard Stallman (rms@frosted-flakes)
* sysdep.c (sys_suspend) [SIGTSTP]: Use killpg and getpgrp to stop
all processes in same pgrp with Emacs.
* syntax.c (Fparse_partial_sexp): Add 7th elt to STATE arg and value,
describing minimum depth encountered during the scan.
1988-01-18 Richard Stallman (rms@frosted-flakes)
* alloca.s: Change some as-style comments to C-style comments
so cccp won't be confused by stray singlequotes.
* s-iris3-5.h, s-iris3-6.h: Move the #defines of long-named functions
into m-irist.h.
* lread.c (init_read): Warn if dirs in PATH_LOADSEARCH don't exist.
* callproc.c (init_callproc): Warn if Vexec_directory doesn't exist.
* emacs.c (main): Call init_callproc before changing terminal modes.
* xdisp.c (try_window_id): When computing ep, watch out for
invisible lines that follow the newline after the last change.
* window.c (Fset_window_point): Now works ok on selected window.
1988-01-17 Richard Stallman (rms@frosted-flakes)
* eval.c (Fdefconst, Fdefvar) doc fix.
* keymap.c (Fcopy_keymap): Several stupid errors.
* dired.c (file_name_completion): Wasn't calling readdir
for Unix; was doing so (instead of readfunc) on VMS.
* dired.c (Fdirectory_files): Don't call NAMLEN if dp is 0.
1988-01-16 Richard Stallman (rms@frosted-flakes)
* alloc.c (syms_of_alloc): Eliminate vars data-bytes-{free,used}.
They lose because values are over 24 bits.
* lread.c (read_list): delete `register' for val and tail.
* buffer.c (Fkill_buffer): delete `register' for buf and bufname.
* fns.c (Fy_or_n_p): delete `register' for xprompt.
* keymap.c (Fcopy_keymap): missing paren.
1988-01-15 Richard Stallman (rms@frosted-flakes)
* m-iris4d.h: Changes to support dumping.
* m-*.h: Doc fix for VIRT_ADDR_VARIES.
* unexec.c: Minor changes to mips code for IRIS_4D.
1988-01-11 Richard Stallman (rms@frosted-flakes)
* s-iris3-5.h, s-iris3-6.h: Don't #undef SIGIO. BROKEN_FIONREAD makes it unnec.
* process.c [IRIS]: Find sysmacros.h in sys/.
1988-01-09 Richard Stallman (rms@frosted-flakes)
* doprnt.c: New arg NARGS says how many args there are in ARGS.
Give an error if the string tries to use more than that many.
* callint.c (Fcall_interactively): Pass new arg to `doprnt'
* editfns.c (Fformat, format1):
* xdisp.c (message):
1988-01-07 Richard Stallman (rms@frosted-flakes)
* lread.c (init_obarray): Split the stmt `hash =' to avoid
a VACX bug.
* alloca.s [pyramid]: Keep sp a multiple of 32.
This preserves cache-block alignment.
1988-01-06 Richard Stallman (rms@frosted-flakes)
* s-hpux.h: Don't define nomultiplejobs, LDAV_SYMBOL, LIBS_DEBUG
or BROKEN_FIONREAD.
* m-hp9000s300.h: Define those four.
* s-hpux.h: Define BSTRING, and define bcopy, etc., as macros.
* sysdep.c [NEED_BSDTTY]: Include bsdtty.h.
(Flag is defined in m-hp9000s800.h)
* m-hp9000s800.h: New file.
* m-hp9000s300.h: New name for m-hp9000.h.
* sysdep.c: Split TIOCGLTC conditional into two, one on TIOCGETC.
* search.c (search_buffer): Avoid & of array static_BM_tab.