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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
|
This version of zsh is based on 3.1.5 and includes the following
patches.
Old stuff:
Zoli's AIX dynamic loading patch from 3933, slightly updated, without
some hunks which weren't needed on AIX 3.x so I don't know how to
update them properly
My completion widgets patch
Patches which have appeared since 3.1.5 (it's already a week, after
all...):
Bart's addon collection 4473 (excluding the bit from 4105), 4475, 4476
My patch in 4477 to rename three functions to avoid clashes when
dynamic loading (particularly necessary on IRIX and AIX), including
the effect of Sven's additional fix in 4488
Sven's magna opera patch-or 4510 and patch-match 4509 to add control
of alternative matches and arbitrary mapping between characters in the
command line and the matched string, plus all known related fixes
4526, 4527, 4534, 4555, 4557
My patch 4513 for case-insensitive globbing via flags, plus fixlet 4552
My ~PWD patch 4533
My suggestion for fixing the suffix on a yank in 4564
Bart's deltochar patch including new flags to allow commands not to
interrupt cumulative effects in 4570 (new flag merged with compctl
widgets flags).
Bart's doc fix 4574
A fixsuffix() added by hand in delcharorlist() which I've somehow
missed along the way. The fixsuffix() horror is probably not yet
resolved; 4576 has side effects and hasn't been applied.
My latest version of lete2ctl, not posted but available at
http://www.ifh.de/~pws/computing/lete2ctl .
Bart's chpwd() fix 4589
Second edition
Added line in zle_tricky.c missed when patching by hand, spotted by
Bart. (Whitespace is still non-canonical in the completion code where
I have merged patches by hand.)
Fixed up my compctl widgets patch for use with Sven's rewrite, which I
hadn't done properly before.
Bart's function fixes, 4471
Bart's doc fixes, 4472
Bart's PWD and OLDPWD reshuffle, 4589
My test-line-length patch for prompts, 4591 (`%(40l.yes.no)' outputs
`yes' if at least 40 characters have already appeared on the line,
`no' otherwise.)
Configure patch from Wilfredo Sanchez in 4594, with some extra
tabbification and without the setterm() hunk, since I've already renamed
that to zsetterm(), avoiding the conflict
My globbing fix for a bug which shows up in `case' constructs, 4595
Alternative version of the ~PWD patch (allow users to hash PWD
explicitly if that's what turns them on), 4596
Bart's experimental associative array patch, 4598, plus various
additions, 4599, 4602, 4608, 4641, 4653, 4654. No documentation yet;
if you want to play with this, so far:
% typeset -A hash # create associative array $hash
% hash[one]=eins hash[two]=zwei # assign elements
% hash=(one eins two zwei) # same, assign whole array (*)
% print $hash[one] # retrieve elements
eins
% print $hash # whole array looks like normal array
eins zwei
% print ${(k)hash} # flag to get keys
one two
% print ${(kv)hash} # flag to get keys and values (**)
one eins two zwei
Comparison of (*) and (**) will reveal how to copy an associative
array, `hash2=(${(kv}hash})', but you always need to `typeset -A
hash2' first or an ordinary array will appear. There is a predefined
special associative array $testhash, for testing purposes only, which
will eventually disappear.
My rewrite of prompt truncation, 4601 --- note this introduces a
slight incompatibility in that the string to be truncated now runs by
default to the end of the string, instead of only covering individual
%-substitutions. If necessary, stick in an extra '%>>' to turn
truncation off at the point you want.
Bart's params error message fix, 4606
My input fix for 8 bit characters, 4612
Bart's version of the *** fix, 4624
Bart's parameter substitution flag delimiter fix, 4644
My special parameter unset fix, 4662
Third edition
I've taken the plunge and changed $ZSH_VERSION, the current one is now
3.1.5.pws-3 . It seemed rational to have something incremental at the
end for testing, so I abandoned using the date.
4482 (cdmatch2)and 4641 (${assoc[0]}) now applied; 4641 was supposed
to be there before.
nroff manual pages deleted, you now need yodl.
deleted modules-bltin by hand, which `make distclean' somehow missed.
Caused problems when building a statically linked shell.
Bart's scanmatchtable fix, 4674
Commented out vifirstnonblank() in vioperswapcase(), pending any
better patch for it.
Bart's viforwardword fix, 4678
My case-independent globbing fix, 4693
Sven's zle_tricky.c, 4697
Sven's patch to ignore completions if the cursor is not in a part to
be completed, 4698, plus addition, 4707
I have not added Sven's zerr() patch, 4699, in case it has side
effects, but I haven't heard anything on the subject and I haven't
looked at it.
Sven's pennockite heap memory patch, 4700
Sven's condition module patch, 4716, and addition, 4732, and the
function wrapper patch, 4734, and additions, 4742, 4769: the module.c
bits of these have been moved around a little to avoid clashes with
the AIXDYNAMIC stuff. The wrapper stuff is still not finished, but
doesn't currently impinge on use of the shell.
Phil Pennock's patch to use associative arrays in stat, 4727
Unposted fix for use of printcompctlptr in completion widgets:
printcompctl() had acquired another argument.
My bash-like ${foo/orig/new} patch, 4736, and the version to do
shortest matching together with optimizations of all pattern matching
in variable strings, 4754.
Phil's patch for typeset -a docs, 4737
Nobody wanted my fix for `FOO=x eval external', so it's not there.
zftp, 4761
Bart's fix for conddef without dynamical modules, 4762
Bart's associative array patches for implentation of subscripting flags,
4763, plus fix 4766; typeset output 4764
Sven's completion listing fix, 4767
Fourth edition
Compilation fix for static linking, 4779
Phil's patch for wtmp in /var/log on Linux, which someone else sent
before... except it needs to be applied to aczsh.m4 and propagated
from there, 4783
Phil's removal of now useless j in glob.c, 4784
Bart's collection in 4788: put back some missing patches.
Param's patches from Bart in 4789, 4794, 4795: fix sethparam() and move
flags; make sure setsparam() and sethparam() are consistent with
existing parameters; allow assoc array assignment with
${(AA)=assoc::=key1 value1 key2 value2}
Return to not hashing PWD from Bart in 4791
Handle --program-suffix and --program-prefix (but not --target, so I
removed the comment) from Bart in 4792
Compilation with no HAVE_GETPWUID, 4801
INADDR_NONE in zftp, 4805
Sven's unloading modules, 4806, 4815, 4820, plus my AIX (and
DYNAMIC_NAME_CLASH_OK) fix, 4822, then Sven's 4830
Parameter's documentation changes by Bart, 4817
Network order fix for zftp from Sven, 4821
My patch (with Gene Cohler's suggestions) for dynamical loading under
HPUX 10, 4824, plus fixes, 4833, 4843
Bart's random assoc array fixes, 4826, 4836, plus Sven's 4831
Sven's ignored character fix, 4828
More Sven condition patches, 4837, 4842
Final (???) isident() fix from Sven, 4845
pws-5
Name of top level directory is now zsh-3.1.5-pws-5
Missing part of Bart's sethparam() changes, 4851
zftp test subcommand, 4852
Geoff's refresh fix for a line the same length as the terminal width,
4855
Bart's fix for array slices, 4874
Sven's accept-and-menu-complete-fix, 4878
Sven's group completion fix, 4879
Sven's module condition fixes, 4880
Oliver Kiddle's autoconf fix, 4887
My zftp fix (actually due to Andrej Borsenkow) for systems which only
allow dup'ing sockets after they are connected, 4888.
Bart's fix to making setting associative array elements inside
substitutions consistent, 4893
My typeset neatness and -a and -m fix, 4902
My brief Etc/MACHINES addition, 4912
My modification to findcmd() for memory leaks, 4923, plus comment
alteration by Bart, 4924
Sven's patch for completion after various reserved words, 4930
My patch for compiler warnings, 4931
My configuration fix for when tgetent() accepts a null argument but
then tgetstr() dumps core, 4939
Sven's alteration of `-t' behaviour, 4940. This is slightly
incompatible with previous patched versions of 3.1.5 since now you don't
need '-tc' with -T. However, you now do need '-tn' in cases where you
don't want normal completion tried after a -T matches.
Sven's new completion functions, 4850, 4881, 4941, 4942, 4943, 4944,
4946, 4949, 4950, plus my addition of function pointers, 4945. The
example file is now in Misc/new-completion-examples.
(Effect of) fix from Helmut Jarausch in 4947 partly due to change
missed in patch.
pws-6
Sven: fix for completion after redirection, 4957
Bart: add-on, 4965
Andrej: configure patch for Reliant UNIX et al., 5021 (as resubmitted)
Sven: compctl list with a single string, 4974
Sven: compctl -M matches with *'s, 4975, 5007
Sven: compadd and new-completion-examples, 4976
Sven: funky new glob modifiers: change sort order, select
item from list, 4979; make time order work like ls -t, 4987
Sven: fix completion whitespace for copy-previous-word, 4981
Sven: fix for new-style completion after redirection, 4986, 4988
New mirror site ftp://ftp.win.ne.jp/pub/shell/zsh/ in META-FAQ (not
posted)
Andrej: when installing info files, insert zsh.info into dir, 5016
Sven: ${(t)param} flag, 5022, 5045; no unset behaviour, 5078
Phil: zless, 5032, simplified by Bart, 5037, also added a `setopt
localoptions' after spending an hour wondering why nothing worked any
more.
pws: `make install' does not do `make install.info', 5047
Sven: compcall tries old-style completion from new-style function,
compctl -K ' func' handles newstyle completion, 5059; avoid recursion,
5065; my dynamic fix-up, 5085
Sven: inserting completion inside brace expansion, 5060
Sven: extra completion context, 5092
pws: typeset -T MYPATH mypath, 5094, plus fix for MYPATH=(foo),
mypath=foo (and also existing PATH=(foo) bug), 5120
Sven: doc fix for glob qualifiers, 5102
Drazen Kacar, modified by me: workaround for terminal bug on Solaris,
5103; modified by Bart, 5113
Sven: zle and widget information via variables in new completion
functions, 5104
pws: remove old zle -C, zle -C now does new completion, 5105
Sven: glob qualifier o for modes, 5107
pws: fix for unsetting special zle variables, 5111
Drazen Kacar, modified by me: unlock terminal device on Solaris, 5118
(5117 was wrong)
pws-7
pws: patch for zls, 5054 (appeared in pws-6 but not in corresponding
patchlist).
Bart: finally added missing hunk from 4965 which allowed unsetting an
assoc array when it was assigned to as a scalar which should have been
there all along
Bart: vared to edit associative arrays and array elements, 5129
Matt Armstrong: makepro.awk can spit out preprocessor lines, 5132
(+ move init.pro inclusion, 5151)
Matt: cygwin needs to use native getcwd(), 5133
Sven: partial word completion fix, 5144
Sven: compadd -m, -F, -r, 5145, 5204
Bart: unset can unset assoc array elements, 5174
Sven: fix for command completion and pattern completions, 5178
Sven: ${(P)...} 5183, 5199, 5200
pws: compctl documentation tidy-up, 5185, 5198
Sven: zle commands which use the minibuffer erase completion listings,
5201
Sven: glob qualifiers o -> f, O -> o, new O = ^o, 5203
Sven: completion in arrays, 5206
Sven: new completion in conditions, 5207
Sven: ${foo:q}, 5208, preliminary
Sven: use ${foo:q} for quoting prefix and suffix in new completion, 5120
pws: bashautolist option, 5229; Sven's addition, 5234, and doc 5235; 5269
pws: .zlogout doc, 5233
pws: added note on Linux Alpha with egcs to Etc/MACHINES, not posted
pws: typeset -T fix, 5247
Bart: parameter scoping docs, 5258
Bart: new mailing lists in Meta-FAQ, 5260
Sven: GLOB_COMPLETE docs, 5261, 5268
Sven: compctl -M and REC_EXACT fixes, 5262
Sven: rewrite of $foo:q, 5265, +doc, 5284
Sven: get matcher number in new completion function, 5266
pws: interrupts in getquery() weren't gracefully handled, 5281
pws-8
Geoff: no ld -g for NetBSD, 5295
Bart: alter local variables and $argv documentation, 5297
Bart: PWD and OLDPWD export confusion (fixing, not creating), 5299
Bart: trashzle() crashed shell with dynamical loading and zle builtin,
5305
Matt: CHAR(+) -> CHAR(43) in zmacros, 5311
Sven: compctl matcher to use reference counts, 5316
Sven: keys available in zle widget functions, 5320
pws: compctl -LM, 5321
pws: revamped signames.c generation, 5326, 5329, plus Matt fix, 5330
Sweth, Bart, Me: Functions/allopt, basically as in 2121 with the odd
emulate and local.
pws: emulate -L, 5332
Sven: printing of zle condition codes, 5335
Sven: Modularisation of new completion shell code, 5341
Sven: ignoring ignored prefix in new conditions, 5342; related fixes,
5343
pws: patch for completion init and __normal, 5344; Sven fix, 5351
pws: "$foo[@]" didn't remove the argument if $foo wasn't set, 5349;
Bart's fix so this works on OSes other than AIX, 5361
Sven: change fignore handling, 5352
Sven: redisplay of completion lists; remove display when completion
failed, 5354
Sven: compadd -R function for suffix removal, 5355
pws: #key-* completions now allow 0 or more key bindings, 5362
pws: Moved Misc/Completion to Functions/Completion; added some of my own
new-style completions: not posted
pws: 5281 now works, 5364
pws: make dependencies for main.o, Makemod, zshpaths.h, 5365
pws-9
Bart: CVS should ignore version.h, 5367
Oliver Kiddle: another change of mailing list host, 5372
Oliver: compctl -T documentation for ~dirs, 5374
Andrej: Reliant UNIX configuration, 5377
Sven: Manual for new completion (so far), 5384, 5397
pws: dump new completion status for fast initialisation, 5393
pws: bug fixlet for __path_files, 5398
Sven: overhaul of do_ambiguous with some bug-fixage, 5399, 5407
Sven: print needs - in Functions/Completion/dump, 5400; auto-dump and use
$COMPDUMP file, 5402
Sven: files -> __files, 5401
pws: magicequalsubst now affects all arguments ...=~...:~..., 5403
pws: set -x output for [[ ... ]], 5408
pws: IRIX 6.5 problems in Etc/MACHINES (see 5410 from Helmut Jarausch).
Sven: 5412: better matcher control.
Sven: 5415: anchors in matchers shouldn't match variable part of completion
Sven: 5417: multiple subscripts with undefined array
Sven: 5418: small addmatches fixes
pws: 5421: setting same element of assoc array in full array assignment crashed
Sven: 5422: braces in completions were not tokenized; array parameters were
used uncopied
Sven: 5423: compadd accepts either - or -- to end options
Sven: 5424: addmatches fix when not doing matching
pws: 5425: fix pattern matching for new completion
Sven: 5429: $CONTEXT strings
Sven: 5430: rewrite Functions/Completions with simplified syntax (no #array
type completions).
pws: 5436: set -x for function calls and ((...)).
pws: unposted (but see 5440): zftp changes: more return 6's, functions now
do auto-open and avoid subshells.
pws-10
Martin Buchholz: 5448: libc.h can't be included on Debian Linux, so only
include it on NeXT where it's necessary.
Matt: 5330: I've put this back the way it original was. I hate sed almost
as much as awk.
Sven: 5455: keep track of which matcher specification to use
Sven: 5466: compwid manual for -after and -between
Sven: 5467: expn manual typo
Sven: 5469: init fix and Functions/Completion/_comp_parts
Sven: 5470: new completion conditions didn't handle untokenization
consistently.
Sven: 5471: range code knows not to handle associative arrays
Sven: 5476: quoting of tildes in Functions/Completion/_path_files
Sven: 5483: completeinword fixes
Sven: 5489: control for matching in _path_files and _comp_parts
Sven: 5490: unset test for AA elements when substituting
pws: unposted, see 5503: remove dynamic=no from configure.in when
underscore is needed.
pws: 5508: init and dump, globbing and printing.
Sven: 5511: make sure compctl is available for new completion
Sven: 5512, 5525: globcomplete fix for new completion
Sven: 5521: improved option handling for _path_files
Sven: 5529: cleanup for Functions/Completion
pws: 5531: small init fix
pws: 5538: approximate pattern matching, (#a1)readme etc.
Sven: 5543: compadd -X, zshcompwid manual
Sven: 5544: another completion cleanup
pws: 5545: silly set -x mistake
Sven: 5547: group handling -J/-V in compadd
Sven: 5548: _path_files, _comp_parts
Matt: 5553: under _WIN32, .exe suffix is optional for commands
pws: unposted: Functions/Completion moved to Completion; subdirectories
Core, Base, Builtins, User, Commands created; Completion/README created.
pws-11
pws: 5557: configure.in for making sure signals really are defined in the
file found. This was in pws-10, but the patch didn't appear on the list
for four days.
Larry P. Schrof: 5550: last -> previous in history documentation
pws: 5559: cd /.. doesn't show .. (except if RFS was detected).
Sven: 5560: subscripting fixes in params.c: flags for scalars and
converting integer AA element to string
pws: 5561: attempted (untested) fix for QNX4 compilation; halloc() is now
zhalloc(). (By private email from probin@qnx.co.uk, it seems the QNX
problems are more considerable with 3.1.5.)
Sven: 5564, 5577, 5579: massive new completion reworking with $words,
$compstate, etc., etc.
Sven: 5565, 5576: $NUMERIC gives the numeric argument in a zle widget
Sven: 5566: $foo[(b.<index>.i)<match>] starts searching $foo for for
<match> at <index>
Sven: 5571: Functions/Builtins/_cd tests if $cdpath is set
Sven: 5574, 5578: Completion/README notes
Sven: 5582: _path_files will expand /u/ -> /usr/ even if /u exists if
nothing later on would match otherwise (got that?)
pws: 5583: post-patch restructuring of _mh, _zftp, _most_recent_file.
Sven: 5586: addmatch fix (old completion wasn't working)
Sven: 5588: fix _most_recent_file idiocy
Sven: 5590: compadd -p, -s and -P fixes
Sven: 5593: _path_files -w
Matt: 5596: Makefile dependencies for module compilation
pws; 5597: Use separate file mymods.conf for your own builtin modules
rather than the automatically generated modules-bltin.
Sven: 5598: a neater way of handling compadd -p/-P
Sven: 5599: _comp_parts, _path_files tweaks
Sven: 5601: compstate[exact_string] and compstate[total_matchers]
pws: 5602: _tar
Sven: 5603: compstat[pattern_match]
Sven: 5604: approximate completion. (this is it. every other shell is out
of the game.)
Sven: 5605: explanation listing fix
Sven: 5613: copy scalar variable used for compgen -y
Bart: 5614: Completion/Base/_match_test works out of the box
Sven: 5620: fix for completion inside expansible braces
Sven: 5621: manual for nmatches and matcher
Sven: 5622: zshcompwid manual: clarifications
Sven: 5623: -X strings with compadd were mishandled
Sven: 5624: CCORIG required to be offered original string when correcting
using COMPCORRECT
pws: 5628: _builtin, _cd, _most_recent_file
Sven: 5629: approximate correction patches
Sven: 5631: compilation warnings
Sven: 5634: return values for compgen and compadd
Sven: 5637: mustuseheap check in complistflags
Sven: 5640: _multi_parts, _path_files, _tar
Sven: 5647: _multi_parts doesn't replace so many *'s
Andrej: 5650: more tricks with _configure
Sven: 5651: widespread completion fixes
Sven: 5659: globcomplete changes
Sven: 5662: / following brace parameter
Sven: 5663: compctl -i _completion_function
Sven: 5665: return values from completion functions
Sven: 5666: calling inststrlen() with a null string
pws: from autoconf 2.13: new config.sub
pws-12
Sven: 5670: parameter completion fix
Sven: 5671: another small parameter fix for multiple braces
Sven: 5675: tidying up for zle_tricky.c
pws: from autoconf 2.13: new config.guess, too.
Sven: 5676: all Completion example functions return a status
Sven: 5677, 5679: Completion/User/_long_options and consequent upgrades for
Completion/User files which use long GNU-style options.
Sven: 5682: bindkey fix
Sven: 5692: remove compstate[matcher] test from _long_options
Sven: 5696, 5697: "${${path}[1]}" indexes on characters again
Sven: 5698: array indexing in _long_options and _multi_parts
Sven: 5699: matching prefixes of various sorts
Sven: 5701: _main_complete, _multi_parts, _path_files, a few cosmetic
changes.
Sven: 5704: _long_options
Sven: 5707: tokenization changes
Sven: 5708: completion manual, -M anchors must be matched explicitly
Sven: 5710: zle_tricky.c, completion inside words
Sven: 5712: _path_files, noglobcomplete fix
Sven: 5713: zle_tricky.c, interesting code specimen made extinct
Sven: 5714: _path_files: failed completions get left alone more often
Sven: 5716: zle.h, zle_misc.c, zle_tricky.c: iremovesuffix() can be told
whether to keep a list of matches
Andrej: 5719: _bindkey can use - as anchor for wildcard matching
Will Day: 5724 (+postprocessing, 5741): signames2.awk: match extra spaces
if produced by CPP.
Sven: 5726: zle_tricky.c: ctokenize() fix and parameter completion
pws: 5729: _bindkey doc
Sven: 5732: _a2ps, _long_options
Sven: 5736: completion before = in assignment
pws: 5737: ${foo#* } is more efficient in ordinary cases
Sven: zsh-users/2211 (+ p -> s): setopt -m handles underscores and case
sensitivity
Lehti Rami: 5754: --disable-restricted-r stops the shell becoming
restricted when its name starts with r
Sven: 5756: compstate[force_list]
Sven: 5757: compconfig
Sven: 5758: _path_files accepts -q, -r and -R options
pws: www archive: updated Etc/FAQ finally, keep forgetting
Sven: 5759: math environment fixes
Sven: 5761: remove unnecessary compiler warnings in compctl.c
Sven: 5766: _path_files closer to compctl/compgen behaviour
Sven: 5770: _path_files again
Sven: 5775: correcting completion will not ignore everything the user has
typed; prefix quote fix
pws: 5776: untested patch for typeahead problems when reading multiple
lines of input
pws: unposted archive changes: .distfiles in Completion hierarchy, dunno
what these do but it looks better; _comp_parts is now _sep_parts; moved
_long_options into Base and mentioned it in Completion/README.
Geoff: 5779: correct mistakes some bozo (guess who) made testing rlim_t for
long long.
pws-13
pws: 5780: Completion/Base/_brace_parameter change
Sven (reposted by Bart): 5783: zerr() sets errflag even if noerrs is set
Sven: 5795: parsing change for assignment and arrays in nested
substitution.
Sven: 5796: globcomplete shouldn't always turn on menucompletion
pws: 5797: set CLOBBERS_TYPEAHEAD for Irix; old config.guess change for
Reliant UNIX and Apple Rhapsody re-imported from old config.guess.
Sven: 5800: _path_files; path altered when no possible match
Sven: 5804: _pdf
Sven: 5811: put back _multi_parts which got left out when it was moved into
Core.
Sven: 5818: parameter name in subscript which looks math-like; _subscript.
Sven: 5829: clear the completion list in more zle functions
Sven: 5830: in ${#:-stuff}, stuff is treated as a single word (unless split
for some other reason).
Sven: 5831: in subscripts and math environments, the whole string is always
passed down to the function handler.
pws: 5844: don't set errflag if noerrs = 2.
Sven: 5852: warnings about _long_options
pws: 5854: man page dependencies in Doc/Makefile.in
Sven: 5862: _path_files (turning on menu) and _cd (include . in path)
pws: 5863: substitution rules
pws-14
Bart: 5868: expn.yo fixes
Sven: 5871, 5875: big zle_tricky.c cleanup, with compstate changes and
IFSUFFIX
Sven: 5872, 5881, 5889: corresponding Completion function rewrite
Sven: 5879, 5899: completion documentation
Sven: 5890: _match completer
Sven: 5895, 5898, 5906: fix completion prefixes
Sven: 5904: print local for parameters
pws: 5905: _main_complete should at least try to get _unset_options correct.
Sven: 5912: compiler warnings
Sven: 5913: zle -C test
Sven: 5914: _main_complete takes optional completer arguments
pws: 5915: minor type fixes
Sven: 5916: _expand completer
Sven: 5918: _list completer
Sven: 5925: path_expand
Sven: 5926: $HISTNO
Sven: 5928: copy context in zle_tricky
pws: 5931: more parameter substitution rules
Sven: 5933: don't complete local parameters; _setopt/_unsetopt complete all
options (code to use currently unset/set options remains in comments)
pws: 5934: option GLOBAL_RCS_FIRST runs /etc/z* files before user's files.
Sven: 5936: replace modifying completion tests with compset
Sven: 5938, 5937: compset to replace modifying conditions
Sven: 5940: move cursor
Sven: 5942: spaces in file names with old completion
Sven: 5947: completion functions fix
pws: unposted: updated .distfiles under Completion
pws-15
Sven: 5955: more compstate choices: list_max, last_prompt, to_end
Bruce: 5958: _make
Sven: 5959: quoting characters in completion
Sven: 5960: $PREBUFFER: lines before current $BUFFER
pws: 5965: _correct_word
Sven: 5968: fix brace re-insertion problem in completion
Sven: 5969: clear to end of display optimization (may need modifying for
some terminals)
Sven: 5970: completion fix compilation; #defcomp is now #compdef
Sven: 5971: shell code control over re-using existing completion lists
Sven: 5972: compconf without arguments lists; _compalso takes extra
arguments
Sven: 5981: bit masks in comp.h
Sven: 5982: menu behaviour
Sven: 5983: documentation for Completion/ system (compsys.1).
Sven: 5986: compstate[insert]
Sven: 5995: should fix 5969
Sven: 5996: compsys.yo, special contexts
Sven: 5999: ~foo<TAB> completes with /
Bart: 6002, 6003: in ${foo/#bar/thing}, the `#' can appear from
substitution and can be quoted
Sven: 6005: Misc/compctl-examples altered for latest (more consistent)
nested parameter expansion rules
Sven: 6008: %{ works in completion listings
Sven: extracted from 6009: chunk for getmatcharr()
Sven: 6010: _match_pattern and _match_test replaced by options to compadd
(and deleted from distribution)
Sven: 6011: compadd uses first (not last) occurrence of an option
Sven: 6013: pass ignored prefix and suffix in _path_files
Andrej: 6017 (ex 6014): -i and -s options for _long_options
pws: 6016: compinit and _zftp
pws: 6018: (#l) and friends with a trailing / on the glob pattern always
failed
Sven: 6021: _path_files expanding path fix
Sven: 6026: _path_files slight rewrite for speed
pws: 6030: compsys.yo
Sven: 6031: defcomp -> compdef
pws-16
pws: 6053: compwid.yo
Sven: 6056: compwid.yo
Sven: 6058: small changes in _path_files, compinit and documentation
Sven: 6060: don't invalidatelist() in zle_main.c before calling completion
functions
Sven: 6062: test whether using the same widget when doing menucompletion
Sven: 6066: create list of modules built into the base executable
pws: 6070: ~ in character class in parentheses with extendedglob failed
pws: 6074: zftp function suite moved to Functions/Zftp and provided with
documentation.
Sven: 6077: do_single() fix for old completion
Tanaka Akira: 6078: _find syntax error
Sven: 6079: compwid.yo typo
pws: zsh-announce/94: FAQ and FAQ.yo updated
Tanaka Akira: 6085: _make can hang when no [mM]akefile
Tanaka Akira: 6092: _find, bad glob pattern
pws: 6101: multi-line prompt ending in '\n' got another newline
pws-17
Geoff: 6104: multi-line prompt fix (6101 backed off)
Sven: 6105: _make patch whitespace
Bart: 6106: short documentation fixes in expn.yo, options.yo, redirect.yo
Sven: 6109: completion in parameter assignment should set context `value'
Sven: 6113: compadd -D, nuke element in an array for each failed match
Sven: 6117: position of ignored suffix in inserted match
pws: 6118: _closequote and _oldlist completers
Sven: 6119: don't insert word separator before ignored suffix
Sven: 6121: try harder with braces after a parameter expansion
Sven: 6124: menu completion wasn't consistent between tabs
Sven: 6128: completion after an expansion; list after a non-completion list
Sven: 6129: comments for struct cadata
Ville Herva: 6131, see 6126: reset tv.tv_sec before select for Linux
Sven: 6132: compctl.mdd
Sven: 6133: autoloaded parameters
Sven: 6150: alwayslastprompt sometimes failed in M-x
Sven: 6152: compstate[vared]
Sven: 6153: realparamtab to smooth access to autoloaded parameters
Bart: 6162: autoloadable parameter code links without dynamic loading
pws: 6165: globsubst'd foo='~/bin' depended on extendedglob being set
Sven: 6167: show unloaded parameters as undefined
Bart: 6171 as rewritten in 6174: old RedHat Linux doesn't have normal
definitions for poll.
pws: 6180: Completion/Core/compinstall
pws-18
Bart: 6188: compinit speedup
pws: 6193: [un]setopt shouldn't complain when setting an unsettable option
to the value it already has
Sven: 6194: complete assoc array arguments by default where necessary
Sven: 6195: _expand_word and _correct_word change.
Sven: 6197: off by one error parsing assignment in completion
pws: 6202: trivial _correct_filename change, ^Xc -> ^XC
pws: 6205: use FIONREAD wherever defined, read chars immediately into
buffer
Bart: 6213: race condition in $(...), use waitforpid() instead of
unblocking child (which shouldn't happen until later).
Tanaka Akira: 6219: initialize a variable in zle_tricky.c
Wayne: 6220: various compilation warnings
pws: 6224: alter 6205 to read chars only when necessary, but ensure
terminal is set appropriately.
pws: 6227: configuration for large file support (from bash aclocal.m4).
pws: 6235: unset -m shouldn't restore unset parameters; unsetting a global
should remove it from paramtab even inside a function.
Wayne: 6236: history changes to improve management of duplicate lines,
incremental history read/write, and sharing history
pws: 6237: window size code upgraded from 3.0.6-pre2, plus Bart's patch
4447.
pws: 6238: Wayne's share_history option set in ksh emulation
pws: 6239: need space after incrementalappendhistory for kshoptionprint
pws: 6240: a pipeline ending in a builtin didn't attach to the tty pgrp.
Wayne: 6241: history editing can use foreign history commands; history
appended in hend() instead of hbegin()
Sven: 6046: nested parameter expansions can return either arrays or
scalars.
pws: 6246: doc changes for 6046, plus subscripts done properly
Sven: 6249: fix for 6046 (problem showed up with $(...))
Wayne: 6255: more history: zle toggle between local/global history; `zle
widget' can now take a direct numeric argument; small tweaks
pws: 6257: rewrite 6240 for any old builtin structure after the pipeline
pws: 6258: yet another attempt at the same problem
pws: 6259: second version of compinstall
pws-19
pws: 6263: incrementalappendhistory -> incappendhistory
Sven: 6268: parameter module for access to internal tables
pws: 6284, should have been in 6269: changes to large file support
pws: 6271: make sure -D_LARGEFILE_SOURCE is defined any time there are
other -D's for large file support
pws: 6272: correct even more mistakes some bozo (guess who) made with
rlim_t: put back RLIM_T_IS_UNSIGNED code.
Tatsuo Furukawa: 6273: don't need to defined _POSIX* flags specially on HPUX
Tatsuo Furukawa: 6274: updated form of zle_refresh patch
Sven: 6278: fix ${$(foo)...} to produce an array
Sven: 6283: compadd -U didn't quote characters properly
Sven: 6285: tty/job handling when executing some command in current shell
code within RHS of pipeline
pws: 6290: parameter module uses global scope, $parameters gets
unreadonlied, gcc warning
pws: 6291: zftp only checks for system type after login.
pws: 6294: typeset -U MANPATH performs uniqueness test straight away
Sven: 6298: (mult_isarr) ${*:-word} didn't use the default word
pws: 6299: if called as su* or -su*, zsh doesn't do sh emulation
Sven: 6301: expanded ignored prefix ignored for testing
Sven: 6302: more list_pipe intricacies
Tanaka Akira: 6303: _path_files: find files after symbolic link
pws: 6307, 6312: wider support for 64-bit integers on 32-bit architectures
pws: 6313: fix 6299 to use $SHELL to decide emulation
pws: 6314: in something like `{ false; } || true', errexit shouldn't be
used at all on the left of the ||
pws: unposted: updated some .distfiles
pws-20
Sven: 6318: memory fixes for parameter module (and compctl).
Sven: 6322: reverse indexing of nested arrays
Sven: 6326: compadd -r and -R work on automatically added suffixes, too
pws: 6330: rewrite configuration system to use AC_SUBST_FILE instead
of including files by ed trickery (ed is now no longer required).
pws: 6331: protect against null hash tables in parameter module
pws: 6332: mapfile module
pws: 6335: now you can do ${(f)"$(...)"} to get arrays
pws: 6340: INSTALL didn't work if it was install-sh after 6330
Sven: 6343: test length of anchor in partial word matching
pws: 6345: Config/defs.mk is now in build tree, not source tree
pws: 6346: msync() missing from mapfile.c, somehow
Sven: 6352, 6354: more quoting in completion
Sven: 6355: ALL_EXPORT crashed the shell if set on command line
Bart: 6368: don't use cp -f, use rm -f in configure.in
Bart: 6369: fix use of relative paths in compinstall
Sven: 6374: autoremove behaviour on -r and -R, documentation
Sven: 6388: completion in braces removes later arguments
|