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
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
|
2017-07-15 Oliver Kiddle <opk@zsh.org>
* 41431: Completion/Linux/Command/_lsblk,
Completion/Linux/Command/_ss, Completion/Linux/Command/_strace,
Completion/Unix/Command/_diffstat, Completion/Unix/Command/_dig,
Completion/Unix/Command/_dmidecode, Completion/Unix/Command/_irssi,
Completion/Unix/Command/_gsettings, Completion/Unix/Command/_ssh,
Completion/X/Command/_xclip: update options in assorted completions
2017-07-14 Oliver Kiddle <opk@zsh.org>
* Fabian Klötzl: 41414: Completion/Linux/Command/_iptables,
Completion/Unix/Command/_gcc, Completion/Unix/Command/_git,
Etc/completion-style-guide: fix for commas used in exclusion
lists, missing escape for _gcc and --no-index option for git diff
* 41419: Completion/Unix/Command/_git: update for git 2.13.2
2017-07-13 Peter Stephenson <p.stephenson@samsung.com>
* 41420: Src/glob.c, Test/D09brace.ztst: "{.." wasn't checked
properly.
2017-07-11 Peter Stephenson <p.stephenson@samsung.com>
* Marcin Mielniczuk: 41409: Completion/Unix/Command/_django:
complete "django startproject".
2017-07-09 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: update dev version due to
wordcode changes.
* Sebastian: 41402: Src/parse.c: Delay checking tokens in
ecstrcode() as may not be needed.
* Sebastian: 41402: Src/parse.c, Src/zsh.h: Add hasher to
ecstrcode() to reduce string comparisons.
2017-07-04 Peter Stephenson <p.stephenson@samsung.com>
* 41391: Doc/Zsh/jobs.yo, Src/jobs.c, Src/zsh.h: delay disown
for superjob.
* Maxime de Roucy: 41385: Src/Zle/complist.c: Avoid invalid
access with isearch in completion list.
2017-07-03 Peter Stephenson <p.stephenson@samsung.com>
* Sebastian: 41375: Src/Modules/db_gdbm.c: GDBM interface bug fixes.
2017-07-02 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 41386: Src/jobs.c: when backgrounding a STAT_CURSH job, remove
the flag, preventing it getting foreground signals.
* 22760: Src/utils.c, Test/D04parameter.ztst: NO_MULTIBYTE
partial string lengths were reported as full string lengths.
2017-06-27 Peter Stephenson <p.stephenson@samsung.com>
* 41368: Src/Zle/compctl.c: missing unqueue_signals().
2017-06-26 Peter Stephenson <p.stephenson@samsung.com>
* 41345: Functions/Prompts/prompt_walters_setup: use consistent
versions of the prompt variables in prompt themes.
2017-06-22 Peter Stephenson <p.stephenson@samsung.com>
* Axel: 41342: conigure.ac: check for yodl version 4.
* 41339: Completion/Unix/Command/_git: unquote treeish argument
for git checkout completion.
* Phil: 41308, tweaked: Src/Modules/pcre.c, Test/V07pcre.ztst:
Behaviour of PCRE with NULL bytes.
2017-06-19 Barton E. Schaefer <schaefer@zsh.org>
* Mikael Magnusson: 41319: Src/cond.c: dupstring a possibly
readonly string before modifying
* 41322 + comment: Src/input.c: reduce number of changes in signal
queuing/blocking state during shingetline() to improve read speed
* 41317: Src/exec.c: use heap allocation in getoutputfile() to
plug memory leak (cf. Sebastian: 41316)
2017-06-17 Barton E. Schaefer <schaefer@zsh.org>
* 41242: Src/Zle/compcore.c, Src/Zle/zle_tricky.c: zstrbcmp(...)
removed in favor of zstrcmp(..., SORTIT_IGNORING_BACKSLASHES)
2017-06-16 Barton E. Schaefer <schaefer@zsh.org>
* Wieland Hoffmann: 41265: Functions/Zle/insert-files: quote
the inserted file names as necessary
2017-06-13 Eric Cook <llua@gmx.com>
* unposted: Functions/Zle/url-quote-magic: fix typo
in the examples
* Stephane: 41275: Src/Zle/zle_main.c: Leave stdin open
when executing widgets.
2017-06-13 Peter Stephenson <p.stephenson@samsung.com>
* 41284: Src/builtin.c, Test/B01cd.ztst: fix null dereference on
cd with no argument if HOME is not set.
2017-06-12 Peter Stephenson <p.stephenson@samsung.com>
* 41244: Doc/Zsh/builtins.yo, Src/Modules/zftp.c,
Src/Zle/zle_thingy.c, Src/builtin.c, Src/module.c: Add zmodload
-s (silent) option by exposing low-level argument to builtin.
2017-06-09 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Etc/BUGS: Add to Etc/BUGS 41184,41203,41254 about
STTY and about modules.
2017-06-07 Peter Stephenson <p.stephenson@samsung.com>
* 41239: Src/hist.c, Src/zsh.h: Save and restore default history
event on context stack. This prevents expansions in ZLE from
propagating to the command line expansion.
* Sebastian: 41232: Functions/Misc/zed: use terminfo to find
page up/down keys where available.
2017-06-05 Barton E. Schaefer <schaefer@zsh.org>
* 41225: Src/params.c: sethparam() should not attempt to change
special parameters into hashes
2017-06-01 Peter Stephenson <p.stephenson@samsung.com>
* 41191: Src/Zle/textobjects.c, Src/Zle/zle.h,
Src/Zle/zle_keymap.c: Check for .thingy when we check for a
particular thingy.
2017-05-30 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 41177: Completion/Unix/Command/_nm: add support for macOS
and OpenBSD
2017-05-26 Peter Stephenson <p.stephenson@samsung.com>
* 41164: Src/hashtable.c, Src/hist.c, Src/zsh.h: Don't free a
history entry if it's the current line. This replaces 41113.
2017-05-28 Barton E. Schaefer <schaefer@zsh.org>
* Sebastian: 41153: Src/Modules/db_gdbm.c: finish module setup
only after all error conditions have been checked
* Sebastian: 41151: Src/Modules/db_gdbm.c: propagate flags when
creating new parameter
* unposted: Doc/Zsh/mod_complist.yo: clarify ZLS_COLORS pattern
matching contexts
* 41159 (tweaked): Completion/Unix/Command/_ssh: handle "Include"
and "HostName" lines in ~/.ssh/config
2017-05-24 Peter Stephenson <p.stephenson@samsung.com>
* Sebastian: 41146: Src/Modules/db_gdbm.c: be more careful about
freeing strings with embedded nulls.
* Sebastian: 40898: Src/Modules/db_gdbm.c: fix GDBM error handling.
2017-05-23 Peter Stephenson <p.stephenson@samsung.com>
* Stephane: 41142: Src/Modules/system.c: ensure close-on-exec is
applied to moved file descriptor.
2017-05-22 Peter Stephenson <p.stephenson@samsung.com>
* Marko Myllenen: 41087: Completion/Unix/Command/_kvno: Update
completion to MIT krb 1.14.
* Marko Myllenen: 41086: Completion/Unix/Command/_libvirt:
update completion.
* Marko Myllenen: 41085: Completion/Unix/Command/_openstack:
update completion.
* Jörg Sommer: 41128: Doc/Zsh/compsys.yo: typo.
2017-05-19 Peter Stephenson <p.stephenson@samsung.com>
* users/22707: Doc/Zsh/compsys.yo: Document use of
accept-exact-dirs for allowing completion after "magic"
directories.
2017-05-18 Peter Stephenson <p.stephenson@samsung.com>
* 41113 (tweaked): Src/hashtable,c, Src/hist.c, Src/zsh.h: Save
and restore state of linking of current history line into history
ring, to avoid an attempt to free the current history line.
2017-05-12 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 41090: Src/Zle/zle_refresh.c, Src/compat.c, Src/pattern.c,
Src/utils.c, Src/wcwidth9.h, Src/zsh.h, Src/ztype.h,
configure.ac: Replace iswprint() if unicode9 support is enabled.
Enable unicode9 if wcwidth() and/or iswprint() is broken.
2017-05-11 Peter Stephenson <p.stephenson@samsung.com>
* 41096: Src/string.c: Fix dupstring_wlen() for unmetafied
string. It's not safe to assume null termination.
2017-05-09 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Test/D02glob.ztst: Adding comment to test changed
line number in output.
2017-05-09 Peter Stephenson <p.stephenson@samsung.com>
* 41081: Src/utils.c, Test/D02glob.ztst: Symlink expansion
didn't test all buffer length calculations.
* 41078: Src/prompt.c, Test/D01prompt.ztst: Empty psvar could
cause bad reference in prompt expansion.
2017-05-08 Peter Stephenson <p.stephenson@samsung.com>
* 41059: Completion/compinit: use 2>&- to avoid error in
restricted shell.
* 41073: Src/parse.c, Test/A04redirect.ztst: off-by-one error
checking for {varid} syntax.
* users/22688: Src/parse.c, Test/A04redirect.ztst: Allow mixing
of redirections and arguments after anonymous functions.
* 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>
* 40107: Completion/Linux/Command/_fusermount,
Completion/Unix/Command/_mount: fix quoting
2016-12-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: 5.2-test-2.
2016-12-05 Peter Stephenson <p.stephenson@samsung.com>
* 40102: Test/ztst.zsh, Test/C02cond.ztst: create test IO
files in newly created temporary directory.
* 40100: Test/C03traps.ztst: Check ERR_EXIT and ERR_RETURN on
anonymous functions: should exit on function return even if
suppressed internally.
* 40097: Src/exec.c, Test/C03traps.ztst: Don't trigger ERR_EXIT
or ERR_RETURN on non-zero status after current shell group, either.
* 40096: Src/exec.c, Src/loop.c, Src/zsh.h, Test/C03traps.ztst:
Don't trigger ERR_EXIT or ERR_RETURN on non-zero status after
shell construct.
2016-12-04 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Handle rebase-apply sequences with >=10000 patches.
* 40074: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: rfc822-unfold rebase-apply patch subjects when
msg-clean is unavailable.
2016-12-04 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 40088: Test/D04parameter.ztst: attempt to make output from
interactive test more robust.
2016-12-03 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Test/D04parameter.ztst: regression test for 40071
* 40071: Src/subst.c: change Dash back to "-" before evaluating
named directory expansions
2016-12-03 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40068: Src/params.c, Test/B02typeset.ztst: Abort execution
when setuid/setgid fail.
* 40067: Src/Zle/comp.h, Src/Zle/complete.c, Src/params.c:
internal: Document 'cmatcher', parse_cmatcher(), 'comptoend',
unsetparam_pm(), and getindex().
2016-12-03 Daniel Hahler <zsh@thequod.de>
* 40029: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
Get subject of current patch in rebase-apply mode
2016-12-02 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: 5.2-test-1.
* 40066: Etc/FAQ.yo, README: updates for 5.3 release.
2016-12-01 Oliver Kiddle <opk@zsh.org>
* 40055: Completion/Unix/Command/_git: update for git 2.11.0
* 40053: Completion/Base/Completer/_external_pwds: exclude
current directory of active zsh from completion matches
2016-12-01 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Functions/VCS_Info/VCS_INFO_patch2subject,
Functions/VCS_Info/VCS_INFO_quilt, Functions/VCS_Info/vcs_info:
vcs_info: Break out VCS_INFO_quilt-patch2subject into
VCS_INFO_patch2subject
2016-12-01 Mikael Magnusson <mikachu@gmail.com>
* 40024: Completion/Unix/Type/_path_files: Update _path_files
since quoting requirements changed in 39412, this case only
triggers when accept-exact-dirs is set.
2016-12-01 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 40050: Src/compat.c: prepend /**/ to global functions and #ifdefs
2016-11-30 Peter Stephenson <p.stephenson@samsung.com>
* 40049: NEWS: notes on Unicode 9 (40037).
* 40043: Src/Zle/computil.c: fix indentation (recent gcc warns
about this).
2016-11-30 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40036: Completion/Debian/Command/_bts: Complete removal
syntaxes correctly.
2016-11-29 Barton E. Schaefer <schaefer@zsh.org>
* 40034: Src/subst.c: clear badcshglob when ignoring errors
* unposted: README: example describing 40032
* 40032: Src/params.c: consistency in handling of subscript
slices outside the bounds of an array parameter
2016-11-29 Peter Stephenson <p.stephenson@samsung.com>
* 40037: Joshua Rubin: Unicode 9 character width support.
Needs enabling with --enable-unicode9.
* 40035: Eitan Adler: Cosmetic fixes mostly for duplication in
comments and documentation.
* 40026: Src/Zle/zle_tricky.c: More care with redirection
completion. Fixes for completion after > in "!> ." that
should add to sanity.
2016-11-29 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Zsh/Context/_subscript: Complete the
$foo[(f)] flag.
* unposted: Completion/Unix/Command/_git: _git-config: Fix
user.email completion to complete only bare email addresses.
2016-11-28 Daniel Shahaf <d.s@daniel.shahaf.name>
* 40011: Completion/Base/Core/_main_complete,
Completion/Solaris/Command/_pfexec,
Completion/Solaris/Command/_zlogin,
Completion/Unix/Command/_chown, Completion/Unix/Command/_doas,
Completion/Unix/Command/_sudo: Make $_comp_priv_prefix only
declared when required, and use that to have chgrp offer all
groups under doas, ssh, etc as well.
* 40010: Src/builtin.c, Test/A02alias.ztst: builtins: Say
'bad option: +x', not 'bad option: -x', when +x was passed.
* 40009: Src/hashtable.c: alias -L: Emit aliases that begin
with a plus sign correctly.
2016-11-24 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 40013: Completion/Unix/Type/_date_formats,
Completion/Zsh/Command/_strftime: process zsh-specific time
format extensions correctly
2016-11-25 Oliver Kiddle <opk@zsh.org>
* unposted: Functions/Zle/surround: set new vichange flag
* 40020: Completion/Unix/Command/_cscope: new completion
2016-11-25 Laurent Arnoud <laurent@spkdev.net>
* 40018 + 40019: Completion/Debian/Command/_apt: Add missing
commands to Debian apt completion
2016-11-24 Oliver Kiddle <opk@zsh.org>
* unposted: Completion/Unix/Command/_date: fix typo (=+ to +=)
* 40004 (tweaked): Completion/Redhat/Command/_yum: fix cache
mechanism, complete groups and other minor improvements
* unposted: Src/Zle/zle_params.c: fix to compile on Solaris where
curses.h has a #define for reg to register
* 40003: Src/Zle/zle_params.c, Doc/Zsh/zle.yo: include "0-"9
vi buffers in the registers associative array
2016-11-24 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 40005: Completion/Unix/Command/_date,
Completion/Unix/Type/_date_formats: call _date_formats from _date.
Update both files for darwin etc.
2016-11-24 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39982: README, Src/utils.c: $SPROMPT: Don't accept a spelling
correction at space/tab.
2016-11-23 Bart Schaefer <schaefer@zsh.org>
* unposted: Src/Zle/zle_main.c: clear ERRFLAG_ERROR before
invoking immortal widget (cf. 39934)
2016-11-23 Oliver Kiddle <opk@zsh.org>
* unposted: Test/Y03arguments.ztst: partial match test case
* unposted: Src/builtin.c, Test/B03print.ztst: fix printf -v
to an array without format string reuse
2016-11-21 Oliver Kiddle <opk@zsh.org>
* 39993: Test/Y01completion.ztst: Tests for 39981.
2016-11-21 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39981: Src/Zle/compresult.c: Make compstate[to_end] skip
suffix and hidden suffix, but not ignored suffix.
2016-11-20 Oliver Kiddle <opk@zsh.org>
* 39986, 39989: Src/Zle/zle.h, Src/Zle/zle_keymap.c,
Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_thingy.c,
Src/Zle/zle_utils.c, Src/Zle/zle_vi.c, Test/X02zlevi.ztst,
Doc/Zsh/zle.yo, Functions/Zle/vi-pipe: make vi-repeat-change
work better with shell based widgets and save old change
when recording a new change in case the new one fails
* 39974: Completion/Unix/Command/_ssh: complete shared
libraries for -e and -s options to ssh-add
2016-11-20 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Guillaume Maudoux: 39900 (doc slightly tweaked): Src/params.c,
Doc/Zsh/params.yo: Add TERMINFO_DIRS special colon-separated
array, not tied.
* 39995 (from 39977): Src/params.c, Test/A06assign.ztst:
optimisation of string assignment if length is unchanged.
* Mikel Ward: 39978: Doc/Zsh/jobs.yo: more accurate
documentation of searching for job by string.
2016-11-20 Daniel Shahaf <d.s@daniel.shahaf.name>
* Sebastian: 39992: Src/params.c: setarrvalue: Allocate
a correctly-sized array.
* unposted (after 39952): Src/Zle/zle_params.c: Restore C89
compatibility.
* 39985: Doc/Zsh/params.yo: Document the [nyae] answers to the
spelling correction prompt, $SPROMPT.
2016-11-18 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39916 + 39930 + tweak: Completion/Unix/Command/_git: Complete
options and values for -c.
2016-11-17 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 39958: Src/Zle/compctl.c, Src/builtin.c, Src/compat.c,
Src/exec.c, Src/glob.c, Src/hist.c, Src/utils.c: Add spare byte
to PATH_MAX allocation to allow for possible null.
2016-11-17 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39921: Completion/Unix/Command/_git: __git_recent_branches:
Remove erroneous parsing of partial ref names as tags.
* 39922: Completion/Unix/Command/_git: __git_recent_branches:
Fix an 'assertion' failure when two branches (refs) point to
the same commit.
* 39917: Completion/Zsh/Command/_precommand: Complete setsid(1)
as a precommand
* 39915: Src/exec.c, Test/E01options.ztst: whence: Honor
PATH_DIRS option for arguments that start with './' or '../'.
2016-11-17 Oliver Kiddle <opk@zsh.org>
* 39962: Src/Zle/zle_keymap.c: bind vi case conversion widgets
u/U in visual mode and g~ from normal mode
* 39959: Src/Zle/zle_vi.c, Test/X02zlevi.ztst: when repeating
vi changes advance through the numbered killring registers.
Also fix numeric arguments with vi-repeat-change.
* 39952: Src/Zle/zle_params.c, Doc/Zsh/zle.yo: add registers
special parameter to provide access to the vi register
buffers from a zle widget function
2016-11-16 Oliver Kiddle <opk@zsh.org>
* 39945: Src/Zle/compcore.c, Completion/Base/Core/_message,
Test/Y03arguments.ztst: allow further tab presses to move on
to menu completion even when compstate[insert] is emptied
2016-11-15 Peter Stephenson <p.stephenson@samsung.com>
* 39949: Src/subst.c, Src/utils.c, Test/B09hash.ztst: "-" is
allowed in named directories, so needs a special case when
sh-tokenized for possible ranges.
* 39947: Test/D04parameter.ztst: Test out-of-rantge multiple
array subscripts with and without (@).
2016-11-14 Barton E. Schaefer <schaefer@zsh.org>
* 39943: Src/utils.c: no need to compute arrlen() in arrdup_max()
when max == 0.
2016-11-15 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 39937: Src/params.c: fix a problem introduced by 39886.
$a[i,j] should become an empty array if i>j.
2016-11-14 Peter Stephenson <p.stephenson@samsung.com>
* 39906: Src/utils.c: More optimisation of multibyte handling
for US-ASCII along existing lines.
2016-11-13 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Src/Zle/zle_utils.c: comment in zlecallhook() points
to redrawhook() just in case
* 39934: Src/Zle/zle_main.c: if a widget execution fails, try to
execute a corresponding immortal widget instead.
* 39933: Src/Zle/zle_main.c: more of zlecallhook() in redrawhook(),
add commentary on some of the differences
* 39929: Doc/Zsh/zle.yo: clarify execute{,-last}-named-cmd
2016-11-12 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Etc/zsh-development-guide: add list of standard
module hooks with corresponding macro names
2016-11-12 Oliver Kiddle <opk@zsh.org>
* Paul Seyfert: 39920: Completion/Redhat/Command/_yum:
extend yum completion to cover more yum commands
2016-11-10 Barton E. Schaefer <schaefer@zsh.org>
* 39893: Src/params.c: use arrdup_max() to show explicitly the
difference in two code branches; no functional change
2016-11-11 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39874/0002 plus size=0 handling: Src/mem.c: zshcalloc: Remove
code duplication. No functional change.
* 39874/0001: Src/params.c: setarrvalue: Remove needless
initialization.
2016-11-10 Peter Stephenson <p.stephenson@samsung.com>
* 39901: Src/exec.c, Test/C03traps.ztst: Exiting the left hand
side of a pipeline shouldn't trigger EXIT trap.
2016-11-09 Oliver Kiddle <opk@zsh.org>
* 39890: Completion/Debian/Command/_git-buildpackage,
Completion/Debian/Command/_lintian,
Completion/Debian/Command/_make-kpkg,
Completion/Linux/Command/_iwconfig,
Completion/Debian/Command/_dcut, Completion/Linux/Command/_mdadm,
Completion/Solaris/Command/_dladm, Completion/Unix/Command/_adb,
Completion/Unix/Command/_attr, Completion/Unix/Command/_awk,
Completion/Unix/Command/_bzr, Completion/Unix/Command/_cdrdao,
Completion/Unix/Command/_devtodo, Completion/Unix/Command/_feh,
Completion/Unix/Command/_global, Completion/Unix/Command/_groff,
Completion/Unix/Command/_growisofs,
Completion/Unix/Command/_initctl, Completion/Unix/Command/_iostat,
Completion/Unix/Command/_ip, Completion/Unix/Command/_java,
Completion/Unix/Command/_localedef, Completion/Unix/Command/_make,
Completion/Unix/Command/_mencal, Completion/Unix/Command/_module,
Completion/Unix/Command/_nkf, Completion/Unix/Command/_nmap,
Completion/Unix/Command/_pbm, Completion/Unix/Command/_rar,
Completion/Unix/Command/_sisu, Completion/Unix/Command/_sqsh,
Completion/Unix/Command/_surfraw, Completion/Unix/Command/_units,
Completion/Unix/Command/_wiggle: fix typos and spellings
* 39888: Completion/Unix/Command/_tmux: update for tmux 2.3
* 39884: Functions/Zle/history-beginning-search-menu:
fix for history lines containing a pipe character
2016-11-09 Barton E. Schaefer <schaefer@zsh.org>
* 39882: Doc/Zsh/expn.yo: mention ${name:/pattern/replacement}
in the itemized synopsis with the related forms; clarify doc.
2016-11-09 Peter Stephenson <p.stephenson@samsung.com>
* 39887: Src/params.c: no need to conditionalise assignment of
strlen in getstrvalue().
* 39886 based on 39877 (Sebastian): Src/params.c, Src/utils.c:
add arrdup_max() so as not to duplicate entire arrays unnecessarily.
* Sebastian: 39875: Src/params.c, Src/string.c: add
dupstring_glen() to avoid redundant strlen() calls.
2016-11-09 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39853: Completion/Unix/Command/_subversion: Accept long
options in the '--foo=bar' syntax.
2016-11-08 Peter Stephenson <p.stephenson@samsung.com>
* Sebastian: 39871: cut down number of strlen()s in getstrvalue().
2016-11-08 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 39857: Completion/Unix/Command/_top: add support for darwin,
with improvements on linux etc.
2016-11-08 Peter Stephenson <p.stephenson@samsung.com>
* 39870: Src/builtin.c, Test/C03traps.ztst: ensure exit trap can
always run.
* unposted: Src/utils.c: follow up to 39867: don't need test
against zero any more.
* Sebastian: 39869: can transfer ownership of core of array when
assigning.
* 39867: Src/utils.c: cast to unsigned char to compare against
0x7f.
2016-11-07 Peter Stephenson <p.stephenson@samsung.com>
* Felix Neumärker: Completion/Unix/Command/_module: follow
symbolic links and use _multi_parts for paths.
* zsh-users/22083: Doc/Zsh/expn.yo: attempt to explain a bit
better what a "word" is in parameter substitution.
2016-11-07 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39840: Completion/Unix/Command/_cpio: Declare variable's
type correctly.
2016-11-07 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 39728: Src/zsh_system.h, Src/Modules/datetime.c: define
_GNU_SOURCE on Cygwin
* 39855: Completion/BSD/Command/_jot: new completion
2016-11-07 Frank Terbeck <ft@bewatermyfriend.org>
* 39849: Completion/Unix/Command/_tmux: _tmux: Remove
set-remain-on-exit
2016-11-06 Frank Terbeck <ft@bewatermyfriend.org>
* 39847: Util/check-tmux-state: Update helper function name
pattern
* 39848: Completion/Unix/Command/_tmux: _tmux: Update options to
latest tmux
2016-11-05 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Completion/compaudit: tweak replacement getent
to handle /etc/hosts format.
* Thomas Bereknyei, Mic92: 39831: Completion/compaudit: find
"getent" by the usual command search, not just /usr/bin/.
* unposted: Test/A05execution.ztst: tests for 39839, 39844
* 39844: Src/loop.c: fix "while" condition as per 39839
* 39839: Src/loop.c: fix "return" from "if" condition
* 39838: Src/builtin.c: another missing unqueue_signals()
2016-11-04 Oliver Kiddle <opk@zsh.org>
* 39829: Src/Zle/compcore.c: when compstate[insert] is emptied
by the completion function and AUTO_MENU is set, start menu
completion on the second tab press rather than the third
* 39834: Src/builtin.c, Completion/Zsh/Command/_print,
Completion/Zsh/Command/_fc, Completion/Zsh/Type/_ps1234:
when print used with -v and -l, include a final
newline; complete print -S option and make further use
of the new printf to an array feature
* 39389: Src/builtin.c, Test/B03print.ztst, Doc/Zsh/builtins.yo,
Completion/Zsh/Type/_globquals, Completion/Zsh/Command/_print:
when printf -v is used with an array use separate elements each
time the format is reused
2016-11-04 Daniel Shahaf <d.s@daniel.shahaf.name>
* users/22080: Doc/Zsh/zle.yo: bracketed-paste: Third time's
a charm.
2016-11-04 Peter Stephenson <p.stephenson@samsung.com>
* Sebastian: 39825: Src/utils.c: Optimise mb_metastrlenend() for
the common case of 7-bit character.
2016-11-04 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 39818 (Oliver Kiddle): Completion/Unix/Command/_awk: add nawk
2016-11-03 Barton E. Schaefer <schaefer@zsh.org>
* 39824: Test/X02zlevi.ztst: test case for 39811
2016-11-03 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Src/Zle/zle_keymap.c: comment explaining putting
back tail end of key buffer into input.
2016-11-03 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39806: Src/Zle/zle_vi.c: internal: Document zle's vichgbuf.
* 39805: Src/Zle/comp.h, Src/Zle/compcore.c: internal: Document
some compadd internals.
* 39804: Src/Zle/comp.h, Src/Zle/complete.c: internal: Document
matchspec flags.
* 39803: Src/Zle/complete.c: internal: Document bin_compadd().
* 39802: Src/Zle/compcore.c, Src/Zle/complete.c: internal:
Document and simplify multiquote().
* users/22063: Doc/Zsh/zle.yo: bracketed-paste: Document ability
to specify a vi register. (after users/22036)
2016-11-03 Daniel Hahler <zsh@thequod.de>
* 39822: Completion/Unix/Command/_git: remove "-A '-*'" with
_arguments for some commands.
2016-11-03 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Completion/Unix/Type/_remote_files: fix typo that
was causing handling of "--" argument to fail
* 39820: Src/Zle/zle_vi.c: vi-repeat handles multi-key bindings
2016-11-03 Peter Stephenson <p.stephenson@samsung.com>
* 39815: Src/lex.c, Test/D04parameter.ztst: read input to end
on parse error in $(...) inside a string.
2016-11-02 Barton E. Schaefer <schaefer@zsh.org>
* 39813: Src/Zle/zle_keymap.c: fix keybuflen after ungetting
extra keys from the end of keybuf in getkeymapcmd().
* 39811: Src/Zle/zle_vi.c: vi-repeat-change must not be the
"motion" of vi-change, lest it infinitely repeat itself.
2016-11-01 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 39731: Completion/Unix/Command/_awk: add support for gawk
ver.3 and 4
2016-11-01 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39787: Test/Y01completion.ztst: Add a regression test for
39412.
2016-10-31 Barton E. Schaefer <schaefer@zsh.org>
* 39797: Completion/Unix/Type/_canonical_paths: obsolete the
helper functions fixed by the previous two changes, replacing
them with the new ${var:P} modifier.
* 39795: Completion/Unix/Type/_canonical_paths: preserve "cd -"
behavior around directory shuffling in _canonical_paths_pwd
* 39792: Completion/Unix/Type/_canonical_paths: improve handling
of relative paths in _canonical_paths_add_paths
2016-10-31 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39786: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg,
Functions/VCS_Info/VCS_INFO_hexdump, Functions/VCS_Info/vcs_info:
vcs_info (hg): Use native hexdump implementation instead of
external command.
2016-10-30 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 39777: Src/parse.c, Test/D08cmdsubst.ztst: $() is a valid
empty command substitution.
2016-10-29 Barton E. Schaefer <schaefer@zsh.org>
* 39758: Src/builtin.c, Src/params.c: revise 39704 to output
"typeset" for array and hash parameters, even when exported; for
POSIXBUILTINS, "export var" does not implicitly set $var, and its
export state is preserved when assigned (but not when explicitly
unset).
2016-10-28 Daniel Shahaf <d.s@daniel.shahaf.name>
* users/22036: Doc/Zsh/zle.yo: bracketed-paste: Document
cutbuffer behaviour; clarify.
2016-10-27 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Functions/Zle/bracketed-paste-magic: handle empty
pastes and "zle bracketed-paste variablename" form.
2016-10-27 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Doc/Zsh/compsys.yo, Doc/Zsh/contrib.yo: Minor
documentation fixes (markup, grammar, etc).
* 39739: Completion/Unix/Command/_head,
Completion/Unix/Command/_tail: Complete negative integers for
-n/-c in the GNU variant. (after 39479)
2016-10-25 Barton E. Schaefer <schaefer@zsh.org>
* 39725: Src/Zle/complist.c: more metafication of patterns.
2016-10-25 Peter Stephenson <p.stephenson@samsung.com>
* 39723: Src/Zle/complist.c, Src/glob.c: metafy string to be
used in pattern for complist. Also skip metafied characters
when tokenizing (typically this has no effect, however).
2016-10-24 Barton E. Schaefer <schaefer@zsh.org>
* unposted: NEWS, README: update for 39704.
* 39704: Src/params.c, Test/B02typeset.ztst, Test/B03print.ztst,
Test/V10private.ztst: the output of "typeset -p" uses "export"
commands or the "-g" option for parameters that are not local to
the current scope.
2016-10-24 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39706: Completion/Unix/Type/_tilde_files, Doc/Zsh/compsys.yo:
_tilde_files: Offer named directories. Document.
* 39708: Completion/Unix/Type/_email_addresses,
Doc/Zsh/compsys.yo: Document _email_addresses.
* 39707: Doc/Zsh/compsys.yo: Document _dir_list.
2016-10-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 39715: Src/Zle/complist.c: handle multibyte characters when
highlighting completion listing.
2016-10-22 Barton E. Schaefer <schaefer@zsh.org>
* 39710 (cf. Alex George: 39709): Completion/Base/Completer/_expand,
Completion/Base/Completer/_user_expand: handle the %o format in the
"all-expansions" tag; allow a single unique match to appear in the
"expansions" tag (cf. users/21955).
2016-10-20 Peter Stephenson <p.stephenson@samsung.com>
* 39688: Src/pattern.c: Alternative fix: next pointer is
irrelevant anyway as there's only one P_EXACTLY in a P_PURES.
* 39683: Src/pattern.c: Update scan pointer in pattern after
possible reallocation for meta handling.
2016-10-19 Barton E. Schaefer <schaefer@zsh.org>
* 39680: Src/mem.c: correctly handle case of popping last arena
2016-10-19 Peter Stephenson <p.stephenson@samsung.com>
* 39678: Src/builtin.c, Test/D07multibyte.ztst: printf %q
argument needs metafying and result unmetafying.
2016-10-18 m0viefreak <m0viefreak.cm@googlemail.com>
* 39590: Src/Zle/compresult.c: zle: Call zle-line-pre-redraw
after inserting a completion result
2016-10-18 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39654: Completion/Unix/Command/_make: (based on patch by
Baptiste Daroussin) Better support bmake, FreeBSD's default
make(1) implementation.
* 39657: Completion/Zsh/Command/_zstyle: Complete the -g,
-s,-b,-a, -t,-T, -m options.
* 39657: Completion/Zsh/Command/_zstyle: When completing a
style for an unrecognised context, complete all known styles.
* 39657: Completion/Zsh/Command/_zstyle,
Completion/Zsh/Type/_completers, Doc/Zsh/compsys.yo: Make a
helper function global.
2016-10-16 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39500: Src/Zle/computil.c: compdescribe: perform
on-screen-width computation using the "nice" length, since the
matches are rendered by nice*() functions by compadd
2016-10-13 Oliver Kiddle <opk@zsh.org>
* 39624: Completion/Unix/Command/_yafc: remove space before
compdef that prevents function being used plus other tweaks
* 39623: Completion/X/Command/_evince: new completion
2016-10-13 Peter Stephenson <p.stephenson@samsung.com>
* 39625: Martijn Dekker: Src/loop.c, Test/A01grammar.ztst: case
needs to reset lastval if no pattern matched.
2016-10-13 Oliver Kiddle <opk@zsh.org>
* 39622: Test/Y03arguments.ztst: add test cases for recent
_arguments fixes, exclusion lists and -A/-S
* 39611: Src/Zle/computil.c: with _arguments sets completion
stopped if one of the rest arguments starts with a dash
* 39533: Matthew Martin: Completion/Unix/Command/_doas:
add the new -L option, sort options and add some exclusions
2016-10-11 Peter Stephenson <p.stephenson@samsung.com>
* 36108: Src/builtin.c: command -[vV] assumed -p.
2016-10-10 Peter Stephenson <p.stephenson@samsung.com>
* 39599: Src/loop.c, Test/A01grammar.ztst: Don't reset status
before "case" execution.
2016-10-07 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39522: Doc/Zsh/contrib.yo: add-zsh-hook/add-zle-hook-widget:
Promise append semantics.
* 39489: Completion/Unix/Type/_path_files: Interpret -P as
literally, rather than as a pattern.
* 39479 + 39481 minus _path_files hunk (see
39489): Completion/Debian/Command/_debfoster,
Completion/Linux/Command/_modutils,
Completion/Redhat/Command/_rpm, Completion/Unix/Command/_ant,
Completion/Unix/Command/_cpio, Completion/Unix/Command/_cvs,
Completion/Unix/Command/_dbus, Completion/Unix/Command/_git,
Completion/Unix/Command/_graphicsmagick,
Completion/Unix/Command/_growisofs, Completion/Unix/Command/_gs,
Completion/Unix/Command/_gsettings,
Completion/Unix/Command/_head,
Completion/Unix/Command/_imagemagick,
Completion/Unix/Command/_java, Completion/Unix/Command/_lp,
Completion/Unix/Command/_lzop, Completion/Unix/Command/_mount,
Completion/Unix/Command/_perl, Completion/Unix/Command/_php,
Completion/Unix/Command/_rlogin, Completion/Unix/Command/_ssh,
Completion/Unix/Command/_tail, Completion/Unix/Command/_w3m,
Completion/X/Command/_rdesktop, Completion/X/Command/_x_utils,
Completion/Zsh/Command/_fc, Completion/Zsh/Type/_arrays,
Completion/Zsh/Type/_globflags, Completion/Zsh/Type/_ps1234,
Completion/Zsh/Type/_vars: Completion: audit 'compset -P'
calls to use shortest match where applicable, plus random
drive-by tweaks.
2016-10-06 Peter Stephenson <p.stephenson@samsung.com>
* Julien Cretin: 39579: Src/subst.c: position of \0
with optional quoting in parameter substitution was wrongly
calculated.
* 39578: Test/C03traps.ztst: Test some more ERR_RETURN cases
involving "&&" and functions.
2016-10-05 Peter Stephenson <p.stephenson@samsung.com>
* 39571: Src/exec.c, Test/C03traps.ztst: "&&" inside a shell
function could mess up ERR_EXIT outside.
* 39568: Src/exec.c, Test/C03traps.ztst: "! <complex-command>"
should suppress ERR_EXIT inside the complex command.
* 39566: README, Doc/Zsh/exec.yo, Src/exec.c,
Test/C04funcdef.ztst: change the behaviour of
command_not_found_handler to make it easier to handle a non-zero
return status naturally.
2016-10-04 Barton E. Schaefer <schaefer@zsh.org>
* 39561: Src/mem.c: missing unqueue_signals() when ZSH_HEAP_DEBUG
2016-10-03 Barton E. Schaefer <schaefer@zsh.org>
* 39550: Src/Zle/zle_main.c: reset signal queue in recursiveedit()
* 39548: Src/signals.c, Src/signals.h: DEBUG for queueing_enabled
* 39547: Src/Zle/zle_main.c: handle zero delta in calc_timeout()
2016-10-03 Peter Stephenson <p.stephenson@samsung.com>
* 39545: Src/builtin.c, Src/exec.c, Src/hist.c, Src/init.c,
Src/mem.c, Src/module.c, Src/params.c, Src/prompt.c,
Src/Zle/computil.c, Src/Zle/zle_main.c: Add some missing
unqueue_signals().
* 39521: Src/exec.c, Src/zsh.h, Test/A01grammar.ztst: Refactor
start of execcmd(). This allows execpline2() easier access to
the state at the start of execuation.
2016-10-02 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 39540: Src/exec.c, Test/C03traps.ztst: "! command" should
suppress ERR_EXIT and ERR_RETURN.
2016-09-30 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39495: Doc/Zsh/contrib.yo, Functions/Misc/add-zle-hook-widget:
add-zle-hook-widget: Add end-of-options guard to hook invocation.
* 39480: Completion/Debian/Command/_bug: _reportbug: Complete
absolute filenames, too.
2016-09-30 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Doc/Zsh/builtins.yo: update or remove references to
typeset behavior obsoleted by 35586.
* 39509: Src/builtins.c: in the event the current directory has
been removed, use chasedots semantics for "cd ..".
2016-09-30 Peter Stephenson <p.stephenson@samsung.com>
* 39519: Src/params.c: setting PM_EXPORT was missing in
USE_SET_UNSET_ENV case.
* 39517: back off 39502, this isn't a robust fix.
* 39498: Src/parmas.c,Src/zsh.h: use PRIVILEGED option to
decide on problematic parameter imports.
2016-09-30 Mikael Magnusson <mikachu@gmail.com>
* 39452 + comment from 39432: Src/Zle/zle_main.c: Call the
pre-redraw hook if there is text in the buffer on init (from
popping or zle-line-init setting $BUFFER)
2016-09-30 Oliver Kiddle <opk@zsh.org>
* 39514: Completion/Unix/Command/_git: handle --git-dir
* 39513: Completion/Unix/Command/_doas: new doas completion
* 39464: Completion/Solaris/Command/_fmadm: fix where lack
of $state check caused unwanted filename completion
2016-09-29 Barton E. Schaefer <schaefer@zsh.org>
* 39507: Doc/Zsh/params.yo, Src/exec.c: TMPSUFFIX for =(...)
* 39470: Src/exec.c, Src/utils.c: failure to open a supposedly
unique temp file name should result in an error; band-aid for
signal-related race conditions in temp file name generation
2016-09-29 Peter Stephenson <p.stephenson@samsung.com>
* 39502: Src/exec.c, Test/A01grammar.ztst: need to fork for
assignment in LHS of pipeline.
* unposted: Src/Zle/compctl.c, Src/Zle/zle_tricky.c: update
findcmd() call here, too.
* 39493: Src/builtin.c, Src/exec.c, Src/subst.c,
Test/A01grammar.ztst: make "command" with multiple options work
better and ensure "command -p" with "-v" or "-V" checks for a
builtin and then using the system default command path.
2016-09-28 Peter Stephenson <p.stephenson@samsung.com>
* Martijn Dekker: 39463: configure.ac: another way of getting
the default system path.
* 39460: Src/params.c, Src/zsh.h: don't import PS4 if running as
root. Currently no known exploit with this in zsh as xtrace
needs an explicit option setting, so this is just precautionary.
2016-09-27 Oliver Kiddle <opk@zsh.org>
* Marko Myllynen: 39453: Completion/Unix/Command/_openstack:
new openstack completions
* 39369 (tweaked cf 39371): Src/Zle/zle_thingy.c: when calling
an internal widget, set bindk because some widgets use it to
determine how they should act
2016-09-27 Barton E. Schaefer <schaefer@zsh.org>
* 39437: Src/exec.c: use list_pipe_pid in assignment for clarity
2016-09-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Martijn Dekker: 39448: Src/loop.c: reset REPLY in select when
needed on user action.
2016-09-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 39436: Src/exec.c, Src/signals.c: Don't execute builtin if
interrupted; set lastval to 128 + SIGINT on interrupt.
* 39435: Src/exec.c: Don't set gleader of SUBJOB immediately if
SUPERJOB has no processes.
2016-09-24 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39423: Completion/Zsh/Command/_zed: Support the '--'
end-of-options mark.
* 39423: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Produce nicer applied-string messages for 'exec'
actions.
2016-09-23 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39412: Src/Zle/computil.c: Fix directory completion when
$PWD:h contains parentheses, which are interpreted as globbing
metacharacters.
2016-09-22 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39410: Completion/Darwin/Type/_retrieve_mac_apps,
Completion/Unix/Command/_dsh, Completion/Unix/Type/_dates:
Fix unintentional history modifiers.
2016-09-22 Adam Gibbins <adam@adamgibbins.com>
* unposted: Completion/Unix/Command/_gpg: Correct typo
2016-09-21 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Completion/Darwin/Type/_retrieve_mac_apps: add
missing final colon in zstyle context lookup
* users/21955: Completion/Base/Completer/_user_expand: add
missing final colon in zstyle context lookup; allow a single
unique match to appear in "expansions" tag
2016-09-21 Oliver Kiddle <opk@zsh.org>
* 39370: Completion/Zsh/Command/_typeset,
Completion/Zsh/Command/_zle: complete -w and -K options to zle
following the widget name and numeric base to integer
* 39407: Completion/Linux/Command/_cpupower: cleanup minor
issues; updated through to version 4.8
2016-09-20 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39385: Completion/Debian/Command/_bts: Complete more argument
types for 'cache' and 'show'.
* 39383: Src/Zle/compcore.c: compadd: Restrict previous patch
to the case where $PREFIX includes characters both from the -P
prefix and from the (unprefixed) candidate completion word.
* 39372: Src/Zle/compcore.c: compadd: Match -P prefix
all-or-nothing rather than greedily.
2016-09-19 Barton E. Schaefer <schaefer@zsh.org>
* 39381: Src/exec.c: handle save/restore of variable values when
"typeset"-related reserved words are prefixed by an assignment
2016-09-19 Mikael Magnusson <mikachu@gmail.com>
* 39351: Functions/Zle/bracketed-paste-url-magic: Handle magnet
links too, and allow for schemes without //
2016-09-18 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39374: Completion/Debian/Command/_apt: Complete package
versions in the 'packagename=<version>' syntax.
2016-09-17 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39356 (tweaked, c.f. Bart 39358): Etc/BUGS: Remove fixed items,
add 'compset -q' item from workers/39306.
2016-09-16 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 39362: Src/exec.c: forked zsh in pipeline handling always
starts a new process group, avoiding double STOP.
2016-09-16 Peter Stephenson <p.stephenson@samsung.com>
* 39359: Src/exec.c, Src/jobs.c, Src/signals.c: Further fix on
top of 39331 for remaining race. Ensure process group of forked
superjob is sane.
* 39331: Src/exec.c, Src/jobs.c, Src/zsh.h: Partially fix problem
occurring when a subjop in the RHS of a pipeline needs to be
picked up by a forked zsh after ^Z when the original superjob
(LHS of pipeline) has already exited. Still race-prone.
2016-09-16 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_postfix: Correct quoting
in _call_program invocations.
* 39312 (tweaked): Completion/Unix/Command/_postfix: _postfix
(postconf): Complete only applicable parameters for -X and -#.
* 39310/0010: Src/Zle/compmatch.c: internals: match_str:
Simplify expression.
* 39310/0009: Src/Zle/compmatch.c: internals: match_str:
Downscope local variable 't'.
* 39310/0008: Src/Zle/compmatch.c: internals: match_str:
Document several local variables.
* 39310/0007: Src/Zle/compmatch.c: internals: match_str: Rename
and constify local variables 'oll', 'olw'.
* 39310/0006: Src/Zle/compmatch.c: internals: match_str:
Downscope local variable 'bpc'.
* 39310/0005: Src/Zle/compmatch.c: internals: match_str:
Constify some local variables.
* 39310/0004: Src/Zle/compmatch.c: internals: match_str: Document
'savl'.
* 39310/0003: Src/Zle/compmatch.c: internals: match_str: Document
'savw'. Avoid magic number.
* 39310/0002: Src/Zle/compmatch.c: internals: match_str:
Simplify by removing 'zoff'.
* 39310/0001: Src/Zle/compmatch.c: internals: match_str:
Document some local variables. See 39123.
* 39311: Completion/Unix/Command/_tmux: _tmux-capture-pane:
Tweak specifications of -S/-E and description strings.
2016-09-15 Oliver Kiddle <opk@zsh.org>
* 39333: Completion/Base/Utility/_call_program,
Doc/Zsh/compsys.yo, Completion/Solaris/Command/_pfexec,
Completion/Unix/Command/_sudo: include name of command used to
gain priviliges in context for command and gain-priviliges styles
* 39332: Doc/Zsh/cond.yo, Src/cond.c, Src/params.c, Src/parse.c,
Completion/Zsh/Context/_condition, Test/C02cond.ztst: support
ksh's [[ -v varname ]] condition for checking if variables are set
* unposted: Src/parse.c: remove duplicated assignment
2016-09-14 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Doc/Zsh/expn.yo: small documentation tweaks.
* zsh-users/21903: Src/subst.c, Src/zsh.h,
Test/D04parameter.ztst: ${...?...} in interactive shell should
abort to top level, not just current command.
2016-09-14 Marko Myllynen <myllynen@redhat.com>
* unposted: Completion/Unix/Command/_libvirt: Add another
noglob. (Follow-up to 39199)
2016-09-14 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39199: Completion/Unix/Command/_libvirt: Support libvirt URLs
that contain a literal question mark under noglob.
* unposted: Completion/Unix/Command/_git: Permit multiple
-c options.
2016-09-13 Oliver Kiddle <opk@zsh.org>
* 39307: Completion/Unix/Command/_vim,
Completion/Unix/Command/_xxd: update options up to vim 8
* 39299: Completion/Base/Completer/_external_pwds: better
Freebsd support in _external_pwds using procstat
2016-09-13 Peter Stephenson <p.stephenson@samsung.com>
* 39292: Config/version.mk, Src/cond.c, Src/parse.c, Src/text.c,
Src/zsh.h, Test/C02cond.ztst, Test/D01prompt.ztst,
Test/E02xtrace.ztst: Distinguish "=" and "==" tests in output to
avoid confusion. Update version number to 5.2-dev-2 (unposted:
update date, too).
* 39305: Src/exec.c: error handling on substitution for here
document was illogical.
2016-09-12 Oliver Kiddle <opk@zsh.org>
* 39295: Completion/Unix/Type/_remote_files: allow '--' to
appear in the command line passed as an argument
* 39287: Completion/Unix/Command/_graphicsmagick,
Completion/Unix/Command/_imagemagick, Completion/X/Command/_okular:
add .tif as a valid extension for TIFF files
2016-09-12 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Doc/Zsh/mod_sched.yo: reference use of widgets to
effect editor changes from a sched command
* 39297: Doc/Zsh/compsys.yo: more of 39284, it's painful to add
texi nodes in yodl
2016-09-12 Peter Stephenson <p.stephenson@samsung.com>
* 39255: Doc/Zsh/cond.yo: = in conditions is not actually going
to be removed.
2016-09-11 Barton E. Schaefer <schaefer@zsh.org>
* 39268: Src/Modules/system.c: "zsystem flock -t 0 ..." tries only
once to flock and immediately returns success or failure
2016-09-11 Vin Shelton <ethersoft@gmail.com>
* 39284: Doc/Zsh/compsys.yo: Added Completion System Variables as
a menu item
2016-09-11 Oliver Kiddle <opk@zsh.org>
* 39261 (tweaked cf. Daniel: 39275): Doc/Zsh/compsys.yo:
Completion/Base/Core/_main_complete,
Completion/Base/Utility/_call_program,
Completion/Debian/Command/_dchroot,
Completion/Debian/Command/_dchroot-dsa,
Completion/Debian/Command/_schroot,
Completion/Solaris/Command/_pfexec,
Completion/Solaris/Command/_zlogin, Completion/Unix/Command/_dsh,
Completion/Unix/Command/_fsh, Completion/Unix/Command/_libvirt,
Completion/Unix/Command/_mosh, Completion/Unix/Command/_rlogin,
Completion/Unix/Command/_ssh, Completion/Unix/Command/_sudo:
don't unconditionally gain privileges with sudo for completion
2016-09-11 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39252: Src/Zle/compcore.c, Src/Zle/compctl.c,
Src/Zle/computil.c, Src/Zle/zle_misc.c, Src/Zle/zle_tricky.c,
Src/builtin.c, Src/subst.c, Src/text.c, Src/utils.c: internal:
quotestring: Drop the 'e' parameter, which no caller uses.
2016-09-09 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Test/D04parameter.ztst: Add tests for ${(q)} being
aware of the EQUALS option.
2016-09-08 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39236 (plus typo fix): Doc/Zsh/compsys.yo, README: docs: Tweak
_arguments $opt_args documentation added in 39173.
2016-09-08 Peter Stephenson <p.stephenson@samsung.com>
* 39222: Test/V01zmodload.ztst: test use of module loaded math
functions with zsh/systeme.
2016-09-07 Danek Duvall <duvall@comfychair.org>
* 39194: Completion/Unix/Command/_man: _man (Solaris): Ignore
man-index. Support multiple sections in the -s flag's argument.
2016-09-07 Oliver Kiddle <opk@zsh.org>
* unposted: Completion/Unix/Command/_rm: fix to use ;|
style fall-throughs in the case statement
* 39209: Matthew Martin: Completion/BSD/Command/_chflags:
Update options
* 39208: Matthew Martin: Completion/BSD/Command/_chflags:
Update flags
* 39223: Matthew Martin: Completion/BSD/Command/_chflags:
Introduce addflags function to reduce redundancy
* 39193: Completion/Unix/Type/_remote_files: don't pass options
from after -- on to compadd
2016-09-07 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 39185: Src/lex.c: wordbeg only set for ZLE if not alias.
Fixes crash on completion in some obscure alias expansions.
2016-09-07 Peter Stephenson <p.stephenson@samsung.com>
* Matthew Martin: 39221: Completion/Unix/Command/_rm: update for
BSD.
* 39218: Src/module.c: fix feature enables with math functions
present. This caused parameters to be miscounted.
* 39217: Src/Modules/system.mdd: adapt zsh.mdd to avoid problems
with GCC preprocessor in error names.
2016-09-06 Barton E. Schaefer <schaefer@zsh.org>
* m0viefreak: 38153 (cf. 39135): Completion/Base/Utility/_arguments:
change the way long options are examined for "=" signs to more
accurately identify options that take arguments
2016-09-06 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39174: Completion/Unix/Command/_ssh: Fix completion of
ProxyCommand option.
* 39173: Doc/Zsh/compsys.yo, README, Src/Zle/computil.c:
_arguments: Escape colons and backslashes in $opt_args
unambiguously.
* 39171: Completion/Unix/Command/_libvirt: Apply
$opt_args-unescaping.
* unposted: Completion/Unix/Command/_libvirt: Escape $words
elements to avoid their interpretation as a pattern against
$_cache_virsh_cmds.
2016-09-06 Marko Myllynen <myllynen@redhat.com>
* unposted: Completion/Unix/Command/_libvirt: Fix leakage of
$word (after 39179).
2016-09-06 Peter Stephenson <p.stephenson@samsung.com>
* 39181: Src/builtin.c, Src/zsh.h, Src/Zle/complete.c: Add
PM_SINGLE for single instance and use for compstate.
2016-09-06 Marko Myllynen <myllynen@redhat.com>
* 39179 (plus tweak): Completion/Unix/Command/_libvirt: More
_libvirt (virsh) completion tweaks
2016-09-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Teubel György: 39167: Src/init.c, Doc/Zsh/params.yo: Make $ENV
more like POSIX.
2016-09-04 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Src/Zle/comp.h, Src/Zle/complete.c: internals:
Document zshcompwid(1) parameter implementations.
2016-09-03 Oliver Kiddle <opk@zsh.org>
* Marko Myllynen: 39158: Completion/Unix/Command/_libvirt:
cleanup following review comments of function
* 39165: Completion/Unix/Command/_dmidecode,
Completion/Unix/Command/_ant, Completion/Linux/Command/_ss,
Completion/Unix/Command/_espeak, Completion/Unix/Command/_git,
Completion/Unix/Command/_prove, Completion/Unix/Command/_tin,
Completion/Unix/Command/_patch, Completion/Unix/Command/_look,
Completion/Unix/Command/_md5sum: update options
2016-09-02 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_postfix: _postfix_queue_id:
Unbreak completion of short queue ids of held/active messages,
broken in 39108.
* 39154: Completion/Unix/Type/_files: -/ with list-dirs-first
resulted in a bad pattern, thus aborting completion partway.
2016-08-31 Oliver Kiddle <opk@zsh.org>
* Marko Myllynen: 39118: Completion/Unix/Command/_libvirt:
(almost) complete virsh completions
2016-08-31 Peter Stephenson <p.stephenson@samsung.com>
* 39141: Test/D04parameter.ztst: use zsh in SHLVL test to remove
ambiguous behaviour of sh.
* Stephane: 39125: Src/exec.c, Test/D04parameter.ztst: More care
decrementing SHLVL on exec; not needed in subshells.
2016-08-31 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39122: Completion/Unix/Command/_git: __git_recent_branches:
Silence warning on an edge case.
2016-08-30 Barton E. Schaefer <schaefer@zsh.org>
* 39131: Functions/Misc/add-zle-hook-widget: return on error
needs to be at the outer scope.
2016-08-30 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39108 (tweaked): Completion/Unix/Command/_postfix: Support
$enable_long_queue_ids.
* 39110: Completion/Unix/Command/_postfix: Complete 'postconf'.
* 39107: Completion/Unix/Command/_postfix: Complete
'postqueue'. Also minor tweaks to 'postsuper'.
* 39109: Completion/Unix/Command/_postfix: Use mailq to obtain
queue id's.
2016-08-29 Mikael Magnusson <mikachu@gmail.com>
* 39112: Completion/X/Command/_x_utils: Use state_descr
2016-08-28 Barton E. Schaefer <schaefer@zsh.org>
* 39115: Src/subst.c, Test/D04parameter.ztst: repair forced
joining when (@) and (j) are used together (broken by 39019)
2016-08-27 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39105: Completion/Unix/Type/_absolute_command_paths:
_hashed_absolute_command_paths: Make the display string the
basename.
* 39103: Completion/Unix/Type/_absolute_command_paths:
_typed-in_absolute_command_paths: Better handle non-empty
arguments that don't start with a slash.
* 39070: Completion/Unix/Command/_mount,
Completion/Unix/Type/_canonical_paths: umount: Complete /f/b<TAB>
→ /foo/bar (for absolute path arguments only, for now)
2016-08-26 Barton E. Schaefer <schaefer@zsh.org>
* 39104: Src/exec.c: do not hash relative paths in findcmd()
2016-08-25 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39102: Completion/Unix/Command/_git: __git_recent_branches:
Optimise.
2016-08-24 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39094: Completion/Unix/Command/_git: _git-config: When an
option is unknown, complete its value to the set value.
2016-08-23 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 39087: Src/builtin.c, Src/utils.c: fix 'conditionally
uninitialized' variables
* 39086: Src/mem.c: declare file local variables as 'static'
2016-08-22 Oliver Kiddle <opk@zsh.org>
* unposted (c.f. Mikael: 39078): Completion/Unix/Command/_git:
fix for git blame terms
2016-08-22 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_git: _git-config:
sendemail.smtpserver: Correct tags.
* 39046 + 39061: Completion/Base/Completer/_external_pwds,
Completion/Zsh/Type/_history_modifiers, Doc/Zsh/contrib.yo,
Doc/Zsh/expn.yo, Functions/MIME/zsh-mime-handler,
Functions/VCS_Info/VCS_INFO_quilt,
Functions/Zle/expand-absolute-path, NEWS, Src/params.c,
Src/subst.c, Src/utils.c, Test/D02glob.ztst: New :P history
modifier.
2016-08-20 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 39064: configure.ac, Src/Modules/mathfuc.c: use scalbn() instead
of scalb()
2016-08-20 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39074: Completion/Unix/Command/_ip: _ip-neighbour: Fix typo in
'lladdr'.
2016-08-19 Oliver Kiddle <opk@zsh.org>
* 39072: Completion/Unix/Command/_git: minor tweaks
* 39071: Completion/Solaris/Command/_beadm,
Completion/Solaris/Command/_svcs, Completion/Unix/Command/_sort
Completion/Solaris/Command/_coreadm,
Completion/Solaris/Command/_dladm,
Completion/Solaris/Command/_dumpadm,
Completion/Solaris/Command/_flowadm,
Completion/Solaris/Command/_fmadm: update for Solaris 11u3
* 39067: Completion/Unix/Type/_diff_options:
Completion/Linux/Command/_gpasswd, Completion/Linux/Command/_ss,
Completion/Redhat/Command/_scl, Completion/Unix/Command/_arping,
Completion/Unix/Command/_augeas, Completion/Unix/Command/_dbus,
Completion/Unix/Command/_grep, Completion/Unix/Command/_less,
Completion/Unix/Command/_make, Completion/Unix/Command/_mutt,
Completion/Unix/Command/_rsync, Completion/Unix/Command/_wget,
Completion/Unix/Command/_sed, Completion/Unix/Command/_sort,
Completion/Unix/Command/_ssh, Completion/Unix/Command/_tmux,
Completion/Unix/Command/_tree, Completion/Unix/Command/_uniq,
Completion/Unix/Command/_user_admin,
Completion/Unix/Command/_xargs, Completion/Unix/Command/_zip,
Completion/Unix/Command/_readelf: update options
2016-08-18 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Type/_canonical_paths: Port docstring
changes from 39044.
* 39044 (in part, see thread): Doc/Zsh/compsys.yo: Document
_canonical_paths in the manual, too.
2016-08-15 Peter Stephenson <p.stephenson@samsung.com>
* 39039: Doc/Zsh/zle.yo: fix documentation for transpose-words.
2016-08-13 Oliver Kiddle <opk@zsh.org>
* 39036: Completion/Unix/Command/_git: update up to git 2.9.2
* 39026: Src/Zle/computil.c: pattern specified with _arguments'
-A option shouldn't be checked against words after the cursor
2016-08-12 Barton E. Schaefer <schaefer@zsh.org>
* 39035: Src/subst.c, Test/D04parameter.ztst: ${(A)name=word}
should expand as an array even when there is only one element.
2016-08-12 Peter Stephenson <p.stephenson@samsung.com>
* 39031: Src/Zle/zle_word.c: Ensure variables are initialised in
transpose-words.
* 39029: Doc/Zsh/zle.yo: document previous change.
* Han Pingtian: 38983: Src/Zle/zle_word.c: make transpose-words
handle numeric arguments sensibly.
2016-08-12 Barton E. Schaefer <schaefer@zsh.org>
* 39028: Src/subst.c, Test/D04parameter.ztst: more join/split
cases fixed and tested.
2016-08-10 Barton E. Schaefer <schaefer@zsh.org>
* 39019 (cf. PWS 39013): Src/subst.c, Test/D04parameter.ztst:
fix SHWORDSPLIT regression introduced by workers/29313; add
test cases for more join/split combinations.
2016-08-10 Mikael Magnusson <mikachu@gmail.com>
* 39014: Src/zsh_system.h, configure.ac: Use special OpenBSD
interface to get correct rand() behavior
2016-08-06 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Src/Zle/zle_thingy.c: fix typo in comment
* unposted: Etc/zsh-development-guide: fix formatting in module
discussion; add mention of widgets and keymaps for modules.
2016-08-05 Daniel Shahaf <d.s@daniel.shahaf.name>
* workers/38995 (in part): Src/Zle/computil.c: compfiles:
Add reverse-engineered documentation breadcrumbs.
* 38996: Completion/Unix/Command/_man: Support _correct_word.
* 38994: Completion/Unix/Command/_man: Fix two bugs when
completing manpage filenames in separate-sections mode.
* 38993: Completion/Unix/Command/_man: Drop (b): it's incorrect
when $sect contains '|'.
* 38991: Src/exec.c, Test/C04funcdef.ztst: Make 'whence -v
autoloaded-function' shows the defining filename.
* 38990: Completion/Debian/Type/_debbugs_bugnumber: Track bts's
data dir migration.
2016-08-04 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* unposted: Doc/Zsh/zle.yo: fix format
2016-08-03 Oliver Kiddle <opk@zsh.org>
* 38989: Completion/BSD/Command/_freebsd-update,
Completion/BSD/Command/_sockstat, Completion/Unix/Command/_cp,
Completion/Unix/Command/_getent: minor completion updates for BSD
* 38986: Completion/Unix/Command/_gsettings: new completion
2016-08-01 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38981: Completion/Unix/Command/_man: Followup to 37634:
unbreak OpenBSD 'man 3p' and Linux $MANSECT.
2016-08-01 Peter Stephenson <p.stephenson@samsung.com>
* Andy Spencer: 38982: Completion/Linux/Command/_cpupower: move
to correct folder.
* Andy Spencer: 38976: Completion/Linux/_cpupower: new
completion.
2016-08-01 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38971: Src/Modules/terminfo.c, Src/Modules/zutil.c,
Src/builtin.c, Src/params.c, Src/prompt.c, Src/utils.c: Start
using the new arrlen_ge() / arrlen_le() helpers.
* 38973: Src/params.c, Src/subst.c, Src/utils.c: Optimize
indexing array parameters.
* 38964: Completion/Unix/Command/_git: _git-config: Complete
option names present in the config file.
* 38963: Completion/Unix/Command/_git: _git-config: Run
gettable-options earlier and in all codepaths.
* 38961: Completion/Unix/Command/_git: _git-config: No functional
change: rename $git_options_static to $git_options in preparation
for the after-next commit.
2016-07-31 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_git: Clean up superfluous
and missing backslashes.
* 38967: Completion/Unix/Type/_hosts: Don't complete wildcard
entries from ~/.ssh/known_hosts.
* 38966: Completion/Unix/Command/_subversion: _svnadmin: Complete
positional arguments for 'hotcopy', 'setlog', 'setrevprop',
'delrevprop'.
* 38965: Completion/Unix/Command/_subversion: _svnadmin: Complete
'freeze' as a precommand.
* 38962: Completion/Unix/Command/_git: _git-config: Document
more line noise.
* 38959: Doc/Zsh/compsys.yo: Document 38956 (_widgets).
2016-07-29 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_subversion: _svnadmin:
Tweak state description.
2016-07-28 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38927: Src/Zle/zle_main.c: zle-line-pre-redraw: Set $WIDGET
like other special widgets do.
* unposted: Functions/Misc/add-zle-hook-widget,
Functions/Misc/add-zsh-hook: Avoid $0 for POSIX_ARGZERO
compatibility.
2016-07-28 Oliver Kiddle <opk@zsh.org>
* 38957: Functions/Zle/select-word-match,
Completion/Zsh/Command/_zstyle, Doc/Zsh/contrib.yo:
make use of updates to match-words-by-style and better support
completion of word-style styles for zstyle
* 38956: Completion/Zsh/Command/_bindkey,
Completion/Zsh/Command/_vared, Completion/Zsh/Command/_zle,
Completion/Zsh/Function/_add-zle-hook-widget,
Completion/Zsh/Type/_widgets: factor out zle widget completion
into its own function
* unposted: Functions/Zle/vi-pipe: fix for visual mode
2016-07-28 Peter Stephenson <p.stephenson@samsung.com>
* 38953: Doc/Zsh/contrib.yo,
Functions/Zle/delete-whole-word-match,
Functions/Zle/match-words-by-style: Fix some problems with
match-words-by-style and add keyword retrieval of matched data.
* users/21793: README, Src/glob.c: remove ancient undocumented
pre-"f" glob qualifer feature that unqualified integers were
treated as octal file mode.
2016-07-27 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Functions/Misc/add-zle-hook-widget: Prefix function's
name to its error messages.
* unposted (after 38939): Completion/Unix/Command/_git:
_git-rebase: Unbreak.
* 38914 (tweaked): Completion/Unix/Command/_pkg-config: Add
options, complete *.pc files for positional arguments.
2016-07-26 Peter Stephenson <p.stephenson@samsung.com>
* 38945: Doc/Zsh/expn.yo: additional notes on :a behaviour.
2016-07-24 Oliver Kiddle <opk@zsh.org>
* 38943: Completion/Unix/Command/_texinfo: update options
and improve completion of Info files, nodes and menu items
* 38939: Completion/Unix/Command/_git: add missing options,
in particular those for GPG signing a push
* 38936: Functions/Zle/vi-pipe: fix for option compatibility
* 38929: Doc/Zsh/contrib.yo, Functions/Zle/select-word-match:
new vim style text object using match-words-by-style mechanism
* 38935: Matthew Martin: Completion/Unix/Command/_tcpdump:
update for Free and Open BSD
2016-07-23 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_git: _git-grep: Stop
leaking the parameter $i.
* unposted: Completion/Debian/Type/_deb_packages: Minor
optimization.
* 38913: Completion/Unix/Command/_pkg-config: Complete variables
for --variable.
* 38911: Doc/Zsh/compsys.yo: _arguments: Clarify documentation of
'-s -w' switch
2016-07-23 Barton E. Schaefer <schaefer@zsh.org>
* 38923 (plus expanded comment): Src/jobs.c: zwaitjob() continues
waiting for children that may have ignored the interrupt signal,
even if the current shell has been interrupted.
2016-07-22 Daniel Shahaf <d.s@daniel.shahaf.name>
* users/21779: Doc/Zsh/expn.yo: Clarify documentation of the
':a' word modifier.
* 38890: Completion/Zsh/Function/_add-zle-hook-widget,
Completion/Zsh/Function/_add-zsh-hook: _add-zle-hook-widget:
New completion.
2016-07-21 Oliver Kiddle <opk@zsh.org>
* 38904: Completion/Base/Core/_normal,
Completion/Unix/Command/_iostat, Completion/Unix/Command/_top:
fix return status in _normal and functions erroneously using
it for default completion
* 38894: Marko Myllynen: Completion/Unix/Command/_libvirt:
completion for virt-admin and libvirt client/server IDs/names
2016-07-21 Felipe Sateler <fsateler@debian.org>
* 38901: Completion/Debian/Command/_schroot: Add -r/--run-session
2016-07-20 Peter Stephenson <p.stephenson@samsung.com>
* 38853: Src/glob.c: use strchr().
2016-07-20 Daniel Shahaf <d.s@daniel.shahaf.name>
* users/21777: Doc/Zsh/expn.yo: Clarify documentation of the
':A' word modifier.
2016-07-19 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 38862: Src/Modules/datetime.c: strptime(3) requires _XOPEN_SOURCE
on Cygwin (newlib-2.4 or later)
2016-07-18 Peter Stephenson <p.stephenson@samsung.com>
* 38879: Src/glob.c, Test/D07multibyte.ztst: Ensure file names
are sorted unmetafied. Test using Polish UTF-8 collation
sequence.
2016-07-18 Mikael Magnusson <mikachu@gmail.com>
* 38785 (plus tweak): Completion/Zsh/Command/_print: add -v
2016-07-17 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Functions/Misc/add-zle-hook-widget: Move from Zle/.
* 38866: Doc/Zsh/contrib.yo: update add-zle-hook-widget for 38850.
* 38866 (+ tweak 38872): Functions/Zle/add-zle-hook-widget: fix
edge case handling, wrap in anonymous function for kshautoload
management.
2016-07-17 Daniel Shahaf <d.s@daniel.shahaf.name>
* users/21752: Doc/Zsh/mod_zleparameter.yo: Extend
zsh/zleparameter's $widgets' parameter's documentation.
* unposted (cf. users/21737):: Completion/Unix/Command/_git:
_git-subtree: Record technical debt in comment.
* users/21750 (after users/21551): Completion/Unix/Command/_git:
_git-subtree: Tweak -m,-P completions
2016-07-17 Oliver Kiddle <opk@zsh.org>
* 38868: Completion/BSD/Command/_freebsd-update,
Completion/BSD/Command/_bsdconfig, Completion/BSD/Command/_fetch,
Completion/BSD/Command/_fstat, Completion/BSD/Command/_gstat,
Completion/BSD/Command/_jexec, Completion/BSD/Command/_kld,
Completion/BSD/Command/_procstat, Completion/BSD/Command/_sysrc,
Completion/BSD/Command/_systat, Completion/Unix/Command/_cat,
Completion/Unix/Command/_sysctl, Completion/Unix/Command/_vmstat,
Completion/Unix/Command/_zfs, Completion/Unix/Type/_zfs_dataset:
update completions for new options on FreeBSD
* 38867: Completion/Linux/Command/_ltrace,
Completion/Linux/Command/_strace, Completion/Unix/Command/_truss,
Completion/Unix/Type/_sys_calls: update strace completion
factoring out system calls and new truss and ltrace completions
* Marko Myllynen: 38837 (tweaked c.f. 38826):
Completion/Unix/Command/_libvirt: new virsh completion
* 38845: Src/Zle/zle_main.c, Doc/Zsh/zle.yo: reset region_active
before entering zle - it was on exit but before zle-line-finish
Also reword documentation on region to better cover vi mode
2016-07-13 Barton E. Schaefer <schaefer@zsh.org>
* 38850: Functions/Zle/add-zle-hook-widget: Simplify indexing
scheme to store hooks strictly in the order they are added;
better handling of edge cases and autoloading/sourcing file.
2016-07-13 Eric Cook <llua@gmx.com>
* 38833: Completion/Unix/Command/_iostat
separate iostat completion from Completion/Linux/Command/_sysstat
2016-07-08 Oliver Kiddle <opk@zsh.org>
* 38812: Completion/BSD/Command/_chflags,
Completion/Unix/Command/_dmesg, Completion/Unix/Command/_env,
Completion/Unix/Command/_ln, Completion/Unix/Command/_xmlsoft,
Completion/Unix/Command/_ls, Completion/Unix/Command/_service,
Completion/Unix/Command/_touch, Completion/Unix/Command/_script,
Completion/X/Command/_x_utils, Completion/Zsh/Command/_vared:
a few new completions and update some command options
* 38810: Src/Zle/textobjects.c: fix cursor positioning
and repeated invocations when widgets used from emacs mode
* 38809: Src/zsh.h, Src/prompt.c, Src/Zle/zle_refresh.c:
fix tracking of colour attributes and restore them when
turning bold off
* unposted: Doc/Zsh/builtins.yo, Doc/Zsh/compsys.yo,
Doc/Zsh/options.yo, Doc/Zsh/zle.yo: fix duplicated words
2016-07-08 Peter Stephenson <p.stephenson@samsung.com>
* 38796: Functions/Zle/match-words-by-style: fix subword
matching on last character of subword.
2016-07-05 Oliver Kiddle <opk@zsh.org>
* arno: 38780: Completion/X/Command/_setxkbmap: include
variants containing non alphanumeric symbols in completion
* Jordan Klassen: users/21551 (tweaked per users/21560):
Completion/Unix/Command/_git: new git subtree completion
2016-07-05 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38728: Test/D02glob.ztst: Tests: Add tests for the ':a' and
':A' modifiers.
2016-07-04 Peter Stephenson <p.stephenson@samsung.com>
* 38783: Doc/Zsh/contrib.yo, Functions/Misc/zcalc: tweaks for
variable and stack interation in RPN mode.
2016-06-29 Oliver Kiddle <opk@zsh.org>
* 38770: Src/Zle/zle_keymap.c, Src/Zle/zle_vi.c, Doc/Zsh/zle.yo,
Doc/Zsh/contrib.yo, Functions/Zle/vi-pipe: vi upper/lowercase
widgets and shell widget example that reads a vi movement
* 38752: Src/builtin.c: add comments to explain use of stdout
instead of stderr for the which builtin
2016-06-27 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38760: Completion/Unix/Command/_git: _git-config: Stop trying
to execute the empty string command name upon completing values
for an unknown option.
2016-06-25 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_git: _git-config: Document
some line noise.
* unposted: Completion/Unix/Command/_git: _git-config: Fix
syntax error in 'tag.sort' completion.
* 38652: Test/ztst.zsh: test harness: Emit unified diffs instead
of context diffs
2016-06-22 Oliver Kiddle <opk@zsh.org>
* 38749: Functions/Zle/surround, Functions/Zle/select-bracketed:
fixes for case at start of a line and for ksharrays
2016-06-22 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Src/lex.c: remove unused and no longer defined flag
from experiments for previous fix.
* 38746: Src/lex.c, Test/A02alias.ztst: Delay marking
a suffix alias as free until the last minute.
2016-06-22 Oliver Kiddle <opk@zsh.org>
* 38714: Src/Zle/complete.c, Doc/Zsh/compsys.yo,
Doc/Zsh/compwid.yo: add x: syntax to match specs to make it
possible to disable match specs hardcoded in completion functions
* 38735: Completion/Unix/Command/_find,
Completion/Zsh/Type/_globquals: support verbose style to allow
clearer but less compact descriptions for time specifiers
* 38733: Completion/X/Command/_rdesktop: completion for xfreerdp
2016-06-21 Peter Stephenson <p.stephenson@samsung.com>
* 38737: Functions/Misc/zcalc, Doc/Zsh/contrib.yo: document some
zcalc variable usage and make other variables start with "_".
* 38736: Completion/Zsh/Type/_module_math_func,
Completion/Zsh/Type/_user_math_func, Doc/Zsh/contrib.yo,
Functions/Misc/zcalc: various RPN mode enhancments for zcalc.
* 38734: Src/loop.c, Test/A01grammar.ztst: fix final case
clauses terminating with ;&.
* 38692: Doc/Zsh/restricted.yo, Src/params.c: IFS can't be
changed in restricted mode.
2016-06-19 Barton E. Schaefer <schaefer@zsh.org>
* 38715: Doc/Zsh/contrib.yo, Functions/Zle/add-zle-hook-widget:
assorted ksharrays fixes; assign an index to any hook that is
added without one, to preserve append ordering
2016-06-18 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Functions/Misc/zed: localoptions noksharrays
* unposted: Doc/Zsh/options.yo: when ksharrays is set, braces are
required for all parameter expansions with colon-modifiers
2016-06-18 Oliver Kiddle <opk@zsh.org>
* 38713: Completion/Unix/Type/_dates: don't add calendar matches
when not immediately entering menu selection
* 38707: Completion/Zsh/Type/_globquals,
Completion/Unix/Type/_files, Completion/Unix/Type/_path_files:
strip suffix for glob qualifier completion
* 38703: Completion/Unix/Command/_su: support su options on macOS
2016-06-16 Peter Stephenson <p.stephenson@samsung.com>
* 38693: Doc/Zsh/contrib.yo, Functions/Misc/zcalc,
Functions/Zle/zcalc-auto-insert: Add RPN mode to zcalc.
* unposted: Doc/Zsh/params.yo: fix parentheses for getrusage().
2016-06-16 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 38684: Doc/Zsh/contrib.yo: fix format
2016-06-14 Eric Cook <llua@gmx.com>
* 38676: Marko Myllynen: Completion/Linux/Command/_pidof:
Completion for pidof(1)
* 38680: Marko Myllynen: Completion/Unix/Command/_localedef:
Completion for localedef(1)
2016-06-14 Doug Kearns <dougkearns@gmail.com>
* unposted: Completion/Unix/Command/_cvs: remove unused parameter
2016-06-13 Peter Stephenson <p.stephenson@samsung.com>
* users/21632: Doc/Zsh/params.yo, Src/jobs.c: REPORTMEMORY
parameter gives minimum size to trigger usage report.
2016-06-13 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38653 + 38657: Doc/Zsh/builtins.yo, Src/exec.c,
Test/E02xtrace.ztst: 'functions -T' tracing: recurse into
anonymous functions.
* 38651: Completion/Unix/Command/_git: Escape parameter arguments
to _call_program.
* 38665: Completion/Unix/Command/_git: config option completion:
Quote properly.
2016-06-12 Barton E. Schaefer <schaefer@zsh.org>
* 38670: Doc/Zsh/contrib.yo, Functions/Zle/add-zle-hook-widget:
New function for managing ZLE special widgets, modeled after
Functions/Misc/add-zsh-hook.
2016-06-09 Oliver Kiddle <opk@zsh.org>
* 38641: Completion/Base/Utility/_values: allow for values which
resemble compadd options
* 38639: Completion/Unix/Command/_su: fix username completion
after -, update options and get user shell with getent
2016-06-07 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38624: Completion/Unix/Command/_git: Optimize the last commit's
__git_recent_branches__names as suggested by Matthew.
* 38592 (plus tweak): Completion/Unix/Command/_git: New recent
branches completion, unused. (Joint with Nils Luxton)
2016-06-07 Barton E. Schaefer <schaefer@zsh.org>
* 38632: Completion/Linux/Command/_pkgtool: remove trailing space
on #compdef line for compinit parsing
* 38630: Src/builtin.c: fix infinite loop of "hash ="
2016-06-06 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38610: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt:
Extract a patch subject, 2.0.
* 38609: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt:
Factor out a helper function. No functional change.
2016-06-05 Barton E. Schaefer <schaefer@zsh.org>
* 38622: Src/jobs.c: consistent handling of "--" in "kill" builtin
2016-06-04 Eric Cook <llua@gmx.com>
* 38547: Completion/compdump: only autoload functions
when they exist in fpath.
2016-06-04 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38593: Doc/Zsh/compsys.yo: _describe: Make documentation
more greppable.
2016-06-04 Barton E. Schaefer <schaefer@zsh.org>
* unposted (cf. 38612): Src/params.c: remove overeager DPUTS()
* 38599: Src/subst.c: skip the "no such named directory" warning
when NO_EXEC is in effect
2016-06-03 Barton E. Schaefer <schaefer@zsh.org>
* users/21609: Completion/Unix/Type/_path_files: do not treat
tilde-expansions as quoted when inside command substitutions
2016-06-03 Marko Myllynen <myllynen@redhat.com>
* 38587: Completion/Linux/Command/_iconvconfig: Fix iconvconfig
completion --output handling
2016-06-03 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Src/subst.c: internal: Document modify().
2016-06-03 Peter Stephenson <p.stephenson@samsung.com>
* 38586: Src/Modules/parameter.c, Test/D07multibyte.ztst:
Don't unmetafy values for $functions when passing back
within parameter framework.
2016-06-03 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38577: Completion/Unix/Type/_signals: Don't complete SIGEXIT
from _kill.
* 38576: Completion/Unix/Command/_git: Also detect
_git-${thirdparty} functions in $fpath that are symlinks.
2016-06-02 Eric Cook <llua@gmx.com>
* 38567: Marko Myllynen: Completion/Unix/Command/_locale:
completion for locale(1)
* 38440: Marko Myllynen: Completion/Linux/Command/_iconvconfig:
completion for linux's iconvconfig(8)
2016-06-02 Oliver Kiddle <opk@zsh.org>
* 38540: Src/Zle/zle_utils.c: fix undo problem by not moving
the current change when only undoing a history line change
2016-06-02 Peter Stephenson <p.stephenson@samsung.com>
* users/21603: Src/utils.c: Don't do second attempt at read/poll
from terminal if interrupted.
2016-05-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 38515: Matthew Martin: Completion/Zsh/Context/_subscript:
missing -- after print and optimised array add.
* 38514: Matthew Martin: Completion/Linux/Command/_vserver:
remove unnecessary ls.
* 38513: Matthew Martin: Src/Builtins/sched.c: cast time to long
long where possible.
2015-05-12 Clint Adams <clint@zsh.org>
* 38482: Completion/Debian/Command/_apt: complete available packages
for apt list.
2016-05-10 Barton E. Schaefer <schaefer@zsh.org>
* 38468: Src/lex.c: wb,we values in gotword() needed assignment in
additional case to avoid core dump (bug introduced by 38248)
* 38463: Src/Zle/zle_keymap.c: use immortal widgets in .safe keymap
2016-05-10 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Functions/Math/.distfiles, Functions/Math/zmathfunc:
Commit forgotten part of users/21256.
* 38453: Completion/Debian/Command/_apt: Complete
${package}/${release} for 'source' and 'build-dep', too.
* 38452: Completion/Debian/Command/_apt: Complete releases by
codename ('jessie', 'sid', etc).
* 38451: Completion/Debian/Command/_apt: Complete 'apt-get
download'.
2016-03-10 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* Marko Myllynen: 38458: Doc/Zsh/compsys.yo: mention the option
-i of _multi_parts
2016-05-09 Barton E. Schaefer <schaefer@zsh.org>
* Jun T.: 38445 (+tweak): Test/C02cond.ztst: subsequent tests rely
on a file touched by the -N test, so it must always be touched even
when the filesystem is noatime
* 38432: Src/zsh_system.h: avoid nonstandard setenv() on __APPLE__
2016-05-09 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Functions/Zle/bracketed-paste-magic: update documentary
comments to remove references to self-insert-unmeta.
2016-05-09 Frank Terbeck <ft@bewatermyfriend.org>
* 38422: Completion/Unix/Type/_baudrate,
Completion/Unix/Type/_baudrates: _baudrate -> _baudrates
* 38426: Completion/Unix/Type/_baudrates: _baudrates: Use 2 space
indentation
* 38424: Completion/BSD/Command/_cu, Completion/Unix/Command/_gdb,
Completion/Unix/Command/_joe, Completion/Unix/Command/_picocom,
Completion/Unix/Command/_screen: Use _baudrates helper instead of
_baudrate
* 38421: Completion/Unix/Type/_baudrates: _baudrates: Fit better
into the general completion framework
* 38425: Completion/BSD/Command/_cu: _cu: Remove old -d option of
_baudrates
* 38420: Completion/Unix/Type/_baudrates: _baudrates: Make style
lookups fit better with the rest of compsys
2016-05-06 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38401: Completion/Debian/Type/_deb_packages: New completion
for source packages.
2016-05-06 Axel Beckert <abe@deuxchevaux.org>
* unposted: Doc/Zsh/builtins.yo: Fix typo.
2016-05-04 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38402: Completion/Zsh/Command/_precommand: Complete
'eatmydata'.
* 38399: Completion/Debian/Command/_bts,
Completion/Debian/Command/_bug,
Completion/Debian/Type/_debbugs_bugnumber: _bts: Complete
debbugs bug numbers from `bts cache`.
2016-05-03 Russell Currey <ruscur@russell.cc>
* 38393: Completion/Unix/Command/_git: Fix typo in completion of
'--minimal'
2016-05-02 Barton E. Schaefer <schaefer@zsh.org>
* 38375 (tweaked per 38384): Test/C02cond.ztst: try harder to
detect noatime filesystems.
2016-05-02 Frank Terbeck <ft@bewatermyfriend.org>
* 38388: Completion/BSD/Command/_cu, Completion/Unix/Command/_gdb,
Completion/Unix/Command/_joe, Completion/Unix/Command/_picocom,
Completion/Unix/Command/_screen, Completion/Unix/Type/_baudrate:
Refactor baud rate completion
2016-05-01 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Debian/Command/_bug: _querybts: Fix
positional arguments' description.
* unposted: Completion/Zsh/Command/_compadd: Fix typo.
2016-05-01 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Doc/Zsh/redirect.yo: typo.
2016-05-01 Frank Terbeck <ft@bewatermyfriend.org>
* 38381: Completion/Unix/Command/_picocom: Add completion for
picocom utility
2016-05-01 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38369: Completion/Unix/Command/_git: Complete fetchy refspecs
correctly.
* 38368: Completion/Unix/Command/_git: Bifurcate __git_ref_specs.
* 38367: Completion/Unix/Command/_git: Fix an apparent typo
in __git_heads().
* 38366: Completion/Unix/Command/_git: Offer alternatives
properly.
* 38365: Completion/Unix/Command/_git: _git-bundle: Complete
required file argument to 'git bundle' correctly.
2016-04-29 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Src/builtin.c: silence spurious compiler warning
* 38358: Test/C02cond.ztst: "fgrep --" for noatime check in case
a mount point is named "-" as in Fedora mock environment
2016-04-29 Peter Stephenson <p.stephenson@samsung.com>
* Sebastian: 38356: Src/Modules/curses.c, Doc/Zsh/mod_curses.yo:
allow integers as colours in curses.
* Sebastian: 38354: Src/Modules/curses.c: alter internal return
code so as not to mask curses error code.
2016-04-26 Barton E. Schaefer <schaefer@zsh.org>
* 38350 (cf. Glenn Smith: 38348): Src/exec.c: Remove-all warning
should warn about the root directory as well
2016-04-23 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38316: Completion/Unix/Command/_git: _git-rebase: Complete
any committish for the second argument
2016-04-23 m0viefreak <m0viefreak.cm@googlemail.com>
* 38291: Doc/Zsh/zle.yo, Src/Zle/zle_params.c: Change names of
ISEARCH_* parameters to ISEARCHMATCH_*
2016-04-23 Barton E. Schaefer <schaefer@zsh.org>
* Mikael Berthe: 38307: Src/Modules/pcre.c: PCRE segfault when
parenthesized group matches nothing (cf. 37515)
* unposted: Test/V07pcre.ztst: regression test for 38307
2016-04-22 Barton E. Schaefer <schaefer@zsh.org>
* 38306: Src/builtin.c: in printf formats, treat a missing
precision as zero rather than as unlimited
2016-04-15 Barton E. Schaefer <schaefer@zsh.org>
* 38289: Completion/compinit: "builtin enable" in $_comp_setup
to avoid accidentally invoking external command of the same name
2016-04-14 Oliver Kiddle <opk@zsh.org>
* Han Pingtian: 38219: Completion/Zsh/Context/_subscript:
remove redundant left square bracket
* 38287: Src/Zle/zle_vi.c: fix position for the end of a visual
selection range for the cursor on an empty last line in the buffer
* 38286: Src/Zle/zle_misc.c: cursor correction following
yank-pop is only applicable to vi command mode
* Christian Neukirchen: 37847: Completion/Unix/Command/_du:
update du arguments up to GNU du 8.25
2016-04-10 Barton E. Schaefer <schaefer@zsh.org>
* m0viefreak: 38264: Doc/Zsh/zle.yo: improve doc for 38145
2016-04-09 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Completion/Base/Widget/_complete_help: capture the
fallback to compctl in case there is one defined
2016-04-09 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38255: Completion/Unix/Command/_git: Fix argument pastedness.
2016-04-07 Barton E. Schaefer <schaefer@zsh.org>
* 38248: Src/lex.c, Src/Zle/zle_tricky.c: fix word position
calculation when completing on or just before a redirection
operator; the completion result is still in need of some repair
2016-04-03 Barton E. Schaefer <schaefer@zsh.org>
* 38229: Src/Zle/zle_tricky.c: fix cursor placement calculation
when completing in empty double quotes
2016-03-26 Barton E. Schaefer <schaefer@zsh.org>
* Dmitry Marakasov: 38162: accept G for gigabytes in limit command
2016-03-21 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38182: Completion/Unix/Command/_git: Invoke reflog completion
from the 'complete commit objects' codepath.
* 38181: Completion/Unix/Command/_git: _git reflog: Complete
'@{N}' instead of 'HEAD@{N}'.
* 38180: Completion/Unix/Command/_git: Improve reflog completion.
2016-03-21 Peter Stephenson <p.stephenson@samsung.com>
* m0viefreak: 38145: Doc/Zsh/zle.yo, Src/Zle/zle_params.c: Make
isearch and completion suffix variables visible as parameters.
2016-03-20 Barton E. Schaefer <schaefer@zsh.org>
* 38191: Src/Zle/zle_main.c: in reexpandprompt(), do not free global
pointers until after promptexpand() in case they are referenced from
signal handlers, and do additional re-entrancy checks in case of
window size changes during promptexpand().
2016-03-20 Barton E. Schaefer <schaefer@zsh.org>
* 38188: Src/pattern.c: signal re-entrancy, maybe
2016-03-19 Mikael Magnusson <mikachu@gmail.com>
* 38186: Completion/Unix/Command/_adb: fix remote file completion,
various fixes, restore 35531 again with fix from 38185
* 38187: Completion/Unix/Command/_adb: Just check current dir
instead of recursively
2016-03-18 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Doc/Zsh/contrib.yo: Document run-help-* helper
functions.
2016-03-18 Mikael Magnusson <mikachu@gmail.com>
* 38179: Completion/Unix/Command/_adb: Fix completion by mostly
reverting 35531, add missing subcommands from latest adb
2016-03-16 Frank Terbeck <ft@bewatermyfriend.org>
* 38161: Completion/Unix/Command/_tmux: _tmux: Use a colon to
terminate options to _arguments itself
2016-03-15 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38155: Doc/Zsh/compsys.yo: docs: compsys: Clarify documentation
of the 'filter' style.
2016-03-15 m0viefreak <m0viefreak.cm@googlemail.com>
* 38151: Completion/Unix/Command/_git: fix tag name of remote
branches
* 38148: Completion/Unix/Command/_git: reflog: complete
references next to commands
2016-03-11 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38135: Src/Zle/complete.c: internal: bin_compadd: Add a
few comments.
* 38129: Completion/Unix/Command/_git: Fix __git_ignore_line's
treatment of shell and pattern metacaracters.
2016-03-10 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38128: Completion/Unix/Command/_git: Fix completion of diffs
against the index when treeish isn't shell-safe
* 38123 (after 38074): Completion/Unix/Command/_git: _git reset
$treeish: complete only staged files
2016-03-09 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38120: Completion/Unix/Command/_git: Document the internal
helper function __git_ignore_line.
2016-03-08 Peter Stephenson <p.stephenson@samsung.com>
* 38114: Src/exec.c: In substitutions involving subshells, disable
signals that require interactive handling.
2016-03-09 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* unposted: .gitignore: update for 38108
2016-03-08 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 38074: Completion/Unix/Command/_git: _git reset HEAD:
complete only staged files
* 38108: Config/defs.mk.in, Doc/Makefile.in, Doc/ztexi.yo,
configure.ac: enable to create both zsh_{a4,us}.pdf
2016-03-07 Oliver Kiddle <opk@zsh.org>
* 38043: Src/Zle/compcore.c, Src/Zle/complist.c,
Src/Zle/zle_tricky.c: allow any completion widget to cycle matches
for menu completion to fix reverse menu completion
2016-03-07 Peter Stephenson <p.stephenson@samsung.com>
* 38111: Src/parse.c: remove redundant return values from
par_list() and par_list1().
* users/21352: Src/subst.c, Test/A03quoting.ztst: use nulstring
to ensure $'' isn't elided.
* 38094: Src/signals.c, Test/C03traps.ztst: POSIX exit traps
aren't local so local level should be 0 so they don't
get trashed if defined in a function.
2016-03-06 Barton E. Schaefer <schaefer@zsh.org>
* 38106: Src/parse.c: if...then if...else should be a parse error.
* Greg Klanderman: 38086: Doc/Zsh/params.yo, Src/init.c,
Src/params.c: shuffle init code to localize a global, add
$ZSH_ARGZERO, refine $ZSH_SCRIPT
2016-03-04 Peter Stephenson <p.stephenson@samsung.com>
* 38084: Baruch Siach: configure.ac: use the pcre-config we
found earlier for determining libs.
2016-03-03 Barton E. Schaefer <schaefer@zsh.org>
* 38048: Src/zle_refresh.c: fix "zle redisplay" when called while
a listing is below the prompt (e.g., from interrupt handler)
* Martijn Dekker: 38039: Src/options.c: POSIXy behavior for "set +o"
2016-02-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Stephane: 38020: fix problems with fractions of a second in
$SECONDS.
2016-02-25 Peter Stephenson <p.stephenson@samsung.com>
* 38024: Src/signals.c, Test/C03traps.ztst: improve 37999 to
allow nested zsh-mode EXIT traps not to remove a POSIX EXIT
trap.
2016-02-19 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Etc/completion-style-guide: Clarify the term "variant".
2016-02-17 Peter Stephenson <p.stephenson@samsung.com>
* 37999: README, Src/signals.c, Test/C03traps.ztst: Make
POSIX-style EXIT traps behave according to POSIX_TRAPS at
the point where the trap is set.
2016-02-16 Daniel Shahaf <d.s@daniel.shahaf.name>
* users/21256 + workers/37965: Doc/Zsh/contrib.yo,
Doc/Zsh/mod_mathfunc.yo, Src/zsh.mdd: New math functions
min(), max(), sum(), provided by a new autoloadable function
'zmathfunc'.
2016-02-16 Barton E. Schaefer <schaefer@zsh.org>
* 38001: Src/Zle/zle_refresh.c: clear-screen re-expands prompts
* 37988: Src/params.c: $0 becomes read-only under POSIXARGZERO
2016-02-15 Eric Cook <llua@gmx.com>
* 37975: Completion/Unix/Command/_php: allow completion after
the first non-option argument.
2016-02-14 Barton E. Schaefer <schaefer@zsh.org>
* 37898: Completion/compinstall: fix typo in completer menu
* 37898: Completion/Unix/Command/_gcc: complete linker options
* 37972: Completion/Base/Utility/_arguments,
Completion/Base/Widget/_correct_filename,
Completion/Base/Widget/_most_recent_file,
Completion/Unix/Command/_devtodo, Completion/Unix/Command/_make,
Completion/Unix/Command/_ssh, Completion/Unix/Command/_tar,
Completion/Unix/Command/_zip,
Completion/Unix/Type/_canonical_paths: Redirect stderr to
/dev/null in cases where ${~param} might generate errors
* 37971 (cf. users/21284: Eric Freese):
Functions/Zle/bracketed-paste-magic: fix potential issues when
interacting with user-defined widgets
* 37961: Src/Zle/complist.c: in interactive menuselection, use of
"compadd -x" (e.g. the "warnings" zstyle) may have replaced the
completion list, so skip highlighting of the current selection
until a subsequent keystroke has regenerated the original listing;
fixes crash on bad memory access
2016-02-11 Eric Cook <llua@gmx.com>
* 37913: Completion/BSD/Command/_gstat,
Completion/BSD/Command/_sysrc, Completion/Linux/Command/_gpasswd,
Completion/Linux/Command/_htop, Completion/Linux/Command/_kpartx,
Completion/Unix/Command/_top, Completion/Unix/Command/_tput,
Completion/Unix/Command/_zpool: new completers and improvement
for _zpool.
2016-02-11 Peter Stephenson <p.stephenson@samsung.com>
* 37946: Src/utils.c: make rm * warnings more informative about
files being deleted.
2016-02-10 Barton E. Schaefer <schaefer@zsh.org>
* 37927: Src/Zle/complist.c: recreate local keymaps as necessary
in case the user has deleted them
2016-02-09 Peter Stephenson <p.stephenson@samsung.com>
* 37893: Doc/Zsh/builtins.yo: document behaviour of typeset -U
for parameters with multiple interfaces.
2016-02-09 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37924: Completion/Unix/Command/_git: Completion: _git:
Complete files for 'check-ignore'
* 37923: Completion/Debian/Command/_bts: Completion: _bts:
Fix quoting of $DEBEMAIL.
* 37922: Util/zyodl.vim: zyodl.vim: Add alternative installation
instructions.
* 37896: Doc/Zsh/builtins.yo: zshbuiltins: Document argv
behaviour of 'source' without arguments
* unposted: ChangeLog: Move the 37678 entry to the correct
location (and author).
2016-02-08 Barton E. Schaefer <schaefer@zsh.org>
* 37914: Src/builtin.c, Test/E01options.ztst: reparse associative
array subscripts in "unset" so keys with "[" or "]" may be
backslash-escaped. Fix erroneous test case this revealed.
2016-02-07 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 37895: Src/params.c, Doc/Zsh/parmas.yo: add ZSH_SCRIPT as
always available form of POSIX $0.
2016-02-07 Dominik Ritter <dritter03@googlemail.com>
* unposted: Doc/Zsh/mod_complist.yo: complist module docs:
Fix parameter name in an example.
2016-02-07 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: README: Follow-up to 37833: extend description of
37804 in README.
2016-02-04 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 37874: Src/Builtins/sched.c: remove unused function argument.
2016-02-03 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 37868: Src/Modules/curses.c, Src/Modules/param_private.c,
Src/Modules/tcp.c, Src/Modules/termcap.c, Src/Modules/zftp.c,
Src/Zle/complist.c, Src/Zle/zle_misc.c, Src/Zle/zle_utils.c,
Src/cond.c, Src/exec.c, Src/glob.c, Src/jobs.c, Src/params.c,
Src/prompt.c, Src/utils.c: add 'static' to file local variables.
2016-01-31 Barton E. Schaefer <schaefer@zsh.org>
* 37859: Src/text.c: NULL-terminate cond_binary_ops static array.
2016-01-30 Barton E. Schaefer <schaefer@zsh.org>
* 37845: Doc/Zsh/builtins.yo: Forward-reference typeset instances
where no parameter is created, and remove the obsolete statement
about array assignments separated from typeset command on -p.
* 37844: Doc/Zsh/builtins.yo: reorder typeset introduction to keep
related concepts together.
2016-01-30 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37831: Doc/Zsh/builtins.yo: typeset: Document exit status
difference from parameter assignment statements
2016-01-30 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 37838: Src/Builtins/rlimits.c, Src/Builtins/sched.c,
Src/Modules/curses.c, Src/Modules/datetime.c, Src/Modules/db_gdbm.c,
Src/Modules/files.c, Src/Modules/langinfo.c, Src/Modules/mapfile.c,
Src/Modules/mathfunc.c, Src/Modules/newuser.c, Src/Modules/parameter.c,
Src/Modules/pcre.c, Src/Modules/regex.c, Src/Modules/socket.c,
Src/Modules/stat.c, Src/Modules/system.c, Src/Modules/tcp.c,
Src/Modules/termcap.c, Src/Modules/terminfo.c, Src/Modules/zpty.c,
Src/Modules/zselect.c, Src/Modules/zutil.c, Src/Zle/compctl.c,
Src/Zle/computil.c, Src/Zle/zle_utils.c, Src/Zle/zle_word.c,
Src/hashtable.c, Src/hist.c: use UNUSED() consistently
2016-01-29 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37833: README: Document 37804 in README.
* 37797: StartupFiles/zshrc: StartupFiles/zshrc += run-help
* 37752: Test/D04parameter.ztst: More tests for the previous
patch.
* 37700: Src/lex.c, Src/parse.c, Src/zsh.h,
Test/D04parameter.ztst: Teach ${(z)} the 'repeat WORD SUBLIST'
syntax.
* unposted: Completion/Unix/Command/_init_d: _init_d: Report
failure to caller.
2016-01-28 Eric Cook <llua@gmx.com>
* 37814: Kamil Dudka: Functions/Misc/run-help-ip: use /bin/zsh
as the shebang.
2016-01-27 Barton E. Schaefer <schaefer@zsh.org>
* 37804 (plus error return per 37816): Src/loop.c: first word
following "repeat" should be evaluated as math, to match docs
* 37819: Src/hist.c: zshaddhistory hook is intended to work for
any history file write, even upon keyboard interrupt
* 37810: Src/Modules/zutil.c: repair handling of backslashes and
of names starting with "+"/":"/"=" in zparseopts option specs
2016-01-26 Eric Cook <llua@gmx.com>
* 37788: Completion/Zsh/Context/_subscript: fix completion of
associative array keys
2016-01-26 Barton E. Schaefer <schaefer@zsh.org>
* 37802: Doc/Zsh/mod_zutil.yo: Clarify zparseopts description.
* 37802: Src/Modules/zutil.c: zparseopts "X::" specifier should
also look for the optional argument in the word after "-X".
* 37785: Src/params.c: skip autoload parameters for "typeset -p"
2016-01-25 Barton E. Schaefer <schaefer@zsh.org>
* Jun T.: 37759: Src/Modules/param_private.c: save more function
pointers from realparamtab when hacking in their replacements,
because restoring from the original external symbols fails for
some dynamic link schemes (e.g. 64bit Cygwin).
2016-01-25 Peter Stephenson <p.stephenson@samsung.com>
* 37780: Kamil Dudka: Src/utils.c: Careful in case both argzero
and scriptname are null in zerr().
* 37765: Src/builtin.c, Test/C04funcdef.ztst: Use FS_FUNC on
funcstack to find autoload -X target rather than scriptname.
* 37776: Src/utils.c: set errflag before calling zwarning() to
avoid recursive error messages.
2016-01-23 Matthew Martin <phy1729@gmail.com>
* 37725: Completion/Unix/Command/_init_d: Completion: _init_d:
add OpenBSD bits
2016-01-23 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37703: Completion/Unix/Command/_git: Completion: git: Also
complete sendmail commands for send-email's configuration. (after
37666)
2016-01-21 Peter Stephenson <p.stephenson@samsung.com>
* 37722: Src/builtin.c, Test/C02cond.zts: test builtin should
return status 2 on syntax error.
2016-01-20 Peter Stephenson <p.stephenson@samsung.com>
* 37705: Src/lex.c, Test/D04parameter.ztst: don't turn - to
Dash after start of brace parameter.
* unspoted: Config/version.mk: incremented version to 5.2-dev-1
because of parsing change.
2016-01-20 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37666: Completion/Unix/Command/_git: Completion: git:
'send-email --smtp-server=' takes absolute path to sendmail.
* 37665: Completion/Unix/Command/_git,
Completion/Unix/Type/_absolute_command_paths, Doc/Zsh/compsys.yo:
Completion: New helper _absolute_command_paths.
* 37664: Completion/Unix/Type/_path_commands, Doc/Zsh/compsys.yo:
docs: Document the completion function _command_names.
2016-01-19 Peter Stephenson <p.stephenson@samsung.com>
* 37693: Src/glob.c: turn Dash into '-' in glob qualifiers.
* 37689: README, Src/glob.c, Src/lex.c, Src/pattern.c,
Src/zsh.h, Test/D02glob.ztst: also ! and ^ need to be tokenised
in character set.
* 37678: Src/glob.c, Src/lex.c, Src/pattern.c, Src/utils.c,
Src/zsh.h, Test/D02glob.ztst: Now possible to quote "-" in
a pattern range.
2016-01-18 Barton E. Schaefer <schaefer@zsh.org>
* 37682: Src/lex.c: when SH_GLOB is set (e.g. in "sh" emulation)
do not parse bare parentheses in arguments as a pattern grouping.
2016-01-18 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37634: Completion/Unix/Command/_man: _man: Support subsection
names such as '3p'.
* 37634: Completion/Unix/Command/_man: _man: Disentangle a local
variable that had two distinct semantics. No functional change
* 37663: Completion/Unix/Command/_bibtex: New bibtex completion
(very minimal).
* unposted: Doc/Zsh/zle.yo: docs: zshzle(1): Trivial
clarification to $CONTEXT.
2016-01-15 Peter Stephenson <p.stephenson@samsung.com>
* 37646: Src/builtin.c, Test/B02typeset.ztst: typeset should
return non-zero status on attempt to set readonly variable.
* 37643: Src/Zle/complist.c: Reset interrupt after getkeycmd()
in menu selection.
* 37512: Src/params.c: overeager WARN_CREATE_GLOBAL with
strftime.
2016-01-15 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Src/utils.c: Extend docstring of callhookfunc().
* unposted: Functions/VCS_Info/Backends/VCS_INFO_detect_p4:
Fix typo in comment.
* 37612: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Set $git_patches_unapplied correctly for
'rebase-apply' case.
2016-01-14 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37590: Src/Zle/zle_hist.c, Src/Zle/zle_main.c: Invoke
zle-line-pre-redraw during isearch.
2016-01-13 Barton E. Schaefer <schaefer@zsh.org>
* 37570: Functions/Zle/transpose-words-match: give truth to the
doc assertion this is a drop-in replacement for transpose-words
* 37567: Functions/Zle/match-words-by-style: use (Z:n:) to split
the buffer into words so line breaks are treated as whitespace
2016-01-13 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37591: Src/hashtable.c, Test/A02alias.ztst: 37591: 'alias -L':
skip with a warning aliases with '=' in their LHS
* 37550: Completion/BSD/Command/_cu: _cu: Support Linux
line-device names; fail gracefully on OSes matching no known
line-device name pattern.
2016-01-10 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37551: Src/builtin.c: Include the builtin's name in a "bad
option" error message.
2016-01-10 Eric Cook <llua@gmx.com>
* 37534: Matthew Martin: Completion/BSD/Command/_cu,
Completion/BSD/Command/_fw_update, Completion/BSD/Command/_rcctl
2016-01-08 Barton E. Schaefer <schaefer@zsh.org>
* Jun T.: 37515: Src/Modules/pcre.c, Test/V07pcre.ztst: multibyte
handling as per 35448.
* unposted (cf. Jun T.: 37516): Src/builtin.c: refine READ_MSTREAM
to avoid unsequenced evaluation
2016-01-06 Barton E. Schaefer <schaefer@zsh.org>
* 37513 (cf. Jun T.: 37508): Src/builtin.c: fix typos; improve
error cleanup in tempfile case of ASSIGN_MSTREAM(); simplify
READ_MSTREAM() and correct for signed/unsigned compiler warning
2016-01-04 Barton E. Schaefer <schaefer@zsh.org>
* 37504: Src/builtin.c: refactor code using/simulating memstream
to capture output for "print -v"
* 37503: Src/builtin.c: detect incompatible "print" options, fix
metafication and possible memory leak, miscellaneous cosmetics
* Jun T. (+ revise test): 37501: Src/builtin.c, Test/B03print.ztst:
correct byte counts when simulating memstream via temp file
2016-01-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 37489, tweaked: Doc/Zsh/options.yo, Src/params.c,
Test/C01arith.ztst: with POSIX_IDENTIFIERS create math var as
scalar
2016-01-02 Barton E. Schaefer <schaefer@zsh.org>
* 37497: Src/builtin.c: handle NUL bytes in "printf -v".
* 37493: Doc/Zsh/builtins.yo, Src/builtin.c, Src/hashtable.h,
Test/B02typeset.ztst: readonly + POSIX_BUILTINS == typeset -gr
2016-01-01 Barton E. Schaefer <schaefer@zsh.org>
* 37483: Src/glob.c: save and possibly restore cshnullglob failure
state around each evaluation of an (e:...:) glob qualifier.
* 37473: Src/exec.c: check for cshnullglob in command position.
2015-12-31 Barton E. Schaefer <schaefer@zsh.org>
* 37469: Src/parse.c: do NOT allow semicolons in place of line breaks
in conditionals
* unposted: Src/builtin.c: enable WARN_CREATE_GLOBAL for print -v
* 37468: Src/parse.c: allow line breaks in more places in [[ ... ]]
* 37467: Doc/Zsh/builtins.yo, Src/builtin.c, Test/B03print.ztst:
add "print -v var" / "printf -v var"
2015-12-31 Oliver Kiddle <opk@zsh.org>
* 37453 (with Bart, started by Baptiste Daroussin, 37315)
Test/C02cond.ztst: try to improve detection of noatime filesystem
* users/21114: Completion/Unix/Command/_dig: new completion
2015-12-30 Barton E. Schaefer <schaefer@zsh.org>
* 37460: Test/X03zlebindkey.ztst: make sure the default keymap is
emacs before using that keymap to test bindings
2015-12-31 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: NEWS: Document how to disable paste highlighting.
* 37456: Src/Zle/zle_refresh.c: Have zle_highlight=(none)
disable paste highlighting
2015-12-30 Frank Terbeck <ft@bewatermyfriend.org>
* 37451: Functions/VCS_Info/vcs_info: vcs_info: Declare "msgs" in
early context
2015-12-27 Axel Beckert <abe@deuxchevaux.org>
* 37438: Completion/Debian/Command/_aptitude: Also parse --help/-h
output of aptitude 0.7.5 and later.
2015-12-26 Axel Beckert <abe@deuxchevaux.org>
* 37436: Felipe Sateler: Completion/Debian/Command/_apt:
Add missing apt purge and autoremove subcommands.
2015-12-25 Barton E. Schaefer <schaefer@zsh.org>
* 37435 (+ fix typo): Src/exec.c: allow execution of empty files
as "sh" scripts
* 37434: Src/exec.c: POSIXBUILTINS "command" should prevent shell
exit on errors from special builtins
2015-12-23 Philip Sequeira <phsequei@gmail.com>
* 37345: Functions/VCS_Info/VCS_INFO_maxexports,
Functions/VCS_Info/VCS_INFO_set: VCS_INFO functions break with
setopt no_unset
2015-12-19 Barton E. Schaefer <schaefer@zsh.org>
* users/21082 (expanded): Functions/Misc/is-at-least: do a more
complete job of sorting version strings that are not in the form
of zsh version numbers; additional explanatory comment
* unposted (cf. 37387): Src/options.c: emulate turns off
WARN_CREATE_GLOBAL
* users/21068: Functions/Newuser/zsh-newuser-install: use emacs
keymap in vared by default (less surprising than vi modes)
2015-12-19 Mikael Magnusson <mikachu@gmail.com>
* 36650: Doc/Zsh/zle.yo, Src/Zle/zle_main.c: Add
zle-line-pre-redraw hook for highlighting
2015-12-19 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted (after users/20873): Functions/Zle/edit-command-line:
Theoretical fix: don't parse print/echo escape sequences in
$zle_bracketed_paste.
* 37257 (in part): Test/A06assign.ztst: Add array assignment tests.
2015-12-16 Peter Stephenson <p.stephenson@samsung.com>
* 37411: Test/X03zlebindkey.ztst: more bindkey tests.
2015-12-15 Peter Stephenson <p.stephenson@samsung.com>
* 37405: Src/Zle/zle_keymap.c, Test/X03zlebindkey.ztst: fix
binding of self-insert to full or partial multibyte sequences
longer than a one byte prefix and add test.
2015-12-14 Peter Stephenson <p.stephenson@samsung.com>
* 37401: Completion/Unix/Type/_list_files: fix pattern error
causing too much use of zstat.
* 37400: Functions/Chpwd/zsh_directory_name_generic: fix typo
that caused unwanted error message.
2015-12-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 37397: Adrien Vergé: Completion/Redhat/Command/_dnf: update
with optimisations.
2015-12-11 Peter Stephenson <p.stephenson@samsung.com>
* Functions/Zle/url-quote-magic: match, mbegin, mend should be
locally.
2015-12-11 Oliver Kiddle <opk@zsh.org>
* 37383: Matthew Martin: Completion/Unix/Command/_elfdump,
Completion/Unix/Command/_nm, Completion/Unix/Command/_objdump,
Completion/Unix/Command/_readelf, Completion/Unix/Type/_object_files:
add completion type for object files
* 37260: Simon Hafner: Completion/X/Command/_mplayer:
add opus to mplayer audio completions
* users/20873: Functions/Zle/edit-command-line: disable bracketed
paste while running external editor from zle
2015-12-10 Peter Stephenson <p.stephenson@samsung.com>
* 37378: Src/Modules/zpty.c, Test/X03zlebindkey.ztst,
Test/comptest: New bindkey tests; also fix Meta bug with pattern
match on zpty -r.
2015-12-09 Peter Stephenson <p.stephenson@samsung.com>
* 37364: Src/builtin.c, Src/text.c, Test/C02cond.ztst: "test"
and "[" need to prefer binary operators to parentheses in
three-argument expressions.
2015-12-08 Peter Stephenson <p.stephenson@samsung.com>
* 37348: Src/utils.c, Test/D04parameter.ztst,
Test/D07multibyte.ztst: tests for ${(q+)...} and extra
dupstring() needed for empty string case.
* 37347: Functions/VCS_Info/VCS_INFO_nvcsformats: msgs
shouldn't be local here, but in caller (where it already is).
* users/21071: Src/Zle/zle_keymap.c: Multibyte key sequences
couldn't be bound if the initial byte was the start of any
self-insert sequence.
2015-12-07 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 37344: Doc/Zsh/expn.yo, Src/subst.c, Src/utils.c, Src/zsh.h,
Test/D04parameter.ztst, Test/V09datetime.ztst: restore old
printable quoting of characters when not used from quotedzputs()
and add ${(q+)...} to output the new form.
* 37331: Src/utils.c: use a single character to represent an
MB_INCOMPLETE string even if multiple octets.
2015-12-07 Peter Stephenson <p.stephenson@samsung.com>
* 37337: Src/Zle/zle.h, Src/Zle/zle_main.c,
Src/Zle/zle_thingy.c: Delay freeing widget until not in use.
* 37335: Test/D04parameter.ztst, Test/V09datetime.ztst: fix
tests after 37314.
* 37310: Doc/Zsh/builtins.yo: effect of disabling typeset
reserved word.
2015-12-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 37326: Src/utils.c: comment how counting for multibyte string
lengths and widths is supposed to work.
* 37314: Src/utils.c, Src/zsh.h: upgrade quotedzputs() to use
nicechar() where necessary. Regularise nicechar() etc. to produce
$'...' compatible output.
2015-12-05 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37150: Completion/Unix/Command/_git: _git: Autocomplete .. for
commit ranges
* 36957: Completion/Unix/Command/_git: _git: Apply matchspecs to
filename completion such as 'git log f/b<TAB>' → 'foo/bar.txt's
2015-12-04 Peter Stephenson <p.stephenson@samsung.com>
* 37305: Src/params.c, Test/A06assign.ztst,
Test/B02typeset.ztst, Test/V10private.ztst: typeset -p
can now output arrays on one line.
* unposted: Src/exec.c, Src/init.c: fix up init_io() calls
in previous change.
* 37294: Doc/Zsh/params.yo, Src/init.c: Add $ZSH_EXECUTION_STRING
to give argument to shell -c option.
2015-12-03 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37253: Src/params.c: Constify two local variables.
* unposted: Completion/Unix/Command/_getent,
Completion/Unix/Command/_mtools,
Completion/Unix/Type/_mime_types,
Completion/X/Command/_kfmclient, Completion/Zsh/Command/_zed:
Remove unneeded executability bits.
* 37296: Src/utils.c: Avoid needless calloc().
* 37295: Functions/Zle/backward-kill-word-match,
Functions/Zle/kill-word-match: Join kills
2015-12-03 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Config/version.mk: update to 5.2-dev-0.
* unposted: Config/version.mk: release zsh 5.2 (N.B. this entry
added ex post facto as a marker).
2015-11-30 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37256: Completion/Debian/Command/_debchange: _debchange
(_dch): Update completion.
* 37252: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Compute %b correctly with "rebase --onto" of
detached heads. (Follow-up to 36725.)
* 37254: Src/params.c: No functional change: change code layout
in preparation for 37253.
* 37250: Src/params.c: No functional change: rename local
variables.
2015-11-29 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted; Config/version.mk: 5.1.1-test-3.
2015-11-28 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted (after 37243): Test/B02typeset.ztst: Explain the
breadcrumb by adding a comment.
2015-11-27 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Test/V10private.ztst: %cleanup block is not called when
%prep sets ZTST_unimplemented, so avoid leaving a mess
* 37243: Test/B02typeset.ztst, Test/V10private.ztst: too many
problems with inserting a line into B02, instead add a placeholder
and substitute for it.
2015-11-27 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Functions/Misc/zcalc: ZCALCPROMPT created globally.
2015-11-27 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37214: Functions/Prompts/prompt_walters_setup: 'prompt
walters': Don't export PS1
* 37163: Completion/Unix/Command/_curl,
Completion/Unix/Type/_urls: Remove curl completion
* 37215: Completion/Base/Utility/_regex_words: _regex_words:
Don't add mismatched parentheses
2015-11-26 Barton E. Schaefer <schaefer@zsh.org>
* 37229: Src/Modules/param_private.c, Test/V10private.ztst: non-
local assignment to a parameter name whose outermost declaration
is private, is an error rather than a silent no-op. Fix %prep
from 37225 for Solaris.
* unposted (cf. 37226): Test/B02typeset.ztst: export == typeset -xg
* 37225: Test/V10private.ztst: fix test from 37208
* 37224: Test/B02typeset.ztst: delete obsolete comment
2015-11-26 Peter Stephenson <p.stephenson@samsung.com>
* Matthew Martin: 37100: Completion/Unix/Command/_sysctl:
updates.
2015-11-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: 5.1.1-test-2
2015-11-23 Barton E. Schaefer <schaefer@zsh.org>
* 37208: Src/params.c: check for restricted parameter before
changing from unset to set; return NULL from setnparam() on
failure to retrieve value (avoids null-pointer dereference);
add some expository comments
* 37208: Test/V10parameter.ztst: re-run the "typeset" tests with
the private module loaded
* 37208: Src/Modules/param_private.c: assignment in a nested scope
should not change private parameters in the outer scope from unset
to set; bug remains that the attempt does not generate a warning
* 37206: Src/subst.c: fix ${(t)param} for "typeset -H param"
* 37205: Test/B01cd.ztst: update documentary comment
2015-11-23 Peter Stephenson <p.stephenson@samsung.com>
* 37203: Src/params.c: WARN_CREATE_GLOBAL test in wrong place
for associative array.
2015-11-22 Barton E. Schaefer <schaefer@zsh.org>
* Matthew Martin: 37201: Completion/Unix/Type/_groups: change
quoting to handle group names with spaces
2015-11-22 Barton E. Schaefer <schaefer@zsh.org>
* 37192: Functions/Prompts/prompt_adam1_setup,
Functions/Prompts/prompt_adam2_setup,
Functions/Prompts/prompt_bart_setup,
Functions/Prompts/prompt_clint_setup,
Functions/Prompts/prompt_oliver_setup,
Functions/Prompts/prompt_special_chars,
Functions/Prompts/promptinit: silence WARN_CREATE_GLOBAL
2015-11-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 37191: Src/utils.c: some locales prduce valid empty output for
strtfime escapes %p and %P.
* 37188: Test/B09hash.ztst: new test.
* 37187: Src/builtin.c: infinite loop in "hash -m".
* 37186: Functions/VCS_Info/VCS_INFO_nvcsformats,
Src/Zle/zle_main.c: a couple of WARN_CREATE_GLOBAL fixes.
2015-11-21 Barton E. Schaefer <schaefer@zsh.org>
* 37181: Test/C02cond.ztst, Test/D07multibyte.ztst,
Test/V01zmodload.ztst, Test/V02zregexparse.ztst,
Test/V03mathfunc.ztst, Test/V04features.ztst, Test/V05styles.ztst,
Test/V09datetime.ztst, Test/V10private.ztst, Test/X02zlevi.ztst,
Test/Y01completion.ztst, Test/Y02compmatch.ztst,
Test/Y03arguments.ztst, Test/comptest, Test/ztst.zsh: consistent
use of zmodload and corresponding ZTST_unimplemented or ZTST_skip
2015-11-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk, Etc/FAQ.yo, README: make
5.1.1-test-1 in preparation for 5.2.
2015-11-20 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Doc/Zsh/mod_paramter.yo: document order of entries
for $history and $historywords
2015-11-20 Mikael Magnusson <mikachu@gmail.com>
* 37161: Src/init.c: Disable the heuristic setting RPROMPT_INDENT
to 0
2015-11-20 Peter Stephenson <p.stephenson@samsung.com>
* 37170: Functions/Zle/smart-insert-last-word: suppress
WARN_CREATE_GLOBAL for intentional creation of global variables.
* 37168: Src/params.c: no WARN_CREATE_GLOBAL on special parameters.
* users/20974: Src/builtin.c, Test/D04parameter.ztst: fix bug
when scalar value assigned to special array in typeset.
2015-11-20 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37164: Completion/Unix/Command/_tmux: _tmux: Complete external
commands
* 37149: Completion/Unix/Command/_git: _git: Complete
'bisect/bad' ref
2015-11-19 Peter Stephenson <p.stephenson@samsung.com>
* 37159: NEWS, README: update for next version.
* unposted: Doc/Zsh/params.yo: describe separators between
values in array assignment.
2015-11-18 Barton E. Schaefer <schaefer@zsh.org>
* 37145: Src/lex.c: suppress alias expansion in skipcomm() to
defer parsing aliases in $(...) et al. into the subshell
2015-11-18 Peter Stephenson <p.stephenson@samsung.com>
* 37140: Doc/Zsh/expn.yo: note that <<(...) is < <(...).
2015-11-17 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37129: Completion/Unix/Command/_git: _git: Complete 'commit -p'
2015-11-17 Peter Stephenson <p.stephenson@samsung.com>
* 37128: Src/lex.c, Test/D06subscript.ztst: work around alias
expansion trashing subcript being parsed.
* 37127 (minor tweak): Doc/Zsh/params.yo: document indexing of
$signals.
2015-11-16 Mikael Magnusson <mikachu@gmail.com>
* Eric Cook: 36986: Functions/Misc/zed: Add -- to the `functions'
builtin calls
* Eric Cook: 37050: Completion/BSD/Command/_sockstat: minor improvements
2015-11-15 Barton E. Schaefer <schaefer@zsh.org>
* 37119: Doc/Zsh/expn.yo: further "Rules" clarifications
2015-11-14 Barton E. Schaefer <schaefer@zsh.org>
* 37115: Completion/Unix/Commmand/_git, Doc/Zsh/expn.yo: update
for changes in ${(P)...} evaluation.
2015-11-13 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Src/Zle/zle_tricky.c: Make $EDITOR's
jump-to-matching-brace happy.
* 37031: Completion/Unix/Command/_git: _git-merge: Exclude
ancestors of HEAD from recent commit completion
* 37025: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Add a cherry-pick patch-format
2015-11-13 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 37090: Doc/zman.yo, Doc/ztexi.yo: handle blank lines correctly
in yodl macro example()
* unposted: Doc/Zsh/builtins.yo, Doc/Zsh/contrib.yo,
Doc/Zsh/func.yo, Doc/Zsh/grammar.yo, Doc/Zsh/mod_pcre.yo,
Doc/Zsh/params.yo, Doc/Zsh/zle.yo: cosmetic format fix
2015-11-12 Peter Stephenson <p.stephenson@samsung.com>
* 37096: Src/subst.c, Test/D04parameter.ztst: make top-level
${(P)...} with nested ${(P)...} do the right thing.
* 37094: Src/subst.c, Test/D04parameter.ztst: Further tweaks to
parameter name references: array safety; nested parameters; tests.
2015-11-11 Peter Stephenson <p.stephenson@samsung.com>
* 37092: Doc/Zsh/expn.yo, Src/Zle/compctl.c,
Src/Zle/zle_tricky.c, Src/cond.c, Src/exec.c, Src/glob.c,
Src/subst.c, Src/zsh.h: make a ${(P)name} subexpression properly
refer to a parameter name.
* 37091: Src/Zle/zle_utils.c: clear lastline and lastlinesz when
freeing.
2015-11-10 Peter Stephenson <p.stephenson@samsung.com>
* 37084: Test/V10private.ztst: add check for zsh/param/private
implementation to test.
2015-11-09 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 37085: Doc/Zsh/options.yo: DEBUG_BEFORE_CMD is set by default.
Also fix entries in the option index.
2015-11-09 Barton E. Schaefer <schaefer@zsh.org>
* unposted (cf. Jun T.: 37083): Doc/Zsh/mod_private.yo: proofreading
2015-11-08 Barton E. Schaefer <schaefer@zsh.org>
* 37081: Doc/Makefile.in, Doc/Zsh/mod_private.yo,
Src/Modules/param_private.c, Src/Modules/param_private.mdd,
Test/V10private.ztst: new module zsh/param/private for
private-scoped parameters in functions
* 37080: Src/builtin.c, Src/params.c: use paramtab abstraction more
consistently, add explanatory comments
* 37079: Etc/zsh-development-guide: better description of "optstr"
field in struct builtin as used in BUILTIN() macro
2015-11-07 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 37074: Src/subst.c, Test/D04parameter.ztst: extend previous
fix to cover whitespace at end of substitution.
2015-11-06 Peter Stephenson <p.stephenson@samsung.com>
* 37073: Src/subst.c, Test/D04parameter.ztst: fix case of
SH_WORD_SPLIT with string before parameter substitution and
nested string that starts with a space e.g. x${:- y}.
2015-11-04 Peter Stephenson <p.stephenson@samsung.com>
* 37062: Completion/Unix/Command/_git: allow verbose
descriptions of commits and branches using git log. Mechanism
for turning this on subject to change.
2015-11-02 Daniel Hahler <zsh@thequod.de>
* 35303: Completion/Unix/Command/_systemd: remove it in favour of the
one from upstream.
2015-11-01 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 37038: Doc/Zsh/builtins.yo, Src/builtin.c, Src/options.c: add
-l option to emulate.
2015-10-31 Oliver Kiddle <opk@zsh.org>
* 37029: Completion/Unix/Command/_date,
Completion/Unix/Command/_sed, Completion/Unix/Command/_tail,
Completion/Unix/Command/_tr: update options and new tr completion
* 37028: Completion/Redhat/Command/_scl: new completion
* 36993: Eric Cook: Functions/Misc/zed: fix argument parsing
2015-10-31 Barton E. Schaefer <schaefer@zsh.org>
* unposted (cf. 36998,36999): Src/mem.c: undo 36956 / restore 34451
with expanded comment about the flip-flopping
2015-10-31 Daniel Shahaf <d.s@daniel.shahaf.name>
* 37032: Completion/Unix/Command/_git: Temporarily revert 36959.
2015-10-30 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted (after 37018): Src/params.c, Test/E01options.ztst: Fix
typo in error message.
2015-10-30 Peter Stephenson <p.stephenson@samsung.com>
* 37027: Doc/Zsh/contrib.yo, Functions/Zle/match-word-context:
add editing word context to allow detecting being between words.
* 37022: Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Src/glob.c,
Src/options.c, Src/zsh.h: add GLOB_STAR_SHORT option to
allow shorthand ** for **/* and *** for ***/*.
2015-10-29 Peter Stephenson <p.stephenson@samsung.com>
* 37018: Src/math.c, Src/params.c, Test/E01options.ztst: make
WARNCREATEGLOBAL consistent in all cases, outputting file name.
* unposted: .gitignore: ignore .orig files.
* 37014: Functions/MIME/zsh-mime-setup,
Functions/Misc/add-zsh-hook, Src/Modules/socket.c,
Src/Modules/tcp.c, Src/Modules/zpty.c, Src/builtin.c,
Src/params.c,Src/zsh.h: improved internal parameter setting.
Enhance WARNCREATEGLOBAL to work in many more cases. Don't
create REPLY as an integer if it didn't previously exist as one,
even if the value to be set is integral, as this is likely to
mess up later uses of REPLY.
2015-10-29 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 36983 (with fix from 36990): Completion/Unix/Command/_head,
Completion/Unix/Command/_tail: new completions for head and tail
2015-10-27 Barton E. Schaefer <schaefer@zsh.org>
* 36994: Functions/Zle/bracketed-paste-magic: declare local REPLY
for use with "zle .read-command"; use .self-insert instead of
.self-insert-unmeta
2015-10-27 Peter Stephenson <p.stephenson@samsung.com>
* 36982: Doc/Zsh/expn.yo, Src/pattern.c, Test/D02glob.ztst,
Test/D04parameter.ztst: fix actual bug with (#cN) and back off
previous change.
* 36977: Doc/Zsh/expn.yo: note about complications of pattern
repetitions (#cN).
* 36974: Src/Modules/zftp.c, Src/Zle/complist.c,
Src/Zle/computil.c, Src/Zle/zle_thingy.c, Src/parse.c: fix empty
argument lists.
2015-10-26 Barton E. Schaefer <schaefer@zsh.org>
* 36906: Kamil Dudka <kdudka@redhat.com>: Src/mem.c:
queue_signals() in ZSH_MEM realloc()
* 36968: Src/Modules/db_gdbm.c: use addmodulefd() to tell the
shell about the descriptor of the dbm file
* 36956: Src/mem.c: revert 34451, mmap() is too slow on MacOS
2015-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/20825: Src/Zle/zle_utils.c: get_undo_current_change()
needs same protection as mkundoent() for execution within
completion.
2015-10-25 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36962: Completion/Unix/Command/_git: _git: Fix completion of
RHS of refspecs.
* 36964: Completion/Unix/Command/_git: _git: Complete remotes
branch names with slashes correctly.
* 36960: Completion/Unix/Command/_git: _git: Enable slash matcher
for more branch and tag completions, include 'git branch <TAB>'
and 'git tag <TAB>'.
* 36959: Completion/Unix/Command/_git: _git: Offer @~$n as
completion of recent commits.
* 36958: Completion/Unix/Command/_git: _git: Fix recent commit
completion descriptions.
* unposted: Completion/Unix/Command/_git: _git: Fix 'commit
object name' completion messages.
2015-10-25 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 36911: Src/Zle/computil.c: '-optarg' should not match
optspec '-opt='
2015-10-24 Barton E. Schaefer <schaefer@zsh.org>
* 36943 (with updated comment): Src/mem.c: restore scan for
reclaimable blocks in freeheap() [had been removed by 36834]
2015-10-24 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_beep: _beep completion:
Actually hook it for the 'beep' command.
* 36913 + 36945: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt:
Pass patch subject lines to gen-applied-string
* 36912: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt:
Tolerate being in child of .pc's parent
2015-10-24 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Src/utils.c: small typo.
* 36944: Src/utils.c, Src/Modules/tcp.c, Src/Modules/socket.c:
extend the previous to zsocket, although this needs to allow the
fd to be closed explicitly.
* 36941: Src/utils.c, Src/zsh.h, Src/Modules/tcp.c: ensure shell
knows about file descriptiors used by ztcp and allow such file
descriptors to be marked as internal if needed (not yet used).
2015-10-22 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Doc/Zsh/contrib.yo: vcs_info docs: Typo fix.
2015-10-21 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Src/math.c: strdup should be ztrdup
* 36909: Src/hist.c: in getargs(), sanity-check the offsets for
start and end of the requested words, in case of overflow
* 36871: Functions/Zle/bracketed-paste-magic: move initial call
to "zle .bracketed-paste-magic" to occur earlier in the function
2015-10-20 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36900: Completion/Unix/Command/_git: _git: stash names
completion: Display log messages
2015-10-19 Oliver Kiddle <opk@zsh.org>
* 36642: Eric Cook: Completion/Unix/Command/_zfs:
complete jail/unjail subcommands on freebsd
* 36646: Eric Cook: Completion/Unix/Type/_zfs_dataset,
Completion/Unix/Command/_zpool, Completion/Unix/Command/_zfs:
solaris/openzfs differences; only use -t share solaris
* 36889: Eric Cook: Completion/BSD/Command/_sockstat:
completion of system specific sockstat options
* 36869: Matthew Martin: Completion/Unix/Command/_ssh: use
permissions to limit files completed for ssh identity files
2015-10-18 Frank Terbeck <ft@bewatermyfriend.org>
* 36888: Functions/VCS_Info/vcs_info: vcs_info: Prevent
warn_create_global warning with '-preinit-' state
2015-10-15 Peter Stephenson <p.stephenson@samsung.com>
* 36864: Completion/Unix/Command/_nm,
Completion/Unix/Command/_objdump: new objdump completion plus
tweak to _nm.
2015-10-14 Barton E. Schaefer <schaefer@zsh.org>
* 36853: Src/exec.c: replace pushheap/popheap by NEWHEAPS/OLDHEAPS
in doshfunc() to optimize memory management
2015-10-14 Peter Stephenson <p.stephenson@samsung.com>
* 36856: Doc/Zsh/contrib.yo, Functions/Chpwd/cdr: add -p and -P
options to cdr for pruning the directory list.
2015-10-11 Barton E. Schaefer <schaefer@zsh.org>
* 36841: Completion/Base/Widget/_complete_help: factor out and
update the patterns that filter "uninteresting" functions out
of the $funcstack list when generating the call trace to show
where a tag is active.
* 36836: Src/mem.c: zhalloc() avoids re-scanning all heaps when
the last known heap with free space does not have enough space
* 36834: Src/mem.c: freeheap() preserves last allocated heap
2015-10-11 Frank Terbeck <ft@bewatermyfriend.org>
* 36830: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info: Silence an error message with new git versions
* 36832: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info: Remove dependency on "seq"
2015-10-06 Peter Stephenson <p.stephenson@samsung.com>
* 36780: Src/params.c: ensure HOME parameter is unset if
corresponding internal variable is null.
2015-10-04 Barton E. Schaefer <schaefer@zsh.org>
* 36773: Src/utils.c: limit CORRECT / CORRECT_ALL to directory
names in cases where it is obvious that a directory is expected
2015-10-03 Barton E. Schaefer <schaefer@zsh.org>
* unposted (cf. 36696): Test/C03traps.ztst: test case for 36766
* unposted: Src/exec.c, Src/loop.c: back out 36707, fixed by 36766
* 36766: Src/exec.c: fix incorrect reset of noerrexit during
"if" conditions
2015-10-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 36760: Src/pattern.c: ensure we don't do anything untoward
with an already metafied pattern trial match.
2015-10-03 Mikael Magnusson <mikachu@gmail.com>
* 36754: Functions/TCP/tcp_open, Functions/TCP/tcp_read,
Functions/TCP/tcp_send, Functions/TCP/tcp_shoot: Tweak some
usage output in the tcp_* functions
2015-10-02 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 36732: Completion/Unix/Command/_zsh: support -s and -b,
and complete script arguments
2015-10-01 Peter Stephenson <p.stephenson@samsung.com>
* 36737: Src/pattern.c: Ensure we are not dereferencing
zero-length unterminated string.
* 36735: Doc/Zsh/contrib.yo, Functions/Misc/zcalc: ~/.zcalcrc.
* Andrew Janke: 36729: MACHINES, NEWS, README: fix some typos.
* 36722: Completion/Unix/Command/_git: allow range to complete
after ^, taking acoount of backslash quoting.
2015-10-01 Mikael Magnusson <mikachu@gmail.com>
* 36709: Doc/Zsh/zle.yo, Functions/Zle/bracketed-paste-url-magic,
Src/Zle/zle_main.c, Src/Zle/zle_params.c, Src/Zle/zle_thingy.c:
zle -f from inside widget to set flags and make yank start/end
zle params writable.
* 36692: Functions/Zle/bracketed-paste-url-magic: simpler
alternative for handling pasted urls
2015-09-30 Barton E. Schaefer <schaefer@zsh.org>
* users/20672: Src/text.c: missing "do" in gettext2() for "select"
* 36707: Src/exec.c, Src/loop.c: distinguish ERR_RETURN value
of retflag so that execif() can ignore it in the test sublist
* cf. 36690: Doc/Zsh/builtins.yo: remove sentence fragment
2015-09-30 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36725: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Compute %b correctly when "git am"-ing onto
detached heads.
* 36725: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Compute %b correctly when rebasing detached heads.
* 36725: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Compute %b correctly when merging to detached
heads.
2015-09-30 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 36697: Completion/Base/Utility/_arguments: handle options
of _arguments correctly
2015-09-30 Peter Stephenson <p.stephenson@samsung.com>
* Matthew Martin: 36693: Doc/Zsh/arith.yo: arithmetic rounds
towards zero.
* 36711: Src/glob.c, Src/pattern.c: Memory for early unmetafied
pattern trial string is on the heap.
2015-09-28 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 36682: Src/glob.c, Src/pattern.c, Src/zsh.h,
Src/Zle/complist,c, Src/Zle/zle_hist.c: expand pattern interface
to allow unmetafying trial string once for reuse.
2015-09-28 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Test/D04parameter.ztst: Test for 36669
2015-09-28 Daniel Hahler <git@thequod.de>
* 36601: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info: handle missing .git/rebase-apply/{next,msg-clean}
2015-09-28 Barton E. Schaefer <schaefer@zsh.org>
* 36669: Src/lex.c: fix ${(z)...} of an incomplete math
expression by restoring "((" at the front of the token
2015-09-28 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Etc/zsh-development-guide: Update link to my
ChangeLog generator script, on account of patching it to handle
commas properly (thanks Mikael).
2015-09-28 Mikael Magnusson <mikachu@gmail.com>
* unposted: Completion/Zsh/Context/_brace_parameter,
Completion/Zsh/Type/_delimiters, Completion/Zsh/Type/_globquals,
Functions/Calendar/age: Fix broken case condition and "qualifer"
typo
2015-09-27 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36651: Doc/Zsh/options.yo, Src/exec.c, Src/math.c,
Test/E01options.ztst: WARN_CREATE_GLOBAL += math expressions
* Matthew Martin: 36653: Completion/Unix/Command/_user_admin:
OpenBSD's usermod has no -a flag
2015-09-27 Barton E. Schaefer <schaefer@zsh.org>
* 36663: Src/mkmakemod.sh, Src/zsh.mdd: replace obsolete
"autobins" commentary with "autofeatures"
* 36661: Src/Modules/curses.mdd: replace obsolete "autobins"
setting with "autofeatures"
2015-09-28 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 36631: Completion/Unix/Command/_sh,
Completion/Unix/Command/_zsh: separate _zsh from _sh
2015-09-26 Barton E. Schaefer <schaefer@zsh.org>
* 36641: Src/Modules/complist.c: fix multibyte handling in
incremental search during menu selection
2015-09-26 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted (see 36633): Completion/Unix/Command/_hg: _hg:
Enable --option=value syntax and disable '-xy Xarg Yarg' syntax
2015-09-25 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Src/Zle/zle_tricky.c Src/Zle/zle_utils.c: zle:
Document the C helper function processcmd().
2015-09-25 Christoph Mathys <eraserix@gmail.com>
* 36626: Completion/Unix/Command/_hg: _hg: completion for
'hg bookmarks'
2015-09-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 36630: Doc/Zsh/contrib.yo, Doc/Zsh/manual.yo,
Functions/Chpwd/zsh_directory_name_generic: new helper function.
2015-09-24 Barton E. Schaefer <schaefer@zsh.org>
* 36623: Doc/Zsh/contrib.yo: document bracketed-paste-magic and
url-quote-magic; add cross-reference to vim text object widgets
2015-09-24 Mikael Magnusson <mikachu@gmail.com>
* 36603: Src/glob.c: fix dirfd leak during Y shortcut qualifier
2015-09-24 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_hg: Declare $expl as an array
2015-09-24 Christoph Mathys <eraserix@gmail.com>
* 36613: Completion/Unix/Command/_hg: extend completion for hg
push to support branch and bookmark
2015-09-23 Barton E. Schaefer <schaefer@zsh.org>
* 36604: Functions/Misc/zrecompile: fix getopts+shift calculation
2015-09-23 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Src/Zle/compmatch.c: Followup to 36586: Change C99
comment syntax to the C89 syntax.
2015-09-23 Mikael Magnusson <mikachu@gmail.com>
* Eric Cook: 36571: Completion/Linux/Command/_losetup,
Completion/Zsh/Command/_zsocket: Completion for zsocket and
updated losetup's completion
2015-09-22 Barton E. Schaefer <schaefer@zsh.org>
* 36587: Functions/Zle/edit-command-line: use +LINE:COLUMN to
place the cursor when invoking emacs variants, for emacsclient
2015-09-22 Peter Stephenson <p.stephenson@samsung.com>
* 36586: Han Pingtian: Src/Zle/compmatch.c: tweak to completion
matching with right anchor.
* 36545: Han Pingtian: Doc/Zsh/compwid.yo: tweak doc for match
anchors e and E.
* 36538: Han Pingtian: Doc/Zsh/compwid.yo: tweak doc for match
anchors to get correct difference between b and B.
2015-09-22 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 36578: Doc/Zsh/compsys.yo: option in a mutually exclusive set
has key "set-opt" in $opt_args
2015-09-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 36580: Src/Zle/compmatch.c: don't copy empty buffer and check
size is consistent.
2015-09-21 Frank Terbeck <ft@bewatermyfriend.org>
* 36575: Completion/Unix/Command/_tmux: _tmux: 'lock-server'
option is gone in tmux.git
* 36576: Completion/Unix/Command/_tmux: _tmux: Fix tmux homepage
URI
2015-09-21 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 36574: Completion/Unix/Command/_lldb: new completion for
the lldb debugger
* 36556: Completion/Unix/Command/_sh: remove unnecessary
helpspec to '_argument --'
2015-09-21 Peter Stephenson <p.stephenson@samsung.com>
* 36577: configure.ac, Src/zsh.h: supplement 36559 to
use LONG_MAX for 64-bit long.
* unposted: Src/zsh.h: typo in 36559.
2015-09-19 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Doc/Zsh/builtins.yo: zcompile prepares scripts for
sourcing, not for execution
* 36566: Src/parse.c: check for regular file before lseek()
* 36562: Src/utils.c: sanitize $PWD on import, per POSIX
2015-09-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 36559: Src/pattern.c: test earlier for overflow in pattern
range.
* unposted: Test/D07multibyte.ztst: fix typo.
2015-09-18 Barton E. Schaefer <schaefer@zsh.org>
* unposted (cf. users/20586): Doc/Zsh/builtins.yo: clean up
cross-references to the "Autoloading Functions" section.
2015-09-17 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Test/D04parameter.ztst: test for 36552
* 36552: Src/utils.c: fix Nularg string in quotestring(QT_DOLLARS)
2015-09-14 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Doc/Zsh/zle.yo README: docs: Typo fixes
2015-09-13 Axel Beckert <abe@deuxchevaux.org>
* 36523: Thue Janus Kristensen: Completion/Unix/Command/_gphoto2:
Replace --delete-files with --delete-file.
2015-09-12 Barton E. Schaefer <schaefer@zsh.org>
* 36525: Src/Zle/zle_misc.c: revert only the selfinsert() bit of
36496 because selfinsert() may be called with incomplete wide
character processing from places other than getkeymapcmd()
* unposted: Functions/Zle/bracketed-paste-magic: revert 36483 as
multibyte is now handled by "zle .read-command"; adapt to new
default behavior of zle_highlight for paste
* 36522: Src/Zle/zle_thingy.c: unmetafy the argument of "zle -U"
* 36509: Src/Modules/curses.c: allocate hash table nodes with
zshcalloc() to avoid garbage flag values
2015-09-12 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 36491: Src/glob.c, Test/D07multibyte.ztst: Multibyte
support for the parameter expansion flags B, E and N.
2015-09-11 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36443: Doc/Zsh/zle.yo Src/Zle/zle_refresh.c:
Highlight pasted/yanked text as standout by default (i.e., when
$zle_highlight doesn't specify otherwise).
* 36443: Revert 35834.
2015-09-11 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 36496 (plus tweak for key buffer length): Src/Zle/zle_hist.c,
Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c,
Src/Zle/zle_vi.c: Read full multibyte string early for
self-insert.
* unposted: Config/version.mk: Update internal build to
5.1.1-dev-0
* unposted: Config/version.mk: 5.1.1
* Sebastian Gniazdowski: 36489: Src/Modules/curses.c: fix bug
with hash table for colours.
* 36483: Functions/Zle/bracketed-paste-magic: use
[[:INCOMPLETE:]] to get rest of multibyte character.
2015-09-11 Peter Stephenson <p.stephenson@samsung.com>
* unposted: NEWS, README: update for minor new features that
have just appeared.
2015-09-10 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36445: Doc/Zsh/zle.yo Src/Zle/zle_params.c: Expose yankb,
yanke, ZLE_YANK to widgets.
2015-09-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 36478: Src/pattern.c, Src/zsh.h, Src/Zle/comp.h,
Doc/Zsh/expn.yo, Test/D07multibyte.ztst: add [[:INCOMPLETE:]] and
[[:INVALID:]] pattern tests.
2015-09-10 Barton E. Schaefer <schaefer@zsh.org>
* 36470: Src/Zle/zle_main.c: Auxiliary to 36468, return an empty
buffer from zleread() if a widget exits
2015-09-10 Peter Stephenson <p.stephenson@samsung.com>
* 36468: Src/hist.c: Infinite loop if we tried to exit from a
Zle widget but the lexer thought the current lexical expression
needed finishing.
* 36460: Test/E01options.ztst: Discard benign error on failure
to write to pipe with no one reading.
2015-09-08 Oliver Kiddle <opk@zsh.org>
36422: Src/compat.c: add missing unmeta()
2015-09-07 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36437: Doc/Zsh/zle.yo Src/Zle/zle.h: Document interaction of
$region_highlight and $zle_highlight.
* unposted: Doc/Zsh/zle.yo: ZLE_STATE: fix obvious documentation
typo.
2015-09-07 James Clarke <jrtc27@jrtc27.com>
* 36441: Completion/Unix/Command/_git: _git: Fixed typo in
--author-date-order description
2015-09-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/versiom.mk, Etc/FAQ.yo, NEWS, README: make
5.1-test-1 with updates for 5.1.1.
2015-09-05 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Doc/Zsh/params.yo Doc/Zsh/zle.yo: Minor documentation
tweaks.
* 36410: Doc/Zsh/contrib.yo
Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git:
Present merge heads as patches
2015-09-04 Peter Stephenson <p.stephenson@samsung.com>
* 36421: Src/pattern.c: can't-get-the-staff fix for idiocy in
36415.
2015-09-04 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 36417: Doc/Zsh/manual.yo: fix/update top level texinfo menu
2015-09-04 Peter Stephenson <p.stephenson@samsung.com>
* 36415: Src/pattern.c, Test/D07multibyte.ztst: remap bytes from
invalid multibyte characters to 0xDC00 + index which is invalid
in Unicode. Strictly this only works if whcar_t is
ISO-10646-compliant, however it ought to be at least as good as
the current fudge in any case.
2015-09-03 Peter Stephenson <p.stephenson@samsung.com>
* 36416: Src/Zle/zle_refresh.c, Src/Zle/zle_utils.c: If
keyboard interrupt during getzlequery(), don't propagate further,
just redraw the line. Also handle logical error that we
attempted to redraw the line partially if an error or interrupt
was propagated.
2015-09-03 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36403: Src/hashtable.c Test/A02alias.ztst: type -w +=
suffix alias
2015-09-02 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Test/A05execution.ztst: test for 36393
* 36393: Src/signals.c: process queued signals during dotrap()
2015-09-02 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 36378: Src/exec.c: skip directories when looking for autoload
files.
2015-09-02 Peter Stephenson <p.stephenson@samsung.com>
* 36399: Src/text.c, Test/A04redirect.ztst: shell code with
multiple here documents wasn't shown properly.
2015-09-01 Mikael Magnusson <mikachu@gmail.com>
* 36380: Src/utils.c: Avoid gcc case syntax
* 36347: Src/params.c, Test/A06assign.ztst: Fix appending empty
array to associations
2015-09-01 Barton E. Schaefer <schaefer@zsh.org>
* 36376: Src/utils.c: handle signals during read1char() so it is
possible to interrupt correct/correctall prompts
2015-09-01 Peter Stephenson <p.stephenson@samsung.com>
* 36365: Src/Zle/zle_tricky.c: magic-space removed the rest of
the line if the lexer found something complicated.
* unposted: Config/version.mk: update version to 5.1-dev-0 to
avoid clash with 5.1 release.
2015-09-01 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36353: Completion/Unix/Command/_git: _git: Unbreak after
previous.
2015-08-30 Mateusz Karbowy <mateusz.karbowy@gmail.com>
* 36328 + 36340: Completion/Unix/Command/_git: _git-cherry-pick:
Complete other branches only
2015-08-30 Axel Beckert <abe@deuxchevaux.org>
* 36338: Functions/Zle/*-magic: s/5.0.9/5.1/ in source comments
2015-08-30 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: Release version 5.1
2015-08-29 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36321: Completion/Debian/Command/_debcheckout: _debcheckout:
New completion.
2015-08-28 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36306: Completion/Unix/Command/_subversion: _subversion:
Complete --show-item values
2015-08-28 Peter Stephenson <p.stephenson@samsung.com>
* users/20475: Doc/Zsh/contrib.yo: mention that cdr mechanism
keeps unique list with most recent use first.
* users/20466: Test/V09datetime.ztst: make test for skipping
strftime extention tests one that is known to fail on
Solaris. Reason is not yet known, but there's no current
evidence for a shell bug so replace the failure by skipping
test for the release.
2015-08-28 Mikael Magnusson <mikachu@gmail.com>
* 36302: Src/Modules/attr.c: Fix compilation with libcap 2.24
* 36314: Functions/Prompts/prompt_bart_setup: Avoid using
short_loops syntax in distributed files
2015-08-27 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_subversion: _subversion:
Avoid SHORT_LOOPS
* 36304: Completion/Unix/Command/_git: _git-cat-file: Fix
regression in 36237
2015-08-27 Barton E. Schaefer <schaefer@zsh.org>
* unposted (cf. Axel Beckert 36292): Test/A05execution.ztst:
discard even more extraneous stderr in "hang" test
2015-08-26 Barton E. Schaefer <schaefer@zsh.org>
* 36288: Src/Zle/zle_tricky.c: refine 36825, slightly different
test for redirect context
* 36285: Src/Zle/zle_tricky.c: update 36025, context cannot be
command and redirect at the same time, redirect wins
* 36282: Test/A05execution.ztst: discard stderr of "hang" test
2015-08-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: 5.0.8-test-3.
2015-08-24 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36277: Completion/Unix/Command/_git: _git: Updated for
git-clone 2.4.5.
2015-08-24 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Etc/FAQ.yo: replace 5.0.9 with 5.1.
2015-08-23 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* users/20455: Src/Modules/zpty.c: do not use posix_openpt()
on OpenBSD
2015-08-22 Barton E. Schaefer <schaefer@zsh.org>
* 36274: Src/Zle/zle_vi.c: clear virangeflag when getvirange()
has an error (the next keystroke is not a motion/selection).
* 36273: Src/Zle/zle_move.c: teach endofline() and endoflinehist()
about invicmdmode() cursor placement.
2015-08-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk, Src/parse.c, Src/Zle/zle_misc.c:
update to 5.0.8-test-2 and fix some exports.
2015-08-21 Barton E. Schaefer <schaefer@zsh.org>
* 36266: Functions/Zle/bracketed-paste-magic: preserve emulation
and setopt context for init and finish functions, handle vi modes
* 36256: Src/builtin.c: local options should remain in effect
for "emulate -L" even if additional option settings are applied
2015-08-21 Peter Stephenson <p.stephenson@samsung.com>
* 36268: Test/C04funcdef.ztst: test for 36265.
* 36265 plus FAQ: fix alias expansion after "function"
Names after the first were treated as command words so had
non-global aliases expanded. Add an FAQ note that use of the
function keyword works around other alias problems. Also
fixes problem that "function { ... }" didn't work with
IGNORE_BRACES set.
* 36264: Src/glob.c: pathbuf is apparently metafied; document
this and unmetafy for system calls.
* unposted: README, Etc/FAQ.yo: update latest release from 5.0.8
to 5.1 in descriptive text.
* 36262: Src/builin.c, Src/compat.c, Src/utils.c,
Test/D07multibyte.ztst: replace 36232: the unmeta()
was needed at a place higher up. Add test.
* 36250, tweaked: README, NEWS: highlight bracketed paste mode;
next version will be 5.1 rather than 5.0.9.
2015-08-20 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 36243: Completion/Unix/Type/_pids: fix a few problems of
"_pids -m pattern"
2015-08-19 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36247: Completion/Unix/Command/_git: __git_objects: Complete
HEAD:./foo correctly in worktree subdir
* 36237: Completion/Unix/Command/_git: __git_objects: Complete
HEAD:foo correctly in worktree subdir
* 36236: Completion/Unix/Command/_git: _git-log: Complete
multiple revspecs
* 36236: Completion/Unix/Command/_git: _git-log: complete
'git rm'd files
2015-08-19 Oliver Kiddle <opk@zsh.org>
* 36148: Completion/Unix/Command/_git: _git-log: Complete flags
after positional argument
2015-08-19 Peter Stephenson <p.stephenson@samsung.com>
* 36241: Test/V09datetime.ztst: Test for 36227.
2015-08-19 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36208: Completion/Unix/Command/_subversion: _subversion:
Complete a few more option switches
2015-08-18 Peter Stephenson <p.stephenson@samsung.com>
* 36232: Src/compat.c: Unmeta an additional chdir().
* 36227: Src/Builtins/sched.c, Src/Modules/datetime.c,
Src/Modules/stat.c, Src/builtin.c, Src/prompt.c, Src/utils.c,
Src/watch.c: real fix for metafication problem in ztrftime:
unmetafy fmt on input and metafy return value with correct
length.
* unposted: revert 36222, not the correct fix.
* 36222: Src/Modules/datetime.c: unmetafy output from strftime.
* 36218: Src/files.c: use unmetafied file name for mkdir()
system call.
* 36216: Doc/Zsh/zle.yo: Simpler saving of UNDO_LIMIT_NO.
2015-08-17 Barton E. Schaefer <schaefer@zsh.org>
* 36212: Functions/Zle/narrow-to-region: save and restore HISTNO
along with other editor state, for sanity of "zle undo"
2015-08-18 brian m. carlson <sandals@crustytoothpaste.net>
* 36209: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info: avoid grep error message when file is missing
2015-08-17 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Linux/Command/_sshfs: _sshfs: Fix
completion of options with values
* 36158: Completion/Linux/Command/_sshfs: _sshfs: Fix completion
of and after -o
* 36109: Src/Zle/zle_misc.c: bracketed-paste: change quoting
style
* 36186: Etc/FAQ.yo: FAQ (3.24): Update for bracketed paste
2015-08-17 Mikael Magnusson <mikachu@gmail.com>
* 36172: Completion/Unix/Command/_imagemagick: Use $formats a
bit more correctly
2015-08-17 Barton E. Schaefer <schaefer@zsh.org>
* unposted (cf. 36200): Completion/Base/Completer/_expand: back out
backslash handling change from 34961.
2015-08-17 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Doc/Zsh/contrib.yo: use of $f in zmv.
2015-08-17 Oliver Kiddle <opk@zsh.org>
* 36165: Completion/Unix/Type/_files: simplify file-patterns
default to a single pattern
2015-08-17 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Functions/Zle/url-quote-magic: mention
bracketed-paste-magic in comment
2015-08-17 Mikael Magnusson <mikachu@gmail.com>
* 36177: Completion/Zsh/Command/_setopt: complete printexitvalue
both ways
* 36183: Completion/Unix/Command/_ssh: update to 7.0
2015-08-16 Barton E. Schaefer <schaefer@zsh.org>
* 36195, 36196: Functions/Zle/bracketed-paste-magic: wrapper of
bracketed-paste for compatibilty with url-quote-magic and other
self-insert wrapper widgets
2015-08-15 Barton E. Schaefer <schaefer@zsh.org>
* 36180: Src/jobs.c: avoid infinite job stop/continue loop on
"wait PID" for a background job
2015-08-15 Mikael Magnusson <mikachu@gmail.com>
* Eric Cook: 36091: Completion/Unix/Command/_ncftp: search
XDG_DATA_HOME for bookmarks saved by lftp
2015-08-14 Oliver Kiddle <opk@zsh.org>
* 36146: Completion/Zsh/Type/_command_names,
Completion/Zsh/Command/_zmodload: avoid mix of -/ and -g with
_files as that just overrides user preferences
2015-08-13 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_subversion: _subversion:
Complete property names for propdel
2015-08-13 Oliver Kiddle <opk@zsh.org>
* 36131: Functions/Zle/narrow-to-region, Src/Zle/zle_utils.c:
make use of undo limits; call mkundoent() when $UNDO_CHANGE_NO is
referenced for a clear change number marking the current state
* Eric Cook: 36113: Completion/Unix/Type/_find_net_interfaces:
ip(8) may add suffixes which is not good for completion matches
* Wieland Hoffmann: 36123: Completion/Unix/Command/_git:
protect against word splitting in __git_is_committish_range
2015-08-12 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Kamil Dudka: 36106: Src/Zle/zle_keymap.c: fix const parameter.
2015-08-12 Oliver Kiddle <opk@zsh.org>
* 36127: Completion/Zsh/Context/_brace_parameter,
Completion/Unix/Command/_git, Completion/Unix/Command/_ifconfig,
Completion/Unix/Command/_kvno, Completion/Unix/Command/_mh,
Completion/Unix/Command/_rm, Completion/Unix/Command/_ssh,
Completion/Unix/Command/_stty, Completion/Unix/Command/_vim,
Completion/Unix/Type/_pdf, Completion/Unix/Command/_clay:
assorted minor completion function changes
* 36125: Src/Zle/zle_hist.c: don't set history context in get-line
* 35834 (tweaked): Src/Zle/zle_misc.c: strip a final newline from
pasted text: inserting is hard to tell apart from accepting it
[reverted in 36443]
2015-08-12 Mikael Magnusson <mikachu@gmail.com>
* 36077: Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr,
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg,
Functions/VCS_Info/Backends/VCS_INFO_get_data_p4,
Functions/VCS_Info/Backends/VCS_INFO_get_data_svk,
Functions/VCS_Info/Backends/VCS_INFO_get_data_svn,
Functions/VCS_Info/VCS_INFO_formats,
Functions/VCS_Info/VCS_INFO_hook,
Functions/VCS_Info/VCS_INFO_quilt,
Functions/VCS_Info/VCS_INFO_set, Functions/VCS_Info/vcs_info,
Functions/VCS_Info/vcs_info_lastmsg,
Functions/VCS_Info/vcs_info_printsys: vcs_info: stop exporting
everything
* 36078: Doc/Zsh/contrib.yo: vcs_info: Adjust documentation for
no longer exporting
* 36116: Completion/Unix/Command/_git: various fixes
* 36117: Completion/Unix/Command/_wget: complete headers for
--header and add --no-use-server-timestamps
* 36120: Completion/Unix/Command/_sort: Fix syntax error
* 36119: Completion/Zsh/Command/_strftime: Add completion for
zsh/datetime's strftime builtin
2015-08-11 Barton E. Schaefer <schaefer@zsh.org>
* 36108: NEWS: list of major changes so far since 5.0.8
* 36104: Src/exec.c, Src/jobs.c: change order of child_block()
and dont_queue_signals() to resolve yet another race condition
* 36092: Doc/Zsh/mod_zpty.yo, Src/Modules/zpty.c: return the pty
master file descriptor in $REPLY for use with "zle -F" etc.
* 36090: Src/init.c: keep signals queued for preprompt()
2015-08-11 Oliver Kiddle <opk@zsh.org>
* 36096: Src/Zle/zle_move.c: special . mark in vi mode
* 36044: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle_keymap.c,
Src/Zle/zle_move.c: deactivate-region widget for escape in visual mode
* 35952: Jun-ichi Takimoto: Src/Zle/zle_bindings.c: bind escape in
vi mode so it is a full key sequence and later keys aren't dropped
2015-08-11 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 36067: Doc/Zsh/builtins.yo, Doc/Zsh/compsys.yo,
Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo: fix typo and format
2015-08-10 Barton E. Schaefer <schaefer@zsh.org>
* 36084: Src/glob.c, Src/text.c: use zrealloc() consistently
* 36079: Src/signals.c: do not allow update_job() and its helpers
to run the signal queue while we are processing a job exit.
2015-08-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 36083: Src/builtin.c, Test/B02typeset.ztst: set array value
when consistently retying scalar and array.
2015-08-10 Peter Stephenson <p.stephenson@samsung.com>
* 36074: Src/signals.c: Don't rely on implicit value for
saving status of background process.
2015-08-10 Frank Terbeck <ft@bewatermyfriend.org>
* 36046: Completion/Unix/Command/_tmux: _tmux: Update command line
options
* 36048: Completion/Unix/Command/_tmux: _tmux: Update options for
supported commands
* 36062: Completion/Unix/Command/_tmux: _tmux: Add support for new
sub-commands
* 36063: Completion/Unix/Command/_tmux: _tmux: Remove dead code
* 36050: Completion/Unix/Command/_tmux: _tmux: Don't unset, set
empty in local scope
* 36058: Completion/Unix/Command/_tmux: _tmux: No need to unset
local variables
* 36057: Completion/Unix/Command/_tmux: _tmux: Replay all
arguments when dispatching to new _tmux()
* 36054: Completion/Unix/Command/_tmux: _tmux: "local -x" serves
no purpose
* 36049: Completion/Unix/Command/_tmux: _tmux: options =>
session_options
* 36056: Util/check-tmux-state: Add helper script to check state
of _tmux completion
* 36052: Completion/Unix/Command/_tmux: _tmux: Remove old
sub-commands and their aliases
* 36064: Completion/Unix/Command/_tmux: _tmux: Add new command
aliases
* 36047: Completion/Unix/Command/_tmux: _tmux: Fix options with
changed scope
* 36051: Completion/Unix/Command/_tmux: _tmux: Remove support for
old options
* 36059: Completion/Unix/Command/_tmux: _tmux: Add new session
options
* 36055: Completion/Unix/Command/_tmux: _tmux: Add support for new
server options
* 36061: Completion/Unix/Command/_tmux: _tmux: Add support for new
window options
* 36060: Completion/Unix/Command/_tmux: _tmux: Update TODO
* 36070: Completion/Unix/Command/_tmux: _tmux: Update bell-action
and prefix options
* 36069: Completion/Unix/Command/_tmux: _tmux: Fix \ooo display in
completion list
* 36075: Util/check-tmux-state: Disable "local" keyword in
script to make data retrieval work
2015-08-10 Peter Stephenson <p.stephenson@samsung.com>
* 36045: Test/A05execution.ztst: make effect of failures
in wait test cleare.
* not quite posted: Src/Modules/socket.c, Src/Modules/tcp.c:
check for error return before testing for EINTR.
* Joshua Krusell: 36039: Src/Modules/socket.c,
Src/Modules/tcp.c: Restart socket commands on EINTR.
* 35885: Doc/Zsh/mod_system.zo: document how to close
fd's opened with sysopen.
2015-08-09 Barton E. Schaefer <schaefer@zsh.org>
* 36033: Src/glob.c, Src/pattern.c: a few more queue_signals()
to protect global state changes
2015-08-09 Mikael Magnusson <mikachu@gmail.com>
* unposted: Test/C03traps.ztst: add tests for outputting traps
specified with SIG prefix or numbers fixed by 36008.
2015-08-09 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 26027: Src/builtin.c: fix retying variables in opposite
order (should be an error).
* 36025:Src/Zle/zle_tricky.c: Catch another case of context in
get_comp_string(): after "foo=bar; setopt " we didn't recognise
"setopt" as the command. Attempt to do this without actually
understanding what the command context code is attempting to do
after a command separator.
2015-08-09 Barton E. Schaefer <schaefer@zsh.org>
* 36026: Src/Modules/zftp.c: zero freed pointers in cleanup_()
in case the module is re-loaded after unloading.
* 36022: Src/loop.c: fix bug that some loop constructs could
not be interrupted if all they did was variable assignments or
math expressions
* 36022: Src/exec.c, Src/init.c, Src/input.c, Src/parse.c,
Src/signals.c: revise signal queueing to better control the
circumtances in which trap handlers are executed
2015-08-08 Daniel Shahaf <d.s@daniel.shahaf.name>
* 36008: Src/builtin.c: trap: Fix listing of traps created
under non-alias non-canonical signal spelling
2015-08-08 Mikael Magnusson <mikachu@gmail.com>
* 35954: Doc/Zsh/mod_system.yo: sysopen -u is not optional
2015-08-09 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 35929: Src/jobs.c: protect FDT_PROC_SUBST by #ifdef
2015-08-08 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 35928: Src/utils.c, Doc/Zsh/prompt.yo: date/time format such
as '%-m' should work even if strftime(3) doesn't support it.
Also clarify document.
2015-08-05 Mikael Magnusson <mikachu@gmail.com>
* 35989: Completion/Unix/Command/_ssh: update to 6.9
* unposted: Completion/Unix/Command/_ssh: use -q for the
option suffix
* Christian Hesse: 35991: Completion/Unix/Command/_ssh: add ssh
option FingerprintHash
2015-08-05 Oliver Kiddle <opk@zsh.org>
* Eric Cook: 35973: Completion/BSD/Command/_systat,
Completion/Unix/Command/_vmstat: new completions
* Eric Cook: 35972: Completion/Unix/Command/_ssh: allow for
Directive=Value format in .ssh/config
* Christian Hesse: 35986: Completion/Unix/Command/_ssh:
add ssh option UpdateHostKeys
* unposted (c.f. 35902): Functions/Zle/incremental-complete-word:
use - after zle -U in case $key starts with -
2015-08-04 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Src/builtin.c: Typo fix.
2015-08-02 Daniel Hahler <zsh@thequod.de>
* 35970: Completion/Unix/Command/_git,
Completion/Zsh/Context/_brace_parameter: completion: fix typos in _git
and _brace_parameter.
2015-08-01 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 35957: Completion/Unix/Command/_make: fix _make-expandVars(),
and use variables set in the command line and environment.
2015-07-31 Oliver Kiddle <opk@zsh.org>
* 35963: Src/Modules/system.c: simplify condition found by
coverity scan to include tautology
* Matthew Martin: 35960 (tweaked): Completion/Unix/Command/_find:
complete correct options for OpenBSD's find
2015-07-29 Barton E. Schaefer <schaefer@zsh.org>
* 35953: Src/lex.c, Test/A01grammar.ztst: fix handling of command
substitution in math context, particularly in "for ((...))"
2015-07-28 Barton E. Schaefer <schaefer@zsh.org>
* 35947: Etc/zsh-development-guide: update discussion of module
wrappers, some examples
2015-07-27 Barton E. Schaefer <schaefer@zsh.org>
* 35937: Functions/Misc/zargs: wait for process IDs instead of
job numbers in parallel mode, in case zargs is in a pipeline
2015-07-26 Daniel Shahaf <d.s@daniel.shahaf.name>
* 35274 (plus tweaks): Completion/BSD/Command/_watch-snoop
Completion/Unix/Command/_watch: completion: Add FreeBSD's
watch(1)
2015-07-26 Oliver Kiddle <opk@zsh.org>
* 35901: Completion/X/Type/_x_font: complete full names as removing
later components was broken for aliases and unwanted in any case
2015-07-26 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* Antony Lee: 35899: Completion/Unix/Type/_python_modules:
faster method of generating list of python modules
2015-07-25 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Functions/Prompts/prompt_bart_setup: add RPS2 handling,
update help text, clean up indentation whitespace
2015-07-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35910: Src/input.c: Don't add to raw lex buffer if lex
stopped. Fixes crash on completion of incomplete
math expresion e.g. '$((3*4)'.
* 35909: Src/utils.c: fix $((...) completion in _expand by
normalising quoting of the math expression containing tokens.
* 35908: Src/ZLe/zle_tricky.c: fix $((...)) completion
by expand-or-complete widget.
2015-07-24 Barton E. Schaefer <schaefer@zsh.org>
* 35896: Doc/Zsh/params.yo, Doc/Zsh/zle.yo: index zle_highlight
* 35882: Src/Zle/iwidgets.list: read-command has ZLE_NOTCOMMAND
2015-07-24 Daniel Shahaf <d.s@daniel.shahaf.name>
* 35810: Etc/FAQ.yo: FAQ += edit-command-line
* 35809: Util/zyodl.vim: zyodl.vim: Fix nested parentheses
* 35807: Functions/Zle/edit-command-line: edit-command-line:
Fix for non-7bit-data (after 35769)
2015-07-24 Oliver Kiddle <opk@zsh.org>
* 35865: Doc/Zsh/prompt.yo: document %^ prompt expansion
* 35864: Doc/Zsh/mod_system.yo, Src/Modules/system.c,
Src/Modules/system.mdd: add sysopen, sysseek and systell to
system module
* 35879: Eric Cook: Completion/Linux/Command/_btrfs: fix for
subcommands that don't have a second subcommand
2015-07-24 Peter Stephenson <p.stephenson@samsung.com>
* 35883: Src/hist.c: Don't attempt to back up over history if
expanding alias.
2015-07-23 Peter Stephenson <p.stephenson@samsung.com>
* 35873: Test/D03procsubst.ztst: add original test from 35847:
* 35872: Src/utils.c: protect against NULL pointers in unmeta().
* 35849: Src/exec.c, Src/jobs.c, Test/D03procsubst.ztst: close
file descriptors from process substitution in parent after
fork.
* 35854: Stc/hist.c: ensure character unget doesn't cause
infinite recursion.
* 35793: Src/zsh.h: avoid undefined behaviour shifting signed
number.
2015-07-23 Oliver Kiddle <opk@zsh.org>
* 35753: Completion/Zsh/Type/_ps1234: allow for numbers after
the ( in ternary expressions and fix backslash quoting
* 35867: Completion/Unix/Command/_patchutils: new completion
* 35866: Completion/Unix/Command/_gzip: complete also for pigz
* 35866: Completion/Unix/Command/_zcat: allow for NetBSD gzip
* 35824: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle.h,
Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: allow highlighting of
just pasted text, put text from bracketed paste in cut buffers
* 35815: Functions/Misc/nslookup: fix for newer nslookup
* 35814: Src/Zle/zle_main.c: POSTEDIT needs to be unmetafied
2015-07-22 Barton E. Schaefer <schaefer@zsh.org>
* 35839: Joshua Krusell <js.shirin@gmail.com>:
Src/Modules/socket.c, Src/Modules/tcp.c: fix select polling in
ztcp and zsocket
* unposted: Completion/Zsh/Type/_directory_stack: move some more
recent code so an old comment is connected to the correct bit of
older code
* users/20324: Completion/Zsh/Type/_directory_stack: add (D) flag
for tilde-fied completion listing
* 35826: Src/Modules/newuser.c, Src/Modules/zftp.c,
Src/Zle/complist.c, Src/Zle/zle_misc.c, Src/init.c, Src/params.c,
Src/utils.c, Src/watch.c: add getsparam_u() to return unmetafied
string, use it for a number of references to non-special params
* 35823: Functions/Zle/narrow-to-region: fix handling of MARK
and CURSOR, clean up documentary comment
2015-07-22 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Test/B02typeset.ztst: fix another test for 35581
* 35582: Test/A06assign.ztst, Test/B02typeset.ztst: test for 35581
* 35581: Src/params.c: output array assignments with spaces inside
the parens
2015-07-16 Barton E. Schaefer <schaefer@zsh.org>
* 35805: Test/E01options.ztst: tests for 35799
2015-07-15 Barton E. Schaefer <schaefer@zsh.org>
* 35799: Src/params.c: with NO_EXEC, parse parameter subscript
expressions to correctly balance enclosing braces, but do not
perform the subscripting
2015-07-15 Mikael Magnusson <mikachu@gmail.com>
* unposted: Completion/Zsh/Type/_ps1234: unposted: _ps1234:
Fix ternary test char completion
2015-07-14 Oliver Kiddle <opk@zsh.org>
* 35789: (tweaked c.f. Bart: 35791) Completion/Unix/Type/_files:
duplicate glob qualifier handling from _path_files so it is
called once and not for each file pattern
2015-07-13 Daniel Shahaf <d.s@daniel.shahaf.name>
* 35790: Util/zyodl.vim: zyodl.vim: Be compatible with Vim 6.
* 35775: Doc/Zsh/.vimrc Etc/zsh-development-guide Util/zyodl.vim:
New zsh-specific yodl vim syntax highlighting.
2015-07-13 Daniel Shahaf <d.s@daniel.shahaf.name>
* 35769: Functions/Zle/edit-command-line: edit-command-line:
Go to the right byte offset
2015-07-13 Oliver Kiddle <opk@zsh.org>
* 35737: (tweaked c.f. Peter: 35759): Src/Zle/zle_utils.c,
Functions/Zle/read-from-minibuffer: use new undo limit for
minibuffer and beep when limit is reached
* 35756: Completion/Zsh/Type/_ps1234: use the actual
colours in the completion list for terminal colours
* 35774: Completion/Unix/Type/_dates: fix double
formatting of date explanation message
2015-07-13 Daniel Hahler <zsh@thequod.de>
* 35779: Completion/Unix/Command/_git: _git-config: remove
extraneous "local expl".
2015-07-12 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Test/B01cd.ztst: Typo
2015-07-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Test/B01cd.ztst: notes on ZTST_unimplemented: and
ZTST_skip.
2015-07-10 Mikael Magnusson <mikachu@gmail.com>
* 35761: Test/V09datetime.ztst: Make sure to skip alternate
format extension test properly
2015-07-10 Peter Stephenson <p.stephenson@samsung.com>
* unposted: another ZTST_skip.
* 35760: Test/A01grammar.ztst, Test/C02cond.ztst,
Test/V09datetime.ztst, Test/ztst.zsh: ZTST_skip
can be used to skip test case.
2015-07-09 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35708: Doc/Zsh/zle.yo, Src/Zle/zle_params.c,
Src/Zle/zle_utils.c; UNDO_LIMIT_NO.
2015-07-09 Peter Stephenson <p.stephenson@samsung.com>
* 35751: Src/exec.c, Test/C03traps.ztst: fix ERR_RETURN /
ERR_EXIT in else branch of if.
2015-07-09 Mikael Magnusson <mikachu@gmail.com>
* 35745: Src/utils.c, Test/V09datetime.ztst: ztrftime: Pass
everything unhandled to the system strftime()
* unposted: (c.f. Jun T: 35754): Test/V09datetime.ztst: Make
V09 set a known timezone
2015-07-09 Oliver Kiddle <opk@zsh.org>
* 35748: Completion/Zsh/Type/_ps1234,
Completion/Zsh/Command/_print: fixes to prompt spec completion
where it contains date formats
* 35749: (c.f. Jun T: 35732): Completion/Unix/Type/_date_formats:
fix exclusion list for flags/modifiers
2015-07-08 Oliver Kiddle <opk@zsh.org>
* 35729: Completion/Zsh/Command/_compadd: new compadd completion
* Matthew Martin: 35727: Completion/Unix/Type/_diff_options:
support OpenBSD for diff options
2015-07-07 Oliver Kiddle <opk@zsh.org>
* 35700: Completion/Unix/Type/_date_formats: complete OS specific
date format specifiers and put % in a prefix
* 35718: Completion/Unix/Command/_find, Completion/Unix/Type/_dates,
Completion/Zsh/Type/_globquals: new calendar style date completion
2015-07-07 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Src/Zle/complete.c: remove compiler warning.
2015-07-06 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Doc/Zsh/expn.yo: alphabetize ${(b)...} flag
* 35709: Doc/Zsh/expn.yo: explain :s/// modifier contexts
* 35694: Src/subst.c, Test/D04parameter.ztst: fix handling of
history modifiers (specifically :s/l/r/) when applied across all
elements of an array parameter value
2015-07-06 Oliver Kiddle <opk@zsh.org>
* 35704: Doc/Zsh/compwid.yo, Src/Zle/compcore.c, Src/Zle/complete.c:
compadd -E 0 should imply -J and -2
2015-07-06 Mikael Magnusson <mikachu@gmail.com>
* 35696: Completion/Unix/Type/_ps1234: complete colors for %F{
and %K{
* 35697: Completion/Unix/Type/_date_formats,
Completion/Unix/Type/_ps1234: Complete strftime formats for %D{}
2015-07-06 Daniel Shahaf <d.s@daniel.shahaf.name>
* 35441: Etc/zsh-development-guide: Make devs' ChangeLog
generator scripts discoverable
2015-07-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35692: Src/Zle/computil.c: cfp_matcher_range used wrong raw
character if it couldn't be converted to wchar_t.
* 35688: Src/text.c: Slightly more nearly definitive version of
turning wordcode case statements back to text.
2015-07-04 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35682: Src/text.c, plus Test/A01grammar.ztst: turning case
statements parsed as multiple alternatives back into text.
2015-07-03 Oliver Kiddle <opk@zsh.org>
* 35681: Src/Modules/datetime.c: fix day of month initialisation
* 35674: Src/Zle/zle_main.c: make an undo event for
initial buffer contents
2015-07-03 Mikael Magnusson <mikachu@gmail.com>
* 35673: Completion/Zsh/Function/_zargs: Improve _zargs
2015-07-02 Peter Stephenson <p.stephenson@samsung.com>
* Han Pingtian: 35665: Src/Zle/complete.c: better error handling
for command line match processing.
* Eric Cook: 35663: Completion/Unix/Command/_zpool: fix for
changed interface.
* 35668: Src/input.c, Src/lex.c, Src/zsh.h,
Test/D03procsubst.ztst: replacement for 35667:
use input flag to stop unwanted backtracking,
additional test.
2015-07-01 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35667: Src/lex.c, Src/zsh.h, Test/D03procsubst.ztst,
Test/D08cmdsubst.ztst: fix command expansion which
starts but does not finish within alias.
2015-06-29 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Doc/Zsh/options.yo: fix formatting typo.
* 35655: Doc/Zsh/options.yo, Src/exec.c, Src/options.c,
Src/zsh.h: APPEND_CREATE option gives POSIX compatible behaviour
for NO_CLOBBER.
2015-06-28 Barton E. Schaefer <schaefer@zsh.org>
* 35660: Functions/Prompts/prompt_adam1_setup: avoid perl, fix help
2015-06-29 Oliver Kiddle <opk@zsh.org>
* 35637: Src/Zle/zle.h, Src/Zle/zle_main.c, Src/Zle/zle_tricky.c:
remove the now unused module hook for reverse-menu-complete
* 35627: Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complete.c,
Src/Zle/complist.c, Src/Zle/compresult.c, Src/Zle/zle_tricky.c:
make reverse-menu-complete start with last match in menu selection
* 35623: Src/Zle/complist.c: fix menu-selection where initial
selection would not be displayed without scrolling
2015-06-28 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35643: Src/parse.c: redirections after typeset assignments
were broken.
2015-06-27 Barton E. Schaefer <schaefer@zsh.org>
* 35642: Src/context.c: signal queueing in zcontext_save_partial()
* 35634: Src/exec.c: handle failure of gettempname() in namedpipe()
2015-06-27 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35635: Src/builtin.c: a bit more consistency about
making elements of things local.
* users/20281: Completion/Base/Core/_main_complete:
don't require MULTIFUNCDEF as _main_complete is parsed
before we can ensure it's set.
* 35623: Src/builtin.c, Src/zsh.h, Test/B02typeset.ztst: 35610
was incomplete: all is_array asignments should be treated as
having a value.
2015-06-26 Barton E. Schaefer <schaefer@zsh.org>
* 35626: Doc/Zsh/options.yo: update POSIX_CD to note that it is on
in ksh and sh emulations
2015-06-26 Peter Stephenson <p.stephenson@samsung.com>
* 35615: Src/lex.c, Src/Zle/zle_tricky.c:
fix completion after typeset.
* 35613: Src/builtin.c, Test/B02typeset: handle
array slices in typeset.
2015-06-25 Peter Stephenson <p.stephenson@samsung.com>
* 35610: Src/builtin.c: typeset is silent if
arguments is x=() even if array x already exists.
* 35604: Src/exec.c, Test/B02typeset: create
empty arrays in typeset with array=().
2015-06-24 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 35550: Src/Zle/complist.c: fix backspace in interactive
mode of menu-select
2015-06-24 Peter Stephenson <p.stephenson@samsung.com>
* 35514: Han Pingtian: Src/pattern.c: [[:foo:]]
tests in completion weren't specific enough about
foo.
* 35590: Src/text.c, Test/B02typeset.ztst: tweak and
test text output for typeset.
* various culminating in 35586, c.f. commits on typeset-array
branch: Config/version.mk, Doc/Zsh/builtins.yo,
Doc/Zsh/grammar.yo, Doc/Zsh/options.yo, NEWS, README,
Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/lex.c,
Src/options.c, Src/parse.c, Src/text.c, Src/zsh.h,
Test/B02typeset.ztst, Test/D01prompt.ztst, Test/E01options.ztst:
Implement assignment handling for typeset etc. when matched as
reserved words. Document and test.
2015-06-23 Peter Stephenson <p.stephenson@samsung.com>
* 35573: Completion/compinit: turn off POSIX_BUILTINS
in completion, needed to get usable OPTIND behaviour.
* unposted: Src/Zle/zle_misc.c: add missing "void" argument
list.
2015-06-23 Oliver Kiddle <opk@zsh.org>
* 35568: Completion/Zsh/Type/_file_descriptors: use symlinks in
/proc/$$/path on Solaris and procstat on FreeBSD
* 35529: Completion/Unix/Command/_java: fix filename completion
after java -jar
2015-06-22 Peter Stephenson <p.stephenson@samsung.com>
* 35566: Src/Modules/regex.c: didn't handle faile
parenthesis matches.
2015-06-22 Mikael Magnusson <mikachu@gmail.com>
* 35554: Doc/Zsh/contrib.yo: Document narrow-to-region -l and -r.
* 35558: Functions/Zle/narrow-to-region: narrow-to-region:
Use unique parameter names for new feature.
2015-06-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35545: Functions/Zle/narrow-to-region: Add ability to return
buffer components from narrowed region.
2015-06-19 Oliver Kiddle <opk@zsh.org>
* 35531: Completion/Unix/Command/_adb: fallback on file completion
* 35527: Completion/Unix/Type/_email_addresses,
Completion/Zsh/Command/_fc, Completion/Zsh/Command/_zpty:
use list-separator style in cases where separator was hardcoded
* 35528: Completion/Unix/Type/_pids: allow for IPREFIX
2015-06-18 Oliver Kiddle <opk@zsh.org>
* 35474, 35492: Doc/Zsh/params.yo, Doc/Zsh/zle.yo,
Src/Zle/complist.c, Src/Zle/iwidgets.list, Src/Zle/zle_hist.c,
Src/Zle/zle_keymap.c, Src/Zle/zle_main.c: support the
bracketed paste mode of newer terminal emulators
* 35487, 35496: Doc/Zsh/zle.yo, Src/Zle/complist.c,
Src/Zle/zle_hist.c: don't reinstate previous incremental search
string when search direction changes
* 35510: Completion/Unix/Command/_git: use consistent
formatting for git subcommands
* 35504: Completion/Unix/Command/_git: complete % placeholders
for git log --format
* 35521: Completion/Zsh/Type/_file_descriptors: sort matches
numerically and use pfiles on Solaris
* Eric Cook: 35490: Completion/Zsh/Type/_file_descriptors:
silence errors and avoid blank match due to missing local
2015-06-17 Mikael Magnusson <mikachu@gmail.com>
* 35477: Completion/Unix/Command/_gdb: _gdb: Allow 'core' to
occur anywhere in a coredump filename
* 35476: Src/params.c: Allow setting $0 when POSIX_ARGZERO is
not set
2015-06-16 Barton E. Schaefer <schaefer@zsh.org>
* 35493: Src/exec.c: erase $_ when the command line is an assignment
* 35482: Src/init.c: be consistent about how argzero is allocated
2015-06-14 Barton E. Schaefer <schaefer@zsh.org>
* 35469: Functions/Zle/smart-insert-last-word: test UNDO_CHANGE_NO
to determine whether to start over or use the next history event
* 35467: Completion/Unix/Command/_du: complete files for non-GNU du
2015-06-12 Peter Stephenson <p.stephenson@samsung.com>
* 35448: Src/Modules/curses.c, Src/Modules/regex.c,
Src/Zle/complist.c, Src/Zle/zle_utils.c, Src/builtin.c,
Src/glob.c, Src/hist.c, Src/prompt.c, Src/utils.c, Src/zsh.h,
Test/D07multibyte.ztst: Add non-metafied character length
handling and use this for regex module. Add test.
Rename mb_metacharinit() to mb_charinit() since it doesn't
involve metafied characters.
2015-06-11 Peter Stephenson <p.stephenson@samsung.com>
* 35442: Doc/Zsh/options.yo: multibyte option now on
everywhere by default.
2015-06-09 Oliver Kiddle <opk@zsh.org>
* 35418: Doc/Zsh/compsys.yo: fix usage synopsis for _describe
to be clear that a single description is used
2015-06-08 Peter Stephenson <p.stephenson@samsung.com>
* 35416: Src/options.c: Turn on MULTIBYTE in all
emulations, including sh.
2015-06-08 Daniel Hahler <zsh@thequod.de>
* 35216: Completion/Unix/Command/_git: _git-checkout: do not call
__git_commits twice.
2015-06-07 Oliver Kiddle <opk@zsh.org>
* 35412: Src/builtin.c, Test/B03print.ztst: fix for - flag
when formating strings with printf that was broken in 34841
2015-06-06 Barton E. Schaefer <schaefer@zsh.org>
* 35350: Completion/Zsh/Command/_fc, Doc/Zsh/builtins.yo,
Src/builtin.c: extend "fc -I" to cover listing of "internal"
history events only
* 35163: Completion/Base/Core/_main_complete,
Completion/Base/Core/_setup: move "show-ambiguity" style to _setup
so that more precise context can be applied
2015-06-05 Peter Stephenson <p.stephenson@samsung.com>
* 35386: Doc/Zsh/builtins.yo, Doc/Zsh/contrib.yo,
Functions/Misc/zed, Src/builtin.c, Src/hashtable.c,
Src/pattern.c, Src/text.c, Src/utils.c, Src/zsh.h:
expand tabs for function output in functions, whence, where,
which and also zed -f using -x num option.
2015-06-03 Oliver Kiddle <opk@zsh.org>
* 35360 (replacing 35357): configure.ac, Src/Modules/zpty.c:
fix for configuring zpty on FreeBSD without pty.ko loaded
2015-06-03 Peter Stephenson <p.stephenson@samsung.com>
* 35374: Test/D07multibyte.ztst: add tab expansion test with
double width characters.
2015-06-02 Peter Stephenson <p.stephenson@samsung.com>
* 35369: Test/A06assign.ztst, Test/E01options.ztst: better
GLOB_ASSIGN testing.
2015-06-02 Mikael Magnusson <mikachu@gmail.com>
* 35365: Src/exec.c: GLOB_ASSIGN should only affect scalar
assignments, this regressed in 33816.
2015-06-02 Peter Stephenson <p.stephenson@samsung.com>
* users/20243: Completion/compinit: turn off GLOB_ASSIGN in
completion system.
2015-06-02 Daniel Shahaf <d.s@daniel.shahaf.name>
* 35270: Completion/Base/Utility/_describe: _describe: Document
a known issue described in 35229 (which is the same thread as
35127 and 34768)
* 35271: Completion/Unix/Command/_beep: New completion:
beep.
* unposted: Doc/Zsh/options.yo: Typo fix
2015-06-02 Peter Stephenson <p.stephenson@samsung.com>
* 35359 (plus changed error strings in tests): Src/math.c,
Test/C01arith.ztst: fix math parsing problem that trailing ")"
wasn't detected; also improve error messages to indicate they
refer to math expressions.
* Baptiste Daroussin: 35357: Src/Modules/zpty.c:
HAVE_POSIX_OPENPT is needed for FreeBSD zpty.
* 35353: Doc/Zsh/builtins.yo, Src/builtin.c, Src/utils.c,
Test/B03print.ztst: print -x and print -X expand tabs.
2015-06-02 Oliver Kiddle <opk@zsh.org>
* 35356: Completion/Unix/Type/_ttys, Completion/Unix/Command/_ps,
Completion/Unix/Command/_last, Completion/Unix/Command/_pgrep,
Completion/Unix/Command/_gdb: factor out completion of tty devices
* Adrien Vergé: 35352 (tweaked): Completion/Redhat/Command/_dnf:
completion for new Redhat package manager
2015-06-01 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Config/version.mk: update to 5.0.8-dev-0 so
dev installs don't trash release.
2015-05-31 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: release 5.0.8, finally.
* 35343: Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Src/subst.c,
Test/D04parameter.ztst: $#foo for any valid identifier
is only the length of foo if POSIX_IDENTIFIERS is not set.
2015-05-30 Barton E. Schaefer <schaefer@zsh.org>
* users/20238: Doc/Zsh/builtins.yo, Src/builtin.c: add "fc -L" to
operate only on the local shell history when history sharing is
in effect. Also avoid invoking the editor on empty results.
2015-05-30 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Han Pingtian: 35324: Functions/Zftp/zfget_match: better zfget
completion with paths.
* Han Pingtian: 35311: Doc/Zsh/zftpsys.yo: typo in zfuput
behaviour.
2015-05-30 Barton E. Schaefer <schaefer@zsh.org>
* Oliver Kiddle: 35310 (plus undo 35268 (git 899613f)):
Completion/Base/Utility/_store_cache: fix quoting of cached arrays
2015-05-29 Peter Stephenson <p.stephenson@samsung.com>
* 35326: Src/subst.c, Test/D04parameter.ztst: $#- was misparsed
as ${#-}.
* users/20237: Src/Modules/parameter.c: $functions[foo]
shouldn't be unmetafied when passed as parameter body.
2015-05-28 Daniel Hahler <zsh@thequod.de>
* 35098: Completion/Unix/Command/_git: provide --amend also with
"message" group.
2015-05-28 Oliver Kiddle <opk@zsh.org>
* 35315: Completion/Unix/Command/_git, Completion/X/Command/_matlab;
replace inappropriate uses of _path_commands
2015-05-28 Peter Stephenson <p.stephenson@samsung.com>
* 35318: Doc/Zsh/builtins.yo, Doc/Zsh/options.yo, Src/builtin.c,
Src/exec.c: POSIX_BUILTINS compatibility for OPTIND processing
in getopts.
2015-05-27 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35306: Src/parse.c, Test/C02cond.ztst: "test -z \("
failed owing to overeager parsing.
* unposted: Config/version.mk: 5.0.7-dev-4.
2015-05-27 Daniel Hahler <zsh@thequod.de>
* 35285: Functions/Chpwd/_cdr: fix zstyle lookup for
recent-dirs-insert.
* 35286: Completion/Unix/Command/_baz, Completion/Unix/Command/_tla:
fix zstyle lookups with _baz and _tla.
* 35293: Completion/Unix/Command/_php: fix zstyle lookup with
_php: use trailing colon.
2015-05-27 Peter Stephenson <p.stephenson@samsung.com>
* Han Pingtian: 35299: Functions/Zftp/zfdir: improve effect of
zfdir -r.
2015-05-26 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 35289: Doc/Zsh/builtions.yo: fix typos in the description
of emulate builtin (based on 34981 by Han Pingtian)
2015-05-26 Peter Stephenson <p.stephenson@samsung.com>
* see 35268: Completion/Base/Utility/_store_cache: revert 34476
(ae7dcab) as it seems to be having effects beyond the intended
optimisation of completion caching. To be investigated further
after the release.
* Han Pingtian: 35295: Functions/Zftp/zfcd_match: be more
inventive zftp directory listing.
* Eric Cook: 35292: Completion/Redhat/Command/_yum: complete
installation of local files.
2015-05-23 Daniel Shahaf <d.s@daniel.shahaf.name>
* 35127#1: Src/Zle/compcore.c Src/Zle/computil.c: Fix
_describe/compdescribe problem with unsorted groups
2015-05-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35266: Src/exec.c: test from users/20203 needed changing
because of jumps in locallevel.
2015-05-23 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 35255: configure.sc, Doc/Makefile.in: if available, use
texi2any instead of texi2html
2015-05-22 Daniel Hahler <zsh@thequod.de>
* 35261: Completion/Unix/Command/_git: make $ret local in
__git_recent_commits.
2015-05-21 Peter Stephenson <p.stephenson@samsung.com>
* 35250: Doc/Zsh/grammar.yo: fix case documentation (SH_GLOB).
* 35248: Src/lex.c, Src/parse.c, Test/A01grammar.ztst:
treat fully parenthesised zsh patterns as complete
case patterns again.
2015-05-20 Peter Stephenson <p.stephenson@samsung.com>
* Ismail: 35232: Completion/Unix/Type/_urls: matching
parentheses.
2015-05-20 Barton E. Schaefer <schaefer@zsh.org>
* 35231: Src/params.c: make mkevnstr() safe for NULL value
2015-05-19 Daniel Shahaf <d.s@daniel.shahaf.name>
* 35224: Completion/Unix/Command/_git: completion: git: Add
fast-export --signed-tags=warn-strip
2015-05-19 Daniel Hahler <zsh@thequod.de>
* 35164: Completion/Unix/Command/_git: fix $pipestatus with
__git_commit_objects/__git_recent_commits.
* 35204: Completion/Unix/Command/_git: fix quoting in previous commit
commit (35164).
* 35209: Completion/Unix/Command/_git: remove -2 _describe in
__git_recent_commits. This fixes duplicate entries, because
__git_recent_commits gets called twice for _git-checkout
(for __git_revisions and __git_tree_ishs).
* 35211: Completion/Unix/Command/_git: __git_commit_objects:
do not use _guard, but only a pattern for skipping.
* 35217: Completion/Unix/Command/_git: _git-send-email:
provide completions from `__git_commit_objects_prefer_recent`.
2015-05-19 Daniel Shahaf <d.s@daniel.shahaf.name>
* users/20222: Completion/Unix/Command/_git: users/20222:
completion: git: Add matchspec for heads
2015-05-18 Peter Stephenson <p.stephenson@samsung.com>
* 35193: Doc/Zsh/builtins.yo, Src/builtin.c, Src/hashtable.h,
Test/A02alias.ztst: add "unalias -a".
* 35187: Completion/Unix/Command/_vim: fix unbalanced parentheses.
* 35184: Src/parse.c, Test/A01grammar.ztst: fix pattern parsing
after "|" in 35168.
* 35168: Completion/Unix/Command/_ant,
Completion/Unix/Command/_cp, Completion/Unix/Command/_locate,
Completion/Unix/Command/_make, Completion/Unix/Command/_tar,
Completion/Unix/Type/_path_commands,
Completion/X/Command/_xrandr, Config/version.mk, Src/lex.c,
Src/loop.c, Src/parse.c, Src/text.c, Test/A01grammar.ztst:
Fix parsing of case patterns so "|" is extracted by looking
for words; quote completion functions where needed in
consequence; add test; updated version number to 5.0.7-dev-3
because of wordcode incompatibility.
2015-05-18 Daniel Hahler <git@thequod.de>
* 35126: Completion/Unix/Command/_git: __git_recent_commits:
add "return $ret" to make it useful when being called in a pipeline.
* 35100: Completion/Unix/Command/_git: __git_recent_commits:
massage ' ->*' from heads.
Handle " -> master, origin/master" in decorated git-log output, and
add it as separate entries.
* 35101: Completion/Unix/Command/_git: add
__git_commit_objects_prefer_recent. This is used with __git_commits
then, and is meant to only call __git_recent_commits, if there are
matches.
* 35104: Completion/Unix/Command/_git: __git_commit_objects: query
1000 commits. Also, `--all` and `--reflog` is used to get all commits.
* 35103: Completion/Unix/Command/_git: add %cr to commit objects (all
and recent).
* 35106: completion: git: unique name for __git_recent_commits.
* Daniel Shahaf: 35105: Completion/Unix/Command/_git: add
distance_from_head to __git_recent_commits.
2015-05-16 Daniel Shahaf <d.s@daniel.shahaf.name>
* 35161: Completion/Unix/Command/_git: completion: git: Fix
typo in 35061
2015-05-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35155: Src/lex.c: cmdpop() could sometimes get called too
often on error.
2015-05-15 Oliver Kiddle <opk@zsh.org>
* users/20219: Completion/Unix/Command/_git: fix for git options
2015-05-15 Peter Stephenson <p.stephenson@samsung.com>
* 35154: NEWS: news on arithmetic evaluation changes.
* 35153: Src/subst.c, Test/C01arith.ztst: nested math substitution.
* 35151: Src/subst.c: improved check for both b and q flags.
* 35131: Src/pattern.c: "[]" in a pattern is treated as an empty
character set (matching nothing) if there are no more active "]"
is in the pattern.
2015-05-14 Oliver Kiddle <opk@zsh.org>
* 35139: Completion/Zsh/Context/_brace_parameter: add (b) flag
* Øystein Walle: 34841 (tweaked): Src/builtin.c:
allow grouping of thousands in printf format string
* unposted: Completion/BSD/Type/.distfiles: include new dir
* Daniel Hahler: 35062: Completion/Unix/Command/_git:
__git_setup_revision_options includes __git_setup_diff_options
* Daniel Hahler: 35061: Completion/Unix/Command/_git:
add __git_setup_diff_stage_options and use it with
_git-diff-files and _git-diff explicitly
* Daniel Hahler: 35016: Completion/Unix/Command/_git:
introduce new pretty formats %g[sdD] for reflog information
2015-05-14 Peter Stephenson <p.stephenson@samsung.com>
* 35110: Src/builtin.c, Doc/Zsh/params.yo: don't
implicitly initialize restricted integers to zero.
2015-05-13 Oliver Kiddle <opk@zsh.org>
* 35092: Src/Zle/zle_params.c: fix for numeric arguments
from vi operator pending mode
* 35093: NEWS, Functions/Zle/select-bracketed,
Functions/Zle/select-quoted, Functions/Zle/surround:
new zle widgets for Vim-style text objects
2015-05-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35114: Src/Modules/zutil.c: zformat -a multibyte char widths.
* Christian Hesse: 35107: Completion/Unix/Command/_ip: new ip
options.
2015-05-13 Peter Stephenson <p.stephenson@samsung.com>
* users/20203: Src/builtin., Src/exec.c, Test/A01grammar.ztst:
nested function in always traps after exit didn't work.
2015-05-12 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 35086: Doc/Zsh/expn.yo: reapply 35067 (with 35071) which
has been mistakenly reverted by 35075
2015-05-12 Daniel Hahler <git@thequod.de>
* 35060 + 35072: Completion/Unix/Command/_git: completion: git: split
__git_heads into local and remote
2015-05-12 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 35075: Doc/Zsh/builtins.yo, Doc/Zsh/calsys.yo,
Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo, Doc/Zsh/compwid.yo,
Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Doc/Zsh/mod_clone.yo,
Doc/Zsh/mod_complist.yo, Doc/Zsh/mod_curses.yo,
Doc/Zsh/mod_parameter.yo, Doc/Zsh/mod_pcre.yo,
Doc/Zsh/mod_sched.yo, Doc/Zsh/mod_stat.yo, Doc/Zsh/mod_system.yo,
Doc/Zsh/mod_zftp.yo, Doc/Zsh/mod_zpty.yo, Doc/Zsh/mod_zselect.yo,
Doc/Zsh/mod_zutil.yo, Doc/Zsh/options.yo, Doc/Zsh/params.yo,
Doc/Zsh/tcpsys.yo, Doc/Zsh/zftpsys.yo, Doc/Zsh/zle.yo: improve
manual format
* unposted: ChangeLog: fixed entry for 35034 (2015-05-06)
2015-05-11 Oliver Kiddle <opk@zsh.org>
* 35049 (tweaked to make jname default): Completion/BSD/Type/_jails,
Completion/Unix/Command/_ps, Completion/Unix/Command/_pgrep:
allow jail completion to include jid 0 for the host and to complete
jails by any parameter
2015-05-11 Peter Stephenson <p.stephenson@samsung.com>
* 35078: Src/zsh.h, Test/D04parameter.ztst: also quote backslash
with (b) flag.
2015-05-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35067 (doc tweak from Daniel, 35071): Doc/Zsh/expn.yo,
Src/subst.c, Src/utils.c, Src/zsh.h, Src/ztype.h,
Test/D04parameter.ztst: add ${(b)foo} for backslash
quoting of patterns.
2015-05-10 Mikael Magnusson <mikachu@gmail.com>
* 35065: Src/zsh.h: Don't treat NUL as a combining character
2015-05-09 Daniel Shahaf <d.s@daniel.shahaf.name>
* 35066: Completion/Unix/Command/_python
Completion/Unix/Command/_subversion: Minor completion fix for
pasted arguments
2015-05-09 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 35064: Src/pattern.c, Src/utils.c, Src/ztype.h: rename
ISPRINT to ZISPRINT to avoid name conflict
2015-05-08 Peter Stephenson <p.stephenson@samsung.com>
* 35059: Doc/Zsh/builtins.yo, Src/params.c,
Test/B02typeset.ztst: fix, document and test "readonly -p"
output for arrays and specials.
* 35056: Test/A02alias.ztst: turn off PROMPT_SP for interactive
test.
2015-05-08 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 35057: Etc/FAQ.yo: make URL clickable (should have been
included in 34850)
2015-05-07 Peter Stephenson <p.stephenson@samsung.com>
* 35054: Src/params.c, Test/B02typeset.ztst: "readonly -p"
displays unset readonly variables with POSIXBUILTINS.
* Eric Cook: 35052: Completion/BSD/Command/_bsdconfig,
Completion/BSD/Command/_bsdinstall,
Completion/BSD/Command/_jexec, Completion/BSD/Command/_jls:
new completions.
2015-05-06 Barton E. Schaefer <schaefer@zsh.org>
* 35046: Src/lex.c: properly unwind cmdstack when erroring out of
lexing a parameter expansion in braces
2015-05-06 Peter Stephenson <p.stephenson@samsung.com>
* c.f. 35041 (Axel Beckert): Doc/Zsh/zle.yo: typo.
2015-05-06 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 35034: Doc/Zsh/arith.yo, Doc/Zsh/builtins.yo, Doc/Zsh/cond.yo,
Doc/Zsh/expn.yo, Doc/Zsh/grammar.yo, Doc/Zsh/options.yo,
Doc/Zsh/params.yo, Doc/Zsh/redirect.yo, Doc/Zsh/zle.yo: improve
format in the manual (up to Chapter18)
2015-05-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk, Etc/FAQ.yo: update for
5.0.7-dev-2, including updated FAQ source for newer YODL.
* 35032: Src/jobs.c: update job status with process status if
process detected as continued.
2015-05-05 Peter Stephenson <p.stephenson@samsung.com>
* unposted: fix descriptions in previous commit (cosmetic).
* 35033: Completion/Zsh/Function/_zcalc: trivial completion.
2015-05-04 Oliver Kiddle <opk@zsh.org>
* 35029: Src/Zle/zle_word.c, Test/X02zlevi.ztst:
improvements to newline handling for vi-mode word movement
2015-05-04 Mikael Magnusson <mikachu@gmail.com>
* 35021: Src/builtin.c: Fix two bugs in typeset_setbase
2015-05-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35018 (corrected): NEWS: news.
2015-05-03 Oliver Kiddle <opk@zsh.org>
35011: Completion/BSD/Type/_jails, Completion/Solaris/Command/_beadm,
Completion/Solaris/Type/_be_name, Completion/Solaris/Type/_zones,
Completion/Unix/Command/_chmod, Completion/Unix/Command/_chown,
Completion/Unix/Command/_cmp, Completion/Unix/Command/_comm,
Completion/Unix/Command/_cp, Completion/Unix/Command/_cut,
Completion/Unix/Command/_date, Completion/Unix/Command/_du,
Completion/Unix/Command/_elfdump, Completion/Unix/Command/_find,
Completion/Unix/Command/_fuser, Completion/Unix/Command/_gcore,
Completion/Unix/Command/_grep, Completion/Unix/Command/_iconv,
Completion/Unix/Command/_id, Completion/Unix/Command/_join,
Completion/Unix/Command/_last, Completion/Unix/Command/_ldd,
Completion/Unix/Command/_ls, Completion/Unix/Command/_md5sum,
Completion/Unix/Command/_mkdir, Completion/Unix/Command/_nl,
Completion/Unix/Command/_nm, Completion/Unix/Command/_od,
Completion/Unix/Command/_patch, Completion/Unix/Command/_ping,
Completion/Unix/Command/_ps, Completion/Unix/Command/_readelf,
Completion/Unix/Command/_rm, Completion/Unix/Command/_sed,
Completion/Unix/Command/_sort, Completion/Unix/Command/_uname,
Completion/Unix/Command/_uniq, Completion/Unix/Command/_wc,
Completion/Unix/Command/_xargs, Completion/Unix/Type/_diff_options,
Completion/Unix/Type/_file_systems: update completions for some
common Unix commands, in particular improving FreeBSD support
2015-05-01 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 35009: README, Etc/FAQ.yo: updates for 5.0.8.
2015-05-01 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 35008: Doc/Zsh/builtins.yo: clarify description of 'exec' and
'return'
2015-05-01 Peter Stephenson <p.stephenson@samsung.com>
* 35007: Doc/Zsh/zle.yo: note about scope of ZLE parameters.
2015-04-29 Peter Stephenson <p.stephenson@samsung.com>
* 34992: Doc/Zsh/builtins.yo, Src/builtin.c, Src/params.c,
Test/B02typeset.ztst: With POSXIBUILTINS, parameters can be
marked readonly if unset and in any case can't subsequently be
marked not readonly.
2015-04-28 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34989: Src/exec.c: AUTOCD needs to pass -- to cd to avoid
directory being treated as option.
2015-04-28 Peter Stephenson <p.stephenson@samsung.com>
* Jared Ahern: 34980: Completion/Unix/Command/_make: expanding
make variables was somewhat broken.
* Jared Ahern: 34980: Completion/Unix/Command/_make: match
additional forms of assignment in makefiles.
* 34979: Src/exec.c: preserve job text in shell job fix code.
* 34977: Src/zsh.mdd: more reliable test for whether
preprocessor is GNU.
2015-04-25 Barton E. Schaefer <schaefer@zsh.org>
* 34966: Src/hashtable.c: "whence -v" for a function reports
whether the function is autoloaded or its source file when known
* 34965: Src/glob.c: consistent use of zalloc/zrealloc/zfree
* 34961: Completion/Unix/Command/_mkdir: avoid _message because
it aborts completer list too early
* 34961: Completion/Base/Completer/_history: unquote history words
when command line has a quote
* 34961: Completion/compaudit: properly handle the case of finding
no files when searching $fpath and $_compdir
* 34961: Doc/Zsh/compsys.yo: minor wording clarification
* 34961: Src/Modules/datetime.c: $TZ is implicitly local in
builtin strftime (originally workers/34602 from workers/34596)
* 34961: Src/hist.c: clean up decl's of quote() and quotebreak()
* 34961: Doc/Zsh/mod_system.yo: sysparams[pid] and sysparams[ppid]
added to variables index
* 34961: Src/compat.c, Src/init.c: replace a couple of free() with
zfree() for consistency.
* 34961: Completion/Base/Completer/_expand: add backslash to alias
expansion matching (related to workers/32186)
* 34961: Test/D02glob.ztst: test for breadth-first glob with (Y1)
qualifier (originally workers/32726)
2015-04-24 Peter Stephenson <p.stephenson@samsung.com>
* 34955: Src/exec.c: list_pipe_job needs saving and restoring
with some other similar variables in execlist() in order
to stop source() messing up job control.
2015-04-24 Mikael Magnusson <mikachu@gmail.com>
* Oliver: 34940: Completion/Zsh/Command/_fc: fix typo breaking
completion for history
2015-04-17 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34921: Src/parse.c: handle error in recursive par_event().
2015-04-17 Peter Stephenson <p.stephenson@samsung.com>
* 34920: Etc/zsh-development-guide: info on git pull.
2015-04-17 Daniel Hahler <git@thequod.de>
* 34899: Completion/Unix/Command/_vim: completion: _vim: add
nvim to #compdef
2015-04-17 Peter Stephenson <p.stephenson@samsung.com>
* 34919: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c: similar cases
with send-break and push-input.
* 34905: Src/Zle/zle_keymap.c, Src/lex.c, Src/parse.c: suppress
parse errors resulting from keyboard interruption.
2015-04-16 Mikael Magnusson <mikachu@gmail.com>
* 34902: Doc/Zsh/compsys.yo, Doc/Zsh/contrib.yo, Doc/Zsh/zle.yo:
explain the numeric argument and be consistent about what we
call it.
2015-04-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34901: Test/A04redirect.ztst: Test for the foregoing.
* 34900: Src/exec.c: assignment before an "exec" with
a redirection, with and without POSIXBUILTINS.
2015-04-15 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Src/math.c: rewrite last commit to look more
like other uses of Nularg.
* 34892 (slightly tweaked): Src/math.c, Test/C01arith.ztst: fix
math evaluation with empty expression resulting from substitution.
* 34887: Src/exec, Test/E01options.ztst: assignments before
"command special-builtin/func" in POSIX_BUILTINS mode behave as
normal command. Tidy up case handling in code and add test.
2015-04-13 Daniel Shahaf <d.s@daniel.shahaf.name>
* users/20159: Completion/Zsh/Command/_zstyle: completion: zstyle:
Add 'show-ambiguity'
* 34886: Completion/Unix/Command/_git: completion: git: Complete
rebase --exec argument
* 34885: Completion/Unix/Command/_git: completion: git: Sort
"commit object" completions most recent first
* 34885: Completion/Unix/Command/_git: completion: git: Fix
another instance of the 34671 bug fixed in 34814
2015-04-13 Peter Stephenson <p.stephenson@samsung.com>
* Han Pingtian: 34880: Doc/Zsh/options.yo: POSIX_TRAPS doc.
* Han Pingtian: 34875: Doc/Zsh/options.yo: CSH_JUNKIE_HISTORY doc.
* Han Pingtian: users/20078: Doc/Zsh/options.yo: HIST_BEEP doc.
2015-04-10 Clint Adams <clint@zsh.org>
* 34874: Completion/Unix/Command/_cabal: completion for cabal
command from cabal-install.
2015-04-10 Daniel Hahler <git@thequod.de>
* 34748: Completion/Unix/Command/_git: completion: git: update
list of builtintools
2015-04-07 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 34850: Doc/zman.yo, Doc/ztexi.yo, Doc/META-FAQ.yo,
Doc/Zsh/contrib.yo, Doc/Zsh/ftp_sites.yo, Doc/Zsh/manual.yo,
Doc/Zsh/metafaq.yo, Doc/Zsh/roadmap.yo: make URLs in html/pdf
docs clickable
2015-04-06 Barton E. Schaefer <schaefer@zsh.org>
* 34851: Src/builtin.c: fix thinko from 34093 that short-circuited
some "whence -m" searches
2015-04-03 Barton E. Schaefer <schaefer@zsh.org>
* 34837: Src/glob.c: avoid loss of original file path when applying
colon-modifiers in glob qualifiers, that path is still needed for
later stat() when sorting.
2015-04-03 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 34840: Doc/Zsh/prompt.yo: minor format fixes
2015-04-02 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 34836: Doc/Zsh/prompt.yo: fix description of '%-0<<'
2015-04-01 Daniel Shahaf <d.s@daniel.shahaf.name>
* 34814: Completion/Unix/Command/_git: completion: git: Fix
bug introduced by 34671 [based on patch by Daniel Hahler]
2015-03-31 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/20058: Completion/Unix/Command/_ip,
Completion/Unix/Type/_find_net_interfaces,
Completion/Unix/Type/_net_interfaces: improve matching of
devices already on command line in ip completion.
2015-03-31 Peter Stephenson <p.stephenson@samsung.com>
* Han Pingtian: 34822: Doc/Zsh/options.yo: correction to
GLOB_SUBST doc.
2015-03-29 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34817: Src/hist.c, Src/lex.c: catch some errors earlier when
handling history to avoid knock-on errors and doing too much
processing.
2015-03-29 Theo Buehler <theo@math.ethz.ch>
* 34792: Src/Modules/langinfo.c: langinfo: Fix pointer type
2015-03-29 Daniel Hahler <git@thequod.de>
* 34762: Completion/Unix/Command/_git: completion: git: add
short option for '--dir-diff' (_git-difftool)
2015-03-28 Barton E. Schaefer <schaefer@zsh.org>
* 34804: Src/lex.c: refine 34734 POSIX_ALIAS change to preserve
old behavior of [[ ]] conditionals
* 34781: Src/lex.c, Test/A02alias.ztst: add implicit space after
alias expansion of tokens that form words without spacing; fixes
crash when using completion immediately following such an alias
2015-03-27 Barton E. Schaefer <schaefer@zsh.org>
* 34788: Src/lex.c: refine errflag handling in cmd_or_math()
2015-03-27 Peter Stephenson <p.stephenson@samsung.com>
* Han Pingtian: 34785: Doc/Zsh/options.yo: fix typo in SHINSTDIN.
* 34787: Test/W01history.ztst: new tests.
2015-03-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34784: Src/input.c, Src/zsh.h: fix old bug with history
selection.
2015-03-25 Barton E. Schaefer <schaefer@zsh.org>
* 34779: Test/A02alias.ztst: tests for 34776
* unposted: Test/W01history.ztst: change an F: to a comment
2015-03-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Han Pingtian: 34769: incorrect description of process time
calculation.
2015-03-25 Peter Stephenson <p.stephenson@samsung.com>
* 34776: Src/hist.c, Src/zsh.h: suppressing alias expansions
from history now uses same mechanism as everyone else.
2015-03-25 Barton E. Schaefer <schaefer@zsh.org>
* 34774: Test/W01history.ztst, Test/comptest: fix %prep and use
read from a no-op pipe to force wait for the timeout
2015-03-23 Barton E. Schaefer <schaefer@zsh.org>
* 34772: Test/W01history.ztst, Test/comptest: add new test
suite file for history; fix "read" usage in comptest for case
where there is no TTY
2015-03-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34759: Src/hist.c, Src/lex.c: safer implementation.
* 34758: Src/hist.c, Src/lex.c: more problems with history
interaction with command substitution: rewind over input history
text when necessary.
2015-03-21 Barton E. Schaefer <schaefer@zsh.org>
* users/20034: Completion/Base/Core/_main_complete: adjust
PREFIX and SUFFIX for unambiguous_cursor on second completion
attempt with GLOB_COMPLETE
2015-03-20 Peter Stephenson <p.stephenson@samsung.com>
* 34753 / 34754: Test/C02cond.ztst: work around lack
of separate file times with NFS.
* 34752: Src/input.c: history expansion in command substitution
*still* didn't work although the command put back into the
history was correct.
2015-03-19 Peter Stephenson <p.stephenson@samsung.com>
* 34742: Src/hist.c: history expansion in command substitution
didn't work. Discriminate the case of an alias expansion
more carefully.
2015-03-19 Daniel Shahaf <d.s@daniel.shahaf.name>
* 34739: Completion/Unix/Command/_git: git completion: Fix
regression in ce80a92 (workers/34638)
2015-03-18 Barton E. Schaefer <schaefer@zsh.org>
* 34734: Doc/Zsh/grammar.yo, Src/lex.c, Test/A02alias.ztst:
restrict token aliasing (34641) to global aliases; tighten
up POSIX_ALIASES to better match spec; update Aliasing doc
to cover this and clarify older behavior
2015-03-18 Peter Stephenson <p.stephenson@samsung.com>
* 34732: configure.ac: turn off fixed site function directory if
site function directory explicitly disabled.
2015-03-17 Peter Stephenson <p.stephenson@samsung.com>
* unposted: NEWS: rewrite the foregoing.
2015-03-16 Peter Stephenson <p.stephenson@samsung.com>
* 34725: NEWS: note thhat common site function directory
may be overridden by configuration.
* 34721: Doc/Zsh/calsys.yo, Functions/Calendar/after,
Functions/Calendar/before: new glob qualifier functions.
2015-03-16 Daniel Shahaf <d.s@daniel.shahaf.name>
* 34671 plus tweaks: Completion/Base/Utility/_describe
Completion/Unix/Command/_git Doc/Zsh/compsys.yo: Add -1 -2 -J -V
-x to _describe, use them to sort 'git --fixup' hash completions
* 34671: Completion/Unix/Command/_git: git completion: only
offer recent commits' tags/heads for --fixup
2015-03-15 Barton E. Schaefer <schaefer@zsh.org>
* 34712: Doc/Zsh/grammar.yo: clarify words that may be aliased
2015-03-15 Mikael Magnusson <mikachu@gmail.com>
* unposted: Completion/Zsh/Command/_zattr: Fix completion of
attributes for files with pattern characters.
2015-03-10 Peter Stephenson <p.stephenson@samsung.com>
* users/19985: Doc/Zsh/params.yo: improve doc of substring
subscripting further.
2015-03-09 Daniel Shahaf <d.s@daniel.shahaf.name>
* 34673: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Fix error message when rebase hasn't started
* 34693: Completion/Unix/Command/_sudo: sudo completion: Don't
false positive 'sudo -e' detection
* 34693: Completion/Linux/Command/_strace: _strace: Fix variable
leakage of $sys_calls
2015-03-07 Daniel Shahaf <d.s@daniel.shahaf.name>
* Daniel Hahler: 34638 with tweaks: Completion/Unix/Command/_git:
git completion: complete commit hashes and --fixup
2015-03-05 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 34643: Doc/Zsh/builtins.yo, Doc/Zsh/zle.yo: clarify which
escape sequences are recognized by print and bindkey builtins.
2015-03-06 Peter Stephenson <p.stephenson@samsung.com>
* 34653: Doc/Zsh/zle.yo, Src/Zle/zle_main.c: move aborted vared
lines to ZLE_VARED_ABORTED.
* 34657: Doc/Zsh/params.yo: document the effect of substring
subscripting better.
2015-03-05 Peter Stephenson <p.stephenson@samsung.com>
* 34654: Completion/Redhat/Command/_rpm: complete absolute file
names after -q --whatprovides.
* 34651: Src/lex.c: avoid core dump if no lexical token.
* Daniel Shahaf: 34647: Completion/Zsh/Function/_add-zsh-hook:
new completion.
2015-03-05 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 34636: Src/compat.c, Src/pattern.c, Src/utils.c, Src/ztype.c,
configure.ac: replace broken isprint() on Mac OS X.
2015-03-04 Peter Stephenson <p.stephenson@samsung.com>
* 34641: Src/lex.c, Test/A02alias.ztst: make it possible to
alias tokens.
* Daniel Shahaf: 34640: Doc/Zsh/compsys.yo: clarify
documentation for _guard function.
2015-03-03 Peter Stephenson <p.stephenson@samsung.com>
* Matthew Martin: 34637: Completion/BSD/Command/_mixerctl:
new completion.
2015-02-28 Barton E. Schaefer <schaefer@zsh.org>
* users/19934: Doc/Zsh/params.yo: document %D{...} for WATCHFMT
2015-02-27 Barton E. Schaefer <schaefer@zsh.org>
* 34634: Src/glob.c: avoid infinite recursion on (/)# extendedglob
2015-02-27 Daniel Shahaf <d.s@daniel.shahaf.name>
* 34588: Completion/Unix/Command/_user_admin: Complete
'usermod -a'
2015-02-23 Peter Stephenson <p.stephenson@samsung.com>
* 34623: Src/hist.c: free history more often in previous case.
2015-02-23 Mikael Magnusson <mikachu@gmail.com>
* 34615 + 34619: Src/hist.c: Remeta one frame earlier
2015-02-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34606: Src/subst.c, Test/C01arith.ztst: fix up arithmetic
nested in parameter substitution.
* 34604: Src/hist.c: Work around problem with changes in Meta
affecting history file when read in.
2015-02-21 Barton E. Schaefer <schaefer@zsh.org>
* 34597: Doc/Zsh/mod_datetime.yo: Revise strftime description to
correctly explain timezone handling and note signed int rollover
2015-02-20 Barton E. Schaefer <schaefer@zsh.org>
* 34590: Src/exec.c, Src/text.c: queue_signals() around more
scopes that manipulate global state
2015-02-20 Peter Stephenson <p.stephenson@samsung.com>
* 34587: Src/utils.c, Test/D07multibyte.ztst: ensure multibyte
characters don't overflow into tokens and add test.
2015-02-19 Barton E. Schaefer <schaefer@zsh.org>
* 34568: Src/Module.c: use META_HEAPDUP when passing dlerror()
string to metafy()
2015-02-19 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Config/version.mk: Mikael says it's 2015,
apparently.
* 34573: Src/subst.c: safer handling of failure to perform
command substitution.
* 34570: Config/version.mk, Src/lex.c, Src/subst.c, Src/zsh.h,
Test/C01arith.ztst: mark arithmetic substitutions with tokens
so the substitution code knows what to do.
2015-02-17 Peter Stephenson <p.stephenson@samsung.com>
* 34563: Src/input.c: Fix up memory allocation in 34560.
2015-02-16 Peter Stephenson <p.stephenson@samsung.com>
* 34560: Src/input. Src/lex.c, Src/zsh.h, Test/C01arith.ztst:
case of $(( that turned into a $(...) and a (...) with
multiple lines read before it found out.
* 34558: Doc/Zsh/func.yo: preexec doc erroneously claimed $1
was empty if line removed from history.
2015-02-15 Barton E. Schaefer <schaefer@zsh.org>
* 34551: Src/builtin.c: Avoid adding an extra "/" to the
target path in cd_try_chdir() when the current directory is "/"
2015-02-14 Barton E. Schaefer <schaefer@zsh.org>
* 34543: Src/input.c, Src/lex.c: Fix crash on garbage bytes
inside $(...)
2015-02-14 Mikael Magnusson <mikachu@gmail.com>
* unposted: Doc/Zsh/prompt.yo: Fix typo from 28487.
2015-02-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34546: Src/exec.c, Test/D04parameter.ztst: fix another
oddity with $_ and anonymous functions and add tests.
2015-02-13 Peter Stephenson <p.stephenson@samsung.com>
* 34530: Src/exec.c, Test/E01options.ztst: revised fix
for PRINT_EXIT_VALUE from anonymous functions.
2015-02-12 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34519: Src/exec.c: handle $_ with arguments to anonymous
function.
2015-02-12 Barton E. Schaefer <schaefer@zsh.org>
* 34514: Src/exec.c, Src/parse.c, Test/E01options.ztst:
Back out 34485, an alternate solution needs to be worked
out. (Tweaked to keep the unrelated hunk of the E01 test.)
* 34476: Completion/Base/Utility/_store_cache: change the
assignment format to avoid potentially expensive lexical
analysis of the array values
2015-02-11 Peter Stephenson <p.stephenson@samsung.com>
* users/19850: Doc/Zsh/params.yo, Src/watch.c: watch variable
supports patterns for user, tty and host names.
2015-02-10 Mikael Magnusson <mikachu@gmail.com>
* 34488: Src/builtin.c: Fix use-after-free for print -zf and
print -sf
* 34490: Src/builtin.c: Fix leak on print -zf/-sf error
2015-02-09 Peter Stephenson <p.stephenson@samsung.com>
* 34485: Src/exec.c, Src/parse.c, Test/E01options.ztst:
rationalise some more anonymous function behaviour:
don't try to handle as "simple" case as there are too
many hidden problems; pull out some post-execution
functions to common cases in execcmd().
2015-02-09 Mikael Magnusson <mikachu@gmail.com>
* 34466: Src/utils.c: Fix double unmeta in rm verification
2015-02-08 Daniel Hahler <git@thequod.de>
* 34469: Completion/Unix/Command/_git: git completion: add "stash"
from refs/stash to __git_heads
* 34470: Completion/Unix/Command/_adb: completion: adb: add
"sideload" command
* 34467: Completion/Unix/Command/_git: completion: git: minor doc
fixes
* 34468: Completion/Unix/Command/_git: completion: git: stash:
handle 'save' being the default
2015-02-07 Daniel Shahaf <d.s@daniel.shahaf.name>
* 34464: Completion/Unix/Command/_mtr: Update mtr completion
to mtr 0.82
2015-02-03 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 34456: _arguments: lopts should be initialized as an array
2015-02-06 Peter Stephenson <p.stephenson@samsung.com>
* users/19825: Doc/Zsh/manual.yo: clear statement that zsh is
not by default POSIX compatible.
2015-02-03 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Doc/Zsh/builtins.yo: fix formatting of "--".
2015-02-03 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 34451: Src/mem.c: use mmap() also on Mac OS X
2015-02-03 Peter Stephenson <p.stephenson@samsung.com>
* users/19800: Doc/Zsh/params.yo: more help on $HISTORY_IGNORE.
* 34455: Src/Modules/db_gdbm.c: some further parameter bug fixes
including memory leak and unsetting old parameter too late.
2015-02-02 Barton E. Schaefer <schaefer@zsh.org>
* 34447: Src/Modules/db_gdbm.c: fix assignment of key-value array
to ztie'd parameter.
2015-02-02 Daniel Shahaf <d.s@daniel.shahaf.name>
* 34444: Completion/Unix/Command/_git: git completion: minor
improvements to 'commit' and 'rebase'
2015-02-01 Barton E. Schaefer <schaefer@zsh.org>
* 34446: Doc/Zsh/mod_db_gdbm.yo, Src/Modules/db_gdbm.c: add
"ztie -r" and "zuntie -u", update documentation for this and
for 34430,34439.
2015-02-01 Daniel Shahaf <d.s@daniel.shahaf.name>
* 34411: Completion/Unix/Command/_hg: _hg completion: Complete
bookmark names for -r
2015-01-30 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34439: Src/Modules/db_gdbm.c: unset parameter that's about to
be tied when necessary.
2015-01-30 Peter Stephenson <p.stephenson@samsung.com>
* 34435: Completion/Unix/Command/_sh,
Completion/Unix/Type/_cmdstring, Completion/Zsh/Command/_emulate:
updated emulate completion; _cmdstring factors out use of
quoted command string.
2015-01-29 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34430: Src/Modules/db_gdbm.c, Src/params.c: various bug fixes
and safety additions for gdbm tied hashes.
2015-01-28 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Doc/Zsh/builtins.yo: fix other typeset doc errors
* 34421: Doc/Zsh/builtins.yo: clean up typeset documentation
2015-01-28 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 34415: Completion/Unix/Type/_python_modules,
Completion/Unix/Command/_python, Completion/Unix/Command/_pydoc:
cache list of all python modules
2015-01-28 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 34423: _ruby: fix a typo
2015-01-27 Frank Terbeck <ft@bewatermyfriend.org>
* 34419: Doc/Zsh/contrib.yo: vcs_info documentation: Fix wording
2015-01-27 Peter Stephenson <p.stephenson@samsung.com>
* Daniel Shahaf: 34412: Completion/Unix/Command/_chown: complete
all groups if running as sudo.
2015-01-27 Mikael Magnusson <mikachu@gmail.com>
* 34382: Src/module.c: Handle NULL return from dlerror() more
gracefully
* 34387: Src/module.c: Avoid loading the main zsh binary as
a module
2015-01-26 Barton E. Schaefer <schaefer@zsh.org>
* 34403: Src/utils.c: refine 34399 to avoid settyinfo() when the
input descriptor is not a TTY
2015-01-26 Peter Stephenson <p.stephenson@samsung.com>
* 34402: Src/Modules/db_gdbm.c: make unsetting a tied gdbm
variable work and hence allow tied variables in nested scope.
Untying still doesn't uncover scope properly.
2015-01-25 Barton E. Schaefer <schaefer@zsh.org>
* 34399: Src/utils.c: fix polltty thinko from 34365
* 34389: Src/hist.c: fix parsing of ">!" when read from histfile
with HIST_LEX_WORDS in effect
2015-01-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34365: configure.ac, Src/hist.c, Src/utils.c; random doubling
backoff on history lock failure. Add zsleep() to provide
microsecond sleeps, via nanosleep() available else select() in
tty_poll().
* 34369: Daniel Shahaf: document error / warning codes.
* 34383: Src/utils.c: new ztrdup() shoud be dupstring().
2015-01-25 Oliver Kiddle <opk@zsh.org>
* 34373, 34374: Completion/Unix/Command/_chown,
Completion/Unix/Command/_ln, Completion/Unix/Type/_directories,
Completion/Zsh/Command/_command, Completion/Zsh/Command/_fc,
Completion/Zsh/Command/_typeset, Completion/Zsh/Command/_unhash,
Completion/Zsh/Command/_which, Completion/Zsh/Command/_zle,
Completion/Zsh/Command/_zstyle, Completion/Zsh/Context/_subscript,
Completion/Zsh/Type/_globflags, Doc/Zsh/builtins.yo,
Completion/Zsh/Context/_brace_parameter,
Completion/Zsh/Type/_history_modifiers: update completion of
builtin commands, modifiers, parameter and globbing flags
2015-01-25 Daniel Shahaf <d.s@daniel.shahaf.name>
* 34381: Doc/Zsh/contrib.yo: vcs_info: Documentation update
2015-01-25 Frank Terbeck <ft@bewatermyfriend.org>
* unposted: ChangeLog: Forgot X-Seq: numbers with Daniel's last
few patches
2015-01-25 Daniel Shahaf <d.s@daniel.shahaf.name>
* 34366: Doc/Zsh/contrib.yo,
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: vcs_info hg:
Support inactive bookmarks
* 34367: Completion/Zsh/Command/_zstyle: _zstyle vcs_info: Unbreak
branchformat completion
* 34368: Completion/Zsh/Command/_zstyle: _zstyle vcs_info
completion: Add missing styles
2015-01-24 Barton E. Schaefer <schaefer@zsh.org>
* 34350, 34353: Doc/Makefile.in, Doc/Zsh/mod_db_gdbm.yo,
Src/Modules/db_gdbm.c: document zsh/db/gdbm module, clean up a few
things in the code. Still core dumps if the tied parameter is
forced to be a local and is not untied before end of scope.
2015-01-23 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 34335: _yum: fix bugs in _yum_all_pkgs
2015-01-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34331: Src/builtin.c, Src/utils.c: don't trip over
NULL pointer in cd in rare cases where file system goes AWOL.
2015-01-22 Barton E. Schaefer <schaefer@zsh.org>
* 34344: Test/V07pcre.ztst: fix 34338, builtins need loading too
* 34338: Test/V07pcre.ztst: check feature availability
2015-01-22 Marc Finet <m.dreadlock@gmail.com>
* 34333: Functions/VCS_Info/VCS_INFO_quilt: fix unapplied
detection in subdir
2015-01-22 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 34327: _perl_modules: fix cache identifier used in
_cache_invalid
2015-01-20 Peter Stephenson <p.stephenson@samsung.com>
* 34329: Doc/Zsh/builtins.yo, Src/builtin.c: add -S option
to which and where.
* users/19756: Test/A04redirect.ztst: add test for case of
closing file descriptor with no error message.
* users/19751: Src/exec.c, Test/A04redirect.ztst: remove error
on closing file descriptors via number but keep it for those
controlled by variable.
2015-01-18 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34322: Src/Zle/compctl.c, Src/Zle/compresult.c, Src/exec.c,
Src/init.c, Src/lex.c, Src/params.c, Src/prompt.c, Src/subst.c,
Src/utils.c, Test/D04parameter.ztst: update interface to
parsestr()/parsestrnoerr() to ensure correct token string
is passed back.
* 34320: Src/hist.c, Src/lex.c: alias expansion in history of
command substitution.
2015-01-17 Axel Beckert <abe@deuxchevaux.org>
* 34314: Wieland Hoffmann: Completion/Unix/Command/_git: Change
one --validate to --no-validate
2015-01-16 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Src/hist.c: fix another dubious comment.
* unposted: Src/hist.c: improve confusing comment in previous
commit.
* 34313: Src/hist.c, Src/lex.c: need to turn off history
word markers when parsing command substitution.
2015-01-16 Peter Stephenson <p.stephenson@samsung.com>
* 34304: Src/lex.c: improve use of new command substitution
parsing in completion.
2015-01-15 Peter Stephenson <p.stephenson@samsung.com>
* 34290 (correcting typo): README: note FORCE_FLOAT behaviour change.
* 34280: Doc/Zsh/options.yo, Src/math.c, Test/C01arith.ztst:
make FORCE_FLOAT option also cover variables when read for
use in arithmetic expressions.
* 34287 (see 34286 from Markus Trippelsdorf): Src/zsh.mdd:
use -E argument for generating signal names if gcc is
preprocessor.
2015-01-14 Peter Stephenson <p.stephenson@samsung.com>
* 34283: Test/X02zlevi.ztst: also needs zpty.
* 34275: Test/V08zpty.ztst, Test/Y01completion.ztst,
Test/Y02compmatch.ztst, Test/Y03arguments.ztst: assume zpty
doesn't work under Cygwin.
2015-01-13 Barton E. Schaefer <schaefer@zsh.org>
* 34273: Doc/Zsh/compsys.yo: use a sufficient number of colons
in example style patterns to assure fixed strings can't match
the wrong field positions
2015-01-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: README: fix deliberate error in previous update.
2015-01-13 Peter Stephenson <p.stephenson@samsung.com>
* 34260: Eric Cook: Completion/Unix/Command/_ip: relax
restriction on interface names.
* 34259: Eric Cook: Completion/Unix/Command/_ip: fix variable
declarations.
2015-01-12 Peter Stephenson <p.stephenson@samsung.com>
* unposted: .gitignore: add Src/zsh.exe for Cygwin.
* 34255: README, Src/math.c, Test/C01arith.ztst: propagate type
from variable assignment. Also note 34230 in README.
* 34253: Doc/Zsh/contrib.yo: warning on integer arithmetic
for zcalc, c.f. 34194.
2015-01-11 Barton E. Schaefer <schaefer@zsh.org>
* 34247: Test/C01arith.ztst: regression test for 34230.
* 34230: Src/math.c: call fmod() for modulo with floats
2015-01-11 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34234: Src/lex.c, Src/zsh.h: use structures for normal and raw
lexical buffer state.
* 34233: Completion/Linux/Command/_qdbus: add _qdbus "$@" trick.
2015-01-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Test/C04funcdef.ztst: test for the foregoing
* 34220: Src/input.c: new $(...) parsing didn't back up over
alias expansions.
* unposted: Src/context.c: update copyright.
* 34195: Thomas Mitterfellner: Completion/Linux/Command/_qdbus:
new completion.
2015-01-10 Barton E. Schaefer <schaefer@zsh.org>
* unposted (cf. 34218): Completion/Base/Widget/_complete_debug,
Completion/compinstall, Functions/Calendar/calendar,
Functions/Zftp/zfget_match: remove -m from zmodload calls
* 34212, 34313: Src/builtin.c: do not change unset-ness of special
parameters when exporting them
2015-01-09 Barton E. Schaefer <schaefer@zsh.org>
* 34202: Completion/Base/Widget/_complete_debug,
Completion/compinstall, Functions/Calendar/calendar,
Functions/Zftp/zfget_match: safe tempfile creation part 3
* users/19721: Doc/Zsh/compsys.yo: clarify context vs. style
2015-01-09 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34194: Doc/Zsh/arith.yo: add paragraph about integer
promotion.
* 34189: Src/Zle/compcore.c, Src/Zle/compctl.c,
Src/Zle/textobjects.c, Src/Zle/zle_tricky.c, Src/builtin.c,
Src/context.c, Src/exec.c, Src/hist.c, Src/init.c, Src/lex.c,
Src/parse.c, Src/signals.c, Src/zsh.h, Src/zsh.mdd:
vain attempt to make context save and restore neater and
control the status variables thereby managed.
2015-01-09 Peter Stephenson <p.stephenson@samsung.com>
* 34182: Doc/Zsh/mod_files.yo: to add zf_* builtins you can
use zmodload -m -F.
2015-01-09 Mikael Magnusson <mikachu@gmail.com>
* 30568: Doc/Zsh/contrib.yo, Functions/Misc/tetriscurses: Add
tetriscurses contrib function, port of tetris to zcurses
2015-01-08 Peter Stephenson <p.stephenson@samsung.com>
* 34160: Src/init.c, Src/input.c, Src/lex.c, Src/parse.c,
Src/zsh.h, Test/D08cmdsubst.ztst: fix the problem that command
and similar substitutions weren't properly parsed so could end
prematurely. Use improved resolution in context save and restore
to allow parsing the substitution while tracking the string.
2015-01-07 Barton E. Schaefer <schaefer@zsh.org>
* 34154 (tweaked per 34155): Src/builtin.c: reorder bin_print() to
avoid leaking the output descriptor when incorrect/incompatible
options were passed
2015-01-07 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 34144: Src/Zle/zle_tricky.c, Src/Zle/complist.c: allocate
origline by ztrdup(), not by dupstring()
2015-01-06 Barton E. Schaefer <schaefer@zsh.org>
* 34122: Src/module.c: allow NULL third argument as intended
2015-01-06 Mikael Magnusson <mikachu@gmail.com>
* 34138: Src/utils.c: wcs_nicechar: only deref widthp if it
was given
* 34120: Src/Zle/compctl.c, Src/jobs.c: Check contents instead
of array
* 34108: Src/utils.c: Don't leak ifs stuff
* 34107: Src/hist.c: getsubsargs: free ptr1 before returning
* 34134: Src/exec.c: anon funcs: don't leak shf and related data
* 34112: Src/builtin.c: typeset: fix leak of oldval
* 34106: Src/hist.c: use zhtricat instead of tricat
* 34113: Src/builtin.c: whence: use dupstring to not leak memory
* 34119: Src/Zle/complist.c: Fix leak of string in clnicezputs
* 34105: Src/subst.c: remove dead code
* 34121: Src/Zle/compresult.c: Remove unneeded NULL check
* 34104: Src/Zle/compctl.c: Remove pointless check
* 34115: Src/Zle/compcore.c: Fix size argument to zfree
* 34117: Src/Zle/zle_utils.c: size_t is unsigned, use int instead
* 34116: Src/Zle/computil.c: Check for NULL before passing
to strlen
* 34118: Src/hist.c: Don't crash when writing out history if
HOST is unset
* 34114: Src/builtin.c: emulate: Handle aborting from mixed
-L/-c correctly
2015-01-06 Barton E. Schaefer <schaefer@zsh.org>
* 34103: Src/subst.c: fix ancient (workers/15872) thinko that
doesn't seem to have mattered, but must in some obscure cases
2015-01-05 Daniel Shahaf <d.s@daniel.shahaf.name>
* 34042: Completion/Unix/Command/_git: Respect tags for subcommand
completion.
2015-01-05 Peter Stephenson <p.stephenson@samsung.com>
* Timofey Titovets: 34053: Completion/Linux/Command/_modutils:
additional compression option for kernel modules.
2015-01-04 Barton E. Schaefer <schaefer@zsh.org>
* 34093: Src/builtins.c: "whence" should always return nonzero
when it finds that nothing matches its arguments
2015-01-04 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34092: Src/utils.c: miscount of buffer length in symlink
resolution after ".." caused error with whence -S.
* 34091: Src/utils.c: typo with "whence -s" expansions.
* users/19682: Doc/Zsh/builtins.yo: document recommended use of
whence.
2015-01-02 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/19671: Src/builtin.c: whence -a should still work if
there's a full path already.
* users/19667: Doc/Zsh/builtins.yo, Src/builtin.c, Src/utils.c:
whence -S shows intermediate steps in symlink expansion.
* 34077: Test/A07control.ztst: add some further tests for
return status from "for" loops.
2014-12-29 Mikael Magnusson <mikachu@gmail.com>
* 33963: Completion/Unix/Command/_mount: remove work of art
in _mount
2014-12-28 Barton E. Schaefer <schaefer@zsh.org>
* Daniel Shahaf: 34070: Src/Zle/zle_refresh.c: fix starting
position for memset() from 34005.
* 34068: Completion/Base/Widget/_complete_debug,
Completion/Unix/Command/_cvs, Completion/compinstall,
Functions/Calendar/calendar, Functions/Zftp/zfcd_match,
Functions/Zftp/zfcget, Functions/Zftp/zfcput,
Functions/Zftp/zfget_match, Functions/Zftp/zfrglob,
Functions/Zftp/zftransfer, Functions/Zftp/zfuget,
Functions/Zftp/zfuput: create tempfiles without forking, and
safe temp directory creation
2014-12-27 Barton E. Schaefer <schaefer@zsh.org>
* 34067: Completion/Base/Widget/_complete_debug,
Completion/compinstall, Functions/Calendar/calendar,
Functions/Zftp/zfcd_match, Functions/Zftp/zfcget,
Functions/Zftp/zfcput, Functions/Zftp/zffcache,
Functions/Zftp/zfget_match, Functions/Zftp/zfrglob,
Functions/Zftp/zftransfer, Functions/Zftp/zftype,
Functions/Zftp/zfuget, Functions/Zftp/zfuput,
Functions/Zle/edit-command-line: safe tempfile creation
* unposted: Test/A05execution.ztst: regressions for 34065
* 34065: Src/exec.c, Src/loop.c: following an "if" condition, do
not test lastval for ERR_EXIT until a new command is run
* Takeshi Banse: 34064: Src/exec.c, Test/A06assign.ztst: assignment
before command replaces array with export even when KSH_ARRAYS
2014-12-21 Oliver Kiddle <opk@zsh.org>
* Daniel Shahaf: 33977: Completion/Zsh/Command/_bindkey:
don't complete widgets as first argument to bindkey
2014-12-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34015: Src/params.c: back off yesterday's mess and
disallow environment variables with characters with the
top bit set.
* 34005: Src/Zle/zle_refresh.c: Zero uninitialised memory when
realloc'ing region_highlights.
2014-12-18 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34008: Src/params.c: also metafy anything arriving from the
environment.
* 34006: Src/params.c: unmetafy anything put into the
environment.
* Lokesh Mandvekar: 33999: Completion/Linux/Command/_docker:
remove completion as the version supplied with docker is
authoritative.
2014-12-17 Barton E. Schaefer <schaefer@zsh.org>
* 34002: Src/Zle/zle_keymap.c: zshcalloc() in init_keymaps()
* 33992: Src/jobs.c: do not attempt attachtty() for process group
zero (which is possible in a linux pid namespace)
2014-12-18 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 33978: Src/Zle/complist.c: update command line when accept-
and-hold is called in interactive mode of menu select
2014-12-17 Peter Stephenson <p.stephenson@samsung.com>
* users/19551: Doc/builtins.yo, Doc/Zsh/roadmap.yo: better
documentation that history file reading and writing is only
done in interactive shells.
2014-12-16 Barton E. Schaefer <schaefer@zsh.org>
* Jun Kuriyama: 33984: Src/builtin.c: bin_dirs() should use
zputs() to print metafied directory names
* Chirantan Ekbote: 33982: Src/jobs.c: minimal support for pid
namespaces by recognizing that GETPGRP() may return 0
2014-12-15 Barton E. Schaefer <schaefer@zsh.org>
* 33976: Src/subst.c: fix overlapping strcpy()
2014-12-14 Mikael Magnusson <mikachu@gmail.com>
* users/19530: Completion/Unix/Type/_file_systems: Handle
commented lines in /etc/filesystems
2014-12-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Test/D04parameter.ztst: need -f for starting zsh
to avoid problems from user config files.
2014-12-13 Oliver Kiddle <opk@zsh.org>
* 33958: Completion/Unix/Command/_sudo: update for newer options
* 33956: Doc/Zsh/zle.yo, Src/Zle/zle_bindings.c,
Src/Zle/zle_keymap.c: document key binding changes and remove
^X binding
* 33846: Src/Zle/iwidgets.list, Src/Zle/zle_bindings.c,
Src/Zle/zle_keymap.c: additional default vi-mode key bindings
2014-12-12 Oliver Kiddle <opk@zsh.org>
* 33950: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle.h,
Src/Zle/zle_keymap.c: ignore KEYTIMEOUT for vi operators
2014-12-11 Peter Stephenson <p.stephenson@samsung.com>
* 33876: etc.: Completion/Base/Core/_main_complete,
Doc/Zsh/params.yo, Src/Modules/zpty.c, Src/Modules/zutil.c,
Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/compresult.c,
Src/Zle/textobjects.c, Src/Zle/zle_hist.c, Src/Zle/zle_keymap.c,
Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_tricky.c,
Src/Zle/zle_utils.c, Src/builtin.c, Src/exec.c, Src/glob.c,
Src/hist.c, Src/init.c, Src/input.c, Src/jobs.c, Src/lex.c,
Src/loop.c, Src/params.c, Src/parse.c, Src/prompt.c,
Src/signals.c, Src/subst.c, Src/utils.c, Src/zsh.h: Separate
shell errors and user interrupt flags into different bits of
errflag: ERRFLAG_ERROR and ERRFLAG_INT. Various
rationalisations to make keyboard interrupts work smoothly.
Work done on interrupt_abort branch.
2014-12-10 Mikael Magnusson <mikachu@gmail.com>
* 33948: Completion/Unix/Command/_getent,
Completion/Unix/Command/_iconv, Completion/Unix/Command/_ldd:
Parse "Gentoo" as being GNU libc
2014-12-10 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 33940: Src/lex.c: handle backslash-meta correctly in lexer
2014-12-09 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 33932: Src/utils.c: revise boundary check in unmeta()
2014-12-08 Oliver Kiddle <opk@zsh.org>
* 33924: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle.h,
Src/Zle/zle_move.c, Src/Zle/zle_vi.c, Test/X02zlevi.ztst:
allow vi line/characterwise mode to be forced
2014-12-08 Peter Stephenson <p.stephenson@samsung.com>
* 33927: Completion/Unix/Command/_nm: .elf files and
directories.
* 33843: Completion/Unix/Type/_files: minor optimisation for
recursive-files.
2014-12-07 Barton E. Schaefer <schaefer@zsh.org>
* 33912: Completion/Unix/Command/_od: fix filename default case
* 33901: Completion/Base/Core/_main_complete: fix warning message
reference to funcstack (updates 33859)
* 33894: Src/utils.c: boundary conditions in unmeta(), unmetafy()
2014-12-07 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Daniel Shahaf: 33883: Doc/Zsh/expn.yo,
Completion/Zsh/Type/_globquals: documentation for (*) glob
qualifier.
2014-12-07 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 33829: Test/X02zlevi.ztst, Test/comptest: unbind ESC~ asa
a more reliable workaround
2014-12-06 Mikael Magnusson <mikachu@gmail.com>
* 33882: Completion/Unix/Command/_gcc: Complete CXXFLAGS as
CFLAGS too
2014-12-05 Oliver Kiddle <opk@zsh.org>
* 33861: Completion/Unix/Command/_lsof:
update lsof completion for new options
* 33860: Src/Zle/textobjects.c, Src/Zle/zle_misc.c,
Src/Zle/zle_move.c, Src/Zle/zle_vi.c, Test/X02zlevi.ztst:
minor fixes to vi mode changes
* 33845: Src/Zle/zle_hist.c: save correct cursor position with
push-line from vi command mode
2014-12-05 Peter Stephenson <p.stephenson@samsung.com>
* 33866: Completion/compinit: need multifuncdef for TRAPINT
TRAPQUIT definition.
* 33859 with typo fix: Completion/Base/Core/_main_complete: to
propagate signal from trap we need to use function style.
2014-12-05 Barton E. Schaefer <schaefer@zsh.org>
* 33854: Src/glob.c: errors end recursion through scanner(), which
makes **/ more easily interruptible
2014-12-04 Barton E. Schaefer <schaefer@zsh.org>
* 33841: Doc/Zsh/params.yo: explain array append a bit better
2014-12-03 Mikael Magnusson <mikachu@gmail.com>
* Eric Cook: 33689: Completion/Unix/Command/_cp: make cp
--reflink's argument optional
2014-12-01 Peter Stephenson <p.stephenson@samsung.com>
* Jun T: 33830 plus CVS removal: Doc/Zsh/metafaq.yo: typo in
sourceforge URL; don't mention CVS.
2014-11-30 Oliver Kiddle <opk@zsh.org>
* 33823: Src/Zle/zle_misc.c, Test/X02zlevi.ztst: overwrite mode
shouldn't replace newlines
* 33820: configure.ac, Src/hist.c: detect support for realpath()
with a NULL argument and fixes to the use of it
* 33800: Src/Zle/zle_main.c: remove old workaround for ancient
systems to consume typeahead before setting up the terminal
* 33818: Src/Builtins/sched.c, Src/Zle/complist.c,
Src/exec.c, Src/sort.c, Src/utils.c: fix types passed to sizeof
detected by coverity as being wrong
2014-11-28 Barton E. Schaefer <schaefer@zsh.org>
* 33819: Test/A06assign.ztst: regression tests for 33816
* 33816 (2nd part): Src/exec.c: GLOB_ASSIGN changes integer and
floating type variables to string scalars rather than treat single
match file names as arithmetic expressions
2014-11-28 Wayne Davison <wayned@users.sourceforge.net>
* unposted: avoid compiler warning about a set-but-not-used var.
2014-11-28 Wayne Davison <wayned@users.sourceforge.net>
* 33139: Doc/Zsh/expn.yo: add example for finding broken symlinks.
2014-11-28 Peter Stephenson <p.stephenson@samsung.com>
* 33815: Src/Zle/zle_word.c: fix word transposition bug where
wrong words could be transposed.
2014-11-27 Barton E. Schaefer <schaefer@zsh.org>
* 33805: Doc/Zsh/params.yo: rewrite intro, tweak formatting
* 33804: Completion/compinit: hide values of large arrays in
typeset output by declaring with the -H attribute
2014-11-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Test/C01arith.ztst: test binary input using 0b.
2014-11-26 Peter Stephenson <p.stephenson@samsung.com>
* 33793: Src/math.c, Src/utils.c, Doc/Zsh/arith.yo: Arithmetic
constants beginning 0b specify binary.
2014-11-25 Oliver Kiddle <opk@zsh.org>
* Jun T: 33769: Test/comptest: workaround for KEYTIMEOUT to
work from test cases on Darwin and FreeBSD
* 33770: Src/Zle/zle_main.c: avoid calling identical FIONREAD
ioctl twice in succession
* users/19365 (credit Death Jester and Jan Larres):
Completion/Base/Completer/_external_pwds;
completer for current directory of other shell processes
2014-11-25 Barton E. Schaefer <schaefer@zsh.org>
* 33791: Src/loop.c: fatal errors in the try-block part of an
"always" construct cause the entire construct to have nonzero
status, even when TRY_BLOCK_ERROR is used to suppress the error.
2014-11-24 Peter Stephenson <p.stephenson@samsung.com>
* Daniel Hahler: 33746: Doc/Zsh/builtins.yo: read -q refers to -t.
2014-11-24 Mikael Magnusson <mikachu@gmail.com>
* 33785: Src/Modules/tcp.c: Fix leaks of desthost in ztcp.
2014-11-23 Barton E. Schaefer <schaefer@zsh.org>
* 33775: Src/exec.c: error opening file in $(<...) is not fatal
2014-11-23 Oliver Kiddle <opk@zsh.org>
* 33743: Src/Modules/zpty.c, configure.ac: use posix_openpt
if it is available
2014-11-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 33729: Completion/Unix/Command/_git: "git remote add" should
complete local repositories.
* 33740: Stephane: Doc/Zsh/expn.yo: "hideval" parameter type.
* 33740: Stephane: Etc/FAQ.yo: Another way of avoiding MULTIO
effects on pipes.
2014-11-22 Barton E. Schaefer <schaefer@zsh.org>
* 33763 (cf. Baptiste Daroussin 33747): Doc/Zsh/mod_system.yo:
fix nested item list in generated zshmodules.1 man page.
2014-11-21 Barton E. Schaefer <schaefer@zsh.org>
* 33750: Src/text.c: handle function autoloads for DEBUG_BEFORE_CMD
* unposted: Doc/Zsh/zle.yo: add menu reference to Text Objects
2014-11-21 Oliver Kiddle <opk@zsh.org>
* saga.xu: 33712: Completion/Debian/_apt: add --auto-remove
* 33738: Src/Zle/zle_vi.c, Test/X02zlevi.ztst: account for a
selection in vi-replace-chars
* 33730: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list,
Src/Zle/textobjects.c, Src/Zle/zle.mdd, Src/Zle/zle_keymap.c,
Test/X02zlevi.ztst: vim style text objects for selecting words
2014-11-21 Peter Stephenson <p.stephenson@samsung.com>
* Sebastien Alaiwan: 33728: Completion/Unix/Command/_bzr:
complete bzr shelve.
2014-11-20 Peter Stephenson <p.stephenson@samsung.com>
* unposted but see 33723: Etc/FAQ.yo: typo in sed command that's
been there about twenty years.
2014-11-19 Peter Stephenson <p.stephenson@samsung.com>
* users/19404: Etc/FAQ.yo: login shells are not after all
necessarily interactive.
* 33679: Doc/Zsh/grammar.yo: Note that alternation in case
patterns works just like filename generation, despite
appearances to the contrary.
2014-11-17 Oliver Kiddle <opk@zsh.org>
* 33704: Doc/Zsh/zle.yo, Src/Zle/zle_bindings.c,
Src/Zle/zle_keymap.c, Src/Zle/zle_refresh.c, Src/Zle/zle_vi.c,
Test/X02zlevi.ztst, Test/comptest: key bindings, documentation,
tests and minor fixes for vim style visual selection changes
* 33636: Src/Zle/iwidgets.list, Src/Zle/zle_misc.c,
Src/Zle/zle_move.c, Src/Zle/zle_refresh.c, Src/Zle/zle_vi.c:
add support for a linewise visual selection mode
* 33635: Src/Zle/iwidgets.list, Src/Zle/zle_misc.c,
Src/Zle/zle_move.c, Src/Zle/zle_refresh.c, Src/Zle/zle_vi.c:
adapt region to function as vim style visual selection mode
* 33700: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list,
Src/Zle/zle_misc.c, Src/Zle/zle_utils.c: new widget
for put in vim style visual selection mode
* 33699: Test/X02zlevi.ztst, Test/comptest: support short
delays in zle tests where we need KEYTIMEOUT to elapse
2014-11-16 Oliver Kiddle <opk@zsh.org>
* 33633: Src/Zle/zle_vi.c: support vim style text objects
* 33632: Src/Zle/zle_main.c, Src/Zle/zle_vi.c: use viopp and visual
local keymaps if they exist
2014-11-15 Oliver Kiddle <opk@zsh.org>
* 33697: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle_word.c:
new vim style vi-backward-word-end widgets
* 33696: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle_hist.c:
simple up/down line widgets that don't go through history lines
* 33695: Src/Zle/zle_vi.c, Test/X02zlevi.ztst, Test/comptest:
fix various vi-indent problems and vi-swap-case on a blank line
2014-11-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Artur Penttinen: 19371 plus tweak: run-help helper for ip.
* Marc Finet: 33687 (first and last patches): ensure length of
working directory is correct and return as soon as there's
an error chasing symlinks.
2014-11-13 Barton E. Schaefer <schaefer@zsh.org>
* 33686: Test/B06fc.ztst: set PS1 before pattern-matching for it
* 33656: Src/builtin.c: different algorithm for "whence -am" to
produce results more consistent with "whence -m"
2014-11-13 Oliver Kiddle <opk@zsh.org>
* 33669: Src/Zle/zle_utils.c, Test/X02zlevi.ztst: allow an empty
line to be yanked with yy by allocating 1 byte instead of 0
2014-11-11 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 33658: Doc/Zsh/options.yo: AUTO_CD depends on SHIN_STDIN.
2014-11-09 Oliver Kiddle <opk@zsh.org>
* 33599: Jun T.: Test/comptest: workaround zpty issue that
causes vi test cases to fail on MacOS and FreeBSD
* 33640: clutton: Completion/BSD/Command/_kld: look in
/boot/modules instead of /modules for third-party modules
* 33643: Doc/Zsh/options.yo: elaborate documentation of
the PRIVILEGED option
* 33639: Src/Zle/zle_vi.c, Test/X02zlevi.ztst: fix bug with vi
operators on a blank line and with backward bracket matching
* 33659: Completion/Unix/Command/_gpg: use --dump-options to get
most of the gpg options to complete
2014-11-08 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 33655: Src/zsh.h: remove overlap of node flags.
* 33653: Src/builtin.c: handle -a option to whence in
combination with -m.
2014-11-08 Barton E. Schaefer <schaefer@zsh.org>
* 33648: Completion/Unix/Command/_gpg: complete for gpg2 as well
2014-11-06 Oliver Kiddle <opk@zsh.org>
* 33624: Src/Zle/zle_utils.c: keep region active when widget fails
2014-11-07 Mikael Magnusson <mikachu@gmail.com>
* 33607: Src/Modules/attr.c: Fix some minor problems in zattr module
2014-11-06 Barton E. Schaefer <schaefer@zsh.org>
* 33614 (based on RedHat BZ-978613): Src/exec.c: signal safety
when updating global state in execshfunc()
2014-11-05 Oliver Kiddle <opk@zsh.org>
* 33604: Src/Zle/zle_utils.c, Src/Zle/zle_vi.c, Test/X02zlevi.ztst:
fix change merging for vi mode where a change has just been undone
2014-11-04 Oliver Kiddle <opk@zsh.org>
* 33596: Src/Zle/zle_keymap.c: make local keymap keybinding hide
global keymap binding that is a prefix of the local binding
2014-11-02 Oliver Kiddle <opk@zsh.org>
* 33593: Src/Zle/zle_vi.c, Test/X02zlevi.ztst:
support numeric argument to vi-join
* 33575: Src/Zle/zle_params.c, Src/Zle/zle_utils.c: reset vi change
start position if text is inserted before it or on history movement
2014-11-02 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 33591: Src/exec.c, Test/D04parameter.ztst: don't treat an exec
within an subshell as an exec of the parent shell even if about
to exit. Fixes incorrect SHLVL in subshell.
2014-10-31 Oliver Kiddle <opk@zsh.org>
* unposted: Src/jobs.c: quash compiler warning
* unposted: Test/X02zlevi.ztst: correct cursor position in test
2014-10-31 Peter Stephenson <p.stephenson@samsung.com>
* unposted: .gitignore: add /.project for GitEye.
* 33582: Src/Modules/zftp.c: don't include tcp.mdh in zftp.c as
it only contains private module definitions.
* via private email: Jérémie Roquet: Src/options.c: more care
with errors using setuid().
2014-10-30 Oliver Kiddle <opk@zsh.org>
* 33570, 33576: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle.h,
Src/Zle/zle_misc.c, Src/Zle/zle_vi.c, Test/X02zlevi.ztst: make kill-
ring/yank-pop work in vi mode after vi-put-before and vi-put-after
2014-10-29 Barton E. Schaefer <schaefer@zsh.org>
* 33566: Jun T.: Src/Modules/zselect.c: quash compiler warning
* 33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c:
fix thinko in status message for INT/QUIT signals; check errflag
in output loops so that unexpectedly long completion listings can
be interrupted
2014-10-29 Oliver Kiddle <opk@zsh.org>
* 33528: Src/Zle/iwidgets.list, Src/Zle/zle_vi.c,
Test/X02zlevi.ztst: take notice of last column position when
using vi-yank and an upward cursor movement
2014-10-27 Mikael Magnusson <mikachu@gmail.com>
* 33561, 33562: Src/jobs.c: The time builtin forgot to unmetafy
TIMEFMT.
2014-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 33564: Test/A05execution.ztst: more care with monitor option.
* 33542: Test/A05execution.ztst: test previous patch.
* 33531 (plus fix to test job pointer and removing
lastpid_status): Doc/Zsh/builtins.yo, Doc/Zsh/options.yo,
Src/exec.c, Src/init.c, Src/jobs.c, Src/linklist.c,
Src/signals.c: retain up to CHILD_MAX statuses of exited
background processes; remove old lastpid_status mechanism;
slightly improve safety of permanently allocated linked lists.
2014-10-24 Barton E. Schaefer <schaefer@zsh.org>
* 33526: Completion/Unix/Type/_path_files: fix path prefix
handling when NO_CASE_GLOB is in effect
2014-10-24 Peter Stephenson <p.stephenson@samsung.com>
* 33480 slightly tweaked: Src/Zle/zle_tricky.c: fix completion
after $' but before closing quote (if any).
2014-10-24 Mikael Magnusson <mikachu@gmail.com>
* 33485: Completion/Unix/Command/_su: fix a missing ;; case
terminator
2014-10-23 Oliver Kiddle <opk@zsh.org>
* 33520: Src/Zle/zle_vi.c, Test/X02zlevi.ztst: correct cursor
positioning following a vi mode yank operation
* unposted: .editorconfig: specify 8 char indent for ChangeLog
* 33519: Src/Zle/zle_move.c, Test/X02zlevi.ztst: last character
in the buffer can be cut, changed or yanked using vi-forward-char
* 33518: Doc/Zsh/zle.yo, Src/Zle/zle.h, Src/Zle/zle_utils.c,
Src/Zle/zle_vi.c, Test/X02zlevi.ztst: add support for "_ vi
buffer and arguments to vi-set-buffer from a zle widget
* 33514: Src/Zle/zle_utils.c: even with a named vi buffer, we
should update the default buffer
* 33513: Src/Zle/iwidgets.list: vi mode deletions should replace
cut buffer not append to it
* 33512: Src/Zle/zle.h, Src/Zle/zle_main.c, Src/Zle/zle_utils.c,
Src/Zle/zle_vi.c: add support for "0 vi buffer and yank to it
2014-10-22 Barton E. Schaefer <schaefer@zsh.org>
* 33515: Src/Zle/compmatch.c: suppress parser error messages in
comp_match()
* 33493: Src/Builtins/rlimits.c, Src/exec.c: use correct command
name in error messages about "ulimit" failure; restore internal
copy of limits if setrlimit() fails, so the error won't repeat
2014-10-21 Oliver Kiddle <opk@zsh.org>
* 33486: Completion/X/Command/_rdesktop: new completion function
* 33485: Completion/BSD/Command/_portsnap,
Completion/Darwin/Command/_defaults,
Completion/Darwin/Command/_fink, Completion/Debian/Command/_dchroot,
Completion/Debian/Command/_dchroot-dsa,
Completion/Debian/Command/_make-kpkg,
Completion/Debian/Command/_update-alternatives,
Completion/Debian/Command/_vim-addons, Completion/Unix/Command/_du,
Completion/Unix/Command/_ecasound, Completion/Unix/Command/_ffmpeg,
Completion/Unix/Command/_ln, Completion/Unix/Command/_mail,
Completion/Unix/Command/_mosh, Completion/Unix/Command/_mysqldiff,
Completion/Unix/Command/_od, Completion/Unix/Command/_pgrep,
Completion/Unix/Command/_pydoc, Completion/Unix/Command/_ri,
Completion/Unix/Command/_su, Completion/Zsh/Command/_tcpsys,
Completion/Zsh/Command/_zattr: fixes for zstyle context handling
* 33481: Completion/Mandriva/Command/_rebootin,
Completion/Unix/Type/_directories, Completion/Unix/Type/_pdf,
Completion/Unix/Type/_pids, Completion/openSUSE/Command/_yast,
Completion/openSUSE/Command/_SUSEconfig: resolve completion
clashes and tidy-up SUSE/Mandriva related functions
2014-10-17 Peter Stephenson <p.stephenson@samsung.com>
* see 33475: Completion/Unix/Command/_gcc: allow .cpp files as
input.
2014-10-14 Oliver Kiddle <opk@zsh.org>
* 33455: Syohei YOSHIDA: Completion/Unix/Command/_global:
update GNU global option completion
* 33467: Completion/Debian/Command/_apt-move,
Completion/Debian/Command/_bts, Completion/Linux/Command/_sysstat,
Completion/Mandriva/Command/_urpmi, Completion/Redhat/Command/_rpm,
Completion/Solaris/Command/_ptree, Completion/Unix/Command/_arp,
Completion/Unix/Command/_at, Completion/Unix/Command/_bittorrent,
Completion/Unix/Command/_bogofilter, Completion/Unix/Command/_bpython,
Completion/Unix/Command/_bzr, Completion/Unix/Command/_cdrdao,
Completion/Unix/Command/_chmod, Completion/Unix/Command/_cpio,
Completion/Unix/Command/_df, Completion/Unix/Command/_django,
Completion/Unix/Command/_git, Completion/Unix/Command/_less,
Completion/Unix/Command/_lha, Completion/Unix/Command/_metaflac,
Completion/Unix/Command/_module, Completion/Unix/Command/_monotone,
Completion/Unix/Command/_mpc, Completion/Unix/Command/_netcat,
Completion/Unix/Command/_notmuch, Completion/Unix/Command/_pkg-config,
Completion/Unix/Command/_prove, Completion/Unix/Command/_rar,
Completion/Unix/Command/_rsync, Completion/Unix/Command/_rubber,
Completion/Unix/Command/_sablotron, Completion/Unix/Command/_screen,
Completion/Unix/Command/_stgit, Completion/Unix/Command/_strip,
Completion/Unix/Command/_systemd, Completion/Unix/Command/_telnet,
Completion/Unix/Command/_tidy, Completion/Unix/Command/_tmux,
Completion/Unix/Command/_vcsh, Completion/Unix/Command/_zpool,
Completion/Unix/Type/_users, Completion/X/Command/_urxvt,
Completion/X/Command/_x_utils: correct return status on functions
and numerous other minor fixes
2014-10-13 Peter Stephenson <p.stephenson@samsung.com>
* 33459: Test/D04parameter.ztst: test for variable substitution
in variable splitting.
2014-10-13 Oliver Kiddle <opk@zsh.org>
* 33438: Completion/Base/Utility/_sequence: use the new way of
splitting strings with a dynamic separator from 33423 and quote
separators where needed
2014-10-12 Barton E. Schaefer <schaefer@zsh.org>
* 33445: Src/init.c: fix handling of SHIN_STDIN (-s) when combined
with INTERACTIVE (-i) on the shell invocation command line
2014-10-12 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 33423: Doc/Zsh/expn.yo, Src/subst.c: parameter expansion
(p) flag allows delimited strings to contain simple $param
expansions.
2014-10-11 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Test/B06fc.ztst: tests for 33429.
2014-10-10 Barton E. Schaefer <schaefer@zsh.org>
* 33429: Src/builtin.c, Src/hist.c: disallow non-integer values
for the temporary HISTSIZE and SAVEHIST of "fc -p", and fix
crash on zero values for same
2014-10-11 Oliver Kiddle <opk@zsh.org>
* 33424: Completion/Debian/Type/_deb_architectures,
Completion/Debian/Command/_apt-file,
Completion/Debian/Command/_dak, Completion/Debian/Command/_madison,
Completion/Debian/Command/_dpkg-buildpackage,
Completion/Debian/Command/_pbuilder,
Completion/Debian/Command/_reprepro,
Completion/Debian/Command/_svn-buildpackage: use common function
for completing Debian architectures
2014-10-10 Oliver Kiddle <opk@zsh.org>
* 33420: Completion/Zsh/Command/_zmodload: complete -R/-m options and
fix feature completion
* fREW Schmidt: 33375: Completion/Unix/Command/_runit: sv completion
* Daniel Shahaf: 33396: Completion/Unix/Command/_xxd: new completion
* Yuri D'Elia: 33397: Completion/X/Command/_xautolock: new completion
2014-10-09 Frank Terbeck <ft@bewatermyfriend.org>
* 33405: Functions/VCS_Info/vcs_info: Make sure maxexports
is set when VCS_INFO_set is called
2014-10-09 Barton E. Schaefer <schaefer@zsh.org>
* 33403: Completion/Base/Utility/_call_program: be conservative
about redirecting stderr, the caller may have already done so
2014-10-09 Marc Finet <m.dreadlock@gmail.com>
* 33391: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: fix applied patch detection on git am
2014-10-08 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: update to 5.0.7-dev-0 to avoid
installation clashes with 5.0.7.
2014-10-07 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: 5.0.7
2014-10-06 Mikael Magnusson <mikachu@gmail.com>
* 33365: Src/exec.c: avoid buffer overflow for very long fds in >&
fd syntax.
2014-10-06 Peter Stephenson <p.stephenson@samsung.com>
* unposted (discussed offline): README: update description of
integer import problem.
2014-10-04 Barton E. Schaefer <schaefer@zsh.org>
* 33354: Src/jobs.c, Test/A05execution.ztst: when backgrounding
a pipeline, close all pipe descriptors in the parent; add test
for both this and 33345+33346
2014-10-03 Bart Schaefer <schaefer@zsh.org>
* 33346: Src/parse.c: another bit of the 33345 repair
2014-10-03 Peter Stephenson <p.stephenson@samsung.com>
* 33345: Src/parse.c, Test/C04funcdef.ztst: fix longstanding
anonoymous function corruption of "complex" state that allowed
complex wordcode to be passed to execsimple(), causing crash.
* unposted: src/parse.c: comments were the wrong way round.
* 33343: Src/parse.c, Test/C04funcdef.ztst: variant anonymous
function syntax with arguments.
2014-10-02 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: 5.0.6-dev-1.
2014-10-02 Oliver Kiddle <opk@zsh.org>
* 33323: Completion/Zsh/Command/_typeset, Doc/Zsh/builtins.yo,
Src/builtin.c: fix bug in removing math functions and complete
-M option to functions
* 33315: Completion/Unix/Command/_sysctl: fix pattern to
match freebsd10 and later
2014-10-02 Peter Stephenson <p.stephenson@samsung.com>
* unposted: remove "major".
* 33330: README, Etc/FAQ.yo: information for forthcoming 5.0.7
release.
* 33332: Test/C01arith.ztst: test numeric import fix in 33276.
2014-10-02 Barton E. Schaefer <schaefer@zsh.org>
* 33320 (cf. PWS 33311): Completion/Base/Completer/_expand_alias,
Src/Zle/compcore.c, Src/utils.c, Src/ztype.h: revert 33069; add
typtab_flags bits (replaces specialcomma boolean) to record any
unusual handling of typtab entries; signal safety; make bangchar
non-special during completion lexing of the command line.
2014-10-02 Peter Stephenson <p.stephenson@samsung.com>
* 33325: Src/exec.c, Test/A05execution.ztst: fix ksh autoloads
with redirections on function definitions.
2014-10-01 Barton E. Schaefer <schaefer@zsh.org>
* 33319: Doc/Zsh/grammar.yo: fix parens in example from 33312
2014-10-02 Axel Beckert <abe@deuxchevaux.org>
* 33284: Mathieu Malaterre: Completion/Unix/Command/_{graphics,
image}magick: Add missing JPEG 2000 file extensions.
2014-10-01 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 33312: Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo: document
redirections applied to function definitions.
2014-09-30 Barton E. Schaefer <schaefer@zsh.org>
* 33298: Src/lex.c: make lexrestore() more signal-safe
2014-09-30 Peter Stephenson <p.stephenson@samsung.com>
* 33294: Src/Modules/parameter.c, Test/A04redirect.ztst:
functions[func] value for functions with redirections and
extra tests.
* 33293: Src/Zle/compctl.c, Src/Zle/zle_refresh.c: fix warnings
from swish new compilers with a contemporary outlook.
2014-09-29 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 33286: Src/exec.c, Test/A04redirect.ztst: handle redirections
for multiple named functions.
* 33285: NEWS, Src/exec.c, Src/hashtable.c, Src/parse.c,
Src/signals.c, Src/zsh.h, Test/A04redirect.ztst: redirections in
function definitions are applied at execution not definition.
2014-09-29 Frank Terbeck <ft@bewatermyfriend.org>
* 33277: Functions/VCS_Info/VCS_INFO_reposub: Fix
VCS_INFO_reposub's command expansion
2014-09-29 Peter Stephenson <p.stephenson@samsung.com>
* users/19183: Src/hist.c: handle unlikely error case with
fdopen() better.
* 33276: Src/params.c, Src/zsh.h: safer import of numerical
variables from environment.
2014-09-28 Barton E. Schaefer <schaefer@zsh.org>
* 33268: Src/exec.c, Src/init.c, Src/signals.c: interactive shells
treat SIGPIPE like SIGHUP if and only if SHTTY is disconnected
2014-09-27 Barton E. Schaefer <schaefer@zsh.org>
* 33256: Src/prompt.c: fix prompttrunc() counting of %{ %} spans
2014-09-26 Peter Stephenson <p.stephenson@samsung.com>
* 33242: Src/parse.c: don't treat tokens immediately following
end of shell constructs for, while, repeat, if as being in
command position.
* Wieland Hoffmann: 33252: Completion/Unix/Command/_notmuch:
complete more subcommands.
2014-09-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/19143: Src/glob.c: **/*(odonT) didn't work because
the trailing slash wasn't properly ignored.
2014-09-25 Peter Stephenson <p.stephenson@samsung.com>
* unposted: NEWS: tweak last change.
2014-09-24 Oliver Kiddle <opk@zsh.org>
* 33238: Completion/Unix/Command/_quilt: correct return values
2014-09-24 Peter Stephenson <p.stephenson@samsung.com>
* Eric Cook: 33224: Completion/Linux/Command/_btrfs: complete
directory as second argument.
2014-09-23 Barton E. Schaefer <schaefer@zsh.org>
* 33223: Completion/Base/Utility/_call_program: discard stderr
except when _complete_debug is in progress.
2014-09-23 Øystein Walle <oystwa@gmail.com>
* 33179: Completion/Unix/Command/_git: _git: updates for Git 2.0.0
* 33176: Completion/Unix/Command/_git: _git: Add missing --list to
git-tag
* 33178: Completion/Unix/Command/_git: _git: updates for Git 2.1.0
* 33177: Completion/Unix/Command/_git: _git: fix typo in git-apply
* 33180: Completion/Unix/Command/_git: _git: add missing --3way
option
2014-09-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: NEWS: more minor tweaks.
* unposted: NEWS: mention numeric output with underscore separators.
* unposted: NEWS: mention new
/usr/local/share/zsh/site-functions default.
2014-09-23 Peter Stephenson <p.stephenson@samsung.com>
* 33221 (including 33173 from Anthony Heading):
Completion/Unix/Command/_perforce: complete directories
when handling unmaintained files and rationalise code that does
this.
* unposted: Completion/Unix/Command/_dvi: add dvipdf to list of
commands.
* Richard Hartmann: 33218: Completion/X/Command/_mplayer:
complete m4a files.
2014-09-22 Oliver Kiddle <opk@zsh.org>
* 33198: Completion/Unix/Command/_augeas: new augtool completion
* users/19113: Completion/Linux/_cryptsetup: reorganised function
2014-09-22 Daniel Hahler <dhahler@gmail.com>
* 33217: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info: use `--ignore-submodules=dirty` with diff/diff-index
2014-09-22 Peter Stephenson <p.stephenson@samsung.com>
* 33208: Tanu Kaskinen: improve printing of paths at end of
configuration.
2014-09-20 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 33214 (modified yet further): configure.ac: test prefixes better.
* 33213: configure.ac, Config/defs.mk.in: try again.
* 33212: Src/zsh.mdd: Src/init.c, Src/zsh.mdd, configure.ac: add
/usr/local/share/zsh/site-functions to head of fpath if not
present from result of running configure. There's no
configuration for this as it serves as a fallback.
* Tanu Kaskinen: 33209: Doc/Makefile.in: don't fail
catastrophically when builing zsh.texi if yodl isn't available.
2014-09-19 Barton E. Schaefer <schaefer@zsh.org>
* 33206: Doc/Zsh/mod_computil.yo: fix compdescribe doc
* 33205: Completion/Base/Utility/_describe: if passed both an
array of completions and an array of display strings, keep them
in sync when filtering for matches.
2014-09-18 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/19097: Doc/Zsh/mod_parameter.yo,
Src/Modules/parameter.c: remove functypetrace and instead add
cross-reference to zsh_eval_context.
2014-09-16 Marc Finet <m.dreadlock@gmail.com>
* 33188: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: set rrn before using it
* 33184: Doc/Zsh/contrib.yo,
Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git:
consider patches for rebase
2014-09-16 Mikael Magnusson <mikachu@gmail.com>
* 33136: Doc/Zsh/expn.yo, Src/glob.c: P glob qualifier appends
words when negated.
* 33137: Completion/Unix/Type/_path_files: complete # to introduce
a glob flag
2014-09-14 Marc Finet <m.dreadlock@gmail.com>
* 33149: Misc/vcs_info-examples: vcs_info examples: fix typo
* 33151: Completion/Unix/Command/_git: completion git: support
aliases when \n exist
* 33147: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: detect revert or cherry-pick with multiple commits
* 33148: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt:
refactor standalone detection
* 33145: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: fix applied-string name
* 33150: Completion/Unix/Command/_git: completion git: fix
send-email --confirm values
2014-09-12 Barton E. Schaefer <schaefer@zsh.org>
* 33143: Src/init.c: POSIX_ARGZERO more closely matches bash et al.
2014-09-12 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/19075: Doc/Zsh/mod_parameter.yo,
Src/Modules/parameter.c: $functypestack gives "function",
"source" or "eval" for parallel element of $funcstack.
2014-09-09 Peter Stephenson <p.stephenson@samsung.com>
* Eric Cook: 33132: Completion/Unix/Type/_net_interfaces: use ip
on Linux to get interface names.
2014-09-08 Peter Stephenson <p.stephenson@samsung.com>
* users/19059 based on users/19058 (Paulo César Pereira de
Andrade): Src/pattern.c, Test/D02glob.ztst: remove inefficiency
with multiple "*"s in pattern matching and add test.
2014-09-07 Barton E. Schaefer <schaefer@zsh.org>
* 33122: Src/Modules/pcre.c, Test/V07pcre.ztst: typo from 32891
caused incorrect matches for pcre_match -n
2014-09-06 Barton E. Schaefer <schaefer@zsh.org>
* 33118: Src/subst.c: record original param unset state when
${name:#word} et al. need to treat empty the same as unset, to
avoid incorrect NO_UNSET error
* 33116: Src/hist.c: followup to 32580 to prevent double-locking
with shared or incremental history
* unposted: Doc/Zsh/expn.yo: clarify ${(~j.|.)array} example
2014-08-21 Mikael Magnusson <mikachu@gmail.com>
* 33061: Completion/Zsh/Command/_setopt,
Completion/Zsh/Command/_unsetopt: More useful setopt / unsetopt
completion.
2014-09-04 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 33110: Doc/Zsh/expn.yo: document use of $IFS[1] for variable
padding.
2014-09-04 Peter Stephenson <p.stephenson@samsung.com>
* Alexandre Rames: 33108: Completion/Unix/Command/_stgit:
--patch completion.
* 33091: Doc/Zsh/builtins.yo: improve documentation for ttyctl.
2014-09-03 Barton E. Schaefer <schaefer@zsh.org>
* 33100: Src/exec.c: check $fd more rigorously in "exec {fd}<&-"
* 33088: Completion/Base/Widget/_complete_debug: indentation in $PS4
2014-09-01 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Mark Oteiza: 33081: Completion/Unix/Type/_mime_types: suppress
error message if unnecessary file not found.
2014-08-31 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Test/A05execution.ztst: further tweaking of the
descriptor leak regression test that sometimes hangs
* 33077: Src/exec.c: SHTTY = -1 when closing it in closem()
2014-08-30 Barton E. Schaefer <schaefer@zsh.org>
* 33070: Doc/Zsh/prompt.yo, Src/prompt.c: add %(e..) based on %e
* 33069: Completion/Base/Completer/_expand_alias: remove internal
quoting before looking up aliases when expanding aliases in an
unquoted word
2014-08-29 Peter Stephenson <p.stephenson@samsung.com>
* 33057: Doc/Zsh/prompt.yo, Src/prompt.c: %e in prompts shows
evaluation / execution depth.
2014-08-28 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 33062: Etc/zsh-development-guide: update note on use of
.distfiles based on 33047.
* unposted: Config/version.mk: update to 5.0.6-dev-0 for new
commits post release.
* unposted: Config/version.mk: 5.0.6.
2014-08-24 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: 5.0.5-dev-3.
2014-08-24 Barton E. Schaefer <schaefer@zsh.org>
* unposted (see 33050): Completion/Unix/Command/_git: un-transpose
help text for git merge -{-no,}-verify
2014-08-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 33047: .distfiles, Completion/.distfiles,
Completion/AIX/.distfiles, Completion/AIX/Command/.distfiles,
Completion/AIX/Type/.distfiles, Completion/BSD/.distfiles,
Completion/BSD/Command/.distfiles, Completion/Base/.distfiles,
Completion/Base/Completer/.distfiles,
Completion/Base/Core/.distfiles,
Completion/Base/Utility/.distfiles,
Completion/Base/Widget/.distfiles,
Completion/Cygwin/Command/.distfiles,
Completion/Darwin/Command/.distfiles,
Completion/Darwin/Type/.distfiles, Completion/Debian/.distfiles,
Completion/Debian/Command/.distfiles,
Completion/Debian/Type/.distfiles,
Completion/Linux/Command/.distfiles,
Completion/Linux/Type/.distfiles,
Completion/Mandriva/.distfiles,
Completion/Mandriva/Command/.distfiles,
Completion/Redhat/.distfiles,
Completion/Redhat/Command/.distfiles,
Completion/Solaris/Command/.distfiles,
Completion/Solaris/Type/.distfiles, Completion/Unix/.distfiles,
Completion/Unix/Command/.distfiles,
Completion/Unix/Type/.distfiles, Completion/X/.distfiles,
Completion/X/Command/.distfiles, Completion/X/Type/.distfiles,
Completion/X/Utility/.distfiles, Completion/Zsh/.distfiles,
Completion/Zsh/Command/.distfiles,
Completion/Zsh/Context/.distfiles,
Completion/Zsh/Function/.distfiles,
Completion/Zsh/Type/.distfiles,
Completion/openSUSE/Command/.distfiles, Config/.distfiles,
Doc/.distfiles,Doc/Zsh/.distfiles, Doc/help/.distfiles,
Etc/.distfiles, Functions/.distfiles,
Functions/Calendar/.distfiles, Functions/Chpwd/.distfiles,
Functions/Compctl/.distfiles, Functions/Example/.distfiles,
Functions/Exceptions/.distfiles, Functions/MIME/.distfiles,
Functions/Misc/.distfiles, Functions/Newuser/.distfiles,
Functions/Prompts/.distfiles, Functions/TCP/.distfiles,
Functions/VCS_Info/.distfiles,
Functions/VCS_Info/Backends/.distfiles,
Functions/Zftp/.distfiles, Functions/Zle/.distfiles,
Misc/.distfiles, Scripts/.distfiles, Src/.distfiles,
Src/Builtins/.distfiles, Src/Modules/.distfiles,
Src/Zle/.distfiles, StartupFiles/.distfiles, Test/.distfiles,
Util/.distfiles, Util/mkdisttree.sh: Files controlled by git
are part of the source distribution unless explicitly included
in DISTFILES_NOT. The .distfiles file is still needed for
the directory to be processed.
* unposted: Etc/.gitignore: ignore generated FAQ*.html files.
2014-08-23 Barton E. Schaefer <schaefer@zsh.org>
* 33046: Completion/Unix/Command/.distfiles,
Completion/Unix/Command/_chsh, Completion/Unix/Type/_users: new
completion for "chsh"
2014-08-22 Barton E. Schaefer <schaefer@zsh.org>
* 33042: NEWS, Src/jobs.c: $? and $pipestatus report 128+signal
number for stopped jobs as well as terminated jobs
2014-08-21 Mikael Magnusson <mikachu@gmail.com>
* 33038: Src/glob.c: Fix {a..b} expansion hanging when either
endpoint is a literal NUL character
2014-08-20 Barton E. Schaefer <schaefer@zsh.org>
* Lokesh Mandvekar: 33032: Completion/Linux/Command/_docker,
Completion/Linux/Command/.distfiles: new completion for docker
2014-08-15 Barton E. Schaefer <schaefer@zsh.org>
* unposted (see 33006): Test/A05execution.ztst: timeout the final
"read" in hung shell regression
* 33012: Src/utils.c: add an error return value (-1) to xsymlinks()
to differentiate when xbuf is set to the empty string; silences
bogus warning about failed expansion
2014-08-14 Oliver Kiddle <opk@zsh.org>
* 32998: Completion/Unix/Command/_dsh, Completion/Unix/Command/_nm,
Completion/Unix/Command/_mosh, Completion/Unix/Command/_rsync,
Completion/Unix/Command/_wget: completion function updates
* 32997: Completion/Base/Utility/_sequence, Doc/Zsh/compsys.yo,
Completion/Unix/Command/_mount, Completion/Unix/Command/_nmap,
Completion/Unix/Command/_pgrep, Completion/Unix/Command/_zip:
add completion utility function for lists
2014-08-14 Peter Stephenson <p.stephenson@samsung.com>
* 33002: Doc/Zsh/tcpsys.yo, Functions/TCP/tcp_expect: add option
-P to tcp_expect for tagging matches with a string rather than
a parameter index.
2014-08-13 Oliver Kiddle <opk@zsh.org>
* 32925: Completion/Zsh/Command/_kill: complete process groups,
partly as a way to suppress insertion of ambiguous PID prefix
* 32893: Completion/Unix/Type/_pids: move use of _call_program
inside the _tags loop to allow processes to be separated
2014-08-12 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Config/version.mk: update to 5.0.5-dev-2.
2014-08-12 Mikael Magnusson <mikachu@gmail.com>
* 32985: NEWS: Add NEWS entry for array zipping operators.
2014-08-12 Peter Stephenson <p.stephenson@samsung.com>
* Axel Beckert: 32975, 32984: Doc/Zsh/Makefile.in: texi2html.conf
location was inconsistent when building out of tree.
2014-08-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Completion/Base/Completer/.distfiles,
Completion/Linux/Command/.distfiles,
Completion/Unix/Command/.distfiles, Config/version.mk,
Etc/.distfiles, Etc/FAQ.yo, Functions/Zle/.distfiles, NEWS,
README: updates for 5.0.5-dev-1 and 5.0.6 release.
2014-08-10 Axel Beckert <abe@deuxchevaux.org>
* unposted: Doc/Zsh/expn.yo: Fix typo.
2014-08-08 Barton E. Schaefer <schaefer@zsh.org>
* unposted: NEWS, Doc/Zsh/prompt.yo: mention 32971 in NEWS,
clarify RPROMPT behavior in docs.
2014-08-07 Barton E. Schaefer <schaefer@zsh.org>
* 32971 (plus doc tweak): Doc/Zsh/prompt.yo, Src/prompt.c:
negative argument with %(l..) conditional and with %<< or %>>
truncation calculates space available before right margin
(positive argument still counts space used since left margin).
2014-08-06 Peter Stephenson <p.stephenson@samsung.com>
* unposted, see 32968: Completion/openSUSE/Command/.distfiles
Completion/openSUSE/Command/_SuSEconfig ->
Completion/openSUSE/Command/_SUSEconfig: rename file.
2014-08-04 Barton E. Schaefer <schaefer@zsh.org>
* Miles Ohlrich: 32958: Src/Zle/compctl.c: bitwise logic fix
2014-08-04 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 32954: Doc/Zsh/expn.yo: missed this.
* 32954 (plus new test): Src/cond.c, Test/D02glob.ztst:
(#q) on patterns with [[ ... = ... ] and [[ ... != ... ]]
shouldn't force a glob, it should simply be ignored.
* unposted: Src/subst.c: remove unused variables.
2014-08-04 Mikael Magnusson <mikachu@gmail.com>
* 32949 (wip 32928, 32937): Doc/Zsh/expn.yo, Src/subst.c,
Test/D04parameter.ztst: Add :^ and :^^ for zipping arrays.
2014-08-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 32944: Doc/Zsh/builtins.yo: read -qs is handled properly.
* users/19006: Doc/Zsh/expn.yo: document position of
RC_EXPAND_PARAM handling during parameter substitution.
2014-08-01 Peter Stephenson <p.stephenson@samsung.com>
* 32932: Src/subst.c, Src/utils.c: add hmkarray() and
use to fix leak.
2014-07-31 Barton E. Schaefer <schaefer@zsh.org>
* 32931: Src/glob.c: with NO_NOMATCH, using a subscript glob
qualifier on a not-matching pattern should still return the
original pattern
2014-07-30 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Src/Builtins/sched.c, Src/Modules/datetime.c,
Src/Modules/stat.c: missed updates to ztrftime().
* 32919: Doc/Zsh/tcpsys.yo Functions/TCP/tcp_output: %P
at start of prompt in TCP function system causes standard
%-style substitution.
* 32918: Doc/Zsh/prompt.yo, Src/builtin.c,Src/prompt.c,
Src/utils.c, Src/watch.c: add ability to display times with
fractions of a second in prompts.
2014-07-28 Barton E. Schaefer <schaefer@zsh.org>
* 32593: Completion/Unix/Command/_qemu: update --vga option
2014-07-26 Axel Beckert <abe@deuxchevaux.org>
* Omari Norman: 32817: Add completion for moosic.
* Sebastian Ramacher: 32816: Add completion for bpython and
variants.
* 32911: Expand bpython completion to bpython2 and bpython3.
2014-07-26 Barton E. Schaefer <schaefer@zsh.org>
* 32910: Src/mkmakemod.sh: quiet update of timestamp files
2014-07-24 Barton E. Schaefer <schaefer@zsh.org>
* 32853: configure.ac, Src/mem.c, Src/zsh_system.h: redefine
the VARARR() macro to use heap rather than stack allocation;
enable old behavior via "configure --with-stack-allocation"
* unposted (see 32892): Src/builtins.c: 'fc -I' is an error
* 32903: Src/Modules/parameter.c: new empty (unset) elements in
the special parameter hash tables are special themselves, so that
adding elements via assignment syntax handles them correctly.
2014-07-24 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Functions/Zle/replace-argument, Doc/Zsh/contrib.yo:
allow negative numeric prefix to count backwards from last
argument.
2014-07-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jai Keerthan: users/18981: Completion/Unix/Command/_tmux:
improved function completion.
2014-07-23 Barton E. Schaefer <schaefer@zsh.org>
* 32898 (credit Jun T.): Doc/Zsh/mod_pcre.yo: fix bug in 32891.
2014-07-23 Ansgar Burchardt <ansgar@debian.org>
* 32895: Completion/Unix/Command/_nm: Match more shared library
names.
2014-07-20 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Doc/Zsh/builtins.yo: force retention of whitespace
in "fc" item prototype
* 32891: Doc/Zsh/mod_pcre.yo Src/Modules/pcre.c: the CASE_MATCH
option should apply to =~ when using pcre; fix pcre_match bug
with handling of empty string argument.
2014-07-17 Barton E. Schaefer <schaefer@zsh.org>
* 32882 (cf. Augie Fackler 32879): Src/hist.c: restore correct
reload of backslash-continuation lines from history, broken by
workers/30443 just before the zsh 5.0.0 release; fix bad history
write of events ending with an even number of backslashes.
2014-07-17 Oliver Kiddle <opk@zsh.org>
* 32849: Completion/Linux/Command/_ss: new completion function
* 32848: Completion/Unix/Command/_perl,
Completion/Unix/Command/_python, Completion/Unix/Command/_ruby:
fix words array before using _normal for script arguments
2014-07-17 Peter Stephenson <p.stephenson@samsung.com>
* 32866 (plus extra undo fix in read-from-minibuffer):
Doc/Zsh/contrib.yo, Functions/Zle/read-from-minibuffer,
Functions/Zle/replace-argument: new replace-argument function;
fixes in read-from-minibuffer not to pass through numeric
argument to recursive edit and to hide minibuffer edit from
undo history.
2014-07-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Koen Wilde: 32863: Completion/Unix/Command/_mpc: mpc "insert"
command.
2014-07-08 Peter Stephenson <p.stephenson@samsung.com>
* Dominic Hopf: 32837: Config/defs.mk.in: improve handling of
installation location for help directories.
* 32832: Doc/Zsh/grammar.yo Doc/Zsh/params.yo: attempt to
improve documentation for how assignment works.
2014-07-03 Axel Beckert <abe@deuxchevaux.org>
* Felipe Sateler: 32819: Completion/Debian/Command/_axi-cache:
Update for axi-cache completion.
* Vincent Lefevre: 32818: Completion/Unix/Command/_gzip:
--rsyncable option is missing
* Daniel Bolton: 32815: Completion/Debian/Command/_aptitude:
missing resolver options
* Sebastian Ramacher: 32814: Completion/Debian/Command/_dpkg:
Add --add-architecture, --remove-architecture, and
--print-foreign-architectures options.
2014-07-03 Mikael Magnusson <mikachu@gmail.com>
* 32821: Completion/Unix/Command/_gcc: Update _gcc as of GCC
4.8.3 for generic options and x86.
2014-07-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jun T: 32833: Completion/Unix/Command/_python,
Completion/Unix/Command/_ruby: complete file arguments as for
perl.
2014-06-30 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jun T: 32823: Completion/Unix/Command/_perl: complete file
instead of script after -e.
2014-06-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jun T: 32812: Doc/zsh.yo, Doc/ztexi.yo: put table of contents
at front of manual.
2014-06-26 Peter Stephenson <p.stephenson@samsung.com>
* 32799: Doc/Zsh/builtins.yo, Src/Builtins/rlimits.c: resource
NTHR is not properly handled on netBSD.
2014-06-24 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 32789: Src/lex.c Src/mem.c Src/zsh_system.h configure.ac:
--enable-zsh-valgrind allows valgrind to analyse heap
allocations.
2014-06-16 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jun T: 32781: Doc/Zsh/options.yo: source builtin and path
search doc.
2014-06-14 Jun T <takimoto-j@kba.biglobe.ne.jp>
* 32779: Doc/Zsh/options.yo: fix a typo in options.yo
2014-06-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 32768, with further modifications: Doc/Zsh/options.yo,
Src/exec.c, Src/options.c, Src/zsh.h, Test/E01options.ztst,
Test/ztst.zsh: LOCAL_LOOPS option to restrict effect of
continue and break in function scope.
* 32666: Doc/Zsh/compat.yo: shell emulation based on executable
name incompletely documented.
2014-06-11 Barton E. Schaefer <schaefer@zsh.org>
* Jun T: 32767: Src/glob.c: another spot to tweak bracechardots()
2014-06-10 Barton E. Schaefer <schaefer@zsh.org>
* 32766: Src/glob.c: bracechardots() agrees with xpandbraces()
about what constitutes a {C1..C2} pattern, thus preventing crash
* Jun T: 32765: Src/glob.c: fix build when not MULTIBYTE_SUPPORT
2014-06-09 Peter Stephenson <p.stephenson@samsung.com>
* Jun T: 32755: Doc/Zsh/grammar.yo: move line that was in the
wrong place.
2014-06-07 Barton E. Schaefer <schaefer@zsh.org>
* Nikolas Garofil: 32737: Src/utils.c: properly ifdef declarations
* Nikolas Garofil: 32736 (tweak per 32741): Src/zsh_system.h:
memmove() should return its dest argument
* Nikolas Garofil: 32735: Src/signals.c: define ret before use
* Nikolas Garofil: 32734: Src/mem.c: remove unused pointers
* Nikolas Garofil: 32733: Src/prototypes.h: use size_t in bcopy()
* Nikolas Garofil: 32732 (tweak per 32739): Src/compat.c: fix
const declaration inconsistency
2014-06-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jun T: 32719: Doc/Zsh/contrib.yo: minor issues.
* Jun T: 32715: Doc/Zsh/calsys.yo, Doc/Zsh/grammar.yo,
Doc/Zsh/zle.yo: formatting fixes.
* 32682 with tweaks: Doc/Zsh/options.yo, Src/hist.c,
Src/options.c, Src/zsh.h: INC_APPEND_HISTORY_TIME is new
behaviour, with INC_APPEND_HISTORY reverting to its previous
behaviour.
* Andrew Magee: 32698: Completion/Unix/Command/_hg: show
committable files.
2014-06-05 Barton E. Schaefer <schaefer@zsh.org>
* 32723: Src/glob.c: add braces around some if/else branches
* 32716 (via Jun T. 31714): Src/utils.c: properly test iconv
return values for error conditions
2014-06-04 Barton E. Schaefer <schaefer@zsh.org>
* 32711: Test/A07control.ztst: run "continue" test in a new
shell, lest it inadvertently continue the loop that reads the
test chunks from this file
* Daniel Shahaf: 32708: Doc/Zsh/expn.yo, Src/glob.c,
Test/D02glob.ztst: glob qualifier (Y) implies (oN), plus
incidental patch to avoid adding a meaningless bitvalue to
sort-order flags
2014-06-03 Barton E. Schaefer <schaefer@zsh.org>
* Daniel Shahaf: 32694: Completion/Zsh/Type/_globquals,
Doc/Zsh/expn.yo, Src/glob.c, Test/D02glob.ztst: the number
of matches to find is the suffix argument of (Y) qualifier
2014-06-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jun T: 32681: Doc/Zsh/zle.yo: formatting issue.
2014-06-03 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Src/cond.c: restore cond_match() in case used in
modules.
2014-06-02 Barton E. Schaefer <schaefer@zsh.org>
* 32656 (via Jun T. via waltarix on github): when __APPLE__ is
defined at compile, normalize Unicode filenames in zreaddir()
2014-06-02 Peter Stephenson <p.stephenson@samsung.com>
* Daniel Shahaf: users/18870: Src/glob.c, Test/D02glob.ztst:
glob scanner needed some coaxing with counting matches with (Y)
glob qualifier.
2014-06-02 Daniel Shahaf <d.s@daniel.shahaf.name>
* 32662: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Fix stagedstr for empty repos
2014-06-01 Barton E. Schaefer <schaefer@zsh.org>
* 32653: Completion/Unix/Command/_php: complete files with the
".phar" extension as well as ".php", and respect the suffixes
zstyle to change this
* 32634 (plus doc): Doc/Zsh/options.yo, Doc/Zsh/params.yo,
Src/init.c, Src/options.c, Src/params.c, Src/zsh.h: add the
POSIX_ARGZERO option to allow toggling between the original
value of $0 and the value set by FUNCTION_ARGZERO
* Daniel Shahaf: users/18857: Doc/Zsh/expn.yo, Src/glob.c,
Test/D02glob.ztst: add (Y) glob qualifier
2014-06-01 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 32640: Doc/Zsh/cond.yo, Doc/Zsh/expn.yo, NEWS, Src/cond.c,
Src/glob.c, Test/D02glob.ztst: (#q) with EXTENDED_GLOB forces
globbing in [[ ... ]].
2014-05-29 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 32624: Src/builtin.c, Src/jobs.c: use correct scaling factor
(clock ticks) for times.
* Keerthan Jai: users/18860: Completion/Unix/Command/_man: man
-M overrides manpath.
* unposted: Src/params.c: use DIGBUFSIZE for pipestatus numeric
buffer.
2014-05-29 Daniel Shahaf <d.s@daniel.shahaf.name>
* 32619: Functions/VCS_Info/Backends/VCS_INFO_get_data_svn:
vcs_info svn: Use the revision of cwd
* 32621: Functions/VCS_Info/Backends/VCS_INFO_get_data_svn:
vcs_info svn: 'Fix set-branch-format' when in subdirs
* 32620: Doc/Zsh/contrib.yo: Typo fix after commit eb4c70d
2014-05-18 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jun T: 32616: Src/Builtins/rlimits.c: unnecessary printf
argument in limits on some systems.
2014-05-16 Peter Stephenson <p.stephenson@samsung.com>
* Roman Neuhauser: users/18827 (plus tweaks to original
comments): Doc/Zsh/contrib.yo: more efficient way of extracting
hg bookmarks.
2014-05-13 Barton E. Schaefer <schaefer@zsh.org>
* 32609: Src/parse.c, Test/CO2cond.ztst: [[ $var ]] behaves as
[[ -n $var ]] for bash/ksh compatibility; restore ksh [ -t ]
compatibility when POSIX_BUILTINS is not set; allow operators
defined by modules to be called with no arguments, although
this affects only runtime interpretation, not parsing.
2014-05-09 Peter Stephenson <p.stephenson@samsung.com>
* Eric Cook: 32602: Doc/Zsh/grammar.yo: status of try + always
block is from the former, not the latter.
2014-05-08 Peter Stephenson <p.stephenson@samsung.com>
* m0viefreak: 32600: Src/Zle/computil.c: fix problem with
_arguments thinking -- is a single letter option called '-',
which it isn't.
2014-05-06 Daniel Shahaf <d.s@daniel.shahaf.name>
* 32597: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Describe detached heads symbolically.
2014-04-29 Peter Stephenson <p.stephenson@samsung.com>
* Tomoki Sekiyama: 32592: add CORRECT_IGNORE_FILE variable.
2014-04-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Sebastien Alaiwan: 32562: Completion/Unix/Command/_bzr:
updates for bzr completion.
* Jasper Lievisse Adriaanse: 32558: configure.ac:
_XOPEN_SOURCE_EXTENDED now works OK on OpenBSD.
2014-04-25 Barton E. Schaefer <schaefer@zsh.org>
* 32580: Src/hist.c: avoid indefinite wait in lockhistfile() by
checking for lock file time stamp far in the future relative to
the local clock. Change behavior of HIST_FCNTL_LOCK to use only
fcntl() locking, rather than applying both kinds of lock.
2014-04-20 Barton E. Schaefer <schaefer@zsh.org>
* 32569: Src/loop.c: lastval ($?) should not be reset between
word list substitution and loop body execution in for/select.
* 32568: Src/exec.c, Src/loop.c: consistency in handling of errflag
condition during substitutions in for/select word lists, function
definition name position, and anonymous function argument lists.
2014-04-17 Barton E. Schaefer <schaefer@zsh.org>
* Andrew Waldron: 32552 (updated by 32560): Src/exec.c,
Src/parse.c, Src/subst.c, Test/C04funcdef.ztst: fix segfault
when using process substitution in anonymous function argument
list; disallow process substitution in function name position.
2014-04-15 Barton E. Schaefer <schaefer@zsh.org>
* Jun T: 32546: Completion/Unix/Type/_path_files: better handling
of ignored files when using -W to specify prefixes.
2014-04-13 Barton E. Schaefer <schaefer@zsh.org>
* 32540: Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: following
successful history expansion, discard saved line position data
rather than restoring from it (updates 32531).
2014-04-07 Peter Stephenson <p.stephenson@samsung.com>
* 32527: Doc/Zsh/contrib.yo, Functions/Misc/zcalc,
Functions/Zle/zcalc-auto-insert: zcalc-auto-insert widget
for key binding in zcalc.
2014-04-06 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Doc/Zsh/options.yo: fix typo in option cross-reference
* 32531: Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c, Src/hist.c:
fix memory leaks detected by valgrind, two in ZLE region highlight
and one in :A history modifier.
2014-04-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Sebastian Ramacher: 32533: Completion/Debian/Command/_apt: add
completion for "apt-mark".
* Alessandro Ghedini: 32532: Completion/Debian/Command/_apt:
support 'apt' command.
* 32530: llua: Completion/Unix/Command/_zfs: repeatable -o
argument.
* 32521: Doc/Zsh/params.yo: document that LOGNAME comes
from getlogin().
2014-04-05 Daniel Shahaf <d.s@daniel.shahaf.name>
* 32528: Completion/Zsh/Command/_zstyle, Doc/Zsh/contrib.yo,
Functions/VCS_Info/Backends/VCS_INFO_get_data_git,
Misc/vcs_info-examples: vcs_info: Add check-for-staged-changes
* 32528: Doc/Zsh/contrib.yo: vcs_info: Document 'post-backend'
hook and bzr 'check-for-changes' support.
2014-03-28 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Danek Duvall: 32505: Completion/Unix/Command/_pgrep: improved
Solaris compatibility for pgrep completion.
2014-03-23 Barton E. Schaefer <schaefer@zsh.org>
* m0viefreak: users/18660: Src/Zle/compresult.c,
Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix auto-removable
suffix highlighting
* m0viefreak: users/18657: Completion/Unix/Command/_git: fix
compadd for auto-removable suffix in _git_stash
* m0viefreak: users/18655: Completion/Unix/Command/_git: fix
compadd for auto-removable suffix in _git_commit_ranges
2014-03-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Takeshi Banse: 32502: Completion/Unix/Command/_git: fix typo
in argument list.
2014-03-20 Peter Stephenson <p.stephenson@samsung.com>
* users/18644: Doc/Zsh/zle.yo: bindkey -s doc should refer to
documentation for argument interpretation.
* Completion/Unix/Command/_perforce: finally, after more than
ten years, complete depots after // in file paths as it always
should have done.
2014-03-18 Barton E. Schaefer <schaefer@zsh.org>
* 32500: Src/pattern.c: handle interrupts during pattern matching
* Jun T: 32497: Test/X02zlevi.ztst, Test/comptest: avoid using
comptesteval in the middle of a series of tests; the change in
control required for sourcing the command file can confuse the
simulated interactive input
2014-03-17 Peter Stephenson <p.stephenson@samsung.com>
* Jun T: 32494: Doc/zman.yo: Yodl hack to fix indentation
in nroff -man output.
* Jun T: 32493: Doc/Zsh/contrib.yo, Doc/Zsh/mod_pcre.yo,
Doc/Zsh/mod_regex.yo, Doc/Zsh/mod_sched.yo: some formatting
fixes.
2014-03-16 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Mariusz Fik: 32847: Completion/openSUSE/Command/_zypper: new
options.
2014-03-14 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Doc/Zsh/options.yo: document effect of 32479.
* Jun T: 32482: Doc/zman.yo: fix character translation table
usage with some versions of Yodl.
2014-03-14 Peter Stephenson <p.stephenson@samsung.com>
* 32479: Src/builtin.c, Src/signals.c: with POSIXTRAPS
never propagate an implicit return from within a trap.
2014-03-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Kosuke Asami: 32473: Completion/Unix/Command/_pgrep: tidy up
* Kosuke Asami: 32471: Completion/Unix/Command/_pgrep: handle
BSD process options.
* Kosuke Asami: 32472: Completion/Unix/Command/_pgrep: new options.
2014-03-13 Peter Stephenson <p.stephenson@samsung.com>
* Jun T: 32480: Src/Zle/zle_vi.c: fix crash in vi mode when too
few previous changes.
2014-03-09 Barton E. Schaefer <schaefer@zsh.org>
* 32468: Src/Modules/zutil.c: save/restore match/mbegin/mend
when doing pattern lookups against zstyle contexts
2014-03-03 Barton E. Schaefer <schaefer@zsh.org>
* users/18550: Doc/Zsh/compsys.yo: matcher-list clarifications
2014-03-03 Simon Ruderich <simon@ruderich.org>
* 32289: Doc: Add zsh version to footer in HTML documentation.
2014-03-03 Oliver Kiddle <opk@zsh.org>
* 32441: Completion/Base/Completer/_extensions, Doc/Zsh/compsys.yo:
add completer for file extensions
* 32450: Src/Zle/zle_hist.c: make get-line set the history
number that was saved with the line
* 32448: Src/Zle/zle_params.c: fix seg fault after recursive-edit
* 32439 (with Yuri D'Elia): Completion/Base/Core/_main_complete:
add new show-ambiguity style
* 32436: Src/Zle/complist.c: allow = to be used in ZLS_COLORS
patterns if it is quoted or inside parentheses
2014-03-01 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 32453: Functions/Misc/zcalc: fix default base handling.
* Manuel Presnitz: 32412 modified c.f. 32415:
Completion/Zsh/Type/_globquals, Doc/Zsh/expn.yo, Src/glob.c,
Src/zsh.h: gigabyte and terabyte units for glob qualifiers.
2014-02-28 Peter Stephenson <p.stephenson@samsung.com>
* users/18531 plus doc etc.: Doc/Zsh/contrib.yo,
Functions/Zle/.distfiles, Functions/Zle/expand-absolute-path:
new expand-absolute-path ZLE widget.
2014-02-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jun T: 32435: Completion/Base/Core/_description,
Completion/Unix/Command/_rm: improved quoting for ignore-line
style.
2014-02-24 Oliver Kiddle <opk@zsh.org>
* unposted: Doc/Zsh/compsys.yo: fix typo
* unposted: Completion/X/Command/_x_utils: duplicate local
statement was printing variable value
* users/18498: Completion/Base/Completer/_expand_alias: observe
add-space style in _expand_alias so suffix can be disabled
* users/18485: Completion/Unix/Command/_git: add .. as an
auto-removable suffix in git revision ranges
2014-02-24 Peter Stephenson <p.stephenson@samsung.com>
* Hong Xu: 32492: Completion/Unix/Command/_npm: fix outdated
completion.
* Sebastien Alaiwan: 32462: Completion/Unix/Command/_bzr:
improve completion with directory path.
2014-02-23 Barton E. Schaefer <schaefer@zsh.org>
* 32427: Doc/Zsh/zle.yo, Src/Zle/zle_main.c: avoid busy loop
on closed descriptors for "zle -F" handlers. Assure that the
handlers are called on error conditions and document the extra
argument that is passed in the error case.
2014-02-19 Peter Stephenson <p.stephenson@samsung.com>
* 32414: Src/glob.c: improved error message for missing glob
qualifier delimiters.
2014-02-18 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Eric Cook: 32408: Completion/Linux/Command/_btrfs: additional
completions
* Eric Cook: 32409: Completion/Linux/Command/_btrfs: updated
completion for subcommands.
* Eric Cook: 32411: Completion/Linux/Command/_btrfs: minor typo.
* Eric Cook: 32410: Completion/Linux/Command/_btrfs: remove hard tabs.
* m0viefreak: Util/helpfiles: 32402: prefer col -bx to colcrt.
* m0viefreak: Util/helpfiles: 32405: Util/helpfiles: remove old
example now shell code is integrated in distribution.
* m0viefreak: 32404: Util/helpfiles: use env to find perl.
* m0viefreak: 32403: Doc/Zsh/contrib.yo: update zshcontrib
manual for helpfiles improvements.
2014-02-18 m0viefreak <m0viefreak.cm@googlemail.com>
* 32396: Completion/Unix/Command/_git: _git: fix
__git_committish_range_{first,last} and __git_is_committish_range
* 32395: Completion/Unix/Command/_git: _git: diff: refactor and
fix wrong completions
* 32397: Completion/Unix/Command/_git: _git: fix __git_submodules
to only use the actual name of the submodule
* 32398: Completion/Unix/Command/_git: _git: completion updates up
to latest git v1.9.0
2014-02-17 Barton E. Schaefer <schaefer@zsh.org>
* unposted (users/18468): Doc/Zsh/builtins.yo, Doc/Zsh/params.yo:
document interactions of "fc -R" etc. with "fc -l" and $HISTCMD
2014-02-15 Barton E. Schaefer <schaefer@zsh.org>
* 32389 (with Jun Takimoto): Test/X02zlevi.ztst, Test/comptest:
additional PTY and keybinding adjustments
* 32388: Doc/Zsh/mod_zutil.yo, Src/Modules/zutil.c: zparseopts -K
preserves individual associative array elements
2014-02-14 Oliver Kiddle <opk@zsh.org>
* 32361: Src/Zle/zle_tricky.c: don't reset lastline before completion
2014-02-13 Barton E. Schaefer <schaefer@zsh.org>
* 32377: Test/comptest: change keybindings and PTY control for
vi-mode tests to make them more reliable
2014-02-08 Barton E. Schaefer <schaefer@zsh.org>
* 32365: Src/Zle/zle_refresh.c, Src/init.c: another stab at the
heuristic for initializing rprompt_indent
2014-02-07 Peter Stephenson <p.stephenson@samsung.com>
* Martin Vaeth: 32356: Util/helpfiles: fix a typo.
2014-02-05 Oliver Kiddle <opk@zsh.org>
* 32355: Doc/Zsh/zle.yo Test/X02zlevi.ztst Test/comptest: document
and test vi mode undo changes
* 32342: Src/Zle/zle_main.c, Src/Zle/zle_vi.c: fix overstrike for vi
mode and use varying vi commands at line start
* 32334 (modified so KEEPSUFFIX is unchanged for vi-cmd-mode; based on
Jun T: 32324, 32330), 32347, Jun T: 32344, 32349: Src/Zle/iwidgets.list,
Src/Zle/zle_main.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c
add split-undo zle widget for configurable breaks in undo sequence
2014-02-02 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo,
Doc/Zsh/roadmap.yo: tweak index markers and related whitespace
to make appearance consistent with other pages
* 32341: Src/init.c: guess at best ZLE_RPROMPT_INDENT based on
termcap/terminfo description
* unposted: Src/Zle/zle_tricky.c: whitespace in comment
* 32340: Src/init.c, Src/Zle/compctl.c: add specifics to error
messages explaining failure of "read -c" / "read -l".
* 32338: Doc/Makefile.in: create Doc/help.txt as an empty file
when Util/helpfiles fails, so that the rest of the build does not
yeild a spurious error
* 32337: Src/params.c: initialize several special parameters to
unset for better compatibility in emulation modes; for the same
reason, remove the readonly flag from $_
2014-01-31 Oliver Kiddle <opk@zsh.org>
* 32314: Src/Zle/zle_main.c, Src/Zle/zle_tricky.c,
Src/Zle/zle_utils.c, Src/Zle/zle_vi.c: merge undo events
corresponding to vi change in the vi-cmd-mode widget so undo from
insert mode is useful again
2014-01-30 Barton E. Schaefer <schaefer@zsh.org>
* 32322: Completion/Base/Core/_main_complete: display a message
when completion is interrupted from the keyboard
2014-01-30 Peter Stephenson <p.stephenson@samsung.com>
* Jun T: 32300: Completion/Unix/Command/_od: +
Completion/Unix/Command/.distfiles: new completion.
2014-01-29 Peter Stephenson <p.stephenson@samsung.com>
* Christian Hesse: 32316: Completion/Unix/Command/_ssh: complete
new ssh key type.
2014-01-28 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 32303: Src/Zle/compcore.c, Completion/Zsh/Type/_parameters,
Completion/Zsh/Context/_brace_parameter: allow completion
of modifiers for parameters in a fairly simplistic way.
2014-01-28 Peter Stephenson <p.stephenson@samsung.com>
* 32308 (slightly modified to use "a" as the vi command at start
of line): Src/Zle/zle_main.c, Src/Zle/zle_vi.c: improve
initialising of vi mode change when entering viins at start of
editing.
2014-01-27 Barton E. Schaefer <schaefer@zsh.org>
* users/18368: Completion/Unix/Command/_git: in __git_files,
retry ls-files if nothing matched the prefix pattern, to give
_multi_parts a shot at the whole file list. Restores partial
path completion inadvertently removed by 31159.
2014-01-27 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Src/zsh.mdd: update 31983 to suppress stdout from
cmp, too.
2014-01-23 Bart Schaefer <schaefer@zsh.org>
* unposted: Doc/Zsh/arith.yo: use LPAR()+RPAR() instead of parens
in sqrt example
2014-01-23 Peter Stephenson <p.stephenson@samsung.com>
* 32299: Doc/Zsh/arith.yo, Functions/Misc/zcalc, Src/math.c,
Src/params.c, Src/subst.c, Test/C01arith.ztst: add
ability to use "_" at the end of a [#] arithmetic expression
to get underscores to space numeric output.
2014-01-22 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Src/mem.c: reformulate 32285 to lift the fheap->sp
test out of the loop, improve commentary
2014-01-19 Barton E. Schaefer <schaefer@zsh.org>
* 32294 (plus typo fix): Src/utils.c: prevent buffer overflow when
scanning very long directory paths for symbolic links
* users/18335: Completion/Zsh/Command/_typeset: avoid passing to
"functions" those typeset options that it does not accept
2014-01-18 Barton E. Schaefer <schaefer@zsh.org>
* 32285: Src/mem.c (freeheap): when the last-arena-with-free-space
pointer (fheap) points to an arena that is going to be discarded
because it has become empty, loop back through the entire linked
list of arenas to find another partly-filled arena; fixes crash
wherein pushheap followed by freeheap could orphan the whole list
of arenas in some circumstances
* 32283: Src/Zle/complist.c: avoid using a negative number for
available vertical space when the terminal has only a small number
of lines; fixes crash in menu selection
2014-01-17 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Daniel Hahler: 32271: Doc/Zsh/compsys.yo: fix matcher list
example.
2014-01-17 Peter Stephenson <p.stephenson@samsung.com>
* sergio: 32267: Completion/Linux/Command/_modutils: modinfo may
not be in user's path, so use explicit path as already done for lsmod.
2014-01-17 Frank Terbeck <ft@bewatermyfriend.org>
* 32264: Functions/VCS_Info/Backends/VCS_INFO_detect_hg: vcs_info,
hg: Support detecting repos using ShareExtension
2014-01-16 Barton E. Schaefer <schaefer@zsh.org>
* Thomas Mitterfellner: 32265: Completion/openSUSE/Command/_zypper:
better handling of large lists of packages
2014-01-16 Peter Stephenson <p.stephenson@samsung.com>
* Holger Macht: 32257: Completion/openSUSE/Command/_zypper:
updates.
2014-01-14 Peter Stephenson <p.stephenson@samsung.com>
* 32255: Completion/Unix/Command/_python: complete for Python
with command names python2.4 ... python3.4.
2014-01-11 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 32246: Doc/Zsh/builtins.yo, Src/builtin.c, Test/.distfiles,
Test/B08shift.ztst: add "shift -p" to pop arguments from the end
of arrays.
2014-01-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Koen Wilde: 32245: Completion/Unix/Command/_mpc: complete more
arguments.
2014-01-09 Peter Stephenson <p.stephenson@samsung.com>
* users/18298 (tidied up): Doc/Zsh/expn.yo, Src/glob.c,
Test/D09brace.ztst: add {<char>..<char>} expansion.
2014-01-07 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Mark Oteiza: 32238: suppress error output completing after ip.
2014-01-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: update to 5.0.5-dev-0 to avoid
installation clash with 5.0.5 release.
2014-01-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk, Doc/Zsh/compsys.yo: update
release to 5.0.5 and correct typo in compsys.yo making texinfo
format unusable.
* unposted but c.f. 32231: Doc/Zsh/compsys.yo: the parameter
'line' doesn't include the original command.
* Jun T: 32231: Completion/Unix/Command/_chmod: was confused by
options before the mode argument.
* Axel Beckert: 32229: LICENCE: was not correctly referring to
Gnu General Public License.
2014-01-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: README: update another reference to 5.0.5.
* users/18271 plus some additional rewriting: Etc/FAQ.yo: add
FAQ entry to explain pattern exclusions.
* unposted: README, Etc/FAQ.yo: update source documentation for
5.0.5.
2014-01-02 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Danek Duvall: 32216: Completion/Solaris/Command/_svcadm,
Completion/Solaris/Command/_zoneadm,
Completion/Unix/Command/_zfs, Completion/Unix/Command/_zpool,
Completion/Unix/Type/_zfs_dataset: updates for Solaris 11,
Update 1.
* 32196: Carl Drougge: Src/Zle/zle_misc.c: copy-prev-shell-word
needs an extra flag to work properly.
2013-12-31 Barton E. Schaefer <schaefer@zsh.org>
* Eric Cook: 32210: Completion/Linux/Command/_sysstat: completion
for mpstat, iostat, etc.
2013-12-30 Barton E. Schaefer <schaefer@zsh.org>
* 32208: Src/params.c: always reset pathchecked when the path
array is modified in arrvarsetfn(), to avoid bad dereference
* 32205: Completion/Zsh/Command/_cd: skip cdpath search when
the prefix begins with "../" (bug introduced by 31714)
* unposted (cf. Carlo: 32202): MACHINES: OS X 10.9.1. gcc problem
2013-12-28 Barton E. Schaefer <schaefer@zsh.org>
* 32190 (cf. Alexey Bezhan: 32189): Completion/Zsh/Command/_cd:
quote _path_files -W path in case of spaces or special characters
when completing relative to ../
* 32186: Completion/Base/Completer/_expand: fix bad backreference;
handle glob patterns that include backslashed quote characters
2013-12-26 Barton E. Schaefer <schaefer@zsh.org>
* unposted (cf. Jun Takimoto: 32184): Test/comptest,
Test/Y01completion.ztst: back 32183 out of comptest and instead
reset path in the individual tests in Y01completion.ztst
2013-12-25 Barton E. Schaefer <schaefer@zsh.org>
* 32183: Test/comptest, Test/Y01completion.ztst: regression tests
for 32182 and 31611
* 32182: Src/Zle/zle_tricky.c: re-enable command completion after
a separator (tweak to 31611)
* 32178: Src/jobs.c: fix another acquire_pgrp() infinite loop
2013-12-21 Barton E. Schaefer <schaefer@zsh.org>
* PWS + Bart: 32176: plug additional descriptor leaks causing
deadlock via different code paths; expand regression test
2013-12-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Config/version.mk: update version to 5.0.4-dev-0 so as
not to clash with release.
2013-12-20 Barton E. Schaefer <schaefer@zsh.org>
* 32172; Test/A05execution.ztst: regression test for 32171
* 32171: Src/exec.c: fix leaked pipe descriptor that could
deadlock a pipeline from a complex shell construct or function
into an external command
2013-12-20 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk, Etc/FAQ.yo, README: release 5.0.4.
2013-12-18 Barton E. Schaefer <schaefer@zsh.org>
* 32157: Doc/Zsh/params.yo, Src/Zle/zle_refresh.c, Src/init.c,
Src/params.c: make ZLE_RPROMPT_INDENT a special variable tied to
an internal C global, to avoid having the shell variable value
fetched on every keystroke and to make it available when testing
how to reposition the cursor after the right-prompt is output.
Fixes erasure in completion listing when ZLE_RPROMPT_INDENT=0.
* 32150: Completion/compaudit: Reference loop variable rather
than absolute path in executable ownership test
2013-12-17 Phil Pennock <pdpennock@users.sourceforge.net>
* 32143: INSTALL: Fix --enable-custom-patchlevel name in INSTALL
2013-12-16 Barton E. Schaefer <schaefer@zsh.org>
* Jun Takimoto: 32137: Test/comptest: set pseudo-terminal speed to
prevent padding characters which confuse output parsing.
2013-12-16 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 32136: Src/pattern.c, Src/zsh.h, Test/D02glob.ztst:
fix problem with +*, @*, !* when kshglob is set introduced
by pattern disable feature.
* unposted: NEWS: add ZLE_PROMPT_INDENT.
* 32119: Src/Zle/zle_tricky.c: left square bracket completed in
command position is not part of a subscript expression
* Patrick Oscity + pws: 32114: Doc/Zsh/params.yo,
Src/Zle/zle_refresh.c: ZLE_RPROMPT_INDENT allows you to make the
right prompt flush if your terminal supports it.
2013-12-16 Barton E. Schaefer <schaefer@zsh.org>
* Jun Takimoto + Bart: 32131: Src/Modules/zpty.c: avoid infinite
loop reading pseudo-terminal on platforms that do not buffer pty
contents after child process exits
2013-12-15 Barton E. Schaefer <schaefer@zsh.org>
* users/18219: Completion/Zsh/Type/_command_names: compadd -Q for
builtins, aliases, and reserved words to preserve special chars
2013-12-14 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: increment version to 5.0.3-dev-0 to avoid confusion
with released 5.0.3.
* unposted: version 5.0.3, finally.
2013-12-13 Barton E. Schaefer <schaefer@zsh.org>
* Martin Vaeth: 32105: Util/helpfiles: support all combinations of
man or nroff with colcrt or col.
* Aaron Peschel: 32103: Completion/Unix/Type/_hosts: parse
host:port format in ssh known_hosts files.
2013-12-10 Barton E. Schaefer <schaefer@zsh.org>
* 32099: Src/init.c: fix pointer declaration to avoid compile
time error when arithmetic on void * is not allowed.
2013-12-09 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/18210: Doc/Zsh/builtins.yo: document print -D better.
* 32093: INSTALL: describe the dependency issues fixed
by the doc bundle.
2013-12-09 Peter Stephenson <p.stephenson@samsung.com>
* Jun T.: 32056: Completion/Unix/Command/_iconv: Handle
different versions of iconv.
2013-12-06 Peter Stephenson <p.stephenson@samsung.com>
* Daniel Shahaf: 32091: Src/exec.c, Test/E01options.ztst:
WARN_CREATE_GLOBAL false positive for assignment before
commands.
2013-12-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Daniel Shahaf: 32089:
Functions/VCS_Info/Backends/VCS_INFO_detect_svn: tweak for
detecting Subversion repository.
2013-12-02 Barton E. Schaefer <schaefer@zsh.org>
* 32080 (plus unposted second instance of same):
Test/A05execution.ztst: suppress any error output from
nonessential "setopt MONITOR"
2013-12-01 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: 5.0.2-test-3.
2013-11-30 Barton E. Schaefer <schaefer@zsh.org>
* Hong Xu: 32069: Completion/Unix/Command/_git: completion for
"git submodule update --remote"
2013-11-29 Barton E. Schaefer <schaefer@zsh.org>
* 32066 (via 31985 Clemens Hammacher and 32064 Hong Xu):
Functions/VCS_Info/Backends/VCS_INFO_get_data_git,
Functions/VCS_Info/VCS_INFO_reposub: fix %r and %S in vcs_info
formats when a repository subdirectory is accessed via a symlink.
2013-11-27 Barton E. Schaefer <schaefer@zsh.org>
* 32061: Src/utils.c: Fix "use of uninitialized memory" in metafy
2013-11-27 Peter Stephenson <p.stephenson@samsung.com>
* unposted, see 32054 and thread:
Completion/Unix/Command/_cdrdao, Completion/Unix/Command/_git,
Completion/Unix/Command/_growisofs, Etc/ChangeLog-3.0,
Etc/ChangeLog-3.1, LICENCE, Src/Modules/clone.c,
Src/Modules/example.c, Src/module.c: Rationalise character
encodings: shell functions are strictly ASCII for maximum
portability; other files needed for building and documentation
are ASCII or UTF-8; test files may use ISO-8859-X (we don't
require the Euro symbol) where needed to get single character
input with the top bit set.
2013-11-25 Peter Stephenson <p.stephenson@samsung.com>
* unposted, see 32050, 32051: remove non-ASCII characters in
installed functions as this causes sed on MacOS problems.
2013-11-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Completion/Unix/Command/.distfiles,
Config/version.mk: update for 5.0.2-test-2.
2013-11-25 Barton E. Schaefer <schaefer@zsh.org>
* 32045 (as corrected by Martin Vaeth 32047): Config/defs.mk.in,
Doc/Makefile.in, configure.ac: use dependencies to determine
whether to rebuild helpfiles.
2013-11-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 32031 plus missed _run_help: Completion/Zsh/Command/_run-help,
Config/defs.mk.in, Config/installfns.sh, Doc/Makefile.in,
Functions/Misc/run-help, Makefile.in: turn @runhelpdir@ in
installed functions into the actual installation path.
2013-11-20 Peter Stephenson <p.stephenson@samsung.com>
* 32030: revert 31995 as it caused (N) to fail on an empty
failed glob. Add test for this case.
2013-11-19 Barton E. Schaefer <schaefer@zsh.org>
* 32023: Src/utils.c: better interrupt handling at RM_STAR_WAIT
2013-11-18 Peter Stephenson <p.stephenson@samsung.com>
* unposted but see 32012: Doc/help/.cvsignore,
Doc/help/.distfiles: were created in the wrong place, so move.
2013-11-18 Barton E. Schaefer <schaefer@zsh.org>
* Martin Vaeth: 32008: Completion/Zsh/Command/.distfiles
Completion/Zsh/Command/_run-help Doc/Makefile.in: follow-up to
31988 - complete "." and ":" for run-help, distribute _run-help,
clean up better during make
* Han Pingtian: 31995: Src/glob.c: glob qualifiers cannot
follow an empty pattern, so a leading paren means grouping
2013-11-17 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 32001: Src/subst.c: fix crash on empty arrays with array
intersection and disjunction.
2013-11-15 Barton E. Schaefer <schaefer@zsh.org>
* Martin Vaeth: 31988: Doc/Makefile.in, Util/helpfiles: remove
LC_CTYPE heuristics, assure clean environment, force LANG=C
2013-11-14 Peter Stephenson <p.stephenson@samsung.com>
* Jun T.: 31984: Completion/Unix/Command/_df: new completion.
* 31983: Src/zsh.mdd: suppress warning from cmp that doesn't
indicate a problem when generating patchlevel header.
* 31982: Src/math.c, Test/C01arith.ztst: detection of floating
point constants had run rampant in users/17445. Fix the original
problem another way.
2013-11-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31977: Src/module.c: no error if autoloading a feature that
is already loaded in a consistent fashion.
* Jun T.: 31971: locale fix for helpfiles.
* Martin Vaeth: 31959: .gitignore, Doc/help/.cvsignore,
Doc/help/.distfiles: missed files.
2013-11-12 Bart Schaefer <schaefer@zsh.org>
* 31966: Util/helpfiles: skip introductory paragraphs processing
"man zshbuiltins" by assuming that all real command names start
with a lower case letter. Check "ztcp" file as a guess that all
builtins were processed.
2013-11-12 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Martin Vaeth: 31959: .gitignore,
Completion/Zsh/Command/_run-help, Doc/.cvsignore,
Doc/.distfiles, Doc/Makefile.in, Makefile.in,
StartupFiles/zshrc, Util/helpfiles, configure.ac: make help
files during installation.
* 31961: Src/Zle/zle.h, Src/Zle/zle_main.c,
Src/Zle/zle_thingy.c: rationalise fd watch to use structures.
2013-11-08 Peter Stephenson <p.stephenson@samsung.com>
* unposted: fix ChangeLog to say 5.0.3 instead of 4.0.3.
* unposted: NEWS: refer to zle -Fw.
* 31940: Doc/Zsh/contrib.yo, Functions/Misc/zcalc: add -e option
to zcalc to use input from arguments to command.
2013-11-07 Peter Stephenson <p.stephenson@samsung.com>
* 31937: Doc/Zsh/zle.yo, Src/Zle/zle_main.c,
Src/Zle/zle_thingy.c, Src/Zle/zle_utils.c, Src/math.c,
Test/C01arith.ztst: zle -Fw uses widget semantics for
file descriptor handler.
2013-11-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Completion/Debian/Command/.distfiles,
Completion/Unix/Type/.distfiles, Config/version.mk, Etc/FAQ.yo,
README, Src/pattern.c, Src/signals.c, Test/.distfiles: updates
for 5.0.2-test-1 in preparation for 5.0.3. Updated files
in .distfiles and add mod_export declarations.
2013-11-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Stefan Neudorf: 31936: Doc/Zsh/builtins.yo,
Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c: rationalise
thread limits
* Stefan Neudorf: 31935: Doc/Zsh/builtins.yo,
Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c: further
limit updates for 31930, 39134.
2013-10-31 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Stefan Neudorf: 31930 / 31934: Doc/Zsh/builtins.yo,
Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c, configure.ac,
Src/Builtins/rlimits.c: New BSD limits; avoid clash with
ulimit -k.
2013-10-29 Barton E. Schaefer <schaefer@zsh.org>
* 31929: Src/jobs.c: fix DPUTS3() test condition from 31906.
2013-10-28 Bart Schaefer <schaefer@zsh.org>
* unposted: NEWS: mention HISTORY_IGNORE
2013-10-28 Peter Stephenson <p.stephenson@samsung.com>
* 31922: Src/Zle/zle_utils.c (zlecharasstring): missing
flip of bit five when Meta marker inserted.
2013-10-27 Barton E. Schaefer <schaefer@zsh.org>
* 31912: Src/exec.c: in closemn(), distinguish closing for >&-
from closing for a real redirect. Fixes knock-on multios bug
introduced by workers/20666 way back in 2005.
* unposted (cf. users/18063): Functions/Zle/keeper: clean up
some syntax nits, add working link to old Unix Review article
* 31919: Src/exec.c, Src/init.c: fix deadlock when a shell builtin
with a multio redirection is used on the left side of a pipeline,
by making sure stdin/out/err file descriptors are closed for the
multio copy process, which means not re-using those descriptors
after they are closed and marked FDT_UNUSED in fdtable[]. For
completeness, initialize their fdtable[] state to FDT_EXTERNAL.
2013-10-27 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jun T: 31909: Completion/Unix/Command/_cat: new completion.
2013-10-26 Barton E. Schaefer <schaefer@zsh.org>
* 31906: Src/jobs.c, Test/A05execution.ztst: printjob() should not
reference oldjobtab for job numbers unless it is being called from
bin_fg(). Add a DPUTS check in case this goes horribly wrong.
printjob() also must not attempt to update pipestats when called
from bin_fg(). Finally, acquire_pgrp() cannot acquire the tty
group leader if the shell is not interactive, so avoid looping
infinitely in the attempt. Update the $pipestatus stress test so
that it also exercises the oldjobtab repair.
2013-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jun T: 31902: rationalise gamma function in mathfunc for
consistency with various libraries and user expectations.
2013-10-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31890 (with Mikael's fixes in 31891): NEWS: add descriptions
of new features since 5.0.2.
2013-10-24 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31889: Test/D02glob.ztst: tests for disable -p.
* 31877: Src/pattern.c: fix behaviour of disable -p for
entities with parentheses.
2013-10-24 Barton E. Schaefer <schaefer@zsh.org>
* 31885: Src/jobs.c: fix PIPEFAIL behavior when the last command
in a pipeline is executed within the current shell; add comments
2013-10-24 Peter Stephenson <p.stephenson@samsung.com>
* 31888: Test/A05execution.ztst: add test of pipestatus
that was reliably failing before 31879.
* 31882: Src/Zle/compcore.c: better insulation of
completion widget excecution against job environment.
* 31884: Test/A05execution.ztst: eliminate variable output
from test due to vagaries of uniq implementation.
2013-10-23 Barton E. Schaefer <schaefer@zsh.org>
* 31879: Src/jobs.c: improve $pipestatus behavior when the last
command in the pipeline is executed within the current shell
* unposted (cf. Frank Terbeck: 30047): Test/A05redirect.ztst:
stress test for $pipestatus handling
2013-10-23 Peter Stephenson <p.stephenson@samsung.com>
* 31873: Doc/Zsh/builtins.yo: Document conventions for use of
command options with builtin commands.
2013-10-21 Barton E. Schaefer <schaefer@zsh.org>
* 31869: Src/input.c: reduce WINCH-twaddling in shingetline()
2013-10-21 Øystein Walle <oystwa@gmail.com>
* 31861: Completion/Unix/Command/_git: _git: Add git-clean
-i/--interactive support
* 31863: Completion/Unix/Command/_git: _git: Add new arguments
introduced in Git v1.8.4
* 31862: Completion/Unix/Command/_git: _git: Add status.short and
status.branch
* 31866: Completion/Unix/Command/_git: _git: Reword --heads to
match new meaning
* 31864: Completion/Unix/Command/_git: _git: Add two sub-comamnds
introduced in v1.8.4
* 31865: Completion/Unix/Command/_git: _git: Make --batch(-check)
accept an argument
2013-10-21 m0viefreak <m0viefreak.cm@googlemail.com>
* 31856: Completion/Unix/Command/_git: _git: fix a few
"undocumented" options
* 31855: Completion/Unix/Command/_git: _git: revert: add
'-e,--edit'
2013-10-21 Øystein Walle <oystwa@gmail.com>
* 31858: Completion/Unix/Command/_git: _git: fix wrong default
value
2013-10-21 m0viefreak <m0viefreak.cm@googlemail.com>
* 31857: Completion/Unix/Command/_git: _git: Remove unsupported -q
option from diff options
2013-10-21 Øystein Walle <oystwa@gmail.com>
* 31853: Completion/Unix/Command/_git: _git: Add missing column.*
config variables
* 31854: Completion/Unix/Command/_git: _git: Make git-show accept
diff arguments
* 31859: Completion/Unix/Command/_git: _git: re-order the last two
git-blame arguments
2013-10-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31851: Src/exec.c: execstring() should display string to
be executed with VERBOSE option.
2013-10-19 Barton E. Schaefer <schaefer@zsh.org>
* 31849: Doc/Zsh/params.yo: note effect of KSH_ZERO_SUBSCRIPT
on the arrays of positional parameters e.g. ${argv[0]} vs. $0
2013-10-18 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31846: Src/exec.c: fix NOEXEC option in execsimple().
2013-10-18 Barton E. Schaefer <schaefer@zsh.org>
* 31840: Completion/Unix/Command/_make: "read" used wrong $IFS
2013-10-17 Barton E. Schaefer <schaefer@zsh.org>
* 31836 (cf. 31823): Doc/Zsh/params.yo, Src/hist.c: add
HISTORY_IGNORE pattern to exclude matching lines in the
internal history from the HISTFILE at write time.
* 31832: Src/exec.c: make execrestore() more signal-safe.
2013-10-17 Peter Stephenson <p.stephenson@samsung.com>
* 31830: Doc/Zsh/func.yo, README, Src/hist.c, Src/zsh.h:
If a zshaddhistory hook returns status 2, save the line on
the internal history but don't write it out.
2013-10-16 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Users/18033: Doc/Zsh/builtins.yo, Doc/Zsh/jobs.yo,
Doc/Zsh/options.yo: try to document interaction between exit and
asynchronous jobs that don't look asynchronous.
2013-10-16 Peter Stephenson <p.stephenson@samsung.com>
* 31827: Doc/Zsh/func.yo: options needed for example. Only
works with INCAPPENDHISTORY or SHAREHISTORY.
2013-10-15 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Doc/Zsh/func.yo: trivial typo in zshaddhistory doc.
2013-10-12 Barton E. Schaefer <schaefer@zsh.org>
* 31818: Completion/Unix/Command/_sh, Doc/Zsh/compsys.yo: to avoid
side effects, reposition the _arguments call in _sh for the zsh
special case. Document the side effects so avoided, and clean up
the _arguments documentation a bit along the way.
2013-10-11 Mikael Magnusson <mikachu@gmail.com>
* 31805: Doc/Zsh/mod_parameter.yo, Src/Modules/parameter.c,
Src/Modules/parameter.mdd, Src/pattern.c, Test/V01zmodload.ztst:
Add $patchars and $dis_patchars to zsh/parameter module
* 31805: Completion/Zsh/Command/_disable,
Completion/Zsh/Command/_enable, Doc/Zsh/builtins.yo: Update
_enable and _disable for -p, fix related typo in docs
* 31806: Completion/Zsh/Command/_disable,
Completion/Zsh/Command/_enable, Workaround special characters
in alias and function names breaking _arguments syntax
2013-10-11 Peter Stephenson <p.stephenson@samsung.com>
* 31815: Src/hist.c: more fallout from 31789: we need to save
using pushed history file before we pop.
2013-10-10 Peter Stephenson <p.stephenson@samsung.com>
* 31810: Test/E02xtrace.ztst: tests for simple cases of XTRACE
output for conditions.
* 31809: Src/exec.c: make whitespace clear in trace output for
patterns.
2013-10-08 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Eric Cook: 31801: Completion/Linux/Command/_btrfs: some
additional variables need to be local.
2013-10-08 Barton E. Schaefer <schaefer@zsh.org>
* 31797: Src/hist.c: partly fix long-standing history expansion
bug in which in some circumstances a default history expansion
would occur even when there is neither an event nor a word
designator, which is contradictory to the documentation.
There are still some cases in which expansion is attempted
when it should not be, but in most of those cases the expansion
simply fails.
2013-10-07 Peter Stephenson <p.stephenson@samsung.com>
* 31794: Src/hist.c: further refinement that SHAREHISTORY should
work as it always did because it's careful about file locking.
* 31793: Src/hist.c (hbegin): Modify 31789 so that the save
history here only happens for interactive editing.
2013-10-06 Wayne Davison <wayned@users.sourceforge.net>
* users/18024: Completion/Unix/Command/_rsync: add new options for
rsync 3.1.0.
2013-10-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/18023: Doc/Zsh/options.yo, Src/jobs.c, Src/options.c,
Src/zsh.h, Test/E01options.ztst: add PIPEFAIL option and test.
2013-10-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Hang Pingtian: 31789: Src/hist.c: add history for
INCAPPENDHISTORY later so history time works.
2013-10-03 Barton E. Schaefer <schaefer@zsh.org>
* 31784: Src/Zle/computil.c: when deciding whether there is enough
horizontal space to show completion descriptions for each match in
a listing, treat the separator as part of the description rather
than as part of the match, and account for lines that have already
wrapped due to very long matches.
* 31781: Src/Zle/computil.c: "compdescribe -i" must clear the
completion list column padding width along with the rest of the
description state. Cf. 31782.
2013-09-26 Barton E. Schaefer <schaefer@zsh.org>
* 31772: Src/params.c: queue_signals() to prevent re-entry into
endparamscope().
* 31770: Src/hist.c: memmove() instead of memcpy() for overlapping
regions.
2013-09-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31765: Src/Zle/zle_main.c: on entry to editor, if starting in
vi insert mode mark this as the start of an insertion (duh).
2013-09-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31764 (with correction of sense of a test): Src/glob.c,
Src/pattern.c: use of array before initialisation wreaked havoc
in detecting glob qualifiers.
2013-09-22 m0viefreak <m0viefreak.cm@googlemail.com>
* 31754: Completion/Unix/Command/_git: _git: git rm: make git rm
--cached work as intended
2013-09-22 Øystein Walle <oystwa@gmail.com>
* 31752: Completion/Unix/Command/_git: _git: change completion
text for consistency
2013-09-22 m0viefreak <m0viefreak.cm@googlemail.com>
* 31753: Completion/Unix/Command/_git: _git: correct some
"undocumented" options
2013-09-22 Øystein Walle <oystwa@gmail.com>
* 31749: Completion/Unix/Command/_git: _git: fix some typos in
description texts
* 31751: Completion/Unix/Command/_git: _git: remove TODOs of
actually documented options
2013-09-22 m0viefreak <m0viefreak.cm@googlemail.com>
* 31746: Completion/Unix/Command/_git: _git: reword _git-config
TODO
* 31748: Completion/Unix/Command/_git: _git: support completing
remote branches without <remote>/ prefix
2013-09-22 Øystein Walle <oystwa@gmail.com>
* 31747: Completion/Unix/Command/_git: _git: completion updates to
match latest git v1.8.3 part 2
* 31750: Completion/Unix/Command/_git: _git: add new configuration
options to match latest git v1.8.3
2013-09-22 m0viefreak <m0viefreak.cm@googlemail.com>
* 31741: Completion/Unix/Command/_git: _git: fix a wrong variable
in __git_config_values
* 31743: Completion/Unix/Command/_git: _git: fix usage of ->int:
for some entries in _git-config
* 31744: Completion/Unix/Command/_git: _git: make git submodule
<cmd> completion work
* 31745: Completion/Unix/Command/_git: _git: correctly use
__git_guard_number in some cases
* 31755: Completion/Unix/Command/_git: _git: completion updates to
match latest git v1.8.3
2013-09-21 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Src/glob.c: improve an error message.
2013-09-19 Barton E. Schaefer <schaefer@zsh.org>
* 31737: Src/Zle/computil.c (get_cadef): same fix as get_cvdef.
2013-09-19 Peter Stephenson <p.stephenson@samsung.com>
* Axel Beckert: 31735: Src/Zle/computil.c (get_cvdef):
off-by-one in obscure loop handling could cause crash in complex
completion.
2013-09-14 Luka Perkov <luka@openwrt.org>
* 31723: Completion/Unix/Command/_systemd: _systemd: add more
system commands
* 31726: Completion/Unix/Command/_git: _git: add few more
arguments for cherry-pick and revert
2013-09-10 Barton E. Schaefer <schaefer@zsh.org>
* 31714: Completion/Zsh/Command/_cd: handle ".." properly when
$PWD or the path prefix traverses a symbolic link.
2013-09-08 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31711: Doc/Zsh/contrib.yo, Functions/MIME/zsh-mime-handler:
add execute-never style for MIME handler for files on alien file
systems.
2013-09-07 Luka Perkov <luka@openwrt.org>
* 31708: Completion/Unix/Command/_git: _git: add --fixup and
--squash options to commit
2013-09-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Luka Perkov: 31702: Completion/Unix/Command/_git:
check for presence of "-i" when checking for "--interactive".
* 31706: Src/builtin.c, Test/C02cond.ztst: standardise
handling of "test ! <x> <y> <z>".
2013-09-04 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31696: Src/parse.c, Test/C02cond.ztst: in "test", no one
can hear if you shriek. Treat exclamation marks as strings in
"! -a ..." and "! -o ...".
2013-09-02 Peter Stephenson <p.stephenson@samsung.com>
* 31685: Doc/Zsh/mod_mapfile.yo: documentation of how to get
lines from a file is not correct.
2013-08-29 Peter Stephenson <p.stephenson@samsung.com>
* users/17955: Doc/Zsh/contrib.yo,
Functions/MIME/zsh-mime-handler: "disown" style makes MIME
handlers put into background run without job control.
* based on 31641, 31642: Completion/Unix/Command/_make: support
a couple of different variants of make.
2013-08-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31672: Src/Modules/zpty.c, Test/V08zpty.ztst: add test that
was failing and fix race when setting up pty.
2013-08-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31665: Src/Modules/zpty.c, Test/V08zpty.ztst, Test/.distfiles:
zpty should attach terminal on slave.
2013-08-17 Barton E. Schaefer <schaefer@zsh.org>
* 31637: Src/builtin.c: change of directory should not be retried
relative to the current directory when it has already failed along
some path that does not refer to the current directory.
2013-08-11 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31650: Src/utils.c: use zlong for mailcheck parameters to
ensure sufficient range.
2013-08-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31648: joe M: Src/utils.c: fix timing errors in mailcheck.
2013-08-08 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Src/Zle/zle_tricky.c (inststrlen): 31644: the wrong length was
used when inserting multibyte characters from a string from
outside ZLE into the editing buffer.
* users/17908: Src/hist.c Src/Zle/zle_main.c Src/zsh.h: if
modifying history with ZLE active, keep the history line
recorded in ZLE in sync.
2013-08-07 Phil Pennock <pdpennock@users.sourceforge.net>
* 31634: Functions/Misc/run-help: run-help compat with alias to
noglob/nocorrect
2013-08-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31631: configure.ac, Src/builtin.c: use cygwin_conv_path in
preference to cygwin_conv_to_posix_path if available.
2013-08-04 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Yuusuke Yoshimoto: 31632: Completion/Unix/Type/_java_class:
suppress stderr from jar when completing classes.
2013-08-02 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31611: Src/Zle/zle_tricky.c: attempt to fix crash in
"for in 1; do <[TAB] x".
2013-08-01 Peter Stephenson <p.stephenson@samsung.com>
* Thomas Klausner: 31625: Completion/X/Command/_mplayer: mplayer
supports .ts (transport stream) files.
2013-07-29 Peter Stephenson <p.stephenson@samsung.com>
* 17891: Src/builtin.c: fix error message for invalid file
descriptor in "print -u".
2013-07-28 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Manuel Presnitz: 31592 (with minor changes of phrasing):
Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, Doc/Zsh/prompt.yo: improve
documentation for named directory handling.
2013-07-25 Peter Stephenson <p.stephenson@samsung.com>
* Jun T.: 31756: Completion/Unix/Command/_make: further make
completion improvements: tke care of mutually exclusive options;
add _description using $state_descr; add completions for
--debug=flag; fix typo (pointed out by Daniel Shahaf).
* 31574: Src/parse.c: alternative fix to 31545 if FD_CLOEXEC is
not available, removing dump records more consistently.
2013-07-24 Richard Hartmann <richih.mailinglist@gmail.com>
* 31571: Completion/Unix/Command/_vcsh: Update
* 31572: Completion/Debian/Command/_linda,
Completion/Debian/Command/.distfiles: Remove _linda
2013-07-24 Peter Stephenson <p.stephenson@samsung.com>
* Src/hist.c: 31570: with HIST_REDUCE_BLANKS don't truncate
the line after the last word if there's more non-white-space
text (probably a comment but we don't assume that).
2013-07-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Src/lex.c: correct previous commit: should call
hwend(), not ihwend().
* 31559: Src/lex.c: Fix problem with history lines for comments
that occur in the middle of an alias.
* Eric Cook: 31558: Completion/Command/Unix/_qemu: name of
binary has changed.
2013-07-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31549: Src/exec,c, Src/zsh.h: replace ad-hoc subsh_close file
descriptor for pipes with new addfilelist() job-based mechanism.
2013-07-20 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31545: Src/exec.c, Src/parse.c: if FD_CLOEXEC is available,
so mark dump file descriptors, avoiding possible
multiple use of file descriptors.
2013-07-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
* c.f. 31531: Completion/Unix/Command/_imagemagick,
Completion/Unix/Command/_graphicsmagick: complete .xcf files.
2013-07-19 Peter Stephenson <p.stephenson@samsung.com>
* 31536 (plus memory leak fixed, plus test code):
Src/jobs.c, Test/D03procsubst.ztst: fix hang in 31528 by
closing process substitution file descriptors when waiting
for job to finish.
2013-07-17 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31528: Src/exec.c, Src/jobs.c, Src/zsh.h: use job table
to record file descriptors associated with process
substitution.
* Jun T: 31525: Completion/Unix/Command/_make: fix some option
handling.
2013-07-12 Peter Stephenson <p.stephenson@samsung.com>
* Nick Cross: 31512: Completion/Unix/Command/_make:
extra GNU options plus fix to makefile completion.
2013-07-11 Peter Stephenson <p.stephenson@samsung.com>
* users/17856: Completion/Command/Unix/_make: rewrite to use
_arguments so as to make adding option handling easier.
2013-07-03 Peter Stephenson <p.stephenson@samsung.com>
* 31503: Doc/Zsh/contrib.yo, Functions/Misc/zmv: split words
in program passed to zmv with -p and add -P for programs
that don't understand the "--" convention.
2013-06-28 Clint Adams <clint@zsh.org>
* 31500: Completion/Debian/Command/_dput: dput-ng completion
support from Sebastian Ramacher.
* 31499: Completion/Debian/Command/_dcut: dcut completion
from Sebastian Ramacher.
* 31498: Completion/Debian/Command/_dak: complete files for
subcommands that are not explicitly specified.
2013-06-27 Mikael Magnusson <mikachu@gmail.com>
* 31483: Call zrefresh() before unqueue()ing signals, was
moved in 31174.
2013-06-18 Frank Terbeck <ft@bewatermyfriend.org>
* 31485: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info, git: Avoid error messages for `guilt' users
2013-06-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31465: Completion/compinit, Src/glob.c, Src/pattern.c: fix
basic completion and globbing use of pattern disables.
* 31444: Doc/Zsh/builtins.yo, Doc/Zsh/options.yo,
Doc/zmacros.yo, Src/builtin.c, Src/exec.c, Src/options.c,
Src/pattern.c, Src/zsh.h: Basic (not fully functional) code for
enable/disable -p.
2013-06-13 Barton E. Schaefer <schaefer@zsh.org>
* 31474: Makefile.in, Src/zsh.mdd: create patchlevel.h correctly
when running make in a separate build tree
2013-06-10 Peter Stephenson <p.stephenson@samsung.com>
* Hong Xu: 31462: .editorconfig: move comment to individual
line.
* Bruce Stephens (via Axel Beckert of Debian): 31459:
Doc/ztexi.yo: alignment of zsh info menu entry is wrong.
2013-06-09 Barton E. Schaefer <schaefer@zsh.org>
* 31466: .cvsignore, .gitignore: Cause git and cvs to ignore
one another.
* 31205: Completion/Base/Widget/_complete_help: Do not display
"(eval)" as a tag context.
2013-06-01 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31441: Src/glob.c, Src/pattern.c, Src/zsh.h: use an array
based on ZPC_* enum to decide which forms of pattern are enabled.
2013-05-30 Peter Stephenson <p.stephenson@samsung.com>
* 31436: Doc/Zsh/expn.yo: KSH_GLOB syntax does not
support recursive directories.
2013-05-29 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31433: Completion/Unix/Command/_gzip: zcat -f doesn't
need files with suffix .gz.
* 31422: Doc/Zsh/calsys.yo, Functions/Calendar/age: better
heuristic for timestamps in use of :file feature.
2013-05-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31405: Doc/Zsh/options.yo: weasel words about
PRINT_EXIT_STATUS option.
2013-05-21 Peter Stephenson <p.stephenson@samsung.com>
* 31419: Src/Modules/stat.c: Add time zone and year to
default time format with -s option to zstat.
* 31418: Doc/Zsh/calsys.yo, Functions/Calendar/age:
in "age" docs correct typo and note the feature that
you can supply a file as a timestamp on the command line.
* Stephane: 31417: Functions/Calendar/age: needs --
to protect againts files starting with -.
2013-05-20 Barton Schaefer <schaefer@zsh.org>
* 31416: Src/builtin.c: upon "read" of a short line, assign all
variables passed as arguments.
2013-05-14 Peter Stephenson <p.stephenson@samsung.com>
* unposted: Completion/Unix/Command/_perforce: Improve
Perforce jobs completion to limit potentially huge output
using jobview by default; fix quoting of arguments passed on
to eval within _call_program.
2013-05-10 Peter Stephenson <p.stephenson@samsung.com>
* Richard Hartmann <richih.mailinglist@gmail.com>: 31389:
Completion/X/Command/_mplayer: add .ogv.
* Mihai Moldovan <ionic@ionic.de>: 31387: Src/zsh_system.h:
unused functions when compiling with clang.
2013-05-05 Frank Terbeck <ft@bewatermyfriend.org>
* unposted: Src/exec.c: Revert "31372: Do not block SIGWINCH for
child processes" as suggested by Bart.
* 31376: Src/exec.c: Make sure every execve() is prefixed by
winch_unblock()
2013-05-05 Bart Schaefer <schaefer@zsh.org>
* 31372: Src/exec.c: Do not block SIGWINCH for child processes
2013-05-05 Kenyon Ralph <kenyon@kenyonralph.com>
* 31371: Completion/Linux/Command/_brctl: _brctl: update brctl
subcommands
2013-05-04 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31369: Completion/Base/Utility/_comp_locale: action if locale
command is not usable.
2013-04-29 Bart Schaefer <schaefer@zsh.org>
* 31361: Src/init.c: handle negative optno ("no" prefix used)
when storing options with parseopts_insert() for sticky contexts
* 31353: Src/math.c: fix handling of floating point in ternary
* 31350: Src/init.c, Src/input.c, Src/signals.h, Src/utils.c,
Src/Zle/zle_main.c: block SIGWINCH nearly all the time, except
when about to calculate prompts or do synchronous read, so
syscalls are not interrupted by window size changes.
2013-04-29 Jun T <takimoto-j@kba.biglobe.ne.jp>
* 31357: Completion/Unix/Command/_cp: add support for Mac OS X
2013-04-29 Peter Stephenson <p.stephenson@samsung.com>
* 31356: Completion/Unix/Command/_subversion: typo noted by Bart.
* 31355: Completion/Base/Utility/.distfiles,
Completion/Base/Utility/_comp_locale,
Completion/Unix/Command/_subversion: _comp_locale tries to
sanitise locales but keep CTYPE; use this for subversion completion.
2013-04-25 Ramkumar Ramachandra <artagnon@gmail.com>
* 31288: Completion/Unix/Command/_git: _git: fix shortlog
completer
2013-04-21 Ramkumar Ramachandra <artagnon@gmail.com>
* 31286: Completion/Unix/Command/_git: _git: add a couple of
browsers
* 31289: Completion/Unix/Command/_git: _git: branch.*.pushremote,
remote.pushdefault
2013-04-20 Torstein Hegge <hegge@resisty.net>
* 31159: Completion/Unix/Command/_git: git: Pass prefix filter to
ls-files even if it matches no files
2013-04-20 Jun T <takimoto-j@kba.biglobe.ne.jp>
* 31281: Completion/Unix/Command/_du: _du: add support for Mac OS
X
2013-04-20 Bart Schaefer <schaefer@zsh.org>
* 31272: Src/Zle/compctl.c: avoid double free.
2013-04-16 Peter Stephenson <p.stephenson@samsung.com>
* Daniel Friesel: 31265: Completion/Unix/Command/_devtodo:
improved option handling.
2013-04-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: .gitignore: ignore PDF and PS versions of intro file.
2013-04-12 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31263 (changed * to - for consistency with elsewhere):
Doc/Zsh/mod_curses.yo: suppress texinfo warning by adding item
arguments.
* 31261: Doc/Zsh/compsys.yo, Doc/ztexi.yo: updates needed
with latest texinfo.
2013-04-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/17754: Src/builtin.c: failing to retie an array
and colon-separated scalar shouldn't be a fatal error.
2013-04-09 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31246: Makefile.in, Src/zsh.mdd: make a separate patch level
header for releases.
2013-04-08 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Completion/Unix/Command/.distfiles,
Completion/Unix/Command/.distfiles: remove mention of files no
longer there.
2013-04-07 Bart Schaefer <schaefer@zsh.org>
* 31234: Completion/Base/Widget/_complete_help: use an "always"
block instead of "trap" to clean up various function overrides
2013-04-05 Frank Terbeck <ft@bewatermyfriend.org>
* 31174: Src/Zle/zle_main.c: 31174: zle: Make sure state changes
are refreshed after init hook
* 31172: Src/Zle/zle_main.c: 31172: Let vared define custom init
and finish hooks
* 31175: Doc/Zsh/zle.yo: 31175: Add documentation for the new -i
and -f options of vared
* 31221: Completion/Unix/Command/_git: Handle zero defined aliases
better
* 31222: Functions/Zle/down-line-or-beginning-search,
Functions/Zle/up-line-or-beginning-search: Don't trigger
warn_create_global
2013-04-04 Peter Stephenson <p.stephenson@samsung.com>
* 31203: Completion/Unix/Command/.distfiles,
Completion/Unix/Command/_etags: new etags completion.
2013-02-18 Aaron Schrab <aaron@schrab.com>
* 07478c6b: Src/zsh.mdd: Generate patch level using `git describe`
2013-04-02 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jun T.: 31183: Src/Zle/zle_move.c: record old line rather than
history line in vi-goto-mark.
2013-03-29 Mikael Magnusson <mikachu@gmail.com>
* 31182: Completion/Unix/Command/_awk: Allow sticked arguments.
2013-03-20 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Han Pingtian: 31167 (with tweak):
Completion/Unix/Command/_ssh: limit use of colons for detecting
a remote path.
2013-03-19 Bart Schaefer <schaefer@zsh.org>
* 31158: Src/pattern.c: following a wildcard with a repetition
produces a bad pattern error instead of an unbounded search
2013-03-17 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31156: Completion/Zsh/Context/_math,
Completion/Zsh/Context/_zcalc_line, Completion/Zsh/Type/.distfile,
Completion/Zsh/Type/_math_params,
Completion/Zsh/Type/_module_math_func,
Completion/Zsh/Type/_user_math_func: improved math context
completion: functions.
* 31155: Doc/Zsh/contrib.yo, Functions/Misc/zcalc: minor
extra zcalc features and documentation.
2013-03-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31154: Doc/Zsh/contrib.yo, Functions/Misc/zcalc: make zcalc
understand continuation lines using backslash.
2013-03-14 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31151: Pavol Juhas: complete (C etc) tags better
when file system is not case sensitive.
2013-03-13 Mikael Magnusson <mikachu@gmail.com>
* unposted: Doc/Zsh/contrib.yo: Also adjust a mention of psvar
in the vcs info documentation.
* 31140: Src/math.c: when the math recursion limit is hit, make
sure to not leave *ep pointing nowhere, which caused a crash
sometimes. Also print the token that we refused to evaluate
because of the limit.
2013-03-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted, c.f. thread from 31144: Doc/Zsh/params.yo: all psvar
entries can be shown in prompts nowadays.
2013-03-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31141: Src/exec.c, Test/A04redirect.ztst: NO_CLOBBER for {fd}
syntax should only apply if $fd is exactly an fd and nothing
else.
2013-03-10 Mikael Magnusson <mikachu@gmail.com>
* 30496: Src/prompt.c: Parse argument to %F and %K as prompt
sequences. This allows constructs like %F{%3v} to use $psvar[3]
for the color.
* 30490: Completion/Unix/Command/_java: Complete files for the
-keystore argument.
* 30639: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
Add support for showing the current action is cherry-pick (happens
when cherry-picking a range).
* 31136: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
just set parameters instead of passing over a pipe.
2013-03-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/17666: Doc/Zsh/contrib.yo, Functions/Misc/zcalc: -f
option to zcalc sets FORCE_FLOAT.
* users/17665: Doc/Zsh/options.yo, Src/math.c, Src/options.c,
Src/zsh.h, Test/C01arith.ztst: add FORCE_FLOAT option.
2013-02-27 Oliver Kiddle <opk@zsh.org>
* 31076: Completion/Linux/Command/_yast,
Completion/Unix/Type/_pids, Completion/Unix/Type/_pdf:
fix cases of more than one completion function for a command
* 31077: Completion/Unix/Command/_sort: update for new
options in GNU sort
* c.f. 31071: Completion/Unix/Type/_postscript,
Completion/Unix/Command/_psutils: remove duplicate _osc and
rename _ps to avoid name clash
2013-02-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31061: Completion/Zsh/Command/_typeset: "functions" completion
takes account of options already on the command line.
* 31060: Src/builtin.c: "+" before a flag for "functions" or
"autoload" should suppress display of function body.
2013-02-21 Oliver Kiddle <opk@zsh.org>
* 31058: Completion/Zsh/Command/_fc, Completion/Unix/Command/_cut,
Completion/Unix/Command/_sed, Completion/Unix/Command/_wget,
Completion/Unix/Command/_xmlsoft: add options from newer
versions of some commands to completion functions
2013-02-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31055: Completion/compaudit: missing '$' in search of /proc
file system.
2013-02-12 Oliver Kiddle <opk@zsh.org>
* 31041: Test/comptest, Test/X02zlevi.ztst: add support for
testing line editor widgets from the test suite
* unposted: Etc/zsh-development-guide: remove duplication in
git guidelines
2013-02-09 Oliver Kiddle <opk@zsh.org>
* Morita Sho: 31038: Completion/Unix/Type/_terminals:
add location of terminfo entries on Debian
* 31037: Src/Zle/zle_move.c: return to previous position
with vi-goto-mark using `` or ''
2013-02-07 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Wieland Hoffmann: 31030: Completion/X/Command/_mplayer:
improve label for selected files.
* Wieland Hoffmann: 31029: README: correct directory.
* Han Pingtian: 31027: Completion/Unix/Type/_files: remove
the -g's from the glob options.
2013-02-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Eric P. Mangold: c.f. 31016
http://twistedmatrix.com/trac/browser/trunk/twisted/python/twisted-completion.zsh?format=txt:
completion for twisted using internally generated completion.
2013-02-01 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 31015: Completion: compaudit: where we can find who owns the
zsh executable, allow the same owner to own completion files.
2013-02-01 Mikael Magnusson <mikachu@gmail.com>
* unposted: Fix _prove completer commit.
2013-01-29 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jesper Nygårds: 31012: Completion/Unix/Command/_gradle:
updates.
* Dmitry Roshchin: 31008: Completion/openSUSE/Command/_zypper,
Completion/openSUSE/Command/_osc: updates.
2013-01-26 Bart Schaefer <schaefer@zsh.org>
* 31000: Doc/Zsh/contrib.yo: fix typo in example.
2013-01-24 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/17608: Doc/Zsh/contrib.yo,
Functions/Zle/modify-current-argument: use function to modify
current command line argument.
2013-01-22 Peter Stephenson <p.stephenson@samsung.com>
* 30993: Src/subst.c, Test/D04parameter.ztst: parameter
modifiers :wq operating on an empty string crashed the shell.
The shell isn't supposed to crash.
2013-01-20 Oliver Kiddle <opk@zsh.org>
* 30987: Completion/X/Command/_xrandr: only call xrandr when
necessary and use _call_program
2013-01-14 Peter Stephenson <p.stephenson@samsung.com>
* 30960: Alexey Bezhan: Completion/Unix/Command/_django:
compatibility issue.
2013-01-10 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 30958: Jeremy Mates: Completion/Unix/Command/_prove,
Completion/Unix/Command/.distfiles: new completion.
2013-01-07 Bart Schaefer <schaefer@zsh.org>
* unposted (see 30952): Src/builtin.c: tweak to 30949 to fix the
buffer pointer.
2013-01-06 Bart Schaefer <schaefer@zsh.org>
* 30949: Src/builtin.c: restore "read -q" behavior lost by 27188.
2013-01-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 30946: Robert Kovacsics: Completion/X/Command/_xrandr: use
command to generate completions.
2013-01-04 Peter Stephenson <p.stephenson@samsung.com>
* 30941: Completion/bashcompinit: scalars giving status of bash
completion should be exported for external programmes.
2013-01-03 Bart Schaefer <schaefer@zsh.org>
* users/17524: Doc/Zsh/expn.yo: misc. parameter flag clarifications.
2013-01-03 Peter Stephenson <pws@csr.com>
* unposted: Config/version.mk: update version to 5.0.2-dev-0
to avoid clash with release.
2012-12-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: README, Config/version.mk, Etc/FAQ.yo: release
5.0.2.
2012-12-21 Peter Stephenson <pws@csr.com>
* 30930: Src/parse.c, Test/D03procsubst.ztst: anonymous
functions shouldn't be marked as simple; this prevented process
based features from working in their arguments.
2012-12-20 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: zsh 5.0.1.
2012-12-18 Oliver Kiddle <opk@zsh.org>
* 30877: Etc/zsh-development-guide: document git workflow
2012-12-18 Peter Stephenson <pws@csr.com>
* 30914: mkinstalldirs: default mode for installation
directories is 755.
2012-12-17 Phil Pennock <pdpennock@users.sourceforge.net>
* 30901, 30906: Etc/zsh-development-guide: document git usage,
update patch descriptions, mention editorconfig.
2012-12-16 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: README, Config/version.mk, Etc/FAQ.yo,
Completion/Base/Utility/.distfiles,
Completion/Unix/Command/.distfiles,
Completion/Unix/Type/.distfiles, for 5.0.0-test-1.
* unposted: Src/utils.c: missing mod_export.
2012-12-13 Peter Stephenson <pws@csr.com>
* 30876: Src/exec.c, Test/A06assign.ztst, Test/C03traps.ztst:
obscure failures to process non-zero return values could result
from optimising a list to a simple command.
2012-12-08 Bart Schaefer <schaefer@zsh.org>
* users/17445: Src/math.c, Test/C01arith.ztst: fix handling of
leading zeroes in floating point.
2012-11-20 Oliver Kiddle <opk@zsh.org>
* 30811: Completion/Linux/Command/_btrfs,
Completion/Unix/Command/_mount: new completion for btrfs and
complete btrfs and ext4 mount options and new linux mount flags
2012-11-16 Vin Shelton <acs@xemacs.org>
* users/16865: Doc/Zsh/grammar.yo: Added missing menu item for Errors.
2012-11-18 Bart Schaefer <schaefer@zsh.org>
* users/17042: Src/jobs.c: don't stomp the environment in "jobs -Z"
unless we've first copied it to new memory.
2012-11-16 Oliver Kiddle <opk@zsh.org>
* 30802: Completion/Unix/Command/_find: add new command switches
* 30801: Completion/X/Command/_urxvt, Completion/X/Type/_xft_fonts:
fix font completion for newer fontconfig & update urxvt completion
2012-11-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 30789: Doc/Zsh/grammar.yo, Doc/Zsh/options.yo, Src/hist.c,
Src/init.c, Src/options.c, Src/zsh.h, Test/A04redirect.zsh: add
CONTINUE_ON_ERROR option for compatibility but turn it off:
scripts exit on an error instead of returning to the top-level
like interactive shells.
* 30800: Michal Halenka: Completion/Unix/Command/_arping: fix
option.
2012-11-12 Oliver Kiddle <opk@zsh.org>
* 30795: Completion/Unix/Command/_xz,
Completion/Unix/Command/_bzip2: new xz completion, new bzip2 options
* 30794: Completion/Unix/Command/_irssi,
Completion/Unix/Command/_mutt: update for new options
2012-11-11 Oliver Kiddle <opk@zsh.org>
* 30793: Completion/Unix/Command/_getent,
Completion/Unix/Command/_iconv, Completion/Unix/Command/_ldd:
account for eglibc in _pick_variant patterns
2012-11-08 Bart Schaefer <schaefer@zsh.org>
* 30786: Src/builtin.c: do not enter interactive history editing
or command execution if "fc" is called from a ZLE widget.
2012-11-08 Peter Stephenson <pws@csr.com>
* 30783: Src/lex.c: we don't want leading "="'s to be active when
tokenising strings that aren't going to be treated as command
line arguments.
* 30780: Doc/Zsh/builds.yo: document that set -o failures are
hard but setopt failures are soft.
2012-11-07 Oliver Kiddle <opk@zsh.org>
* Benjamin R. Haskell: 30737: Completion/Unix/Command/_git:
make custom completion functions for git aliases easier
* users/17382: Completion/Unix/Type/_remote_files,
Completion/Unix/Command/_vim, Completion/Unix/Command/_git,
Completion/Unix/Type/_urls: complete URLs for vim and make
_remote_files more consistent with _files
2012-10-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 30735: Src/parse.c: array assignments aren't simple because
they can contain process substitutions.
2012-10-19 Peter Stephenson <pws@csr.com>
* Roman Kaminski: 30738: Completion/Unix/Command/_bzr: send
command.
* Greg Bouzakis: 30741: Completion/Unix/Command/_systemd: add
suspend command.
* unposted: Doc/Zsh/expn.yo: further splitting clarifications.
2012-10-18 Peter Stephenson <pws@csr.com>
* 30740: Doc/Zsh/expn.yo: add example of process substitution
with anonymous function.
* c.f. users/17330: Doc/Zsh/expn.yo: fix reference to splitting
rule in parameter expansion rules.
2012-10-11 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 30726: Doc/Zsh/builtins.yo, Src/builtin.c, Src/exec.c,
Src/hashtable.c, Src/init.c, Src/options.c, Src/parse.c,
Src/signals.c, Src/zsh.h, Src/Modules/parameter.c,
Test/B07emulate.ztst: extend 30722 to handle the case
where shell options passed to the emulate command need
propagating to sticky emulation.
2012-10-11 Peter Stephenson <pws@csr.com>
* 30724: Src/exec.c, Src/jobs.c: shell code optimised to use
execsimple() doesn't have a valid thisjob.
2012-10-09 Peter Stephenson <pws@csr.com>
* users/17318: Src/Zle/zle_utils.c: don't increment the undo
change number for every variable read, only the first in a row.
* users/17314: Src/Zle/zle_utils.c: ensure an undo change number
uniquely specifies a point in editing history by incrementing
the value returned by the variable.
* unposted: Src/builtin.c: fix trivial typo with "functions +T".
2012-10-07 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 30722: Src/builtin.c, Src/exec.c, Src/init.c, Src/options.c,
Src/Modules/parameter.c, Test/B07emulate.ztst: fix some cases
where options or emulations were not propagated properly
from the emulate command.
* 30718: README, Doc/Zsh/builtins.yo, Src/builtin.c,
Test/C04funcdef.ztst: emulate command evaluations should apply
sticky emulation to autoloads, too.
2012-10-07 Oliver Kiddle <opk@zsh.org>
* unposted: Completion/Unix/Command/_webbrowser,
Completion/Unix/Type/_pspdf: add evince, zathura, dwb
* 30714: Completion/X/Command/_xclip: complete files,-t,-f for xclip
2012-10-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 30716: Src/options.c: IGNORECLOSEBRACES should be an emulation
option since it changes what syntax is valid.
* 30715: Src/init.c, Src/lex.c, Src/parse.c, Src/subst.c,
Src/zsh.h, Src/Zle/zle_tricky.c: use a named enum for
lexical tokens.
2012-10-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/17305: Doc/Zsh/expn.yo: fix documentation for ordering
of word splitting and improve (z) and (Z) documentation.
* users/17310: Doc/Zsh/params.yo, Src/lex.c, Test/A04redirect.ztst,
Test/D06subscript.ztst: back off users/17304 owing to problem
with [ command, document problem, and test the case that needs
to work.
2012-10-02 Peter Stephenson <pws@csr.com>
* users/17304: Src/lex.c, Test/D06subscript.ztst: angle brackets
aren't associated with special parsing inside square brackets.
2012-09-30 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Aaron Schrab: 30712: .editorconfig: multi-editor specification
of editing formats.
* Aaron Schrab: 30711: Completion/Unix/Type/_bind_addresses:
improved IPv6 completion.
* Aaron Schrab: 30710: Completion/Unix/Command/_perldoc: updates.
2012-09-29 Frank Terbeck <ft@bewatermyfriend.org>
* Seth House: 30702: Doc/Zsh/contrib.yo,
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: Removed --debug
flag from the hg vcs_info backend
* Seth House: 30701: Misc/vcs_info-examples: Added an hg hook
example to restore the 40-char hash
* Baptiste Daroussin: 30703:
Functions/VCS_Info/Backends/VCS_INFO_detect_fossil: Fix fossil
detection on unix
2012-09-28 Oliver Kiddle <opk@zsh.org>
* 30697: Completion/Unix/Command/_dbus: new completion definition
2012-09-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 30692: Completion/Unix/Type/_path_files, Doc/Zsh/builtins.yo,
Src/builtin.c: allow autoload +X -m to work; change _path_files
so it works on that.
2012-09-21 Peter Stephenson <pws@csr.com>
* 30687 (typo fixed): Doc/Zsh/params.yo, Src/jobs.c: don't
REPORTTIME if zleactive (but time keyword is allowed).
2012-09-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Александр Балезин: 30667: Completion/Unix/Command/_ip: add
addrlabl subcommand.
2012-09-11 Peter Stephenson <pws@csr.com>
* unposted: NEWS: refer to some newly added features.
* 30647, 30649: Doc/Zsh/arith.yo, Src/math.c, Src/utils.c,
Test/C01arith.ztst: allow underscores in numeric constants
within math evaluation.
2012-09-09 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jun T.: 30664: configure.ac: fix some Yodl version issues.
2012-09-08 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/17236: Src/builtin.c: r and other fc output didn't
unmetafy when listing to a file other than stdout.
2012-09-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 30656: Src/math.c: treat dividing by -1 the same as
multiplying by it to get around SIGFPE.
2012-09-05 Peter Stephenson <pws@csr.com>
* Jun T.: 30658: Completion/Unix/Command/_uniq: more options.
* Silas Silva: users/17223: Completion/Unix/Command/_lp:
page-ranges option.
2012-09-03 Peter Stephenson <pws@csr.com>
* users/17213: Completion/Base/Completer/_user_expand,
Doc/Zsh/compsys.yo: allow REPLY to pass a description for an
expansion.
2012-08-27 Peter Stephenson <p.w.stephenson@ntlworld. com>
* Oliver (olipro): 30643: Completion/Linux/Command/_ipset:
completion update.
2012-08-25 Peter Stephenson <p.w.stephenson@ntlworld.com>
* John Stahara: 30641: Src/Zle/zle_keymap.c: bindkey -N
error report is misleading when copying keymap.
2012-08-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Jun T: 30640 (plus additional comment): Src/zsh.h,
Src/compat.c: MacOS doesn't define __STDC_ISO_10646__ but we
need the replacement wcwidth() anyway.
2012-08-23 Peter Stephenson <pws@csr.com>
* Aaron Schrab: 30636: Completion/Unix/Command/_telnet:
telnet-ssl options.
* Aaron Schrab: 30637: Completion/Unix/Command/_telnet: -b option
* Aaron Schrab: 30638: Completion/Unix/Command/_telnet: IPv4
and IPv6 options.
2012-08-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/17211: Completion/Unix/Type/_files, Doc/Zsh/compsys.yo:
new recursive-files style.
* 30633: Doc/Zsh/builtins.yo, Src/builtin.c, Src/exec.c,
Src/hashtable.c, Src/options.c, Src/subst.c, Src/zsh.h:
"functions -T" traces only marked function and not called
functions unless also marked.
2012-08-20 Peter Stephenson <pws@csr.com>
* Stepan Koltsov: 30634: Functions/Misc/zmv: use (q-) quoting
for output for clarity.
2012-08-17 Peter Stephenson <pws@csr.com>
* Stepan Koltsov: 30632
(https://raw.github.com/stepancheg/zsh/bfa81caaac44dacfa05adb77f61526ea90346219/Completion/Unix/Command/_clay):
Completion/Unix/Command/_clay,
Completion/Unix/Command/.distfiles:
new completion.
* Stepan Koltsov: 30632
(https://github.com/stepancheg/zsh/commit/b0f1427e4983be6dfdc07ccaf86f153d5f9959b9.patch):
Completion/Unix/Command/_gcc: aliases and clang-specific flags.
* 30629 plus unposted formatting improvements:
Doc/Zsh/builtins.yo, Src/Builtins/rlimits.c: more complete
handling for socket buffer size limit (NetBSD) plus formatting
and consistency changes (kb -> kbytes everywhere in ulimit
output, K-bytes to kilobytes everywhere in documentation).
* 30627: configure.ac, Doc/Zsh/builtins.yo,
Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c:
support RLIMIT_NTHR as on NetBSD.
2012-08-16 Peter Stephenson <pws@csr.com>
* 30619: Doc/Zsh/builtins.yo, Src/builtin.c,
Test/B02typeset.ztst: repeat "typeset -T" with same two first
arguments is not an error.
* 30617: Src/prototypes.h, Src/zsh_system.h: rationalise
replacement of tgoto() prototype which could appear twice
inconsistently.
2012-08-14 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Etc/relnote_5.0.0.txt, Etc/.distfiles: add.
* unposted: Etc/Changelog-4.3, Etc/ChangeLog-5.0,
Etc/.distfiles: rename
2012-08-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: ChangeLog, Etc/ChangeLog-5.0: move changes up
to 5.0 into subdirectory.
* Michal Halenka: 30608: Completion/Unix/Command/_ip: del rather
delete tunnel.
2012-08-13 Peter Stephenson <pws@csr.com>
* Jesse Weinstein: 30607: Doc/Makefile.in: fix ancient
dependency problem with moved Yodl files.
* Aaron Schrab: 30604: Src/Zle/zle_move.c: make repeating vi skip
character useful by ignoring character just matched.
* Aaron Schrab: 30603: Src/Zle/zle_move.c: repeating vi skip
characters commands caused bad positioning.
2012-08-07 Peter Stephenson <p.w.stephenson@ntlworld.com>
* cat_in_136: 17200: Completion/Unix/Command/.distfiles,
Completion/Unix/Command/_lha, Completion/Unix/Command/_nkf: new
completions. nkf is a Kanji code converter.
* YAMAMOTO Takashi: 30599: Src/compat.c, Src/zsh.h: don't
use the replacement wcwidth if not ISO-10646 as the assumptions
it makes probably won't work.
2012-07-27 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 30590: Doc/Makefile.in, Doc/.distfiles: work around problem
turning intro.ms into PDF.
* unposted: relabel as 5.0.0-dev-0.
2012-07-23 Geoff Wing <gcw@zsh.org>
* unposted: Doc/Zsh/ftp_sites.yo: Remove unavailable sites
2012-07-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: update for 5.0.0 release.
|