forked from zsh-users/zsh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
11558 lines (7364 loc) · 378 KB
/
ChangeLog
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
2017-05-08 Peter Stephenson <p.stephenson@samsung.com>
* 41060: Src/parse.c, Test/A04redirect.ztst: combination
of HERE document and |& was broken by miscounting wordcode owing
to missing flag.
2017-05-04 Daniel Shahaf <d.s@daniel.shahaf.name>
* 41038: NEWS: Document recent, backwards-compatible precommand
modifiers changes.
2017-05-03 Peter Stephenson <p.stephenson@samsung.com>
* 41043: Src/exec.c: Close pipes in shell if disowning
backgrounded job with &!.
2017-05-02 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Functions/Zle/insert-unicode-char: use typeset -g to
avoid warnnestedvar warning.
2017-04-28 Peter Stephenson <p.stephenson@samsung.com>
* 41020: Src/exec.c, Test/A01grammar.ztst: "command -p" was
broken by 41008, also add more tests for precommand modifiers.
2017-04-27 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 41012: Src/builtin.c, Src/exec.c, Src/signals.c,
Test/C03traps.ztst: Fix early exit from nested functions in EXIT
trap. Drive-by fix of testing for need to exit if exiting when
already in EXIT trap for main shell --- we should just leave
immediately.
2017-04-27 Peter Stephenson <p.stephenson@samsung.com>
* 41016: Test/A01grammar.ztst: test that quoted precommand
modifiers now work.
2017-04-26 Oliver Kiddle <opk@zsh.org>
* unposted: Completion/Unix/Command/_dbus: fix syntax on line end
* 40965 (tweaked c.f. 40968): Completion/BSD/Command/_portmaster,
Completion/Debian/Command/_a2utils, Completion/Debian/Command/_apt,
Completion/Debian/Command/_lighttpd,
Completion/Debian/Command/_lintian,
Completion/Debian/Command/_wajig,
Completion/Debian/Type/_deb_architectures,
Completion/Debian/Type/_debbugs_bugnumber,
Completion/Linux/Command/_ethtool,
Completion/Solaris/Command/_svcadm,
Completion/Solaris/Command/_svccfg,
Completion/Solaris/Type/_svcs_fmri,
Completion/Unix/Command/_cdrdao, Completion/Unix/Command/_darcs,
Completion/Unix/Command/_iftop, Completion/Unix/Command/_lha,
Completion/Unix/Command/_lsof, Completion/Unix/Command/_pkg-config,
Completion/Unix/Command/_rrdtool, Completion/Unix/Command/_stgit,
Completion/Unix/Command/_tcpdump, Completion/Unix/Command/_texinfo,
Completion/Unix/Command/_units, Completion/Unix/Command/_yafc,
Completion/Unix/Type/_absolute_command_paths,
Completion/X/Command/_setxkbmap, Completion/X/Type/_xft_fonts,
Completion/Zsh/Command/_fc, Completion/Zsh/Context/_value,
Completion/Zsh/Function/_add-zle-hook-widget,
Completion/Zsh/Function/_add-zsh-hook:
fix for missing local declarations of expl
2017-04-26 Peter Stephenson <p.stephenson@samsung.com>
* 41008: Src/exec.c, Src/linklist.c, Test/A01grammar.ztst,
Test/E01options.ztst: Handle expansions when analysing
precommand modifiers.
2017-04-26 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 41006: Completion/Unix/Command/_ls: add new options for BSDs,
fix a few problems on Linux, etc.
2017-04-23 Daniel Hahler <zsh@thequod.de>
* 40943: Completion/Unix/Command/_git: __git_recent_commits: prefer
recent commit objects.
2017-04-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 40995: Src/lex.c, Test/D08cmdsubst.ztst: we need to expand
aliases when identifiying the end of a command substitution as
sometimes we can hit a parse error before.
2017-04-23 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 40994: Src/utils.c: unmeta_one() need not count Meta
2017-04-21 Peter Stephenson <p.stephenson@samsung.com>
* 40990: Src/params.c: When starting in sh emulation, don't
link PATH-style parameters to array equivalents. Don't
check linkage when exporting colon-separated parameter.
2017-04-18 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40973: Completion/Unix/Type/_remote_files: Fix completion of
remote files that start with a hyphen/minus.
2017-04-15 Barton E. Schaefer <schaefer@zsh.org>
* 40977: Src/init.c: "emulate" disallows "--help" and "--version"
2017-04-10 Peter Stephenson <p.stephenson@samsung.com>
* Orlov Sergey: 40935: Src/utils.c: User names need metafying as
they can contain multibyte characters on some systems.
2017-04-07 Bart Schaefer <schaefer@zsh.org>
* 40940: Src/cond.c: untokenize names of condition features
before attempting to look up the definition from a module.
Necessary because of 40760 (tokenization of '-' as Dash).
2017-04-05 Daniel Shahaf <d.s@daniel.shahaf.name>
* users/22653: Doc/Zsh/options.yo: Clarify REMATCH_PCRE
semantics.
2017-04-04 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 40933: Src/exec.c: we need job text in sourced files in case
of suspending.
2017-04-03 Peter Stephenson <p.stephenson@samsung.com>
* 40932: Src/params.c, Test/D06subscript.ztst: parameter
subscripts need to count parentheses to avoid terminating early.
2017-04-02 Barton E. Schaefer <schaefer@zsh.org>
* 40929 (replaces 40598): Src/subst.c: paramsubst() should always
return scalar when PREFORK_SINGLE was passed in from prefork()
2017-04-01 Barton E. Schaefer <schaefer@zsh.org>
* Sebastian: 40782: Completion/Unix/Type/_hosts: avoid dependency
on zsh/regex module
2017-03-30 Peter Stephenson <p.stephenson@samsung.com>
* Dag-Erling Smørgrav: 40915: Completion/BSD/Command/_kld: fix
breakage.
* Sebastian: 40909: Test/D04parameter.ztst: stress test for
parameter substitution.
2017-03-27 Peter Stephenson <p.stephenson@samsung.com>
* 40906: Doc/Zsh/expn.yo: array subst needs [*] or [@] with
KSH_ARRAYS. Note this for (k) flag.
2017-03-24 Peter Stephenson <p.stephenson@samsung.com>
* Alexandre Rames: 40878: Completion/Unix/Command/_stgit:
additional squash command completion.
* Aaron Schrab: 40892: Functions/Misc/run-help-ip: subcommand
matching for ip help.
2017-03-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 40891: Src/glob.c, Test/D04parameter.ztst: another similar fix
for zero-length matches at the end of a string.
2017-03-23 Peter Stephenson <p.stephenson@samsung.com>
* users/22601: Src/glob.c, Test/D04parameter.ztst: problem matching
pattern against zero-length string in parameter substitutions.
2017-03-21 Peter Stephenson <p.stephenson@samsung.com>
* 40875 (Martin Krafft): change description of REC_EXACT option.
* 40821: Test/V11db_gdbm.ztst: Note this contains UTF-8
characters and fix name.
2017-03-20 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted (after 40859): Doc/Zsh/contrib.yo: Fix yodl warning.
2017-03-19 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40859: Doc/Zsh/contrib.yo: vcs_info docs: Use proper internal
links through texinfo nodes.
2017-03-18 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Doc/Zsh/contrib.yo: vcs_info quilt: Fix documentation
markup typo.
2017-03-16 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40855: Completion/Unix/Command/_dmidecode: Fix _arguments
syntax error.
2017-03-14 Oliver Kiddle <opk@zsh.org>
* 40843: Completion/Unix/Command/_ruby: update options for
ruby 2.4.0p0
* 40842: Completion/Unix/Command/_basename,
Completion/Unix/Command/_cat, Completion/Unix/Command/_date,
Completion/Unix/Command/_df, Completion/Unix/Command/_fmt,
Completion/Unix/Command/_locate, Completion/Unix/Command/_ls,
Completion/Unix/Command/_nm, Completion/Unix/Command/_paste,
Completion/Unix/Command/_readelf, Completion/Unix/Command/_sed,
Completion/Unix/Command/_strip: update completions for coreutils
and similar utilities, also improving BSD and Solaris support
2017-03-14 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40818: Completion/Unix/Command/_git: _git-checkout: When
completing local heads, prefer recently-checked-out ones. (after
38592)
* 40817: Completion/Unix/Command/_git: __git_recent_branches:
Retrieve less data, but faster.
* 40822: Doc/Zsh/contrib.yo: vcs_info quilt: Document the
'.quilt-foo' zstyle context element. (Compare users/20807.)
2017-03-12 Oliver Kiddle <opk@zsh.org>
* Wieland Hoffmann: 40837: Completion/Unix/Command/_pgrep:
add -w on Linux
2017-03-12 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40816: Doc/Zsh/builtins.yo, Test/D01prompt.ztst: Document
interaction of 'print -P' and 'print -f'.
2017-03-12 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 40820: Test/V09datetime.ztst: add a few tests of strftime,
related to 40681
2017-03-11 Barton E. Schaefer <schaefer@zsh.org>
* 40832: Src/subst.c: fix $x:P when PWD=/
2017-03-11 John Leuenhagen <john@zlima12.com>
* unposted (github pull request #15):
Completion/Unix/Command/_ip: fix a small typo in `ip`
corrections file
2017-03-10 Oliver Kiddle <opk@zsh.org>
* 40824: Completion/Unix/Command/_grep: completion handling
of option deviations between different systems
* 40823: Completion/Linux/Command/_sshfs: update for sshfs 2.8
2017-03-10 Peter Stephenson <p.stephenson@samsung.com>
* 40819: Src/glob.c: Fix IS_DASH() test in BRACE_CCL handling.
2017-03-10 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* unposted: Src/Modules/tcp.c: silence compiler warnings on Cygwin
* unposted: Src/hashtable.c: declare file local variables as static
2017-03-09 Barton E. Schaefer <schaefer@zsh.org>
* Fabian Klotzl: 40808: Completion/Linux/Command/_mdadm,
Completion/Unix/Command/_git, Completion/Unix/Command/_grep,
Completion/Unix/Command/_hg, Completion/Unix/Command/_java,
Completion/Unix/Command/_ls, Completion/Unix/Command/_mysql_utils,
Completion/Unix/Command/_rake, Completion/Unix/Command/_user_admin,
Completion/Unix/Command/_wget, Completion/Unix/Command/_zpool:
fix typos where (x,y) should have been (x y) in _arguments syntax
* 40801: Completion/Unix/Command/_mount: turns out that work of
art removed by 33963 was necessary after all: re-fix completion
of mount points with spaces in the name
2017-03-09 Peter Stephenson <p.stephenson@samsung.com>
* 40805: (combined with the previous change):
Test/D04parameter.ztst: Check that $- and ${-} produce a
plausible result.
* Sebastian: 40803 as modified in 40804 and 40806:
Test/D04parameter.ztst: check for the (z) split flag on some
partly binary data that might be problematic.
* 40796: Src/exec.c: We don't want magic '=' expansion if we are
already parsing a separate variable name and value.
2017-03-08 Barton E. Schaefer <schaefer@zsh.org>
* 40799: Src/params.c: fix $- expansion partly broken by 40760
* 40763: Src/Zle/compmatch.c, Src/Zle/computil.c, Src/utils.c:
count wide characters and Cmatcher pointers more sanely in
cfp_matcher_pats(), and count characters in pattern_match()
the same way to stay in sync; might not fix wide-char matching
in completion matcher-lists but should avoid wild pointer crash
2017-03-08 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40745 + 40753: Src/init.c, Src/params.c: Fix 'unset
ZLE_RPROMPT_INDENT' not restoring the default behaviour.
* 40744: Doc/Zsh/grammar.yo: Document the SHORT_LOOPS 'function'
syntax.
2017-03-07 Peter Stephenson <p.stephenson@samsung.com>
* Sebastian: 40706: Test/V11db_gdbm.ztst: Fix ordering
dependence in gdbm test.
* 40760: Src/cond.c, Src/exec.c, Src/glob.c, Src/lex.c,
Src/math.c, Src/parse.c, Src/pattern.c, Src/subst.c,
Src/utils.c, Src/zsh.h, Test/D02glob.ztst: Always tokenise '-'
to Dash to eliminate niggles with range matches in complicated
contexts. Match both - or Dash in contexts that don't care.
2017-03-07 Mikael Magnusson <mikachu@gmail.com>
* 40780: Completion/Unix/Command/_mount: Don't use =~ for simple
prefix match
2017-03-05 Barton E. Schaefer <schaefer@zsh.org>
* Sebastian: 40726: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c,
configure.ac: add "zcurses resize" for sane terminal size change
2017-03-04 Barton E. Schaefer <schaefer@zsh.org>
* Sebastian: 40781: Src/params.c, Test/A06assign.ztst: optimize
array assignment, similar to 39995 for string assignment
* 40654: Src/exec.c: exit cleanly from special POSIXBUILTINS in
subshells
2017-03-04 Oliver Kiddle <opk@zsh.org>
* unposted (github): Christoffer Aasted:
Completion/Unix/Command/_ant: allow -Dproperty=/path_complete
* unposted (from Ferenc- via github): Completion/Unix/Command/_gcc:
Add newer C++ standard options to gcc completion
* unposted: Completion/Unix/Command/_tmux: complete 'tiled' layout
* unposted: Completion/Unix/Command/_xz: fix argument to --format
* 40715: Completion/Unix/Command/_git: update for git 2.12.0
* 40597: Completion/BSD/Command/_sysrc,
Completion/Base/Utility/_values: be flexible about order of
options to _values
2017-03-03 Peter Stephenson <p.stephenson@samsung.com>
* Sebastian: 40170: Src/Modules/curses.c: Fix up error number
resetting in curses module. This appears to resolve an issue
mentioned in comments but attributed elsewhere, so remove
confusion here.
* 40173: Test/V11db_gdbm.ztst: don't report an error if gdbm
module doesn't load as this simply causes the test to be skipped.
* 40702: Doc/Zsh/zle.yo, Src/Zle/zle_params.c: add
KEYS_QUEUED_COUNT variable to ZLE parameters.
2017-03-02 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 40681: Src/Modules/datetime.c: strftime builtin should
return 1 if zstrftime() returns -1.
2017-03-01 Peter Stephenson <p.stephenson@samsung.com>
* 40622 (typos fixed): Doc/Zsh/builtins.yo, Src/builtin.c,
Src/math.c, Test/C04funcdef.ztst: add functions -Ms for
mathematical functions with string arguments.
* Sebastian: 40562: Test/V11db_gdbm.ztst: this was missed out of
the previous commit.
2017-02-28 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40641: Doc/Zsh/expn.yo, Doc/Zsh/roadmap.yo: docs: patterns:
Add '|' to the overview. Clarify that it short-circuits.
2017-02-26 Barton E. Schaefer <schaefer@zsh.org>
* 40650: Src/Modules/parameter.c: redo 40508 and 40626 with
comments explaining what is actually going on
2017-02-25 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40644: Src/Modules/parameter.c, Test/V06parameter.ztst:
Revert 40626 which broke tests.
2017-02-25 Barton E. Schaefer <schaefer@zsh.org>
* 40640 (plus doc typo fixed): Doc/Zsh/expn.yo, Src/subst.c: the
(A) parameter flag forces array result even if assignment syntax
is not used
2017-02-25 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Zsh/Context/_brace_parameter: Port 40617
to the completion.
* 40626: Src/Modules/parameter.c, Test/V06parameter.ztst:
Make $options re-settable. [reverted in 40644]
2017-02-23 Barton E. Schaefer <schaefer@zsh.org>
* unposted (cf. 40617): Doc/Zsh/expn.yo: clarify description of
the ${(A)name=value} and ${(AA)name=value} parameter flag uses.
* 40624 (cf. Danek Duvall, 40563): Src/signals.c: conditionally
handle WIFCONTINUED to properly set SP_RUNNING process status
2017-02-23 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 40604: configure.ac, Src/watch.c: revert to the old method if
getutent() is not available
2017-02-21 Barton E. Schaefer <schaefer@zsh.org>
* Julien Nicoulaud: 40586:
Functions/VCS_Info/Backends/VCS_INFO_get_data_git: discard stderr
2017-02-20 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Test/ztst.zsh: use "diff -a" in case special characters
were written to the test output
* 40598: Src/subst.c: paramsubst() should always return scalar
when PREFORK_SINGLE was passed in from prefork()
* Martijn Dekker: 40565 (tweaked): test cases for assigning array
to scalar with various combinations of SHWORDSPLIT and IFS
2017-02-19 Barton E. Schaefer <schaefer@zsh.org>
* 40593: Src/subst.c: SHWORDSPLIT + unset IFS should cause default
splitting of $@ and other array references with (@) or [@]
* 40576 (tweaked): Src/exec.c: entersubsh(): small improvement to
loop that resets trap handlers; unblock any signals that were
blocked for trap handling
2017-02-19 Oliver Kiddle <opk@zsh.org>
* 40569: Completion/Unix/Command/_gphoto2: update to gphoto2 2.5.11
2017-02-17 Peter Stephenson <p.stephenson@samsung.com>
* Øystein Walle: 40568: REMATCH_PCRE option is not enabled by
default.
* Sebastian: 40558, 40562: Doc/Zsh/mod_db_gdbm.yo,
Src/Modules/db_gdbm.c, Src/Modules/db_gdbm.mdd: General
improvements to zsh/db/gdbm module.
2017-02-13 Barton E. Schaefer <schaefer@zsh.org>
* 40539: Fabian Klotzl: Completion/Unix/Command/_gcc: typo in MIPS
branch of argument selection
* 40524: Src/Modules/example.c: do not free a null array
2017-02-13 Peter Stephenson <p.stephenson@samsung.com>
* 40537: Doc/Zsh/builtins.yo: document the foregoing.
* Sebastian: 40536: Src/builtin.c, Src/zsh.h: prepend directory
of function autoload with absolute path to fpath if loading a
function by relative path.
2017-02-10 Oliver Kiddle <opk@zsh.org>
* 40512: Completion/Unix/Command/_entr: new entr completion
* unposted: Completion/Linux/Command/_lsusb: using a colon in
the tag name was not such a good idea
2017-02-09 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40510: Misc/vcs_info-examples, README: vcs_info: Update the
$psvar episode with '%'-unescaping. (Follow-up to 40492.)
* 40492: Doc/Zsh/contrib.yo, Etc/BUGS,
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg,
Functions/VCS_Info/VCS_INFO_set-patch-format, README: vcs_info:
Escape '%' signs in payloads.
2017-02-08 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_subversion: _svn: Fix
'--show-revs' completion.
* 40508: Src/Modules/parameter.c, Test/V06parameter.ztst:
Make $functions re-settable.
2017-02-07 Peter Stephenson <p.stephenson@samsung.com>
* Sebastian: 40507: Src/Modules/db_gdbm.c: remove extraneous
null byte creating records.
2017-02-07 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40494: Completion/Unix/Command/_git: Use slashes matchspec
for references (as already used for branch names).
2017-02-07 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40493/0002: Completion/Unix/Command/_git: _git-checkout:
Reorder default completions.
2017-02-07 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40493/0001: Completion/Unix/Command/_git: _git-checkout:
No functional change.
2017-02-06 Peter Stephenson <p.stephenson@samsung.com>
* Jan Matejek: 40434: Completion/Unix/Command/_patchutils:
update.
2017-02-04 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Doc/Zsh/contrib.yo,
Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git:
Fix typo in manual.
2017-02-03 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40480: Functions/VCS_Info/Backends/VCS_INFO_get_data_git,
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg,
Functions/VCS_Info/VCS_INFO_quilt,
Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info
set-patch-format: Eliminate the remaining code duplication.
* 40479: Functions/VCS_Info/Backends/VCS_INFO_get_data_git,
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg,
Functions/VCS_Info/VCS_INFO_quilt,
Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info
set-patch-format: Prepare for more code sharing between the
callers.
* 40481: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg:
vcs_info hg: Pass arguments to the set-patch-format hook.
* 40478: Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info
set-patch-format: Guard against empty variable elision.
* 40476: Doc/Zsh/contrib.yo, Functions/VCS_Info/VCS_INFO_quilt:
vcs_info $backend_misc: Document at the right point, provide
in quilt 'standalone' mode.
2017-02-02 Peter Stephenson <p.stephenson@samsung.com>
* 40486: Src/Modules/regex.c, Src/params.c: don't warn on
creation of MATCH etc. from regex test as this is implicit.
2017-02-01 Barton E. Schaefer <schaefer@zsh.org>
* 40483 (cf. Eric Freese: 40482): Src/Modules/zpty.c: Remove zpty
exit hook from forked processes
2017-02-01 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40460: Src/params.c, Test/E01options.ztst: WARN_NESTED_VAR:
Don't warn when assigning to a slice of an existing array
2017-02-01 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 40470: Test/D07multibyte.ztst: make the test work also on
OSs which always use ASCII collation (e.g. macOS).
2017-01-31 Peter Stephenson <p.stephenson@samsung.com>
* 40466: Makefile.in: update depencencies so autoheader is run
after autoconf when configuration input files change.
2017-01-30 Barton E. Schaefer <schaefer@zsh.org>
* 40469: Src/Zle/complete.c: change strategy from 40453 to use
patcompile(PAT_HEAPDUP) instead of signal queueing.
2017-01-30 Peter Stephenson <p.stephenson@samsung.com>
* 40465: Test/C04funcdef.ztst, Test/V06parameter.ztst: use
method from cd tests to output current directory.
2017-01-29 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Zhiming Wang: 40450, 40451: Completion/Unix/Command/_swift,
Completion/Unix/Command/_openstack: Add new swift language
completion and attempt to resolve against openstack swift command.
2017-01-28 Barton E. Schaefer <schaefer@zsh.org>
* 40453: Src/Modules/zpty.c, Src/Modules/zutil.c,
Src/Zle/compctl.c, Src/Zle/complete.c, Src/Zle/computil.c,
Src/Zle/zle_hist.c, Src/builtin.c, Src/cond.c, Src/glob.c,
Src/loop.c, Src/options.c, Src/parse.c: signal handler safety
for callers of patcompile(PAT_STATIC), which is not re-entrant.
* 40439: Src/zsh.h: PAT_HEAPDUP definition just for clarity
2017-01-28 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 40440: ../Doc/Zsh/mod_parameter.yo, Modules/parameter.c,
hashtable.c, ../Test/C04funcdef.ztst, ../Test/V06parameter.ztst:
Add $functions_source to zsh/parameter to help find where
functions where loaded from.
2017-01-27 Peter Stephenson <p.stephenson@samsung.com>
* Zach Whaley: 40200: Completion/Unix/Command/_perforce: update
for latest Perforce versions.
* 40425: configure.ac, Src/watch.c: HAVE_* tests for getutxent
etc.
2017-01-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 40423: Src/params.c, Test/E01options.ztst: similar for type
conversion the other way.
* 40422: Src/params.c, Test/E01options.ztst: more
WARN_NESTED_VAR cases that were broken in the original patch.
2017-01-25 Peter Stephenson <p.stephenson@samsung.com>
* 40413: Src/params.c, Test/E01options.ztst: no WARN_NESTED_VAR
warning on bogus parameter created for subscripted assignment.
2017-01-25 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40403/0004: Functions/VCS_Info/Backends/VCS_INFO_get_data_git,
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg,
Functions/VCS_Info/VCS_INFO_quilt,
Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info
set-patch-format helper: Part #4.
* 40403/0003: Functions/VCS_Info/Backends/VCS_INFO_get_data_git,
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg,
Functions/VCS_Info/VCS_INFO_quilt,
Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info
set-patch-format helper: Part #3.
* 40403/0002: Functions/VCS_Info/Backends/VCS_INFO_get_data_git,
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg,
Functions/VCS_Info/VCS_INFO_quilt,
Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info
set-patch-format helper: Part #2.
* 40403/0001: Functions/VCS_Info/Backends/VCS_INFO_get_data_git,
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg,
Functions/VCS_Info/VCS_INFO_quilt,
Functions/VCS_Info/VCS_INFO_set-patch-format,
Functions/VCS_Info/vcs_info: vcs_info set-patch-format helper:
Part #1.
* 40401: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Fix the %c patch-format expando.
* 40396: Doc/Zsh/contrib.yo: vcs_info quilt: More documentation
of '%Q' and 'use-quilt'.
* 40392: Functions/VCS_Info/VCS_INFO_patch2subject: vcs_info
patch2subject: Support `git show` output.
2017-01-24 Mikael Magnusson <mikachu@gmail.com>
* posted: Test/D07multibyte.ztst: Make D07 recognize more
spellings of pl_PL.UTF-8
2017-01-24 Peter Stephenson <p.stephenson@samsung.com>
* 40404: Src/builtin.c: quoting of commands in whence should
only apply to whence -v.
2017-01-23 Peter Stephenson <p.stephenson@samsung.com>
* 40391: Completion/compinit, Doc/Zsh/builtins.yo,
Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c, Src/options.c,
Src/params.c, Src/zsh.h, Test/E01options.ztst: Add
WARN_NESTED_VAR option and functions -W to turn it on similarly
to functions -T.
2017-01-23 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Etc/BUGS: Record users/20807 vcs_info quilt issue.
2017-01-18 Peter Stephenson <p.stephenson@samsung.com>
* 43080: Test/C04funcdef.ztst: a few more tests for autoload
with absolute path.
* 40375: Src/builtin.c, Src/subst.c: autoload with explicit path
mustn't trash already loaded function. Also drive-by removal of
duplicated duplication in =cmd expansion.
2017-01-17 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Completion/Zsh/Command/_typeset: autoload ~... also
completes file.
2017-01-16 Peter Stephenson <p.stephenson@samsung.com>
* 40372: Completion/compinit: turn off POSIX_IDENTIFIERS option
for completion.
* 40369: Src/builtin.c: whence -v should probably quote commands
since it quotes functions.
* 40353 (plus improvement to whence -v): Src/exec.c,
Src/hashtable.c, Src/signals.c: use directory cache where
possible for all functions loaded from directory including
fpath.
2017-01-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 40362: Src/Zle/computil.c: need duplicated values for setting
parameter in compvalues. Was causing obscure but surprisingly
rare crashes in value completion.
2017-01-13 Eric Cook <llua@gmx.com>
* earnestly: 40355: Completion/Unix/Command/_mpc: improve
playlist completion
2017-01-13 Oliver Kiddle <opk@zsh.org>
* 40345: Completion/Linux/Command/_lsusb: update lsusb completion
* 40344: Completion/Linux/Command/_lsblk: new lsblk completion
2017-01-12 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Src/hashtable.c: one missing *name = NULL.
* 40342: Src/builtin.c, Src/exec.c, Src/hashtable.c,
Src/signals.c, Test/C04funcdef.ztst: add directory name cache
for directories recorded for autoload files.
2017-01-12 Peter Stephenson <p.stephenson@samsung.com>
* 40335: Src/builtin.c, Src/exec.c, Src/zsh.h,
Test/C04funcdef.ztst: be more careful autoload filename is
directory, not source location.
* Jens Elkner: 40333: Src/watch.c: Fix the utmpx interface for
watch as otherwise it failed on some OSes.
2017-01-11 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 40332: Completion/Zsh/Command/_typeset: completion for new
autoload features.
2017-01-11 Oliver Kiddle <opk@zsh.org>
* 40321: Doc/Zsh/compsys.yo, Src/Zle/computil.c,
Test/Y03arguments.ztst: _arguments option groups
2017-01-11 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Src/builtin.c, Src/exec.c: be more careful to free
memory when updating filename in struct shfunc.
* 40327 (with minor fixes): Doc/Zsh/builtins.yo,
README,Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/parse.c,
Src/zsh.h, Test/C04funcdef.ztst: add ability to autoload
function from file using full path, with additional related
autoload options -r, -R, -d and extension to -X.
2017-01-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 40305: Src/Zle/complist.c, Src/Zle/zle_main.c,
Src/Zle/zle_refresh.c, Src/Zle/zle_thingy.c: fix some problems
redisplaying command line after interrupts.
* 40306 with documentation additions: Doc/Zsh/options.yo,
README, Src/input.c, Src/options.c, Src/parse.c, Src/zsh.h,
Test/A02alias.ztst: Add ALIAS_FUNC_DEF option and make
the default behaviour to disallow functions where the
name is expanded as an alias (unless part of a complete
function definition within the alias).
2017-01-10 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40303: Completion/Debian/Command/_bts: Add more subcommands.
2017-01-10 Phil Pennock <zsh-workers+phil.pennock@spodhuis.org>
* 40318 (in part): Doc/Zsh/builtins.yo: Document echo \c
behaviour.
2017-01-10 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40302: Completion/Unix/Command/_swaks: New _swaks completion
(common options only).
2017-01-08 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: LICENCE: Update year to $now (2017).
2017-01-06 Peter Stephenson <p.stephenson@samsung.com>
* m0viefreak: 40285: Src/Zle/zle_hist.c: more care needed
managing patterns in history isearch if there are hooks
around.
2017-01-05 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40270 (after 39995): Src/params.c: Add cross-reference for
robustness.
* 40264: Completion/Unix/Command/_man: Complete all sections
after '-a'.
* users/22320: Etc/BUGS: Add 40240, label 40106.
2017-01-05 Oliver Kiddle <opk@zsh.org>
* 40269: Src/Zle/computil.c, Test/Y03arguments.ztst:
handle option exclusion within current word for clumped options
2017-01-04 Oliver Kiddle <opk@zsh.org>
* 40227: Src/Zle/computil.c, Test/Y03arguments.ztst: new approach
to 39611 (_arguments sets and rest arguments starting with a dash)
* 40226: Src/Zle/computil.c, Test/Y03arguments.ztst:
tidy up some of the _arguments set code
2017-01-03 Peter Stephenson <p.stephenson@samsung.com>
* 40265: Src/pattern.c: fix continuing problems with Meta characters
in pattern that resolves to a string by copying source string.
Triggered by string that (correctly) turned Dash into '-'.
* Paulo Andrade: 40260: Src/prompt.c: Set newly allocated
space in prompt buffer to zero as it may be tested.
2017-01-01 Barton E. Schaefer <schaefer@zsh.org>
* users/22319: Src/subst.c: ${ary1:^ary2} should not change
the isarr state of the expansion of ary1 unless ary1 is made
from a scalar, lest semantics of (@) in double quotes be lost.
2016-12-30 Barton E. Schaefer <schaefer@zsh.org>
* 40248: Src/hist.c: suppress errors from zshaddhistoryhook,
and do not call it if no history entry will be written
2016-12-28 Sebastian Gniazdowski <psprint@fastmail.com>
* 40231: Src/params.c: Optimise setarrvalue().
2016-12-28 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40232: configure.ac: Remove SH_USE_BSD_ECHO autoconf test.
2016-12-27 Barton E. Schaefer <schaefer@zsh.org>
* unposted (see users/22287): Completion/compinit: _comp_options
needs to disable ERR_RETURN along with ERR_EXIT
2016-12-24 Barton E. Schaefer <schaefer@zsh.org>
* Oliver: 40118: Functions/Zle/bracketed-paste-magic: relocate
BUFFER/CURSOR reset to work around "fc -p" issue (alternate fix
replacing 40115).
* unposted: Functions/Zle/bracketed-paste-magic: revert 40115,
thus restoring 38579.
2016-12-22 Oliver Kiddle <opk@zsh.org>
* 40162: Src/Zle/computil.c, Test/Y03arguments.ztst: _arguments
support for a match spec in combination with sets
2016-12-22 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Config/version.mk: Post-release version bump to
5.3.1-dev-0.
2016-12-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk, Etc/FAQ.yo, NEWS, README:
release 5.3.1:
2016-12-18 Baptiste Daroussin <bapt@FreeBSD.org>
* 40210: Completion/Unix/Command/_sysctl: Add support modern
FreeBSD and drop support for FreeBSD < 5
2016-12-18 Baptiste Daroussin <bapt@gandi.net>
* 40209: Completion/BSD/Command/_chflags: Fix typo in chflags
completion
2016-12-16 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40149: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Avoid a fork.
* 40203: Test/B03print.ztst: Resolve 'printf --' question from
grandparent commit (thanks Chet).
2016-12-15 Barton E. Schaefer <schaefer@zsh.org>
* 40198: Test/V10private.ztst: output of B02typeset differs when
(( UID == 0 )) so do not attempt to redo that test in that case
2016-12-14 Barton E. Schaefer <schaefer@zsh.org>
* 40179: Src/builtin.c: fix handling of "printf -" and "printf --"
* unposted: Test/B03print.ztst: regression for 40179 / 37467
2016-12-12 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: update to 5.3-dev-0 to avoid
clash with installed 5.3.
2016-12-10 Barton E. Schaefer <schaefer@zsh.org>
* 40134: Src/builtin.c, Src/Zle/compmatch.c: silence spurious
compiler warnings.
2016-12-10 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40139: Test/Y03arguments.ztst: tests: Convert comments to
diagnostics; test backslashes. (after 40129)
* users/22182: Completion/Zsh/Context/_brace_parameter: Propagate
22161 docs patch to completion descriptions.
2016-12-09 Oliver Kiddle <opk@zsh.org>
* 40137: Doc/Zsh/compsys.yo: document _external_pwds
2016-12-09 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: 5.2-test-3.
* users/22161: Doc/Zsh/expn.yo: the (E) parameter flag is one
after every other use of indexing.
2016-12-09 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40117: Doc/Zsh/compsys.yo, Src/input.c: Revert a hunk of
40035 that changed semantics incorrectly.
2016-12-09 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Test/D07multibyte.ztst: minor typos.
* 40138: Test/D07multibyte.ztst: Put the regex test last as it
has an additional dependency, and note this in a failure
message.
2016-12-09 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40126: Functions/Misc/zed: zed (fned): When editing a new
function. escape its name.
2016-12-08 Oliver Kiddle <opk@zsh.org>
* 40130: NEWS: mention some changes since 5.2
* 40129: Src/Zle/computil.c, Test/Y03arguments.ztst:
revert 39611, add code comments and test cases for _arguments
* c.f. 40119: Src/zsh.h: correct typo in comment
* 40114: Completion/Zsh/Context/_brace_parameter: complete
:/ with other parameter operators
2016-12-06 Barton E. Schaefer <schaefer@zsh.org>
* Zhiming Wang: 40115: Functions/Zle/bracketed-paste-magic:
revert 38579 due to bug restoring BUFFER after history search
* 40110: Test/B02typeset.ztst: ignore strerror text in test
output, it differs by OS
* 40110: Test/C02cond.ztst: discard stderr when looking for
a path to the "mount" command, to avoid spurious test failure
2016-12-06 Mikael Magnusson <mikachu@gmail.com>