File: ChangeLog

package info (click to toggle)
makepp 2.0.98.5-2.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,744 kB
  • sloc: perl: 15,893; makefile: 38; javascript: 25; sh: 1
file content (7119 lines) | stat: -rw-r--r-- 255,612 bytes parent folder | download | duplicates (3)
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
2014-06-10  DP  <occitan@esperanto.org>

snapshot 2.0.98.5

	* Mpp/Cmds.pm: Eliminate new 5.20 warning, that CPAN counts as failed test.
	(c_template): New macro @include(filename)@.

	* Mpp/Makefile.pm (read_makefile)
	* Mpp/Subs.pm: Better show where errors come from.

2014-03-19  DP  <occitan@esperanto.org>

	* Mpp/FileOpt.pm (set_rule): A late found rule for a different dir can override a pattern rule.

2014-01-15  DP  <occitan@esperanto.org>

	* Mpp/CommandParser/Esql.pm
	* Mpp/CommandParser/Gcc.pm: Treat C_INCLUDE_PATH et al., -static and -l: and optimize.  Few API changes.

	* Mpp/Text.pm (split_path): Extra arg for parsing native vars even on Cygwin.

2013-12-01  DP  <occitan@esperanto.org>

	* Mpp/Text.pm:
	* Mpp/*.pm: Parens now nest in expressions.
	Single quotes now ignore \.
	unquote: no longer works on regexp vars.
	(r)find_unquoted: rename *index_ignoring_quotes.

2013-10-13  DP  <occitan@esperanto.org>

snapshot 2.0.98.4

	* config.pl
	* t/run_all.t
	* t/run_tests.pl
	* t/**/*test: Improve hinting and always show it, except in --test.  Try harder to get test results.

	* pod/html/html.pl (emit_item_tag): Put Compatibility with Incompatibilities.

2013-08-18  DP  <occitan@esperanto.org>

	* Mpp.pm
	* Mpp/FileOpt.pm
	* Mpp/Makefile.pm
	* Mpp/Repository.pm
	* Mpp/Rule.pm
	* Mpp/Scanner.pm
	* makepplog: New var MAKEPP_DEBUG and show effect of mppl -c

	* makepp_builtin_rules.mk: Evaluate some vars immediately.

2013-07-21  DP  <occitan@esperanto.org>

	* Mpp/Makefile.pm (grok_rule): Allow % to be inside make-expression.

	* Mpp/Text.pm (index_ignoring_single_quotes): Eliminate.
	(index_ignoring_quotes, split_on_whitespace): New type-option.

2013-07-05  DP  <occitan@esperanto.org>

	* install.pl
	* config.pl: Installation defaults for html-doc and man have changed slightly.

2013-05-19  DP  <occitan@esperanto.org>

	* pod/makepp_variables.pod: Document the details of rc-style
	substitution and how to deal with border cases.

	* pod/makepp_builtins.pod: Better structure and sort -t need not modify $_.

2013-05-09  DP  <occitan@esperanto.org>

	* Mpp.pm (perform): Continue --loop after error.

	* Mpp/Glob.pm: Don't fully qualify own $allow_dot_files.

	* Mpp/File.pm (mark_as_directory): Obtain FULLNAME only once.

	* makeppinfo: With --force show unremembered_SIGNATURE instead of warning.

2013-04-22  DP  <occitan@esperanto.org>

	* Mpp/FileOpt.pm (exists_or_can_be_built): Revert and improve, we do need to recurse.

	* t/run_tests.pl
	* t/**/*.test: Fix globbing for answers.  Check signatures after mpp.  New hook $mod_answer.

	* makepp (parse_command_line): Simpler way to avoid wrong "used once" warning.

	* config.pl: Win doesn't grok prefix export notation.

2013-04-14  DP  <occitan@esperanto.org>

	* makepp: Query build cache only if we use one.  Move some global bc and rep symbols and functions where they belong.

	* Mpp.pm (perform): Use map, to avoid spurious exit code.

	* Mpp/Rule.pm (DefaultRule::execute): Fix returning status.

	* Mpp/DB.pm: New debug module.

2013-03-30  DP  <occitan@esperanto.org>

	* makepp
	* Mpp/Rule.pm: find_all_targets_dependencies returns them already sorted.  sorted_dependencies wants list, not array.

	* Mpp/Subs.pm (infer_objects): optimize

	* makepp_builtin_rules.mk: Let infer_objects rules respect makepp_percent_subdirs.

	* install.pl
	* config.pl: Give more help about changing the perl binary.

2013-03-05  DP  <occitan@esperanto.org>

snapshot 2.0.98.3

2013-03-04  DP  <occitan@esperanto.org>

	* Mpp/Rule.pm (load_scaninfo_): Make private, don't force finding
	remembered deps, which may not be buildable any more
	(Mpp::DefaultRule::execute): No need for when_done.

	* Mpp/FileOpt.pm (exists_or_can_be_built): Handle repository files
	differently, since a dep there may not be valid here (hidden by
	chmod 0).
	(set_additional_dependencies): Remove and splice into grok_rule.

	* Mpp/Glob.pm: Optimize.

	* LICENSE: Add copyright because Debian wants it.

2013-02-16  DP  <occitan@esperanto.org>

	* *: Consistent and documented handling of perl instance including
	the possibility to install against /usr/bin/env.

	* Mpp/Rule.pm: Override-variable TMP.

2013-01-31  DP  <occitan@esperanto.org>

	* Mpp/Text.pm
	* makepp*: Fully move VERSION to Mpp::Text.

	* install.pl
	* config.pl: Fix help.

2013-01-20  DP  <occitan@esperanto.org>

	* Mpp/Recursive.pm
	* Mpp/Rule.pm
	* Mpp.pm: Move actual building to perform and implement --loop.

	* Mpp/Subs.pm (f_find_{first_}upwards): Don't find file above ROOT, if present.

	* additional_tests/2003_10_11_idash.test: Wait for timestamp only if something was built.

2013-01-08  DP  <occitan@esperanto.org>

	* install.pl: Gzip manfiles if local system does that, Debian policy.

2012-12-29  DP  <occitan@esperanto.org>

	* Mpp/Signature/c_compilation_md5.pm
	* t/md5.test: New option makepp_signature_C_flat.

2012-12-28  DP  <occitan@esperanto.org>

	* makepp
	* Mpp/Makefile.pm
	* Mpp/Recursive.pm
	* Mpp/Rule.pm
	* Mpp/Subs.pm
	* t/include.test: Defer decision about inexistant/stale include
	till end of makefile and reload if needed.

2012-11-12  DP  <occitan@esperanto.org>

	* Mpp/BuildCache.pm
	* makepp: Rename build_cache_error_hook to Mpp::BuildCache::error_hook.
	Move build_dependencies_done code to new Mpp::BuildCache::get.  Optimize.

	* Mpp.pm: Rename *hits to $Mpp::{BuildCache,Repository}::hits.
	Make final print readable.

	* Mpp/FileOpt.pm (grok_build_info_file): Rewrite as parser.

	* Mpp/Rule.pm (execute): Suppress stale rep symlink warning.

2012-11-02  DP  <occitan@esperanto.org>

	* *: All pre-2.0 features which issued deprecated-warnings are
	eliminated, as are $Mpp::Makefile::legacy_functions and
	$MAKEPP_INSTALL_OLD_MODULES.

2012-10-25  DP  <occitan@esperanto.org>

snapshot 2.0.98.2

	* Mpp/Text.pm: Handle new version scheme.

	* Mpp/Cmds.pm: Native Windows fails when closing --inpipe.

	* Mpp/Subs.pm: Log $(shell) command.  Use anonymous file handles to prevent races in async event handlers.

	* Mpp/Repository.pm
	* Mpp/CommandParser/Vcs.pm
	* Mpp/Event.pm: Use anonymous file handles to prevent races in async event handlers.

	* t/dry_run_what_if.test: Wait for child process to avoid random fail under high load.

2012-10-16  DP  <occitan@esperanto.org>

	* Mpp/Repository.pm (get): Do not propagate random $@.

2012-10-14  DP  <occitan@esperanto.org>

snapshot 2.0.98.1

	* Mpp/Repository.pm: Cope with rule producing symlink in repository.

	* Mpp/FileOpt.pm (signature): Dangling symlinks also produce a signature, since they are legal (albeit funny) files.

	* Mpp/Scanner.pm
	* Mpp/Rule.pm: Optimize small functions.

	* Mpp/Text.pm
	* VERSION: n.m.98.i are snapshots, and n.m.99.i a release candidate.

2012-08-30  DP  <occitan@esperanto.org>

	* t/*: Use our built in commands for tests.

	* Mpp/Cmds.pm (c_touch): utime not working as documented in 5.8.0.

	* makepp: Simplify Win workaround.

2012-07-05  Mike Frysinger  <vapier@gentoo.org>

	* install.pl: Fix DESTDIR.

2012-06-09  pfeiffer  <occitan@esperanto.org>

	* *: Eliminate need for HP/UX hack, which was slightly buggy.

	* Mpp/File.pm
	* Mpp/Subs.pm: Make stat_exe_separate a constant.

	* Mpp/Makefile.pm: Use possibilities of PerlIO.

2012-05-29  pfeiffer  <occitan@esperanto.org>

	* makeppinfo (--unremembered): New option.

	* Mpp/Makefile.pm (read_makefile): Run toplevel &cmds in correct dir.

	* *: Remove more 5.6-isms.

	* VERSION: i.j.9beta is development for i.j+1.

2012-05-23  pfeiffer  <occitan@esperanto.org>

	* Mpp/Text.pm
	* makepp*
	* Mpp/BuildCacheControl.pm
	* install.pl: Make sure help option is consistent with pod, and reflects if man and/or html is installed.

	* Mpp.pm: Fallback to --verbose if log file not writable.

2012-05-15  pfeiffer  <occitan@esperanto.org>

	* *: use v5.8 and eliminate many v5.6-isms

2012-05-12  pfeiffer  <occitan@esperanto.org>

	* Mpp/Makefile.pm
	* makepp: This "x:y;a=1 cmd"' is not a target specific assignment.
	Accept -f -, both for gmake test suite. (Thanks to Ben S.)

	* makeppreplay (--sed): New option.

	* Mpp/FileOpt.pm: Store build info for mppr, even on initial fail.

	* Mpp/Rule.pm: Use valid attribute.

2012-03-25  pfeiffer  <occitan@esperanto.org>

	* *: Upcase "GNU".

2012-03-19  pfeiffer  <occitan@esperanto.org>

Version 2.0 makepp-2.0.tgz on sourceforge & CPAN.

	* makepp: Environment $ROOT is harmful to our builtin.

2012-03-04  pfeiffer  <occitan@esperanto.org>

Version 2.0rc3 makepp-2.0rc3.tgz, technically 1.50-120304:20-0228:1-0207:5 on sourceforge & CPAN.

	* *: Spellcheck pod and comments.

2012-02-28  pfeiffer  <occitan@esperanto.org>

	* Mpp/Makefile.pm (expand_expression): In substitution reference add % to both or none. (Bug 3488851)
	(expand_variable): Extend builtin vars as though they were "=" assigned. (Bug 3488858)

	* Mpp/Rule.pm (save_build_info_tag_): Don't skip INCLUDE_PATHS if it contains only undef.

	* pod/html/Pod/Html.pm
	* pod/html/html.pl: Bundle 1.11 as newer ones are not compatible and broken. (Perl bug 110520)

2012-02-14  pfeiffer  <occitan@esperanto.org>

	* t/run_tests.pl (have_cc):
	* t/**/*.test: Check for a C compiler, eliminating CPAN testers' false negatives.

2012-02-08  pfeiffer  <occitan@esperanto.org>

	* Mpp/Makefile.pm (_read_makefile_line_stripped_1): Warn about multiline "# ... $[X]".

	* t/makeppreplay.test: Give hint about ccache bug (found by Mike Frysinger).

	* *: Fix many typos.

2012-01-22  pfeiffer  <occitan@esperanto.org>

	* pod/html/html.pl:
	* pod/html/makepp.less: Create valid xhtml 1.1.

2012-01-19  pfeiffer  <occitan@esperanto.org>

	* pod/html/makepp.{css,js}:
	* pod/html/html.pl: Add button to search and abbrevs to nav bar, remember its side.

	* install.pl: Convert index to better html, it was useless as Man anyway.

	* pod/makepp_faq.pod: Add safety question.

2012-01-11  pfeiffer  <occitan@esperanto.org>

Version 2.0rc2 makepp-2.0rc2.tgz, technically 1.50-120111:3-0106:1-111204:2 on sourceforge & CPAN.

	* makeppgraph (html): Use same folding cursors as new web site.

	* Mpp/Lexer.pm (lex_rule): Don't fail if shell command not understood.

	* Mpp/Makefile.pm (grok_rule): Singular $(ouptut) or $(target) also prevent legacy fallback.

	* t/additional_tests/xml.test: Only run if parser is free of warnings.

	* pod/*: Fixed broken links and cosmetic changes.

	* pod/html/*: Valid compact xhtml, tabs as sprite, refactored, and fixed links.

2012-01-06  pfeiffer  <occitan@esperanto.org>

	* install.pl:
	* pod/html/*: New doc and website design.  Thanks a lot to 조연희 (Jo Younhee) for the redesign of the camel at work logo with a hand crafted font!  And thanks to html-templates for the base artwork, which I modernized with the help of {less}.

	* pod/*: Some cleanup.

2011-12-04  pfeiffer  <occitan@esperanto.org>

	* Mpp/Subs.pm (make): Provide documented statement.

	* t/additional_tests/xml.test: Only run if parser works.

2011-11-25  pfeiffer  <occitan@esperanto.org>

	* Mpp/Makefile.pm
	* Mpp/Text.pm
	* Mpp/Subs.pm: Private extra parameter to filesubst, to handle $* correctly.

	* makepp: Turn pod into comments as this hid makepp.pod.

	* control: Create deb package.

2011-11-20  pfeiffer  <occitan@esperanto.org>

Version 2.0rc1 makepp-2.0rc1.tgz, technically 1.50-111120:8-1107:3-1030:7 on sourceforge & CPAN.

Beware: this release has a more powerful signature syntax, which is not understood by older versions.
So don't call an older mpp on things built with this version, which includes from a repository you built in.

	* Mpp/Rule.pm
	* Mpp/Subs.pm: Statement signature now understands the keyword override.

	* Mpp/Signature/xml_space.pm
	* Mpp/Signature/xml.pm: New modules

	* makeppinfo: Handle directories by showing every file and warn if no build info.

2011-11-07  pfeiffer  <occitan@esperanto.org>

	* Mpp/Signature.pm: C can now also be extended with filename regexps.

	* Mpp/Rule.pm: Rescan on unknown sig method from build info instead of dying.

	* Mpp/CommandParser/Vcs.pm: Replace verilog_simulation_md5 by simple sig spec C.v.

2011-10-30  pfeiffer  <occitan@esperanto.org>

	* Mpp/Rule.pm (set_signature_class): Incorporates
	set_signature_method.  Always store name and method together, so
	mppr can pick it up from the build info and sign correctly.
	(load_scaninfo_single): Rescan if sig method changed, because that
	obsoletes old sigs.  Instead of exactly 'sys' & 'lib' to avoid
	should_find, avoid it only if those strings are contained,
	allowing various tags with this property.

	* Mpp/Scanner/Esqlc.pm:
	* Mpp/CommandParser/Esql.pm (usersys): New tag.

	* Mpp/CommandParser/Gcc.pm (tags): New overridable method.

	* Mpp/Makefile.pm:
	* Mpp/Signature.pm (get): New signature function allows additional
	suffixes and c_compilation_md5 can be called as C.

	* makeppinfo: Fix undef warning.

2011-09-29  pfeiffer  <occitan@esperanto.org>

	* *: $Mpp::BuildCheck::default and $Mpp::Signature::default replace
	default_build_check_method and default_signature.  Statements build_check and signature now
	understand the keyword global.  Use them for option handling.

	* Mpp/CommandParser/Gcc.pm: Handle some weird icc/icl options.

	* makeppinfo: New option -d, --dates, --decode-dates.

2011-09-19  pfeiffer  <occitan@esperanto.org>

	* Mpp/Makefile.pm:
	* Mpp/Subs.pm (f_call): Expand macro normally even in $[call], because it can't easily contain $[1].

	* makeppinfo: Now --traverse works even when SORTED_DEPS is not being displayed.  With --force
	also show the current SIGNATURE.

2011-09-15  pfeiffer  <occitan@esperanto.org>

Snapshot makepp-1.50.110915.tgz, version 1.50-110915:6-0827:1-0806:6 on sourceforge & CPAN.

	* makepp ($global_build_cache): Moved to $Mpp::BuildCache::global.
	Let appropriate s_ subs handle some options.

	* Mpp/Makefile.pm (read_makefile):
	* Mpp/Subs.pm (s_build_cache): Keywords can get passed to s_ subs, this one understands: global.

2011-09-08  pfeiffer  <occitan@esperanto.org>

	* Mpp/Subs.pm:
	* Mpp/Makefile.pm (read_block): Handle all multiline statements and give better diagnostics when incomplete.

2011-08-27  pfeiffer  <occitan@esperanto.org>

	* Mpp/Cmds.pm,
	* Mpp/Makefile.pm,
	* Mpp/Subs.pm: Turn around parsing of makefiles, allowing spaces in var names.
	Turn define, export & global into internally processed keywords.

2011-08-06  pfeiffer  <occitan@esperanto.org>

	* Mpp/Subs.pm: Recognize clang, icc & icl.  Optimize searching upwards for device boundary.

	* makepp (makepprc): Optimize searching upwards for device boundary.

	* Mpp/Lexer.pm: Check explicitly for sh -c vs. sh script -opt.

	* makeppclean: New option -d, --empty-directories

	* install.pl: Add rel-links.

2011-07-01  pfeiffer  <occitan@esperanto.org>

	* Mpp/File.pm (relative_filename): Use new dir attribute xABSOLUTE
	to have other dirs than $root (e.g. c:, /cygdrive/c, $HOME/.. and
	$(ROOT)/..) for preferring absolute filenames, to increase build
	cache consistency.

	* *: In various classes prefix undef/exists booleans with 'x':
	xASSUME_NEW/ASSUME_CHANGED, xDELETABLE, xEXISTS,
	xIN_REPOSITORY/DIR_IN_REPOSITORY, xLOGGED, xMAKEPPRC,
	xMAKEPP_DELETABLE, xMULTIPLE_RULES_OK, xNO_GCC, xPHONY/IS_PHONY,
	xPREFERRED, xRECURSIVE_MAKE, xSCANINFO_UNCACHEABLE, xTEMP/IS_TEMP,
	xDELETABLE, xUPDATE_BUILD_INFOS/NEEDS_BUILD_UPDATE, xREFERENCED,
	xNO_IMPLICIT_LOAD, xLOOKED_FOR_SUBDIRS, xIN_VERBATIM_BLOCK

	* Mpp/Event.pm (start): Do real exec on Cygwin and MSYS.

	* makepplog (REMOVE): Also give the reason, which increased log version to 3.

2011-06-23  pfeiffer  <occitan@esperanto.org>

	* pod/makepp_index.pod: New overall index.

	* pod/makepp_compatibility.pod: Add 5.12.4 and 5.14.1.

2011-06-21  pfeiffer  <occitan@esperanto.org>

Snapshot makepp-1.50.110621.tgz, version 1.50-110621:8-0605:1-0507:2 on sourceforge & CPAN.

	* Mpp/Makefile.pm (expand_text): Also handle new args separator in
	opposite case (thanks to T. Helms).

	* Mpp/Glob.pm (wildcard_do): Replaces wildcard_action and
	needed_wildcard_action.  If wildcard ends with slash, apply only
	to dirs (needed by Linux kernel).  Extra arg to block only if not
	a wildcard.

	* Mpp/File.pm (path_file_info): Mark names with trailing slash as dir.

	* Mpp/Rule.pm (set_{build_check,signature}_method_default):
	Eliminate almost useless functions.

	* Mpp/Recursive.pm
	* recursive_makepp: Move MAKEPP_IGNORE_OPTS to makepp, as it
	caused loading this before $depth initialized.  Fix $depth for
	--hybrid.

2011-06-05  pfeiffer  <occitan@esperanto.org>

	* Mpp/File.pm (read_directory): Use the possibly newly created DIRCONTENTS, to not lose our changes.

	* Mpp/Makefile.pm
	* Mpp/Repository.pm
	* Mpp/Subs.pm: Emulate VPATH and vpath

2011-05-20  pfeiffer  <occitan@esperanto.org>

	* Mpp/Recursive.pm
	* install.pl: Try to have $(MAKE) without space when installed.

	* pod/makepp_compatibility.pod: Add 5.14.0.

2011-05-07  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/Makefile.pm (expand_variable): Pass lineno to $&, ...

	* Mpp/Subs.pm ($&, ...): Warn with lineno.

	* Mpp/Text.pm (format_exec_args): Pass comment sign to shell.

	* makepp (build_target_done): Say when there is no rule, instead of complaining about phony.

	* Mpp/Glob.pm (zglob_fileinfo): Commas are no longer evil.

	* makepp_builtin_rules.mk: Don't use rc-substitution, which might be off.

	* pod/makepp_compatibility.pod: Add V5.12.3

2011-04-17  Daniel Pfeiffer  <occitan@esperanto.org>

Snapshot makepp-1.50.110417.tgz, version 1.50-110417:8-0123:1-0116:8 on sourceforge & CPAN.

	* Mpp/Makefile.pm: More efficient check for makepp_simple_concatenation.
	(setup_environment): Since exporting MAKEFLAGS, we are sure to have EXPORTS.
	(expand_expression): Pass f_ arg as string or ref.

	* Mpp/Subs.pm (arg, args): New functions.
	(f_*): Take a reference to expand allowing correct comma-splitting.
	(f_call): Correctly handle $0, $1, ... as normal variables.
	$(macro arg1,arg2) is now equivalent to $(call macro,arg1,arg2) if
	$(macro) is defined.  Thanks to Clemens Hintze for these ideas.

	* makeppinfo,
	* makeppreplay,
	* Mpp.pm: Move common use statement to Mpp.

2011-01-23  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/CommandParser/Esql.pm (xparse_command): 5.13.7 no longer
	understands binding =~ to two alternate regexps in a ternary
	operator.

	* pod/makepp_build_check.pod:
	* makeppinfo: Improve makeppinfo and its doc, expecially for
	understanding build check methods.  Also pair up ENV_DEPS & ENV_VALS.

2011-01-16  Daniel Pfeiffer  <occitan@esperanto.org>

Snapshot makepp-1.50.110116.tgz, version 1.50-110116:13-101224:4-1210:6 on sourceforge & CPAN.

	* Mpp/Scanner.pm (find): Initial suffix '/' means: try others only
	for a name that has no suffix.

	* CommandParser/Esql.pm, Mpp/Scanner/Esqlc.pm: Handle all known
	kinds of embedded SQL preprocessors.  Rename to Esql as the
	commands are not specific to C.

	* makepp, Mpp/Recursive.pm, recursive_makepp,
	* t/recursive_variants.test: New option --hybrid and put a brake
	on deep recursion.

	* Mpp/CommandParser.pm, Mpp/FileOpt.pm, Mpp/Subs.pm,
	* makepp_builtin_rules.mk: Workaround for bug in new Cygwin (where
	stat() rarely reports an inexistent file to be a symlink) lead to
	cleaner implementation of $(phony xyz): xyz.exe

	* Mpp/Makefile.pm, Mpp/Fixer/Automake.pm, Mpp/Fixer/CMake.pm
	* makepplog, install.pl: New directory Fixer, to also fix CMake
	makefiles avoiding recursion.

	* config.pl: New version scheme caused an invalid installation
	makefile. (Thanks to Thomas Kluge)

	* t/additional_tests/2003_08_13_load_makefile_quotes.test:
	* t/wildcard_repository.test: NFS can use strange uid on own files.

2010-12-24  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/File.pm (mark_as_directory): Cache all upwards paths as
	otherwise a relative path might include ../thisdir (thanks to
	andrewdonkin).
	(relative_filename): Use this caching to simplify very much.

	* Mpp/Makefile.pm: Warn about unsupported VPATH (thanks to Harald
	van Dijk) and ignore space after :build_cache.

	* Mpp/Repository.pm: Count mkdir failure as build error.

	* Mpp/Scanner/C.pm: Inside a <> include don't fall back to ""
	(cygwin/config.h caused a warning).

	* Mpp/Subs.pm (s_include): Also handle s__include.

2010-12-10  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/Makefile.pm Fix regression from change to Mpp, whereby
	reload did not clear variables.
	(expand_variable): Move sub expansion here.

	* Mpp/Text.pm (index_ignoring_quotes, hash_neq): Accept 3rd argument.
	(max_index_ignoring_quotes): Optimize.
	(split_on_whitespace): Also parens delimit shell commands.

	* Mpp/Subs.pm (f_map): Fix condition.

	* Mpp/FileOpt.pm: Actually drop old rule on reload.

	* Mpp/AutomakeFixer.pm (clean): Rename remove_automake_junk,
	handle empty subdir list and don't cheat by calling make.

	* Mpp/Recursive.pm: In traditional, start each make with a
	different logfile, and log it so you have a chance to find it.

	* Mpp/CommandParser.pm:
	* Mpp/Lexer.pm: Make found dependencies optional because in a
	complex action script not all commands are necessarily run.  Also
	parse backquoted commands.

	* Mpp/Makefile.pm:

	* Mpp/Rule.pm (find_all_targets_dependencies): Remember expansion
	so functions won't be evaluated a 2nd time.

	* Mpp/BuildCheck/target_newer.pm (changed_dependencies): May not
	have been built yet.

	* makeppclean: New or changed options -k, -l & -m.

2010-11-19  Daniel Pfeiffer  <occitan@esperanto.org>

	* *: Reserve the term parse for command arguments.  Everything
	else is now grokked.

2010-11-17  Daniel Pfeiffer  <occitan@esperanto.org>

Snapshot makepp-1.50.101117.tgz, version 1.50-101117:18-1018:5-0929:8 on sourceforge & CPAN.

	* *: Cleanly distinguish between lexing, parsing and scanning.
	Fix skip-word without recursion and provide new variant for
	(sub)shell.

	* pod/makepp_compatibility.pod: Add 5.12.2 and more CPAN-tester
	results.

2010-10-18  Daniel Pfeiffer  <occitan@esperanto.org>

	* *: Rename ActionParser to Lexer and only refer to it by that
	name, to get rid of previous chaos.

	* Mpp/ActionParser/Specific.pm, Mpp/ActionParser/Legacy.pm:
	Deprecate useless subclasses that make it hard to get skip-word
	right.

	* Mpp/Rule.pm (scan_action): Remove unused func.
	(find_all_targets_dependencies): Fix missing return value (thx to
	thebamaman).

2010-09-29  Daniel Pfeiffer  <occitan@esperanto.org>

	* *: @Mpp::Text::N replaces individual numeric constants.

	* Mpp/FileOpt.pm (load_build_info_file):
	* makeppinfo: With -f, --force show outdated info.

2010-09-18  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/File.pm (path_file_info): On Win translate \\ownhost\c$ to
	c: to find same file under different names and reduce $ problems.

	* Mpp/Cmds.pm (c_cp): Respect $MAKEPP_LN_CP.
	(c_mkdir): Handle --mode like Unix variant.

2010-09-13  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/Text.pm (@common_opts): Also handle --help, getting it from
	__DATA__ everywhere.

	* Mpp.pm (perform): Don't duplicate error message at end.

	* Mpp/Makefile.pm (skip_makefile_until_else_or_endif): Statements
	like sub must end with space -- don't be fooled by a rule for
	sub-target.

	* makepp: Don't silently ignore gmake opts.  Instead
	$MAKEPP_IGNORE_OPTS allows controlling that, even -R is possible.

2010-09-03  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (build_dependencies_done): Don't remove a file that
	wasn't there when we last checked, warn if it appeared.

	* Mpp/Recursive.pm:
	* recursive_makepp: Fix protocol error on -j failure.

	* Mpp/Subs.pm (f_origin): Same order as expansion and 'global'.

	* Mpp/Makefile.pm (MAKEPP_VERSION): New variable.
	($if_re): Refactor repeated regexp.

	*: Move version (and beta counting, now same for all progs and
	like snapshot names) to Mpp::Text.  Short opt -V.

2010-08-22  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/ActionParser.pm (parse_rule): Handle Shell keywords
	directly, so we catch variable assignment before the command.

	* Mpp/Scanner/C.pm (xscan_file): Have an informative warning about
	ignoring #include MACRO.

	* Many small compatibility changes:
	Provide functions abspath, realpath, and, or.
	Function suffix returns the dot too.
	Always set MAKEFLAGS.
	Allow special variables to be empty outside of rules.
	Allow depending on a phony that has no rule.
	Allow action prefix +.

	Implement --no-print-directory.
	New option --last-chance-rules.
	Option --no-warn centrally swallows every warn().
	Keep option handlers after 1st getopts, any might come recursively.
	Accept all unimplemented POSIX/gmake options silently.

2010-07-16  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/File.pm (STAT_UID, is_executable): Remove unused functions.
	(lstat_array): Skip STAT_UID.
	(read_directory): Keep the stats of files that were there
	before. (Reported by Clint O.)

	* install.pl: Start move to new pod2html ids and some fixes.

	* pod/*.pod: Complete documentation of all options.  Generate more
	readable index using new pod2html ids for all pods where it makes
	sence.

	* makepp: Complete --help generated from pod/makepp_command.pod.

2010-06-01  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/Signature/c_compilation_md5.pm (md5sum_c_tokens): Find
	terminating ' to avoid missed rebuilds.

	* Mpp/Rule.pm (execute_command): fork/exec on Cygwin and MinGW
	like on Unix.

	* Mpp/CommandParser/Gcc.pm (xparse_command):
	* Mpp/Scanner.pm: Eliminate useless add_dependency.

	* Mpp/Text.pm (pattern_substitution): Optimize.

	* pod/makepp_compatibility.pod: Add 5.12.1 and more CPAN-tester
	results.

2010-04-22  Daniel Pfeiffer  <occitan@esperanto.org>

Snapshot makepp-1.50.100422.tgz, version 1.50-04221-02242-02094 on CPAN.

	* Mpp/Utils.pm (Mpp::Rewrite::cwd): Work around a 5.12.0 crash.

	* install.pl, pod/makepp_compatibility.pod: Mention 5.12 as working.

	* pod/makepp_command.pod: Mention --sandbox as a workaround for -j
	on native Win.

2010-02-25  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/Makefile.pm (parse_rule):
	* t/rule_include.test: Use :scanner none if :include file found.

	* makepp (parse_command_line): Order options alphabetically.

	* makepplog (instdir): Erstwhile workaround for 5.11 deprecation.

	* pod/makepp_rules.pod, pod/makepp_faq.pod: Update about new
	behaviour of :include.

	* pod/makepp_repositories.pod: Remove long outdated limitation of
	only parsing the 1st command of an action.  Explain about
	--dont-read.

	* pod/makepp_compatibility.pod: Add more tested versions.

2010-02-09  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/Makefile.pm (parse_rule):
	* makepp (build_target_done):
	* Mpp/FileOpt.pm (set_additional_dependencies): Handle :include of
	generated dependency file. (Suggested by Yoni Londner)
	(get_rule): Remove unneeded label colliding with a reserved word
	in Perl 5.11.

	* Mpp/Subs.pm (scanner_none):
	* Mpp/ActionParser.pm (parse_rule): Keep promise that scanner none
	shuts up.

	* Mpp/Rule.pm (sorted_dependencies): Use only NAME for same
	dependency given multiply.

	* t/rule_include.test: New test.

	* install.pl (highlight_keywords): Handle :include & :last_chance.

2009-12-27  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/Subs.pm (scanner_skip_word): Make it work per rule.
	(s_register_scanner): Make prefix "scanner_" optional and allow
	"-".

	* Mpp/Makefile.pm (parse_rule): Allow "-" in :scanner.

	* Mpp/ActionParser.pm (parse_rule): Suppress "action scanner not
	found" warning with skip-word.  Clearer suggestion.

	* Mpp/Rule.pm (parser): Simplify.

	* t/additional_tests/2009_12_27_skip_word_unix.test: New test.

	* pod/makepp_command.pod: Mention primacy of RootMakeppfile.

	* pod/makepp_rules.pod: Explain pitfall of :scanner.

	* pod/makepp_scanning.pod: Mention all command parsers explicitly.

	* pod/makepp_statements.pod (register_scanner): Mention changes.

2009-09-25  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp: Some (only Solaris?) perls hang when changing $0 before
	%ENV.

	* makeppclean (deletable):
	* Mpp/FileOpt.pm (load_build_info_file):
	* t/additional_tests/2004_12_14_clean.test: Fix regression about
	cleaning files modified outside of mpp.

	* Mpp/Makefile.pm (skip_makefile_until_else_or_endif)
	(_read_makefile_line_stripped_1):
	* t/builtins.test: Have exactly 1 space for continuation \, gmake
	compatibility issue reported by Adam McLaurin.

	* recursive_makepp: Optimize reading.

2009-07-16  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/Text.pm (pattern_substitution): Remove gmake incompatible
	restriction of needing % in patsubst replacement. (Thanks to Jason
	Kankiewicz.)

	* Mpp/Subs.pm (f_info): Provide missing function.
	(f_basename, f_dir, f_dir_noslash, f_join, f_notdir, f_sort)
	(f_subst, f_suffix): Optimize.

	* Mpp/Recursive.pm: Move traditional-rec end message here.

	* install.pl: Check for V5.6 before any compiler errors kick in.

2009-03-19  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp, makeppreplay: Use __DATA__, to fix --help.

	* Mpp.pm (log): Try unwritable logfile only once.

	* config.pl, install.pl: Provide $DESTDIR for Gentoo's indirect install.

	* t/run_tests.pl: Give hints when tests fail.

	* Mpp/Utils.pm: Rename package Rewrite to Mpp::Rewrite.

	* Mpp/FileOpt.pm (version): Don't put DOS newline into $VERSION if
	unpacked wrongly.

2009-02-21  Daniel Pfeiffer  <occitan@esperanto.org>

Snapshot makepp-1.50.090221.tgz, version 1.50-02212-021122-02107 on CPAN.

	* Mpp/Makefile.pm (expand_variable):
	* Mpp/Subs.pm (s_global): Rename package global to Mpp::global.

	* makeppgraph, makepplog, Mpp/Utils.pm, t/log_graph.test: Rename
	package Rewrite to Mpp::Rewrite.

	* install.pl: Don't put DOS newline into $VERSION if unpacked wrongly.

2009-02-12  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/File.pm: Export generously, saving a lot of qualifying all
	over.

2009-02-10  Daniel Pfeiffer  <occitan@esperanto.org>

	Huge change: all symbols in package main moved to package Mpp.
	Mpp/Frame.pm becomes Mpp.pm.

2009-02-09  Daniel Pfeiffer  <occitan@esperanto.org>

	Huge change: all modules moved to package Mpp.

2009-02-06  Daniel Pfeiffer  <occitan@esperanto.org>

	* BuildCheck/exact_match.pm: Move options for subclasses into
	singleton, saving silly wrappers.

	* BuildCheck/symlink.pm: Remove deprecated check.

2009-02-03  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm, Makesubs.pm: Cleanly separate these modules, and
	make the latter "our" based.

2009-01-31  Daniel Pfeiffer  <occitan@esperanto.org>

	* Mpp/Frame.pm: New module picks up many things that used to be in
	makepp.

	* makeppreplay: Use new module to handle signals properly and do
	logging.

	* Makecmds.pm (print): Respect --sync-lines in replacement (but
	not in input file).

2009-01-08  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp, Rule.pm, FileInfo_makepp.pm: Handle all variants of
	symlink changes.  With --rm-stale also rm files whose stale
	dependencies get rm`ed, or where it can't initially be decided if
	it's really stale.

	* BuildCheck/exact_match.pm: Extend arch-change explanation to any
	similar pairs.

	* makeppreplay (load_build_info_file): A single DEP_SIGS looks
	like a content_based sig, but isn't.

	* t/run_tests.pl: Add page break between makepp* invocations and
	backup log files.

	* t/additional_tests/2009_01_08_symlink.test: New test.

	* t/additional_tests/2004_04_01_stale_repository.test:
	* t/additional_tests/2004_11_02_repository_rmstale.test:
	* t/additional_tests/2004_03_31_stale.test: Test more stale files
	being removed.

	* pod/makepp_statements.pod: Document how to debug perl {}.

2008-12-21  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp: Fix -c.
	(perform): Concat current to previous error message and don't say
	"no update necessary" when we abort with an error.

	* stress-test.pl (StressTestUtils.pm): Make it a normal module so
	it can be loaded by mppr.

2008-12-14  Daniel Pfeiffer  <occitan@esperanto.org>

Snapshot makepp-1.50.081214.tgz, version 1.50-12149-11231-10151 on CPAN.

	* makeppreplay, FileInfo_makepp.pm, Makefile.pm, Rule.pm
	* Scanner.pm: Update mppr-modified or -recognized build infos, and
	mark them with new info RESCAN.

	* ActionParser.pm (parse_rule): Remember relative path for &cmd
	source.

	* Makesubs.pm (%scanners): Recognize all known Shells.

	* Makecmds.pm (&cp): New opt --symlink.

	* makepp (build_target_done): Calculate SORTED_DEPS and DEP_SIGS
	only once, because they are the same for all targets.

	* makeppinfo: Warn about missing files, but show build info even
	if sig mismatches.  In that case don't show SIGNATURE.

2008-11-23  Daniel Pfeiffer  <occitan@esperanto.org>

	* makeppreplay, t/makeppreplay.test: New very fast command and test.

	* makepp, FileInfo_makepp.pm, Makefile.pm, Rule.pm, Utils.pm:
	Support makeppreplay by differentiating via new constant MAKEPP.

	* FileInfo.pm: Don't leave testfile on Windows.

	* ActionParser.pm (parse_rule): Use simpler filename accessor.

	* makeppbuiltin, makeppgraph: Support Perl style -Mmod=arg,...

2008-11-02  Daniel Pfeiffer  <occitan@esperanto.org>

	* t/run_tests.pl: Default of running only basic tests works again.
	Each test now gets its own tdir, to avoid (Windows) problems where
	it couldn't be cleaned because it was randomly locked.
	($source_path): "our" for finding builtins.test.
	(-b, -k, -m, -n & -s): New options.

	* t/run_all.t: Path to makepp and -n moved to run_tests.pl.  '--'
	passes through options.

	* t/additional_tests/2006_02_18_makeppbuiltin.test: Adapt to
	run_tests change.

2008-10-15  Daniel Pfeiffer  <occitan@esperanto.org>

	Mention Strawberry Perl as working.

	* makepp: Rewrite on Win ActiveState only up to 5.8.6.

2008-09-28  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm (find_root_makefile_upwards): When importing a
	RootMakeppfile from a repository, check that this hadn't been done
	previously in a lower directory.

	* ActionParser.pm (parse_rule): Add dependency on user perl
	command in such a way that it will not occasionally be temporarily
	dropped.

	* makepp (build_dependencies_done): Fix evaluation order.

	* Glob.pm, FileInfo.pm (dir_stat_array):
	* FileInfo_makepp.pm (build_info_string): Optimize.

2008-09-02  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo.pm, FileInfo_makepp.pm, Makefile.pm, Makesubs.pm: Make
	EXISTS be undef/exists based, to save quite some memory.

	* Repository.pm (symlink): Move here from FileInfo.pm, as nobody
	else uses it.

2008-09-01  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp, FileInfo_makepp.pm, Rule.pm, makepplog
	* t/additional_tests/2004_04_01_stale_repository.test: Handle
	stale symlinks in, via or without repository cleanly.

	* BuildCheck/exact_match.pm: Use cheaper "unless".

	* makeppgraph (--up, --down): Accept these advertised options.

	* pod/makepp_functions.pod: Fix find-program doc to "not-found".

2008-08-19  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo_makepp.pm (exists_or_can_be_built_or_remove): Treat
	chmod 0 as inexstant, rather than internal error.

2008-08-09  Daniel Pfeiffer  <occitan@esperanto.org>

Snapshot makepp-1.50-cvs-080810.tgz, version 1.50-08093-08048-07303 on CPAN.

	* BuildCache.pm, FileInfo*.pm: Use POSIX::S_IS* instead of hard
	wired non portable constants.

	* pod/makepp_release_notes.pod, pod/makepp_compatibility.pod:
	Document z/OS as mostly working.

2008-08-04  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm, t/perl.test: Abolish the undocumented fancy
	renaming of only '.' to '_dot_'.

	* makepp (find_makepp_info, ..._register): Abolish wrapper useful
	only when FileInfo was object oriented.

	* Makesubs.pm: Directly get my $cwd, when that was all $makefile
	was used for.

	* *: Don't call unquote_split_on_whitespace in loops which can
	call both parts directly.  'my $x =' and '$x =~' is cheaper than
	'local $_ =' is cheaper than 'local *_ = \' is cheaper than 'for'.

	* t/builtins.test: Test &cut -p.

	* t/run_tests.pl: Use getopts and make installed makepp or mpp
	testable again.

	* t/run_all.t (-?, -S): New options.

2008-07-30  Daniel Pfeiffer  <occitan@esperanto.org>

	* ActionParser.pm (add_any_dependency_):
	* BuildCheck/exact_match.pm (build_check):
	* Glob.pm (zglob_fileinfo):
	* Makefile.pm (load):
	* Scanner.pm (find):
	* FileInfo.pm (file_info): Handle simple file names efficiently.
	(path_file_info): Renames old file_info.  No longer takes a ref --
	adapted the three calling places.  Handle C:\temp/foo on Windows
	and //bin/ls not as a server share.

	* FileInfo_makepp.pm (update_build_infos): Inline minimal file_info.

	* Makesubs.pm (f_*_filename): Optimize.

	* t/run_tests.pl (un_spar): Simplify.

	* pod/makepp_builtins.pod, t/builtins.test: Document and test -r0.

2008-07-19  Daniel Pfeiffer  <occitan@esperanto.org>

	* Repository.pm: Revert code to package FileInfo, because it uses
	it so much, and because some symbols hadn't been qualified.

	* FileInfo_makepp.pm (version): Give same output as installed beta.

	* config.pl, t/: Renames makepp_tests for conformance with Perl
	test frameworks.

	* t/run_all.t: Send mail with details only when run by CPAN testers.

	* pod/makepp_compatibility.pod: Add findings of CPAN testers.

	* t/wildcard_repository.test, pod/makepp_repositories.pod: chmod 0
	masking doesn't work for user root.

	* t/additional_tests/2006_02_18_makeppbuiltin.test: Be more robust
	about finding base test.

	* t/log_graph.test: Rewriting rules need a minimum directory depth.

	* t/spar, t/additional_tests/spar_unix.test: Give better warnings.

	* install.pl, t/run_tests.pl, makepp: Move rewriting for broken
	perls to uninstalled makepp, to be sure it gets performed before
	running.

2008-07-09  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makesubs.pm (scanner_c_compilation, scanner_gcc_compilation):
	* Makefile.pm (load):
	* ActionParser.pm (find_command_parser):
	* CommandParser/Gcc.pm (new_no_gcc, xset_preproc_vars):
	* CommandParser/Esqlc.pm (new):
	* CommandParser/Vcs.pm (xparse_command):
	Handle difference between gcc and others via regexp, due to the
	many names (sometimes including version numbers) gcc can take.
	And only put deviating entries in per-Makefile scanner hash.

	* Makefile.PL, t/run_all.t: New files.

2008-06-03  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makesubs.pm (f_origin): Simplify.
	(%perl_unfriendly_symbols):
	* Makefile.pm (expand_variable): Inline $(*F) et al, to save a few
	subs.  Allow value to be a string.

	* CommandParser/Esqlc.pm (parse_arg): Also depend on config file.

	* ActionParser.pm, CommandParser.pm, FileInfo_makepp.pm, Rule.pm
	* makepp: Don't use list slices, as they are even more expensive
	than modifying @_.

2008-06-02 Clemens Hintze <c.hintze@gmx.net>

	* Makesubs.pm (f_call): Add new make function with similar
	functionality as in GNU Make.  One may use this function to expand
	a variable's contents as a macro.

	* t/variable_expansion.test (misc_gnu_make_functions):
	Add tests for new builtin function 'f_call'.

	* pod/makepp_functions.pod: Describe the new builtin function
	'f_call'.

	* pod/makepp_incompatibilities.pod: Remove the reference to
	$(call) in the incompatibilities to GNU Make.

	* install.pl: Add 'call' as keyword to be highlighted in html doc.

2008-06-01  Daniel Pfeiffer  <occitan@esperanto.org>

	* t/additional_tests/2004_04_01_stale_repository.test:
	* FileInfo_makepp.pm (load_build_info_file):
	* pod/makepp_repositories.pod: Remove logic whereby a file stayed
	rep based without being respecified as such.  This was bad because
	as the rep evolved, the build tree would stay based only on what
	remains of the old part, not noticing new files.  Also it was
	badly implemented, because it would not notice if the file should
	now come from a higher priority rep.

	* Repository.pm, RecursiveMake.pm, FileInfo_makepp.pm, Makefile.pm
	* Makesubs.pm, install.pl, Rule.pm, makepp: Move all functions
	needed only for repositories or recursive make to separate
	modules.

	* t/run_tests.pl, makepp (makepprc): Look for and load file .makepprc.
	(usage): Inline it, putting text into DATA section to save memory.

	* Makecmds.pm (frame):
	* TextSubs.pm (getopts): Optimize and handle -A only centrally.

	* BuildCache.pm:
	* FileInfo.pm (STAT_VECTOR): Eliminate const which wasn't getting
	inlined.
	(STAT_GID, is_writable): Eliminate const which was only used for a
	single dir.
	(STAT_DEV, lstat_array): Store it only on dirs, as it never got
	used for files.

	* CommandParser/Gcc.pm (xparse_command): Repair -idirafter.

	* recursive_makepp: Don't make protocol error give a perl warning.

2008-05-24  Daniel Pfeiffer  <occitan@esperanto.org>

	* Rule.pm (split_actions, execute_command):
	* ActionParser.pm (parse_rule): Change split_actions again for
	even less string copying.

	* makepp (build_dependencies_done, build_target_done):
	* Makesubs.pm (f_MAKE): Don't match every action for
	recursive_makepp up to three times, unless we actually expanded
	$(MAKE).

	* **/* (FileInfo::case_sensitive_filenames): Constant replaces var
	for saving very many run-time checks, overridable by environment
	var MAKEPP_CASE_SENSITIVE_FILENAMES.

	* t/additional_tests/2007_08_15_no_extra_fork_unix.test:
	Ascertain that we exec even if an empty expansion follows.

2008-05-21  Daniel Pfeiffer  <occitan@esperanto.org>

	* Rule.pm (split_actions): Change return value for less copying.
	(execute_command): Less copying and adapt to split_actions.

	* ActionParser.pm (parse_rule): Less copying and adapt to
	split_actions.

	* TextSubs.pm (::PERL): Default to $^X.

	* install.pl: Use standard ::PERL.
	(substitute_file): Copy to mpp* where linking fails.  Create .bat
	wrappers on MSWin.

	* config.pl: Introduce short opts, protect $ in Makefile and
	eliminate 5.6 prompts to make it testable.

	* t/additional_tests/2008_05_21_install.test: New.

	* pod/makepp_speedup.pod (--gullible): Clarify better.

	* pod/makepp_command.pod: Give examples what accidents a
	RootMakeppfile and the new non-nesting policy prevents.

2008-05-17  Daniel Pfeiffer  <occitan@esperanto.org>

Snapshot makepp-1.50-cvs-080517.tgz, version 1.50-051710-05101-05084 on CPAN.

	* Rule.pm (exec_or_die, execute_command):
	* MakeEvent.pm (start):
	* makepp (END, @close_fhs): Also put in STD* for correct file
	handling with _exit.  Flush before fork in 5.6.

	* Makesubs.pm (f_MAKE): Allow recursion on Cygwin.

	* t/recursive_make.test: Rename without '_unix'.

	* Makecmds.pm (c_template): Rewrite so as to not handle @@ before
	earlier @ on same line.

	* t/run_tests.pl: Improve diagnostics.
	(no_md5): New constant.
	(system_intabort): Optional argument to die with proper message.
	(makepp): Make it interruptible.
	(slow_rmtree): New hopefully safer function.

	* TextSubs.pm (::is_perl_5_6): New constant.
	(::is_windows): Centrally define it here.

	* FileInfo.pm, makeppclean, makeppgraph, makeppinfo, makepplog
	* Utils.pm: Ensure that HOME is set centrally in FileInfo.pm.

2008-05-10  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (perform):
	* Makesubs.pm (f_mktemp):
	* MakeEvent.pm (start): Also fork on Cygwin and MinGW, but not Win
	ActiveState.  Cleanup mktemp files which only subprocess knows
	about.

	* t/builtins.test: Use RootMakeppfile to be sure where
	install logs go.

	* t/parallel.test: Rename without '_unix'.

	* **/*: Win fixes.

2008-05-08  Daniel Pfeiffer  <occitan@esperanto.org>

	* t/run_tests.pl: Change link checking such that even
	Win ActiveState can test build cache.  Skip Shell scripted tests
	where we don't have a Shell.  Abort if aaasimple fails.  Report
	more single letter skip reasons when dotting.

	* FileInfo.pm ($stat_exe_separate): New var for Win.

	* Makesubs.pm (f_find_program): Be smart about appending .exe.

	* makepp_builtin_rules.mk: Change the Windows xyz - xyz.exe magic,
	so you can put deps on xyz.  This still doesn't support an install
	target that picks up xyz.

	* * (is_windows): Differentiate ActiveState as 1 with a Shell,
	else as 2.

	* **/*: Lots of little fixes to support Cygwin and MinGW MSYS
	well, and pass most tests with Win ActiveState.

2008-04-26  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makesubs.pm, Utils.pm:
	* Makefile.pm (_truthval):
	* ActionParser.pm (find_command_parser):
	* makepp: Ensure that HOME is set.  Enhance is_windows: negative
	means Unix-like (Cygwin, MinGW MSYS), positive means Shell- and
	coreutils-less (ActiveState).

	* FileInfo.pm (is_writable): Revert to immediately deleting
	testfile.

	* Makecmds.pm (run_forked): Eliminate obsolete function.

2008-04-18  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepplog (instdir),
	* makepp_builtin_rules.mk,
	* ActionParser.pm (find_command_parser),
	* FileInfo.pm (file_info),
	* t/run_tests.pl (makeppextra.pm),
	* t/**/*.test: Adapt to native Windows.

	* Makesubs.pm (%Makesubs::scanners): Add dietlibc and .exe forms.
	(f_find_program): Also do full path from relative path and return
	.exe iff full path requested.
	(%perl_unfriendly_symbols): $/ new variable.

	* FileInfo_makepp.pm (_valid_alt_versions): Make
	ALTERNATE_VERSIONS be exists() based.

	* makepp (build_dependencies_done),
	* Rule.pm (execute): Remove redundant call to may_have_changed.

2008-04-15  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (flush_log): Don't autovivify $logfh:
	(perform): Clean up end messages.

	* Makefile.pm (_truthval): Less string manipulations and always be
	case sensitive on ifsys.
	(load):
	* pod/makepp_command.pod: Check for nested RootMakeppfiles and
	explain why.

	* Rule.pm (execute_command): Remove redundant flush.

	* Makesubs.pm (f_find_program):
	* t/additional_tests/2003_10_11_idash.test:
	* t/md5.test: Fix executable dependency on Win.

	* makepp_builtin_rules.mk:
	* t/log_graph.test: Guard against both Win compilers
	being 'cl' (which gave 'ifeq cl cl'), and don't pass it the
	deprecated -o option.  Fix renamed percent_subdirs.

	* t/changed_inputs.test, t/verilog.test:
	Port to native Win.

	* t/run_tests.pl: Handle PATH in native Win syntax.

2008-02-24  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (propagate_interrupts): Drop unused sub.
	(build): Fix dont_build handling, so it gives a warning when an
	inexistent file was specified, for which we might have found out
	later it's phony.
	(load_repository_recurse): Only loop once, and don't recurse into
	single files.

	* FileInfo_makepp.pm (exists_or_can_be_built),
	* Rule.pm (load_scaninfo): Check if we have ALTERNATE_VERSIONS.

	* t/additional_tests/2004_03_26_exit_status.test,
	* Makesubs.pm (f_shell): Like gmake, don't fail if cmd fails.

	* pod/makepp_rules.pod (Special characters): Clarify quoting.

2008-01-06  Daniel Pfeiffer  <occitan@esperanto.org>

	* pod/makepp_compatibility.pod: Add 5.10.0 tests.

	* FileInfo_makepp.pm (get_from_rep): Count rep_hits only when
	actually fetched.

	* Makesubs.pm (%scanners): Add Parasoft Insure++.

	* install.pl: Also install new makeppinfo.pod.

	* makepp: Remove autoload comment, which can't work due to
	my-vars.
	(log): Don't start subprocess for --no-log.

	* makeppgraph, t/log_graph.test: Make dot-nodes almost
	opaque, rather than almost transparent.

	* Utils.pm: Use the long command name for messages and
	$MAKEPP*FLAGS.

2007-12-14  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp ($progname): Set to constant 'makepp'.
	(%automake_garbage): Make it exists() based.
	(build_dependencies_done): Log UP_TO_DATE => $all_targets.
	(build_target_done): Don't swallow message if $implicit_phony.
	(perform): Don't say "targets failed" as last words, when there
	were none.  Also mention rep and BC imports, to keep superficial
	people from wondering.

	* FileInfo_makepp.pm (get_from_rep): New name for
	move_or_link_target, which neither moved, nor was restricted to
	targets.
	(load_build_info_file): Unlink corrupt build info, or it can stay
	around for ever.

	* Makecmds.pm (print): Use much faster syswrite.
	(&cp, &mv, &ln): Assume cwd as dest, if only one arg given, as
	does Unix ln.

	* Rule.pm (build_cache): Small optimization.

	* makeppgraph (--graphviz): Make nodes translucent and put edges
	behind.
	(--html): New format.

	* makepplog (N_REP_HITS): New key.

2007-10-22  Daniel Pfeiffer  <occitan@esperanto.org>

	* makeppinfo (--traverse): Don't recurse unless given twice.

	* Glob.pm (wildcard_action_shared): Eliminate to reduce stack
	manipulation.

	* FileInfo.pm (lstat_array): Optimize.
	(is_symbolic_link, stat_array): Call lstat_array only if needed.

	* pod/makepp_faq.pod (unnecessary recreation): Extend point.

2007-10-18  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo.pm (file_info): Properly dereference dirs, preventing a
	chain of links giving an absolute_filename as though it was root.
	Reproducible in real build, but not narrowed down, so no test case.

	* makepplog (--keys): Allow ^ instead of ! as some shells swallow that.

	* makeppinfo (--keys, --quiet, --traverse): New opts.

2007-10-06  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm (c_cat): Ensure sync lines start at bol.

2007-09-27  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (load_repository): Die if rep not found.

	* makepplog (-t, --tabulate): New option.

	* install.pl, makepp* (@BASEVERSION@): New var and complete doc.

	* Makecmds.pm (print, frame):
	* t/builtins.test: Ensure sync lines start at bol.

2007-09-18  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp: Also count phonies without action (the usual case),
	output them in N_FILES and output a short statistic if something
	was built, as a final acknowledgement (all colleagues want this ;-).

	* makepplog, **.test: Also output phonies in N_FILES.

	* Scanner.pm (find):
	* BuildCheck/exact_match.pm (build_check): Protect against
	autovivifying DIRCONTENTS.

	* Makesubs.pm (f_find_program): Handle .exe for ActiveState on
	Win.

2007-09-13  Daniel Pfeiffer  <occitan@esperanto.org>

	* CommandParser/Gcc.pm (%info_string): Also remember libs.

	* Rule.pm (load_scaninfo_single): Don't turn on should_find for
	libs behind the back of the scanner.

	* makepplog (FILE): Fix last extension to not accumulate all
	CACHED_DEPs.

	* pod/makepp_variables.pod: Document a few makepp_* vars.

2007-09-07  Daniel Pfeiffer  <occitan@esperanto.org>

	* CommandParser/Gcc.pm, CommandParser/Vcs.pm, Makesubs.pm
	(@system_include_dirs): List of strings, instead of converting
	back on each access.
	(@system_lib_dirs): New var to prevent newly appearing warning.

	* makepplog (FILE): Merge the often numerous adjacent CACHED_DEP
	messages into one.

	* Makefile.pm (assign): Handle &= like += eliminating an error
	through inconsistent var handling.

	* BuildCacheControl.pm (group): Workaround for a bug in some
	Solaris 5.6.1 versions.

2007-09-05  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (build): Print and return an error when a dont-build
	doesn't exist.
	(build_target_done): Check new variable $(makepp_require_phony) to
	see whether to allow implicit phonyness.  This variable should be
	on by default, to prevent broken dependency chains, but that would
	break backward compatibility with sloppy makefiles.

	* t/additional_tests/2004_03_03_minusk.test: Check that
	we fail when --dont-build doesn't exist and optionally when a
	non-phony file didn't appear.

	* Rule.pm (execute_command): Replace $File::maybe_open with
	$unsafe, and also use it to cd back if more actions are performed.

	* Makecmds.pm: Use $Rule::unsafe.

	* CommandParser/Gcc.pm (xparse_command): Also understand .obj and .dll.

	* t/additional_tests/2007_05_15_autoload.test: Don't
	rely on Shell having a source command.

2007-09-04  Anders Johnson  <ajohnson@nvidia.com>

	* CommandParser.pm, makepp, t/c_compilation.test:
	* pod/makepp_command.pod:
	Add --no-path-executable-dependencies.

	* FileInfo.pm, t/additional_tests/2003_11_25_wild.test:
	Fixed a couple of places in which the name of $root was
	misrepresented as '//' instead of '/'.

	* Makefile.pm, t/conditionals.test:
	* pod/makepp_statements.pod:
	Add iftrue statement.

	* Rule.pm:  Issue warnings for missing include files when replaying
	cached scanner info.  (The current heuristic for determining when to
	do so is less than ideal.)

	* t/additional_tests/2007_08_15_no_extra_fork_unix.test:
	Resurrect SLEEP option, and update a stale comment.

2007-08-23  Daniel Pfeiffer  <occitan@esperanto.org> (checked in 2007-09-05)

	* t/additional_tests/2004_02_19_repository_change.test:
	* t/additional_tests/2004_03_24_scanner_c_lib.test:
	Dry run when testing relevance.

	* t/additional_tests/2007_01_31_build_check_ignore_action.test:
	Don't rely on /usr/bin/perl being available.

	* t/additional_tests/2007_08_15_no_extra_fork_unix.test:
	Don't start Shell command with metacharacters, as some shells will
	implicitly exec it, making ppid be that of makepp itself.

	* t/additional_tests/2007_02_02_md5_bchk_phony_dep.test:
	Rename from 2007_02_02_build_check_phony_dep.test for md5
	skipping.

2007-08-22  Daniel Pfeiffer  <occitan@esperanto.org>

	* makeppgraph (-p, --plain, -s, --separate-directions, -t)
	(--text): New options and format.

	* t/log_graph.test: Test new options and text format.

	* t/additional_tests/2004_03_12_condscan.test: Handle
	.obj and integrate stucturally similar 2006_03_21_smartscan.test
	and 2006_03_23_c_comments.test.

2007-08-22  David Wojtowicz  <wojtow@users.sourceforge.net>

	* Makefile.pm (parse_rule): Understand pseudo dot targets like
	.PHONY on case insensitive filesys.

	* makepp (perform): Pass 2 vars by ref to getopts making options
	work again.

2007-08-20  Anders Johnson  <ajohnson@nvidia.com>

	* FileInfo_makepp.pm:
	* t/additional_tests/2007_08_20_phony_include.test:
	Use 'exists ...{IS_PHONY}' instead of '...{IS_PHONY}' for all
	of the 2007-08-16 changes.

2007-08-16  Anders Johnson  <ajohnson@nvidia.com>

	* BuildCache.pm (cache_file), makepplog:
	Add cache filename to log messages for populating the cache.

	* FileInfo_makepp.pm (get_rule), Makefile.pm (load), Makesubs.pm:
	* makepplog, pod/makepp_statements.pod:
	* t/additional_tests/2007_05_15_autoload.test:
	Add s_autoload.

	* CommandParser.pm (parse_command), Makesubs.pm (f_find_program):
	Don't add executable dependencies for built-ins, and don't consider
	autoloads or last chance rules for executables in the PATH.

	* Makesubs.pm (f_first_available, f_foreach):
	Use the directory of the current makefile, which is not necessarily
	the same as the current directory.  Die instead of leaving a
	literal `$(foreach)' to be interpolated later, because that can
	cause nasty problems if it isn't.

	* FileInfo_makepp.pm (move_or_link_target, update_build_infos):
	* makepp, makepplog, pod/makepp_command.pod:
	* t/additional_tests/2003_12_05_phony_repository.test:
	* t/additional_tests/2007_01_31_build_check_ignore_action.test:
	Add --symlink-in-repository-as-file and --virtual-sandbox.
	Keep track of build cache hits.  Never suppress `Imported... from
	build cache', because that makes it too mysterious.

	* FileInfo_makepp.pm:
	* t/additional_tests/2007_05_09_dont_build.test:
	Don't keep searching for rules that have already been built.
	Don't consider a phony target as a buildable file, even if there
	is a rule to build it.  Die if a source file is also a phony
	target, because there is no safe action in that case.
	Shortcut set_rule when the file is set for dont-build.
	Phony targets can be stale too.  Allow the removal of stale
	repository links outside the sandbox (possibly risky, but
	better than the alternative).

	* Makefile.pm (load, assign, parse_assignment, parse_rule):
	* t/last_chance.test:
	Die if the attempt to build a makefile fails.  A target-specific
	assignment has the scope of the current expression and its
	sub-expressions, but *not* of any other espressions that happen
	to be evaluated in the process.  Verify that a last chance target
	matches at least one of its patterns.

	* Rule.pm (exec_or_die):
	* t/additional_tests/2007_08_15_no_extra_fork_unix.test:
	Don't do an extra fork on the last action unless there is something
	to do afterwards.

	* Scanner.pm (add_include_suffix):
	Avoid inadvertent modification of multiple suffix lists through a
	reference (which is now possible because suffix lists are cached
	and shared).

	* CommandParser/Vcs.pm:
	Fix handling of -v and -y to match VCS.

	* TextSubs.pm (is_object_or_library_name, getopts):
	* pod/makepp_command.pod:
	Shared library name need not include a version number.  Add
	--argsfile option.

	* BuildCheck/exact_match.pm (build_check):
	* t/additional_tests/2007_02_02_build_check_phony_dep.test:
	Suppress a warning.  Update a comment.

2007-08-02  Daniel Pfeiffer  <occitan@esperanto.org>

	* makeppgraph (@file_attr): Also highlight .obj and .dll.

	* t/stress_tests/build_cache_concurrent.test: Respect
	given time, clean as long as there are children, make forcing
	bc-copies controllable, don't create cache if one is specified and
	make cleaning optional so you can start this test multiply with a
	grouped cache.

	* t/additional_tests/*.test: Adapt to Windows native
	compilers.

	* t/log_graph.test: Integrate Windows variants by
	rewriting output rather than having a separate copy.

2007-07-28  Daniel Pfeiffer  <occitan@esperanto.org>

Snapshot makepp-1.50-cvs-070728.tgz, version 1.50-07281-07203-07172 on CPAN.

	* t/stress_tests/build_cache_concurrent.test: Only
	optionally fail on a collision, as it can take seconds to happen
	on a single processor, beyond default duration.  Allow starting
	any number of concurrent makepps, for huge stress.

	* t/build_cache.test: Create a flat build cache and
	look for the files via Shell patterns, as find fails on
	Vista (probably picked up a useless non-Cygwin find).

	* t/md5.test: Check if it created .obj so it can also
	work with a Windows native compiler.

	* BuildCacheControl.pm (c_stats): New command.

	* pod/makepp_build_cache.pod: Remove deterring warning, since
	build caches are well tested in the meanwhile.  Document stats.

	* makepplog: Don't hang if makepp got killed and produced a truncated log file.
	(-f, --follow): New option.

	* Dump.pm: Use standard suppression of import mechanism.  Offer
	more rewriting and options.

2007-07-20  Daniel Pfeiffer  <occitan@esperanto.org>

	* MakeEvent.pm ($child_exited): Use cheaper undef for false.
	(process_finished): Mark failed non-CODE waiters as finished too,
	else they can hang.
	(wait_for): Simplify by using only one var, and maybe calling
	reaper directly.

	* makepp (perform): Don't sleep, event_loop does it for us.

	* FileInfo.pm (absolute_filename): Don't output root as empty.
	(file_info): Handle //server/share directly, instead of
	complicating the loop.

2007-07-17  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo_makepp.pm (parse_build_info_file): Be a little less
	strict about what is a corrupt file, making this a lot simpler.
	(NEEDS_BUILD_UPDATE): Turn it into an exists flag.
	(build_info_fname): Don't call absolute_filename.
	(load_build_info_file): Unwind the convoluted conditions, which
	allows to checks less.
	(exists_or_can_be_built_norecurse, move_or_link_target): Cache
	BUILD_INFO so we don't load it twice.

	* makepp (build): Supply the dependency directly as the potential
	error value.

	* MakeEvent.pm (when_done): ERROR may be the status value.
	(start): Don't actually call CONST0.

	* Signature/c_compilation_md5.pm (md5sum_c_tokens): Parse strings
	more cheaply.

2007-07-16  Daniel Pfeiffer  <occitan@esperanto.org>

	* TextSubs.pm (split_on_whitespace): Implement directly, instead
	of dragging args through a wrapper.
	(join_with_protection): Copy only strings we modify.

	* MakeEvent.pm (MakeEvent::Process::new): Since @pending_processes
	are ours, call start as a function, not via method lookup.
	(process_reaper): Pickup all defuncts as early as possible (they
	could hang around for minutes), then spawn new processes if
	available, and only then do internal chores.

	* FileInfo.pm: Rename SHORTEST_FULLNAME to FULLNAME to reflect
	recent change of semantics.
	(reset_shortest_fullname, traverse): Eliminate unused functions.

	* CommandParser/Esqlc.pm (parse_arg): Rename SHORTEST_FULLNAME to
	FULLNAME.  Call dirinfo, instead of assuming it's already cached
	its value.

	* makepp (log): Rename SHORTEST_FULLNAME to FULLNAME.

	* Rule.pm (print_build_cwd): Optimize by initializing
	last_build_cwd and by knowing that we only leave dirs we have
	entered, so FULLNAME is set.
	(execute): Flush before copy.

2007-07-15  Daniel Pfeiffer  <occitan@esperanto.org>

	* MakeEvent.pm (*::start): Fix a MAJOR bug (as old as makepp's cvs
	history), whereby makepp -kj<n> would ignore failures if a later
	dependency of the same target succeeded.  This would cause
	whatever output was there after a failure to be picked up as
	valid.
	(*): Pass an extra argument to start, to prevent the above fix,
	when juggling attributes to get the error handler run.
	(when_done): Make the order of arguments compulsory and allow only
	one function, which is how this was used anyway.  This eliminates
	much copying and complex logic.
	(process_reaper): Don't pass argument to POSIX constant.

	* makepp (build): Don't go through when_done for undef handles.
	(perform): Don't butcher the last n-1 processes in makepp -kj<n>.
	This prevents the annoying [signal 15] messages after an error,
	intead building all that can be.  Turns out this also prevents a
	race (introduced 04-12-18) where, when a process came back and
	made another startable, just as makepp was finishing,
	critical_sections would be increased again.  This would either
	cause an endless loop or even make makepp uninterruptible.
	(print_profile): Eliminate msg stuff, now handled by caller.

	* Rule.pm (execute): Use File::Copy instead of printing line by
	line.
	(exec_or_die, execute_command): Don't copy cmd around, just for
	profiling.
	(find_all_targets_dependencies): Keep sub constant, by not using
	closure.

	* t/parallel_unix.test (z): New test case that -kj2 is
	now reliable.

2007-07-04  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo.pm (read_directory, unlink): Also delete LSTAT and
	other info about actual file, as otherwise lstat_array won't set
	EXISTS and file_exists will fail even though the file had been
	lstatted successfully.
	(relative_filename): Cache relative pathes between directories.

	* BuildCheck/exact_match.pm: Copy only those parameters that
	actually get used.

	* t/run_tests.pl: Fix int in FileInfo too for HP/UX
	64bits.

2007-07-02  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo.pm (file_info): Let split remove trailing slashes.

	* BuildCheck/exact_match.pm (build_check): Check if file is in
	build_cwd, rather than calling file_info.
	(build_cache_key): Don't copy command twice.  As we append NAME to
	the key anyway, store relative path of only the dir, and only if
	not '.'.

	* Scanner.pm (find): Check if file is in base, rather than calling
	file_info.  Flatten if-nesting a bit.

2007-06-29  Daniel Pfeiffer  <occitan@esperanto.org>

	* Glob.pm (wild_to_regex, wildcard_action_shared): Anchor
	wildcards only at the beginning and/or (typically) at the end as
	needed and remember whether they are to span multiple directories.
	That way a typical wildcard becomes \.c$ rather than the old
	expensive ^[^/]+\.c$

	* FileInfo.pm (dereference): Eliminate the flaky heuristic whereby
	the shorter of the two names applies to both files.  For one thing
	this could mean that makepp uses a different name as it discovers
	a shorter one.  For another, if the build dir name was shorter
	than the repository name, when the repository file changed makepp
	would recreate the link as a cycle onto itself.	
	This was documented as giving varying automounted directories a
	consistent name -- if there is a need for such a feature, it
	should be made reliable through explicit aliasing.
	(file_info): Optimize through less string copying.
	(publish): Optimize by not, just for anchoring, interpolating
	wildcard regexp into another one.

	* FileInfo_makepp.pm (get_rule): Optimize by not, just for
	anchoring, interpolating wildcard regexp into another one.

	* BuildCacheControl.pm (c_clean): Don't short circuit $found loop,
	so that chown or &$delete occur for all group members.

2007-06-16  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm (parse_rule): Use PATTERN_RULES instead of
	PATTERN_LEVEL to keep track of which rules were used to produce
	present file.  This allows pattern rule chains of any
	length.  (Bug #1738675 reported by Jeff Smith.)

	* FileInfo_makepp.pm (set_rule): Flatten the nesting of ifs.  Use
	PATTERN_RULES.

	* Glob.pm (wildcard_action_shared): Optimize away intermediate copy.

	* t/pattern_rule.test: Test that we can have long
	chains of pattern rules, but that the same rule doesn't get
	applied twice.

	* makepp, TextSubs.pm (format_exec_args): As a few
	systems (including Solaris) still have a Posix uncompliant Bourne
	Shell under /bin/sh, look for XPG4 Shell.

	* pod/makepp_variables.pod (SHELL): Document it and its various
	default values.

2007-06-12  Daniel Pfeiffer  <occitan@esperanto.org>

	* BuildCacheControl.pm (c_clean): New options --newgrp and
	--symlink-check.  Wipe build info with no member.  Reset atime
	only if we read the file, as this messes up ctime.
	(c_show): Don't complain about --sort when --verbose.

	* pod/makepp_build_cache.pod: Document new clean options.

	* TextSubs.pm (format_exec_args): Allow negating a command with
	"!".

	* t/conditionals.test (Makeppfile): Test that ! is
	executable.

	* Makecmds.pm (frame): Die on unreadable input files.
	(print): Repeat #line when outputting a multiline text from same
	source line.

2007-06-07  Daniel Pfeiffer  <occitan@esperanto.org>

	* BuildCacheControl.pm: Document new base functions.
	(groupfind): Slight optimization.
	(c_clean): New option -i, --build-info-check, no longer performed
	automatically, as it's fairly expensive.  Remove option warning
	unreachable since -M was introduced (2006-06-24).  Make build info
	signature match member mtime again.

	* BuildCache.pm (cache_file): Move mkdir incoming to mppbcc
	create.  For copies try to retain mtime, from mppbcc clean also
	atime.

	* BuildCheck/exact_match.pm (build_cache_key): Again change /
	substitute from option like `-' to `%'.

2007-06-02  Daniel Pfeiffer  <occitan@esperanto.org>

	* BuildCacheControl.pm (c_clean): Create inter BC links for build
	info files with .mk suffix in every case, making the signature
	match again.
	(c_show): New option -s, --sort.  By default sort by name and age.
	Add number of copies and symlinks for grouped BCs.

	* pod/makepp_build_cache.pod (show): Describe new stuff
	thoroughly.

2007-05-29  Daniel Pfeiffer  <occitan@esperanto.org>

	* BuildCacheControl.pm (c_clean): Copy fields to new files, making
	chown work again, and preventing warnings.
	(c_create): Test symlink with filenames that can't exist, not even
	when forcing recreation of an existing bc.

	* t/additional_tests/2006_09_20_build_cache_none.test:
	Test grouped bc.

	* Makecmds.pm: Add -S, --synclines option to all filters except
	sort.
	(print): New function.
	(c_cut): INCOMPATIBLE CHANGES: Adapt --lines to count from 1, as
	Perl and #line directives do.  Fix lines to count per input file.
	Change --matching and introduce -s, --only-delimited, with Posixly
	correct default behaviour when not given.

	* Makefile.pm (read_makefile): Support &preprocess -S.

	* BuildCheck/exact_match.pm (build_cache_key): Change / substitute
	from file system atypical `=' (which some ls jaggedly show as
	`\=') to `-'.

	* makepp (log): With mpp -v, don't try to start inexistent mpplog.

	* pod/makepp_sandboxes.pod: Remove assertion that filesystem root
	is marked --dont-build, as it doesn't seem to be true.

2007-05-25  Daniel Pfeiffer  <occitan@esperanto.org>

	* makeppclean (deletable): Guard against stale inter-build-cache
	symlinks.

	* BuildCacheControl.pm: MAJOR REWRITE to support BC groups by way
	of inter-BC symlinks on file systems which allow hard linking to
	them and copies elsewhere.
	(c_show): New option --pattern.  New format vaguely like ls -l.
	Old format now requires --verbose.

	* BuildCache.pm (new): Move creation to BuildCacheControl, and
	allow that to load an augmented option file.
	($options_file): Renames $build_cache_options_file to avoid
	redundant package name.
	(cache_file): Use precalculated MKDIR_OPT.
	(lookup_file): Don't copy return value around.
	(copy_from_cache): Use predetermined DEV.  Guard against undef
	from stale intra-group symlinks.

	* makepp (print_error): Use ::log to guard against early
	invocations, before the fh is set up.

	* TextSubs.pm (getopts): Don't issue same short opt verbose
	message twice.

	* t/additional_tests/2006_09_20_build_cache_none.test:
	Add dummy build_cache_options.pl to make it a valid BC.

	* t/run_tests.pl (hpux): Also fix BuildCacheControl.pm.

	* pod/makepp_build_cache.pod, pod/makepp_release_notes.pod:
	Document build cache grouping.

2007-05-17  Daniel Pfeiffer  <occitan@esperanto.org>

	* CommandParser/Basic.pm, ActionParser.pm, Makesubs.pm:
	* CommandParser.pm: Eliminate CommandParser::Basic, the only
	purpose of which was to mimic the base class.

	* install.pl: Eliminate CommandParser::Basic, the only purpose of
	which was to mimic the base class.  Highlight mpp* and upcase faq.

	* pod/makepp_faq.pod: Add 2 questions.

	* pod/makepp.pod, pod/makepp_command.pod: Mention mpp.

2007-05-14  Daniel Pfeiffer  <occitan@esperanto.org>

	* makeppinfo: New build info reader.

	* Makesubs.pm (f_find_program): Optionally return the path found.

	* CommandParser.pm ($ignore_exe): New variable to restore
	unreliable behaviour.
	(parse_command, add_executable_dependency): Fix reliability hole
	by also depending on the executable.  This is not the right place
	to do it, because it only notices a path change when refiguring
	this out for other reasons.  But at least it will notice when a
	new version got installed over the old one.

	* makepp: Use undef for false in getopts.
	(parse_command_line): Fix last change to --dump-makefile.

	* Makefile.pm (load): Adapt to --dump-makefile change.
	(parse_rule): Eliminate warning, which contradicted make
	compatibility.
	(_read_makefile_line_stripped_1): Fix comment in $((...)) in a
	line pushed back by previous rule.

	* Makecmds.pm: Use undef for false in getopts.

	* makeppbuiltin (getopts_help): Tolerate undef.

	* t/extra_dependencies.test: Test comment in $((...))
	in a line pushed back by previous rule.

	* t/log_graph.test (makefile): Use
	$CommandParser::ignore_exe, because otherwise the log file would
	vary.

	* install.pl: Install makepp_faq and abbrevs consisting of 'mpp'
	plus the first letter of every following word, e.g. 'mppc' for
	'makeppclean'.

	* pod/makepp_faq.pod: New (still modest) doc.

2007-05-11  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm (c_template): Match @{...}@ minimally and simplify
	slightly.

	* Rule.pm (execute): Don't create two almost identical closures.

	* install.pl: Add keywords to web pages.

	* t/builtins.test (&chmod): Exclude it only where it
	doesn't work.

	* makepplog (-?, --help): New option.

2007-05-06  Daniel Pfeiffer  <occitan@esperanto.org>

Snapshot makepp-1.50-cvs-070506.tgz, version 1.50-05065-04272-04245 on CPAN.

	* Signature/shared_object.pm (signature_shared_lib): Use own
	build_info_key.

	* pod/makepp_signatures.pod: Be more specific about how to
	activate :signature.  Reorder signatures so that fallbacks have
	been explained before.

	* TextSubs.pm (skip_over_make_expression): Handle $[expr].

	* Makefile.pm (expand_text): Handle $[expr].
	(_read_makefile_line_stripped_1): Handle multiline $[[expr]] and
	expand $[expr] if present.
	(unread_makefile_line): Inline it everywhere and eliminate.

	* Makesubs.pm (s_define): Allow comment after enddef and don't
	strip leading whitespace for GNU compatibility and for being able
	to define $[var] containing a rule.

	* Rule.pm (split_actions): Also ignore leading whitespace.

	* t/variable_expansion.test: Test $[expr].

	* t/run_tests.pl (test_loop): Inline execute for more
	precise diagnostics.

	* pod/makepp_variables.pod: Explain $[var].

	* pod/makepp_functions.pod: Mention $[fn ...] and $(&cat filename).

	* pod/makepp_statements.pod: Mention $(&cat filename).

2007-04-27  Daniel Pfeiffer  <occitan@esperanto.org>

	* t/run_tests.pl: With -v report when perl identifies
	itself as ActiveState build.
	(execute): Don't write error only to log file.

	* makepp (@close_fhs): New cleanup variable, replacing among
	others %dump_makefile.  Adapt log and getopts incvocation to it.

	* Makefile.pm (load, dump_line): Convert to
	dirinfo->{DUMP_MAKEFILE}.
	(read_makefile_line, read_makefile_line_stipped): Shortcut copying
	each line to dump_makefile, when not dumping.

	* Makesubs.pm (f_shell_once, f_shell_global_once): Remove
	functions deprecated since 2006-07-02.

	* Makecmds.pm (run_forked): Deprecate function that offers little
	advantage over running a script externally.

	* pod/makepp_extending.pod, pod/makepp_release_notes.pod:
	Eliminate mention of run_forked.

2007-04-24  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo_makepp.pm (move_or_link_target): Copy a symlink out of
	the repository, rather than linking to it, as would happen without
	special handling.

	* FileInfo.pm (is_writable): Don't remember "false" when dir
	doesn't exist, because that gets remembered until
	Signature::c_compilation_md5::signature is called on a file from a
	repository, which leads to FileInfo::signature wrongly being used,
	and hence unnecessary rebuilds.

	* makepp (load_repository_single): Reestablish storing symlinks in
	ALTERNATE_VERSIONS.

	* Makefile.pm (read_makefile): Allow using &commands without a
	rule, i.e. as statements.

	* t/load_makefile.test (outside): Test statement
	&commands.

	* ActionParser.pm (src_dir_name, add_any_dependency_): Inline
	function used only once in short function.  Use relative_filename
	to remedy premature rename of "name" on 2006-11-18.

	* Scanner.pm (add_include_dir): Call ActionParser::relative_path
	directly.

	* CommandParser.pm (relative_path, src_dir_name): Eliminate
	uncalled functions.

2007-04-20  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm (expand_expression): Allow calling builtin commands
	as a function.

	* Makecmds.pm (run):  Like elsewhere use $rule->{MAKEFILE} instead
	of accessor, so we can fake being inside a rule.

	* Makesubs.pm ($s_define): New var.
	(f_shell): Use it.

	* makepp (log): Fix makepp -v for last change of makepplog.
	(build_target_done): Use readlink, rather than derefence, which
	might follow more than one level, leading us beyond this action's
	input, e.g. onwards into a repository.

	* Scanner/C.pm (dont_scan, xscan_file): Undo optimization of build
	info on the dereferenced file, as that can make us try to write it
	outside our build tree, e.g. into the repository.

	* t/variable_expansion.test (define_test): Test
	retaining newlines depending on assignment type.
	(shell_command): Fix obscure bug where Linux sh overwrites instead
	of appending on a CIFS disk.

	* pod/makepp_*.pod: Document $(&command) and extension of define.

2007-04-11  Ian Holmes  <ihh@berkeley.edu>

	* Makefile.pm (parse_rule): Allow %-dependencies to not be the 1st
	one.

	* t/pattern_rule.test: Test %-dependencies which are
	not the 1st one.

2007-04-11  Daniel Pfeiffer  <occitan@esperanto.org>

	* makeppclean (deletable): Also delete stale symlinks and
	leftovers.

	* stress-test.pl: Use strict and thereby fix some little bugs.
	Add new rule for converging by manually renaming files to *.multi.

2007-03-24  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm (expand_variable): Make builtin variables
	overridable from the enviroment.

	* TextSubs.pm (split_path): Don't use unquote as that also
	eliminates DOS dir separators.

	* t/run_tests.pl: Respect DOS PATH separator.

	* t/md5.test: Respect DOS dir separator.

2007-03-20  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm: Use length as boolean op instead of expensively
	comparing to 0 or eq/ne ''.

	* BuildCache.pm (copy_check_md5): Integer instead of string comparison.

	* Makecmds.pm (frame): Improve ord() optimization.

	* Signature/c_compilation_md5.pm (md5sum_c_tokens): Reset newline
	count after #line.

2007-03-15  Daniel Pfeiffer  <occitan@esperanto.org>

	* Signature/c_compilation_md5.pm (md5sum_c_tokens): Protect the
	information in #line directives, don't pull non-word tokens onto a
	preprocessor line and optimize a bit more.

	* Makecmds.pm (frame): Small string optimizations.

	* BuildCacheControl.pm (c_clean): Always wipe corrupt members
	older than 10 minutes.

	* pod/makepp_build_cache.pod: Explain about corrupt members.

	* t/additional_tests/2006_09_20_build_cache_none.test:
	Adapt to changed behaviour and extend.

2007-03-13  Daniel Pfeiffer  <occitan@esperanto.org>

	* Signature/c_compilation_md5.pm (md5sum_c_tokens): Handle
	whitespace more aggressively including newlines around
	preprocessor statements.

	* BuildCacheControl.pm (c_clean): Workaround to fix linked file
	strategies.

	* Signature/shared_object.pm (signature_shared_lib): Fix
	filehandle, make it portable and replace expensive multi method
	usage by single direct call.  I have chosen to put all uppercase
	types and "w" into the signature, because the details are not
	portable -- this might need fine tuning.

	* Makecmds.pm: Arm all prints against failure, because, thank
	Unix, FS full or quota exceeded, only return an error.  This is
	unlike the previously handled broken pipe, which additionally
	signals.

	* makepp (build_dependencies_done): Eliminate map (emulating a
	grep) within a for clause.

	* Rule.pm (split2_): Replace by std split -1.

	* BuildCheck/exact_match.pm (_split1): Replace by std split -1.
	(build_cache_key): Replace expensive multi method usage by single
	direct call.

	* * (DIR_IN_REPOSITORY, IS_PHONY, SCANNED_FOR_SUBDIRS): Faster
	test and no memory by using existance as "true".

	* pod/makepp_signatures.pod: Bring up to date and hopefully make
	it clearer which method applies when.

2007-02-28  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm (_truthval): Log IFEQ instead of implementing a real
	parser that would only slightly improve a statement with such a
	lousy syntax (bug 1667198).

	* Makecmds.pm (c_expr): Treat no args as false, not as '2'.
	(c_preprocess): Actually chdir to the file, in case some embedded
	perl accesses some file.

	* Utils.pm (Rewrite::cwd): Protect meta chars in regexp.

	* t/conditionals.test: Integrate former
	2003_10_11_ifeq.test.

2007-02-23  Daniel Pfeiffer  <occitan@esperanto.org>

	* t/run_tests.pl: New variable
	$ENV{MAKEPP_TEST_TIMEOUT}, which defaults to 600 seconds.

	* Makefile.pm (expand_text): Force $( ) to always have list
	semantics to make x$( $(EMPTY))y disappear.

	* t/variable_expansion.test: Test $( $(EMPTY)).

	* Makecmds.pm (frame): New standard option -A, --args-file.
	(c_ln): Fix --force to delete stale symlinks.
	(c_grep): New option -w, --waste-file.

	* t/additional_tests/2006_02_18_makeppbuiltin.test,
	* t/builtins.test: Test new options.

2007-02-20  Daniel Pfeiffer  <occitan@esperanto.org>

	* Scanner/C.pm (xscan_file): Check for defined to avoid warning,
	because after #endif $_ becomes undef.

	* Scanner/Esqlc.pm (get_directive): Simplify and fall back to
	father.

	* makepplog, Makesubs.pm (f_find_program): Log NOT_FOUND.

	* ActionParser.pm (parse_rule): Look for &cmd.pl dynamically, so
	it can be built or imported from a repository.

	* TextSubs.pm (skip_over_make_expression): Fix "unterminated
	reference" error in constructs like $(perl '$').

	* t/variable_expansion.test (RootMakeppfile): Test
	$(perl '$').

	* pod/makepp_builtins.pod (&template): Better clarify the
	limitations of infile assignments.

	* pod/makeppgraph.pod (uDraw(Graph)): New proposal for sideways
	layout without endless loop.

2007-02-07  Daniel Pfeiffer  <occitan@esperanto.org>

	* stress-test.pl: By default generate include statements only for
	directories less or equal, to avoid a mesh where everything
	insanely includes everything else.
	(CC, LD, GEN, ...): Make all commands variable, so you can use a
	real compiler.  Adapt everything to make it compilable to runnable
	proggies.
	(SMARTSCAN): New variable to switch scanner mode.
	(.genh): New suffix to generate headers only.

2007-02-06  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepplog: Shuffle options and make key selection easier.
	(main loop): Don't chop, only to later add end marker for split.

	* t/log_graph.test: New test of log analysis.

	* pod/makepp_variables.pod (MAKECMDGOALS): Document it.
	(expand_variable): Explain the different ways necessary to call
	this method.

2007-01-22  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp: Don't set obsolete $MakeEvent::exit_on_error.
	(build_dependencies_done): Protect SYMLINK special handling here.

	* Rule.pm (add_any_dependency_if_exists_): Don't set obsolete
	$MakeEvent::exit_on_error.
	(execute): Move the actual SYMLINK special handling here.
	(DefaultRule::execute): Comment out a conditional that does the
	same as next line.

	* FileInfo_makepp.pm (load_build_info_file): Reactivate SYMLINK
	special handling.

	* t/additional_tests/2006_12_07_scan_order.test: Add a
	2nd round so we can check that symlinks get handled right.

	* Makefile.pm (parse_rule): Try to handle upper case targets on
	case-ignorant file systems.

	* t/make_makefile.test (Makefile): Simplify, but
	still (now mysteriously) fails upper-lower case on CIFS and VFAT.

	* MakeEvent.pm: Make vars 'our'.
	($n_external_processes): Comment out a var unused for 2 years.
	(status): Unify accessors.

2007-01-17  Daniel Pfeiffer  <occitan@esperanto.org>

	* Scanner/C.pm (dont_scan, xscan_file): Extend usefulness of guard
	detection by checking if there is anything else scanworthy in a
	source.  If not this is remembered in the build info.

	* Scanner/Esqlc.pm (other_directive): Report if there is anything
	scanworthy.

	* Makecmds.pm (c_preprocess): Refix cwd.

	* makepplog (--uniq): New option.

	* Utils.pm: Give every utility an option variable analogous to
	$MAKEPPFLAGS.

	* t/run_tests.pl: Don't let new *FLAGS variables
	influence the tests.

	* makepp (MAKEPPFLAGS): Simplify handling.

	* Makefile.pm (unshift_makefile_lines): Simplify.

	* Makesubs.pm (s_register_input_suffix): Simplify.

2007-01-15  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (build_dependencies_done): Eliminate redundant REP_LINK
	message.

	* Scanner/C.pm (dont_scan): Check for known include guard.  Don't
	call hook unless it contains somethings useful.
	(xscan_file): Recognize include guards.  Inline a one liner used
	only once.
	(expand_macros): Be a bit more robust about what we eval and at
	least show what we think we can't eval.

	* CommandParser/Gcc.pm (xset_preproc_vars): Don't check boolean
	C/C++ via string ops.

	* Makecmds.pm (c_preprocess): Don't mess up cwd.

	* t/run_tests.pl (n_files): Avoid "Can't stat answers"
	warning.

	* pod/makepp_build_cache.pod: Use Perl wildcards rather than
	$(wildcard /home*) to avoid loading a default makefile.

	* t/additional_tests/2005_01_17_runtime.test (c): Don't
	choke if chmod fails.

2007-01-09  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo_makepp.pm (load_build_info_file): Provisionally
	short-circuit SYMLINK special handling, because it suffers from
	the same weakness, which Anders fixed with SEEN.

	* Scanner.pm (include): Optimize SEEN fix with int($finfo), as
	recently done elsewhere, and by not redundantly remembering both
	name and finfo.

2007-01-05  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (log): Introduce versioning so we can freely update the
	messages and keys.
	(load_repository_single): Unrevert Anders' change of 2006-12-21,
	because it was wrong.  Started discussion with him about how it
	could be done reliably.

	* Scanner.pm (include): Log INCL and treat it specially in
	makepplog or log INCL_WHO in the mysterious case.

	* Makesubs.pm (s_include):
	* Makefile.pm (load): Log LOAD_INCL to give better analysis in
	graph and rename it from INCL to make it selectable as a LOAD*
	message.

	* TextSubs.pm (getopts): Move it here.

	* Utils.pm: New module used in all utilities.

	* makepplog: Add various options and merge the myriad of include
	messages where possible.  Actually the same ones recur time and
	again.  Should this wasteful scanning be reduced in makepp or
	should makepplog just swallow the redundant information?

	* makeppgraph: Inverted all arrows to better reflect the direction
	in which things go.  Many new options.  Total rewrite to
	accomodate multiple kinds of edges (currently dependencies and/or
	includes).

	* FileInfo_makepp.pm (parse_build_info_file): Eliminate string
	copying.
	(version): New function to be used by all progs.  Uninstalled, it
	only extracts the combined version from all makepp files when
	actually needed.

	* install.pl: Substitute in FileInfo_makepp and clean up a little.
	Install Utils.pm.
	($eliminate): New dummy var for #@@eliminate.

2007-01-04  Daniel Pfeiffer  <occitan@esperanto.org>

	* t/spar (-e, --emacs): Fixed C-c f and improved.
	(-m, --createmakepptest): New option which puts controlling files
	first and answers last.

	* t/makepp_test_case: Call makepp clean only if there
	is a clean target, and always call makeppclean.  Use spar -m.

2006-12-21  Anders Johnson  <ajohnson@nvidia.com>

	* ActionParser.pm, Makesubs.pm, ActionParser/Legacy.pm:
	* ActionParser/Specific.pm, CommandParser/Basic.pm:
	* t/additional_tests/2004_03_16_recscan.test:
	Change the way that makepp detects whether "meaningful scanning"
	happened, in order to avoid warnings every time scanner_skip_word
	is used via register_scanner.  (But it's still ugly.)

	* Scanner.pm:
	* t/additional_tests/2004_03_16_recscan.test:
	Fix a bug in the initialization of the Scanner object, and
	add a test case to show how the API might be accessed to make
	this necessary.

	* makepp:
	* t/additional_tests/2003_12_05_phony_repository.test:
	Undo one of Daniel's changes from 2006-10-11 because it broke
	NVIDIA's build, and added a test case illustrating what we need
	to be supported.  (Hopefully Daniel & I can resolve this because
	our requirements aren't necessarily mutually contradictory.)

	* FileInfo_makepp.pm, Glob.pm, Makefile.pm, makepp:
	* pod/makepp_rules.pod, t/last_chance.test:
	Major enhancement: Added support for last_chance rules.

	* makepplog:  Fix a shallow bug in which logging of files in the
	root directory couldn't be deciphered.

2006-12-14  Anders Johnson  <ajohnson@nvidia.com>

	* FileInfo.pm:
	* t/additional_tests/2003_12_05_phony_repository.test:
	Fix a bug having to do with phony targets triggering pattern rules
	if and only if the phony target appears later in the Makefile.

	* FileInfo_makepp.pm:
	Track change to warning generation: no objects allowed any more.

	* Makesubs.pm (s_register_command_parser):
	Make sure we're in the correct cwd when we load a new class.

2006-12-12  Anders Johnson  <ajohnson@nvidia.com>

	* Scanner.pm:
	* t/additional_tests/2006_12_07_scan_order.test:
	Fix 2 bugs with SEEN.

2006-12-05  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (print_error): Don't use ::log on an unstructured
	message (which lead to orphan ^A`s in the log file).

	* makepplog: Extract the definitions before the print loop for
	greater flexibility of adding features (and making similar code
	reusable for makeppgraph).

	* makeppgraph: Teach it the new log format.  Make bidirectional
	edges (as can result from &dir) exist just once, with both
	arrowheads.

2006-12-03  Daniel Pfeiffer  <occitan@esperanto.org>

	* CommandParser.pm, Makefile.pm, Rule.pm: Use int($ref) instead of
	the three times slower "$ref" for hash keys.

	* makepp: Use int($ref) instead of the three times slower "$ref"
	for hash keys.
	($logfh): Replaces LOG_FILE.
	(perform): Abolish --no-log-scan.
	(log): Create a new binary format which can be streamed in one go,
	rather than assembling defs and messages separately.  As a bonus
	it's even more compact.  Don't write refs for rule names, as only
	the string is often the same, but not the ref it is associated
	with.

	* makepplog: Adapt to new log format, and offer preliminary Perl
	code filter option, e.g. -p '!/^SCAN/'

	* Scanner.pm (scan_file1): Cache and check that we already
	scanned, only if not conditional.  Revert one change of
	2006-11-18, which was causing differences in the number of
	recognized includes.

	* Makesubs.pm (s_runtime): Simplify, less string copies.

	* t/run_tests.pl: Introduce hack to patch makepp to
	work around HP/UX 64bitall bug.
	(-v): Output ptrsize and archname.
	(n_files): Adapt to new log format.

2006-11-27  Daniel Pfeiffer  <occitan@esperanto.org>

	* makeppgraph: Adapted to new log format and added colorization.

	* stress-test.pl (@suffix): Also create some .h files with no
	corresponding .c file.
	(content): Never have a file include itself.

2006-11-24  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (END): Always output build count, at the very end, and
	also output fail count.
	(log): By default print to ".makepp/log".
	(print_log): Delete function.

	* *.pm: Replace the remaining print_log invocations.

	* makepplog: Add new messages.  In keys starting with "N_" treat
	numbers literally, not as references.

	* Makefile.pm: Eliminate manual importing of symbols that are not
	used or fully qualified.

	* t/run_tests.pl (n_files): New utility function.
	(cp): Imported from File::Copy for test scripts.

	* t/only_targets.test: Integrate 2004_04_19_onlyphony.test.

	* t/additional_tests/2003_08_13_load_makefile_quotes.test:
	Integrate 2003_08_13_non_readable_makefile.test.

	* t/*.test: Add failed counter, use n_files() where
	needed and remove obsolete clean targets.

2006-11-22  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepplog: New utility.

	* makepp (log): New function to replace print_log.

	* *: Use ::log and eliminate some string ops the result of which
	was only passed to print_log.

	* makeppbuiltin, makeppclean: Provide dummy log function to
	satisfy the compiler in many modules.

	* pod/makepplog.pod: New doc.

	* install.pl: Install makepplog and its doc.

2006-11-18  Daniel Pfeiffer  <occitan@esperanto.org>

	* TextSubs.pm (CONST0 .. CONST6): Constant subs, which get aliases
	by many other modules.

	* Scanner/C.pm (_repl): Inline small helper that was used only
	once.
	(xscan_file): Reaorganize some tests to do cheapest decision
	first.

	* Scanner.pm: Rely on autovivification.

	* Rule.pm (name): New aliases for the source functions, so these
	can be passed to print_log.

	* *.pm: Use new TextSubs constants.  Don't call finfo->name with
	two args, and don't call rule->source when passing to print_log.

	* FileInfo_makepp.pm (name): Make it an alias for
	absolute_filename.

	* CommandParser/Swig.pm (xparse_command): Don't use deprecated
	f_shell_global_once.

	* makepp (END): Allow -d:DProf to work correctly, by not bombing
	out when it is active.

	* BuildCache.pm: Fix comments about remembering file name
	and [2,4].

	* Makefile.pm: Remove doc mention of inexistent method.

2006-11-12  Daniel Pfeiffer  <occitan@esperanto.org>

	* makeppgraph (-r, --rename): New optionname for -a, --alias.  The
	utility functions supporting this option have been enhanced.

	* pod/makepp_builtins.pod (&template): Clarify better.

2006-11-09  Daniel Pfeiffer  <occitan@esperanto.org>

	* t/run_tests.pl (execute): Check names with
	"build_cache" and "md5" for skipping as well.  Check for message
	about spar not being able to create file, which indicates invalid
	chars on this file system.

	* t/additional_tests/2003_11_14_timestamp_md5.test:
	Rename 2003_11_14_timestamp.test for automatic md5 based skipping.

	* t/repository.test: Integrate eliminated
	2005_07_28_mkdir_wildcard.test

	* t/**/*build_cache*.test (is_relevant): Remove
	obsoleted member.

	* pod/makepp_build_check.pod: Discuss only_action after recent
	changes.

	* pod/makepp_compatibility.pod (File Systems): New section.

	* stress-test.pl: Move eval of @ARGV down, so it can override some
	variables.
	(content): Reorder as far as possible by decreasing probability,
	giving a 10% speedup.
	(names): New function.

2006-11-07  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (build_target_done): Optimize pushy loop.  Take note when
	a target comes out as a symlink, howl when the rule wasn't
	consistent about this and remember the literal link in build info.

	* FileInfo_makepp.pm (move_or_link_target): Eliminate left over
	$made_temporary_link.
	(load_build_info_file): Retain symlink build info if only linked
	file changed.

	* BuildCheck/exact_match.pm (build_check): Log more sensible
	information about the build reason.  If load_build_info fetched
	the symlink info, the link is still the same, so pretend we are
	:build_check only_command.

	* ActionParser.pm (parse_rule): Pass environment and exports from
	the makefile to the command parser.

	* CommandParser/Gcc.pm (xparse_command): Handle CPATH the way gcc
	does.

	* Makecmds.pm (c_template): Allow one level of macro nesting and
	macros in Perl.

	* t/builtins.test (&template): Test one level of macro
	nesting and macros in Perl.

	* pod/makeppgraph.pod (uDraw(Graph)): Remove mention of their old
	name as requested by them.
	(ZGRViewer): Tell how to speed up fancy effects.

2006-10-30  Daniel Pfeiffer  <occitan@esperanto.org>

	* makeppgraph: New utility.

	* pod/makeppgraph.pod: New doc.

	* install.pl: Install makeppgraph, loop over some repetetive tasks
	and highlight &preprocessor.

	* pod/makepp.pod, pod/makepp_release_notes.pod: Mention makeppgraph.

	* Makesubs.pm (f_if): Merge this into _f_if_core to eliminate an
	unneeded helper.
	(f_mktemp): Use unlikely argument of '/' to mean repetion of
	previous returned value on a per Makefile basis.

	* t/variable_expansion.test (RootMakeppfile): Test
	$(mktemp /).

	* pod/makepp_functions.pod: Document $(mktemp /).

	* stress-test.pl: Loop over proggies instead of having the same
	rule thrice.

2006-10-25  Daniel Pfeiffer  <occitan@esperanto.org>

	* Rule.pm (execute): Move failed-to-build message to
	build_dependencies_done, and remove ERROR handler that only served
	to output it.  Flush captured output, such that when it is very
	long, our stderr won't get mixed into it.

	* makepp (build_dependencies_done): Format failed-to-build message
	better and use print_error to also handle the ouptut, formerly in
	execute.
	(print_error): Call flush_log.

	* stress-test.pl: Build three proggies instead of one, from
	overlapping sets of .o files.  Add Shell variables which allow the
	compilers to be verbose and/or slow and/or to fail or choke.

	* pod/makepp_repositories.pod (Links in the way): Discuss some
	strategies how to handle persistent links.

2006-10-23  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp, Dump.pm, profiler.pm: Remove @end_blocks.

	* FileInfo_makepp.pm (load_build_info_file): Retain previous
	repository information if no new info given.

	* makeppclean: Make it more similar to makepp.  Major rewrite so
	that it also removes built directories, .makepp whenever it
	becomes empty and symlinks even if the linked file was found to be
	deletable first.
	(usage): Document recently modified options.

	* t/additional_tests/2004_04_01_stale_repository.test:
	Take into account that repository links can survive till next run.

	* pod/makepp_repositories.pod: Add missing spaces on empty lines
	in code examples to prevent them falling apart into two <pre>
	blocks.
	(Not respecifying your repository): New section replacing "Finding
	RootMakeppfile in a repository".
	(Know all dependencies): Mention not to use a buildcache if you
	want to uncover missing dependencies.

2006-10-16  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo_makepp.pm (load_build_info_file): Undo short circuit,
	since it sometimes prevented correctly handling a changed linked
	file.

	* pod/makepp_extending.pod (General notes): Document the sorrows
	of end handling, which recently got closer, but will never be like
	in normal Perl.

	* pod/makepp_scanning.pod (Ad Hoc Scanner): New section.

2006-10-11  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (perform): Eliminate close`s, which are now handled by
	previous change.
	(load_repository_single): Don't fetch symlinks (and comment
	reason).

	* BuildCheck/exact_match.pm (build_check,
	build_check_from_build_info)
	(build_cache_key): Handle new argument $only_action.

	* BuildCheck/only_action.pm: New module.

	* BuildCheck/symlink.pm: Marked as deprecated.

	* FileInfo_makepp.pm (build_info_string, set_build_info_string):
	Simplify build info expression.
	(clean_fileinfos): Fully comment it out since we're not calling it
	anyway.
	(load_build_info_file): Short circuit for symlinks, since
	signatures don't work for them.

	* Scanner.pm (scan_file1): Prevent occasional "readline() on
	closed filehandle".

	* install.pl: Remove unused $key and install BuildCheck/only_action.pm

	* pod/makepp_build_check.pod: Document only_action instead of symlink.

	* stress-test.pl (RootMakeppfile): Use END and only_action.

2006-10-09  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp: Move signal handling to the front of the file and have
	an END block that interacts with it.  Having this END block call
	POSIX::_exit removes the need to do that all over the
	place (except in child processes), and will lead to removal of the
	@end_blocks variable.
	(suicide): Call BSD::Resource::setrlimit, if available, to prevent
	overwriting a child's core.
	(is_windows): Move this function here, as it is now needed before
	loading any modules.

	*: Fix for moved is_windows.

2006-10-02  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm (find_root_makefile_upwards): Also allow
	RootMakeppfile to come from repository.

	* makepp (perform): Don't call cleanup_temporary_links, as we want
	the links to survive.

	* FileInfo_makepp.pm (cleanup_temporary_links): Deleted function.

	* FileInfo.pm: Comment removal for cleanup_temporary_links.

	* t/additional_tests/2005_03_31_scanfail.test,
	* t/additional_tests/2004_04_01_stale_repository.test,
	* t/additional_tests/2004_02_19_repository_change.test
	(makepp_test_script.pl): Convert from sh for better portability and
	remove --keep-repository-links option.

	* pod/makepp_repositories.pod, pod/makepp_command.pod: Reflect the
	removal of --keep-repository-links.

2006-09-20  Anders Johnson  <ajohnson@nvidia.com>

	* BuildCacheControl.pm:
	* t/additional_tests/2006_09_20_build_cache_none.test:
	* t/additional_tests/double_colon.test:
	Fix build_cache_control clean --size.  Add
	build_cache_control clean --verbose.  Move 'build_cache none'
	check to the *_build_cache_none test.

	* Rule.pm:
	* t/additional_tests/2006_09_14_preexec_rule.test:
	Add a hook for doing something before each rule executes.

2006-09-11  Daniel Pfeiffer  <occitan@esperanto.org>

	* ActionParser.pm (parse_rule): Use B to figure out where a
	command was really defined, since with the change of 2006-05-14
	perl really knows.

	* makeppclean: Handle opts with our getopts.  Move -b to -l
	matching its long form.  Add -b/--only-build-cache-links and
	-R/--only-repository-links and --version options.

	* makepp: Add -b as a short form for --build-cache.

	* Makesubs.pm (s_global): Don't delete an attribute if it doesn't
	exist (if this comes before 1st normal asignment).

2006-09-05  Anders Johnson  <ajohnson@nvidia.com>

	* Makesubs.pm, t/additional_tests/double_colon.test:
	Fix "build_cache none" and add test. (Where is a better place for
	this test?)

	* TextSubs.pm (join_with_protection): Don't modify subroutine
	args.

	* BuildCache.pm: Create the target directory first if necessary.

	* t/additional_tests/2004_03_24_scanner_c_lib.test:
	Fix for Cygwin.

2006-08-24  Anders Johnson  <ajohnson@nvidia.com>

	* makepp, BuildCache.pm: A few minor build cache bug fixes, mostly
	for diagnostics.

2006-08-03  Daniel Pfeiffer  <occitan@esperanto.org>

	Incomptible change: If you had an action &xyz.pl, and xyz.pl was
	not executable it would be run in the current dir.  Now it doesn't
	have to be executable, but it must be found in the PATH if it
	doesn't contain a '/'.  That may exclude the current dir.

	* TextSubs.pm (split_path): Return '.' for empty elements, like
	Unix treats them, instead of dropping them.

	* Makesubs.pm (f_find_program): Make this behave like command
	lookup in the shell, from the cwd if it contains a '/', else from
	the path.  Due to issues with checking the x-bit on not yet built
	files, use exists_or_can_be_built instead.

	* Makecmds.pm (run_forked): Add missing -S option.

	* t/run_tests.pl (-d, dot): New option and function for
	giving a concise overview of the tests.

	* t/additional_tests/2004_12_06_scancache.test:
	* t/additional_tests/2004_12_14_clean.test: Convert to
	Perl test, making it find wait_timestamp also when running with an
	installed makepp.

	* t/additional_tests/2006_02_18_makeppbuiltin.test: Use
	own path tho find builtin.test, rather than makepp's which doesn't
	work when running with an installed makepp.

2006-08-01  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makesubs.pm (f_find_program): Optimize by doing as few FileInfo
	ops as needed.
	(f_wordlist): Introduce new alternative two-arg syntax, where 1st
	arg is a list of numbers.
	(f_target, f_targets, f_dependency, f_dependencies): Take an index
	or index lists as args.
	(f_{VAR}): Mark the constant ones as constant, just in case, and
	reduce the expand_text calls to the lower level functions as
	appropriate.

	* Makefile.pm (expand_text): Don't use regexp before we have
	copied our arguments since, as I painfully found out, that nukes
	$2 on the stack.
	(expand_variable): Call the unfriendlies without arguments, since
	some now check their args.

	* t/builtins.test (install_log): Force expand text,
	which didn't initially work.

	* t/variables_automatic.test (b): Test input et
	al. with index too.

	* pod/makepp_functions.pod: Describe wordlist.

	* pod/makepp_variables.pod: Explain about args to input/output.

	* t/run_tests.pl: Remove cwd from PATH to make sure no
	test relies on this.  By giving the path to makepp as an optional
	1st arg (after -v), you can test an installed version.  Two of the
	additionals are still failing that way.

	* t/additional_tests/2005_08_31_build_cache_pop_options.test
	(my_true): Set path on program, not on dependency, since we run a
	generated program.

	* install.pl: Install the many forgotten modules.  This explains a
	lot of headscratching why things like shared_library or Swig don't
	work in production, even though the code looks fine.

	* t/README: Mention to also test installed version.

	* t/signature.test: Use the more correct
	build_check (making this test misnamed) because signature fails in
	the installed version.  This failure should be explored, if we
	want to maintain the backwards compatibility.

2006-07-28  Anders Johnson  <ajohnson@nvidia.com>

	* makepp, t/stress_tests/build_cache_concurrent.test:
	Added $::build_cache_error_hook, and test covers it.

	* BuildCache.pm: Clarify a comment.

	* BuildCacheControl.pm: Ignore incoming files that disappear
	asynchronously.

2006-07-27  Anders Johnson  <ajohnson@nvidia.com>

	* t/run_tests.pl: Propagate redirection failures.

	* BuildCache.pm: Fix handling of more rare cases that come
	up with build caches over NFS (revealed by the stress test).
	In particular, assume that anything other than 'unlink' that
	can fail with ENOENT can also fail with ESTALE, because
	apparently this can happen when the file disappears even when
	the parent directory is still there.

	* BuildCacheControl.pm: Produce a better warning for files that
	disappear asynchronously.

2006-07-26  Anders Johnson  <ajohnson@nvidia.com>

	* BuildCache.pm,
	* t/additional_tests/2005_08_31_build_cache_pop_options.test:
	Fix handling of a few more rare cases that come up with build
	caches over NFS (revealed by the stress test).  Also, preserve
	file permissions on the way out of the cache, and add coverage for
	that in the test suite.

	* t/stress_tests/build_cache_concurrent.test:
	Don't trust the build cache to import long_file.wc, because that
	can mask bugs, and therefore we can't do quite so many iterations
	per minute.

2006-07-25  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm (c_preprocess): New command.

	* Makefile.pm (parse_assignment, read_makefile): Put in some hooks
	which perform the actual &preprocess-ing.

	* Makesubs.pm (import): Allow doing this selectively, because in
	&preprocess the makefile related statements are useless or
	harmful.

	* makeppbuiltin (doit): Require Makefile for &preprocess too.

	* t/builtins.test: Test &preprocess.

	* t/additional_tests/2006_02_18_makeppbuiltin.test:
	Reorganized slightly, because with the oncome of &preprocess, a
	strange dump when exiting in eval occurred in 5.8.1 - 5.8.3.

	* pod/makepp_release_notes.pod, pod/makepp_builtins.pod: Document
	&preprocess.

	* pod/makepp_incompatibilities.pod: Explain better about variables
	with space in name.

	* pod/makepp_variables.pod: Point out global variables.

2006-07-25  Anders Johnson  <ajohnson@nvidia.com>

	* makepp, BuildCache.pm,
	* t/stress_tests/build_cache_concurrent.test:
	Add a stress test for concurrent build cache access, and fix 3
	shallow bugs that were thereby revealed.

2006-07-21  Anders Johnson  <ajohnson@nvidia.com>

	* BuildCache.pm: Handle the case in which the mkdir fails, and
	note that even if it succeeds, the directory could go away before
	we can put anything in it (which was already handled correctly).

	* BuildCacheControl.pm, pod/makepp_build_cache.pod: Cosmetic
	changes.

2006-07-20  Anders Johnson  <ajohnson@nvidia.com>

	* Rule.pm: When a rule fails, report the target(s) that were
	being built (in case the output of the action obscures that).

	* FileInfo.pm, t/additional_tests/2004_03_31_stale.test:
	Fix case in which a filename of "0" was treated as undefined.
	Added coverage for this in the tests.

2006-07-14  Anders Johnson  <ajohnson@nvidia.com>

	* Makecmds.pm, pod/makepp_builtins.pod:
	mkdir -p succeeds even if another process created the directory
	after we tried to stat it.

	* BuildCache.pm: Noted another possible race that needs to fixed
	at some point.

	* CommandParser.pm, Makesubs.pm, CommandParser/Gcc.pm,
	* CommandParser/Vcs.pm, pod/makepp_statements.pod,
	* t/additional_tests/2004_03_24_scanner_c_lib.test:
	Add register_input_suffix statement.

	* t/additional_tests/2004_03_31_stale.test:
	Fix for Cygwin.

	* t/additional_tests/2005_08_31_build_cache_pop_options.test:
	Simplify.

	* t/perl.test: Test function name mangling cases.

2006-07-13  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp: Don't clobber $0 in an uninstalled makepp.

2006-07-12  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp_builtin_rules.mk: Allow makepp_no_builtin_linker=0, to
	turn it off for Unix as well, like the other new makepp_* vars.

2006-07-11  Daniel Pfeiffer  <occitan@esperanto.org>

	* t/run_tests.pl (makepp): Make it easy to call other
	progs starting with the string 'makepp'.

	* t/README: Talk about makepp \'builtin',
	'-MBuildCacheControl'.

	* t/additional_tests/2005_08_12_build_cache_exmatch.test,
	* t/additional_tests/2005_08_16_build_cache_clean.test,
	* t/additional_tests/2005_08_29_build_cache_md5copy.test,
	* t/additional_tests/2005_08_31_build_cache_pop_options.test:
	Don't use the unreliable (hard coded to /usr/bin/perl when not
	installed) makepp_build_cache_control.

	* makepp, install.pl, VERSION: Calculate a more meaningful version
	for uninstalled and beta versions.

2006-07-10  Anders Johnson  <ajohnson@nvidia.com>

	* t/additional_tests/2005_08_16_build_cache_clean.test,
	* t/additional_tests/2005_08_12_build_cache_exmatch.test,
	* t/additional_tests/2005_08_29_build_cache_md5copy.test,
	* t/additional_tests/2005_08_31_build_cache_pop_options.test:
	Cleanup tests for speed and portability.  Add is_relevant.pl;
	use builtins; convert scripts to Perl; remove unnecessary complexity
	from source files; propagate errors.

	* pod/makepp_builtins.pod: Fix spelling.

2006-07-10  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm: Evaluate new makepp_* variables like make
	variables.
	(expand_text): Protect $(map) from evaluation.

	* Makesubs.pm (f_map, f_makemap, f_mktemp): New functions.

	* makepp (setup_recursive_make_socket): Use mktemp to get a file
	which goes away on its own at the end.
	(perform): Eliminate --no-rc-substitution and --percent-subdirs,
	renaming the associated variables to makepp_simple_concatenation
	and makepp_percent_subdirs.

	* makepp_builtin_rules.mk: Allow makepp_no_builtin_linker=0 to
	turn it off, like the other new makepp_* vars.

	* Rule.pm (execute): Add comment on future temp file handling.

	* FileInfo.pm (lstat_array): Use _ also for dir detection.

	* install.pl (highlight_variables): Highlight new functions and
	double parens.

	* pod/makepp_functions.pod: Document new functions and group into
	3 chapters.

	* pod/makepp_extending.pod: Point to the chapter on the problems
	with using makefile variables in Perl.

2006-07-07  Anders Johnson  <ajohnson@nvidia.com>

	* ActionParser.pm: Don't infer redirected files as targets or
	dependencies if they contain metacharacters.

	* FileInfo_makepp.pm,
	t/additional_tests/2004_03_31_stale.test:
	Handle nested parentheses in an ifeq() directive.
	Swap rules for stripping whitespace from ifeq arguments between
	parenthesized and unparenthesized forms, to match GNU make.
	(This could break things that relied on the incorrect behavior.)

	* Makefile.pm,
	t/additional_tests/2003_10_11_ifeq.test:
	Make sure that a side effect file that gets created as a result
	of loading a Makeppfile doesn't look like a stale generated
	file.

2006-07-02  Daniel Pfeiffer  <occitan@esperanto.org>

	Variable warning: This is the second of two steps of variable
	handling cleanup, which might cause minor incompatibilities.

	* Makefile.pm (expand_variable): Handle ;= and &=.  Do %ENV before
	or after f_subs, depending on $::environment_override.
	(load): Don't turn command line variables into Perl vars, as that
	breaks the new lookup logic.  See makepp_variables.pod for
	details.
	(assign): New function, extracted from parse_assignment.
	Implement ;= and &=.
	(parse_assignment): Use assign to handle target specific vars
	consistently.

	* Makesubs.pm (f_shell_global_once, f_shell_once): Deprecated.
	(s_define): Use assign to be consistent.  This gives the new
	"define var assignment-op" syntax for free.

	* t/variable_expansion.test: Test the new features.

	* t/additional_tests/2004_03_31_stale.test: Use
	expand_variable to take into account that CLI vars are no longer
	copied to perl vars.

	* install.pl (highlight_keywords): Highlight the new kinds of
	assignment.

	* pod/makepp_variables.pod: Document the new features.  Add a new
	section explaining why directly accessing vars from Perl is not
	such a hot idea, and what is the clean way to do it.

	* pod/makepp_release_notes.pod: Document the new features.

	* pod/makepp_functions.pod: Eliminate doc for deprecated
	shell*once functions.

	* pod/makepp_incompatibilities.pod: Remove mention of solved
	incompatibilities.

	* pod/makepp.pod, pod/makepp_build_cache.pod:
	* pod/makepp_cookbook.pod, pod/makepp_tutorial.pod:
	* pod/makepp_tutorial_compilation.pod: Small fixes and updates.

2006-06-30  Anders Johnson  <ajohnson@nvidia.com>

	* BuildCache.pm, pod/makepp_build_cache.pod: Describe plan for
	UTIME_ON_IMPORT in a comment.

	* Makefile.pm: If the mangled function isn't found, then try to
	use the unmanged function name.  (Allows copy-and-paste of
	function name, and it was unintentially working a few weeks ago
	in some cases.)

	* Makesubs.pm: Don't publish nonexistent leaf directories.
	(Fixes wildcard_repository in my Cygwin environment.)

	* Rule.pm: Improve(?) signal handling on Windows.  Fixes
	additional_tests/2004_12_14_clean on Cygwin.

	* makepp: Make $::critical_sections work in BuildCache.pm.
	Resurrect --log (alias for --logfile).

	* t/additional_tests/2004_12_14_clean.test: Improve
	checking.

	* BuildCacheControl.pm: Don't rely on File::Find's preprocess
	feature, which isn't available in Perl 5.6.0.

2006-06-28  Daniel Pfeiffer  <occitan@esperanto.org>

	Variable warning: This is the first of two steps of variable
	handling cleanup.  Bringing this in line with GNU make removes
	some of the quirky handling we had, i.e. this (and my coming
	change) is not quite backwards compatible.

	* t/README: New file which is required lecture for test
	builders!  Anybody ignoring the advice therein, owes the poor sod
	who debugs reinvented ancient problems a beer ;-)

	* Makefile.pm (expand_expression): Move undef warning from
	expand_text to here, which saves a backup copy needed just in case
	we ever print that message.
	($private, $global): New variables replacing TARGET_SPECIFIC_VARS
	and TARGET_SPECIFIC_REEXPAND.
	(_truthval): Use expand_variable to also handle forgotten things
	like "ifdef CC" or "ifdef some_global_var".
	(parse_assignment): Add "override" modifier.  Complete rewrite to
	be consistent with GNU make and between assignment forms.  This is
	work in progress, not yet handling target specific vars and the
	"define" statement the new way.
	(expand_variable): New function extracted from expand_expression
	to save checking for $(f x), $( x y z) or $(v:a=b) when we know we
	have a plain variable.	Add extended mode to support += and ?=
	consistently.  Work from bottom up (target specific, makefile,
	global, CLI, ENV, f_function) on the grounds that assignment only
	happens when it is allowed to, and because this is needed for
	"override".  The f_functions are the odd one out, which don't obey
	global, export and override :-(

	* Makesubs.pm (f_foreach): Use $Makefile::private.
	(s_global): Use $Makefile::global->{VAR_REEXPAND}.

	* Rule.pm (find_all_targets_dependencies): Use $Makefile::private.

	* BuildCheck/symlink.pm (build_check): Die if we don't have
	exactly one depency, because then we don't know what the link
	should point to.

	* BuildCheck.pm (build_check, build_check_from_build_info)
	(update_dep_sigs):
	* Scanner.pm (xscan_file): Eliminate unneeded fallback functions,
	for the lack of which Perl itself has a clear error message.  This
	saves a few kilobytes.

	* t/additional_tests/2004_04_01_append_to_undef.test:
	Removed and integrated into variable_expansion.test.

2006-06-27  Anders Johnson  <ajohnson@nvidia.com>

	* BuildCache.pm: Get the mtime of the file copied into the
	cache by stat'ing the filename (safe because it includes the
	unique suffix) instead of the handle, which is subject to clock
	skew (at least in NVIDIA's environment).

	* makepp, pod/makepp_command.pod,
	* t/additional_tests/2005_07_12_build_cache_cp.test:
	Add --stop-on-race to help debug race conditions, especially when
	there shouldn't be any.

2006-06-26  Anders Johnson  <ajohnson@nvidia.com>

	* BuildCache.pm: Fix some shallow bugs for --md5check-bc.
	If there is a signature mismatch, then report the signatures.

	* makepp: Log build cache keys or lack thereof.

	* BuildCacheControl.pm: Support '+-1' as a time spec, because
	a test uses it to clean everything without waiting.

	* makepp_build_cache_control: Don't assume that makeppbuiltin
	is in the command search path.

	* FileInfo_makepp.pm: Add comment regarding tracking of signature
	format across modules.

	* t/additional_tests/2005_08_12_build_cache_exmatch.test,
	t/additional_tests/2005_08_16_build_cache_clean.test,
	t/additional_tests/2005_08_29_build_cache_md5copy.test,
	t/additional_tests/2005_08_31_build_cache_pop_options.test:
	More tests for build caches.

2006-06-23  Anders Johnson  <ajohnson@nvidia.com>

	* BuildCache.pm, makepp: Major rework of build cache
	implementation, to make concurrent access over NFS safe.
	Initially, just check for existence of file, and then
	fall back to rebuilding if a problem occurs when we attempt
	to import from the cache.  Add --md5-check-bc,
	--populate-bc-only.

	* pod/makepp_command.pod: Document --force-copy-from-bc,
	--no-populate-bc, --md5-check-bc, --populate-bc-only.

	* Signature/md5.pm: Add comment that this is coupled to
	BuildCache.pm now.

	* t/build_cache.test, BuildCacheControl.pm,
	pod/makepp_build_cache.pod: De-featured
	"makepp_build_cache_control populate", because it wasn't working,
	it's hard to fix, and there are other ways to do it.

	* t/additional_tests/2005_07_12_build_cache_cp.test:
	Check that there is no garbage left over in the incoming.dir
	build cache directory.

	* pod/makepp_build_cache.pod, BuildCacheControl.pm: Add new
	clean -M option.  Document concurrent access issues.  Add
	"incoming.dir" as a special name.

	* BuildCache.pm, BuildCacheControl.pm, FileInfo_makepp.pm:
	Pull some constants from the definitive location.  Refactor
	some duplicate intelligence into write_build_info_file and
	parse_build_info_file.

2006-06-14  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (parse_command_line): New option -c|--root-directory.
	Initially load first potential RootMakeppfile instead of last, in
	cases where options specify more than one rooted tree.
	(usage): At least mention the undocumented options.

	* Makecmds.pm (c_template): Silently treat undefined arguments as
	empty.

	* t/builtins.test: Test &template more thoroughly.

	* pod/makepp_command.pod: Complete the index of options, also
	showing those which still lack documentation.

	* pod/makepp_compatibility.pod: Document 5.8.8 working.

	* install.pl: Find numbered perl executable if needed, similar to
	what makepp does.
	(highlight_variables): Number items, if they are
	repeated (e.g. different case) and let the css format them.

	* pod/makepp.css: Move bold for items here, instead of repeating
	it for every single item.

	* makeppbuiltin (getopts_help): Output lowercase option before
	same in uppercase, as in our doc.

	* t/additional_tests/2006_02_18_makeppbuiltin.test:
	Adapt option order.

2006-06-06  Anders Johnson  <ajohnson@nvidia.com>

	* FileInfo.pm: When testing a directory for writability, use a
	random string in the dummy filename to avoid races when multiple
	makepp processes are running concurrently.

	* Glob.pm: Make a static copy of DIRCONTENTS to avoid duplicates
	due to the same entries being revisited when the FileInfo object
	get touched inside the each loop.

	* makepp: Fix a nasty bug in which scan info was cached even if
	the rule isn't an exact match for the one that was actually run
	to generate the target.

	* CommandParser/Vcs.pm: Added the '.sv' suffix, and make the
	suffix list easier to hook into.

	* pod/makepp_incompatibilities.pod: Noted that rule actions in
	makepp are expanded earlier than they are in GNU make.

2006-05-31  Daniel Pfeiffer  <occitan@esperanto.org>

	* install.pl (highlight_keywords): Highlight export correctly and
	global.

	* pod/makepp_variables.pod, pod/makepp_statements.pod: Document
	export and global.

	* t/additional_tests/2006_03_21_smartscan.test: Turn
	into Perl script so that it can also work on native Windows.

2006-05-30  Anders Johnson  <ajohnson@nvidia.com>

	* t/additional_tests/2006_03_21_smartscan.test:
	Use a test script to look at the .makepp_log file, so that the
	Makeppfile doesn't have to.  (It's not a good idea to read the
	log while it's being written.)

	* t/additional_tests/2006_03_23_c_comments.test:
	Add a missing define to avoid an error on non-GNU compilers.
	A couple of cleanups in the Makeppfile as well.

2006-05-31  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm (parse_assignment): Handle global assignment.
	(expand_expression): Also check for global value.

	* Makesubs.pm (s_global): New statement.

	* t/variable_expansion.test: Test global statement.

2006-05-25  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm (parse_assignment): Cut down some string copying by
	taking arg in $_ (where the only caller has it anyways).  Don't
	get confused about indirect assignments with a colon as in
	$(var:y=z) = value.  Also handle the assignment part of the export
	statement.  These changes seem to give gmake compatible
	assignments.
	(read_makefile): Adapt to changed parameter list of
	parse_assignment.

	* Makesubs.pm (s_export): Only mark the variable for export,
	whereas the assignment part (which was inconsistentwith normal
	assignments) is now done the standard way while reading the
	makefile.

	* t/variable_expansion.test: Test the things that
	didn't use to work.

2006-05-23  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo_makepp.pm (update_build_infos, load_build_info_file):
	Read and write \n as \cC and write whole file in one go for better
	performance.  This will cause a rebuild of everything that has a
	multi-command action.

	* BuildCache.pm (cache_file, lookup_file): Read and write \n as
	\cC and write whole file in one go for better performance.

2006-05-19  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm (::getopts): Allow specifying a standard option
	value, e.g. 0.

	* makepp (parse_command_line, {toplevel}): Use getopts, order
	specs alphabetically, use /[-_]?/ consistently.

	* pod/makepp_release_notes.pod: Document changes.

	* CommandParser/Esqlc.pm (parse_arg): Allow proc config file to be
	prebuilt, e.g. grepping out comment and empty lines, which proc
	can't munge.

	* BuildCheck/exact_match.pm (build_cache_key): Revert to hexdigest
	on case insensitive systems.  This is not thoroughly tested,
	because those filesystems usually don't support links, which our
	test needs.

	* t/build_cache.test (is_relevant.pl): Skip if links
	don't work because this test alas thoroughly depends on them.

2006-05-14  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (build): Use an undef BUILD_HANDLE to remember that we
	already logged not building this.
	(print_log): Open log file only now.  This has the advantage of
	putting it into the directory changed to, which also prevents it
	from getting clobbered in traditional recursive $(MAKE) -C dir.
	This also makes --no-log work again, which presumably got broken
	by the introduction of --no-scan-log.
	(maybe_stop): Use flush_log;
	(flush_log): Also flush STDOUT and STDERR, which might be going to
	a file.
	(print_msg, print_sandbox, print_warning): Remove functions.
	(perform): Don't have almost exactly the same code twice.

	* Makesubs.pm (eval_or_die): Use `#line $number "$name"' in eval
	to let perl take care of correct messages instead of the messy
	hack with rewrite_message.  This no longer puts warnings or errors
	from Perl code into our format, but that is correct, since it is
	Perl code the user wrote, so he can expect Perl messages.
	(rewrite_message, _get_makefile_line): Remove functions.

	* Makefile.pm (expand_expression): Eliminate obsolete WARN handler
	and rewriting.
	(load): Add missing - to -build_check and trim log opts a little.

	* FileInfo.pm (BEGIN): Don't clobber and leave .makepp_log, which
	we might not otherwise be touching, depending on the options.

	* FileInfo_makepp.pm (move_or_link_target, load_build_info_file):
	Use warn.

	* BuildCheck/target_newer.pm (build_check): Use warn and simplify.

	* BuildCheck/exact_match.pm (build_check): Use warn and simplify.

	* Scanner/Verilog.pm (resolve_module): Use warn.

	* CommandParser/Vcs.pm (xparse_command): Use warn.

	* Rule.pm (execute_command): Save two sub`s to save some memory.
	(find_all_targets_dependencies): Have consistent log file
	indentation.

	* t/additional_tests/2004_12_20_errors.test: Adapt to fact that
	warn now produces real perl messages.

	* t/run_tests.pl (execute): Don't complain about the newly visible
	perl warnings out of makefiles.

	* pod/perl_performance.pod: Tell about the inefficiency of
	separate prints (or arguments to print).

	* pod/makepp_speedup.pod: Tell about --no-log and --no-scan-log
	and RAM disk.

2006-05-05  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm (::getopts): Handle an explicitly empty or 0 option
	value correctly.  Total rewrite to be more efficient by testing
	leading -/-- only once and then only checking for a short or only
	a long opt.

	* BuildCache.pm (cache_file): Cache only regular files, since we
	have no signature logic for fetching symlinks (and symlinks to a
	file with the same name may have prevented the real file to be
	fetched) and no code to handle other filetypes like directories.
	(copy_from_cache): Handle only normal files.

	* FileInfo.pm (S_IFREG): New constant for build cache.

	* stress-test.pl (bin/cc): Don't link to a symlink (e.g. to
	repository), which might be from a different directory, giving a
	stale symlink.
	(RootMakeppfile): Rename and don't use unreliable `` for ps.
	Create include directory as a target when needed.

	* pod/makepp_repositories.pod: Talk about RootMakeppfile and
	--keep-repository-links.

2006-04-30  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (--build-check, --signature): Use right variable for the
	latter, and make both work with use strict.

2006-04-29  Daniel Pfeiffer  <occitan@esperanto.org>

	* install.pl: Substitute htmldir in two more files.

	* makepp: By newsgroup request use strict (this uncovered a wrong
	$program).

	* makeppbuiltin (helpfoot): New redefinable function.

	* BuildCacheControl.pm (c_clean): New timespec 'w'.  Fix
	size-specs (T -> G) to match find (b -> c).  New option
	--workdays.
	(c_show): New command.

	* Makecmds.pm (c_template): Fix regexp for ${number}.

	* pod/makepp_build_cache.pod: Document changes.

	* pod/makepp_builtins.pod: Mention that makepp doesn't notice a
	dependency on Perl elements you use in commands.

	* pod/makepp_speedup.pod: Mention repositories, build cache and
	sandboxes.

	* pod/perl_performance.pod: Add a few hints given in the
	newsgroup.

2006-04-23  Daniel Pfeiffer  <occitan@esperanto.org>

	Build cache warning: The directory naming scheme redundancy has
	been eliminated.  Where it used to be 12/1234/12345... it is now
	12/34/5..., likewise for the meta information files.  Links to the
	old structure still work, but new imports are not possible.  If
	you want to save gradually recompiling everything, you must write
	a little Perl rename script.

	* makepp_build_cache_control: This has been turned into a shell
	wrapper.  The functionality has been moved to the new module
	BuildCacheControl.pm and the clean command greatly enhanced.

	* BuildCache.pm (new): Use Makecmds::c_mkdir because we have it
	anyways, and because it gets the mode right.
	(cache_file): Use simpler file name transformation eliminating
	unnecessary method lookup.  Use arithmetic instead of expensive
	bit ops.
	(lookup_file): Use simpler file name transformation.

	* t/build_cache.test,
	* t/additional_tests/2005_07_12_build_cache_cp.test:
	Use makeppbuiltin -MBuildCacheControl instead of shell script.

	* makeppbuiltin (doit): Allow loaded
	module (e.g. BuildCacheControl) to redefine metahelp.

	* pod/makepp_build_cache.pod: Document new features.

	* pod/perl_performance.pod: New documentation, very pertinent also
	beyond makepp.

	* install.pl: Install BuildCacheControl.pm and
	pod/perl_performance.pod.

2006-04-19  Anders Johnson  <ajohnson@nvidia.com>

	* CommandParser/Gcc.pm: Use boolean $gnu instead of $compiler.
	Cache results of running gcc -E, and fall back to guessing the
	predefs if gcc -E doesn't work.	 Avoid ``.  Don't mutilate
	@cpp_cmd.

	* t/additional_tests/2006_03_21_smartscan.test:
	Renamed from condscan (a duplicate base name).	Removed
	trailing whitespace.  Use $(PERL) instead of site-specific
	version of perl.  Removed use of if[].

2006-04-18  Daniel Pfeiffer  <occitan@esperanto.org>

	* Glob.pm (find_real_subdirs): Take DIRCONTENTS as a strong hint
	that this is a directory.

	* makepp (build_dependencies_done): Output import message
	according to "$progname: ... `filename'" convention and simplify.

	* BuildCache.pm (lookup_file): Optimize (tr instead of s) and
	simplify.

	* BuildCheck/exact_match.pm (build_cache_key): Optimize.

	* makepp_builtin_rules.mk (makepp_no_builtin_linker): New switch
	to eliminate only these expensive rules.
	(lex): Use more correct :build_check.

	* FileInfo.pm (file_exists): Simplify.
	(lstat_array): If we can stat this, all parents must exist, so
	mark them as such.

	* BuildCheck/symlink.pm: New module.

	* pod/makepp_build_check.pod (symlink): Document.

	* stress-test.pl (Makeppfile): Use :build_check symlink.

	* Makecmds.pm (_rm): Use unlink for a symlink, even if it points
	to a directory.

	* **.pm: Make singletons reference something existing instead of
	more expensive {}.

	* Makefile.pm (*): In && or || perform cheapest tests first.

2006-04-13  Anders Johnson  <ajohnson@nvidia.com>

	* CommandParser/Gcc.pm: Handle explicit line numbering from
	gcc (v3.4) -E -dM.

	* t/additional_tests/2006_03_23_c_comments.test:
	Unless __GNUC__ is set, use a header file that doesn't rely
	on any GNU extensions or other unportable fanciness.

2006-04-12  Anders Johnson  <ajohnson@nvidia.com>

	* makepp: Cleaned up a log message.

2006-04-10  Anders Johnson  <ajohnson@nvidia.com>

	* Scanner.pm: Fixed a shallow bug that was introduced by removing
	the call to shift.  Handle too many pop_scope's more gracefully.

	* CommandParser/Gcc.pm: If the name of the compiler begins with
	'g', then assume that it's a GNU compiler, and obtain the
	predefined macros (for conditional scanning) using -E -dM.

	* Scanner/C.pm: Many improvements to the accuracy of conditional
	scanning and comment parsing.  Added $dont_scan_hook.

	* t/additional_tests/2006_03_21_condscan.test,
	t/additional_tests/2006_03_23_c_comments.test:
	Tests for the above.

2006-04-04  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp_builtin_rules.mk (bg, break, case, ...): Don't have
	individual wildcards.

	* Glob.pm (zglob_fileinfo): Eliminate the generated sub, as this
	only seemed to serve for precompiling the regexp.  Also revert to
	"each", as 5.005 is history, and it seems to work from 5.6
	onwards.
	(wildcard_action): Don't store an anonymous closure for every
	wildcard, only the data needed to do the work, reusing precompiled
	regexps.  This can reduce makepp's memory footprint by
	15% (including the default rule wildcard elimination) and CPU
	about 1%, depending on the number of active wildcards.
	(wild_to_regex): Simplify, cache compiled regexps, and only return
	a scalar.  Callers can use ref to see if it's a string or regexp.
	(find_real_subdirs): Optimize by checking already lstatted entries
	first, and for the rest having 4 classes of filenames from very
	likely a dir to very unlikely, instead of only 2.

	* FileInfo.pm: Use undef instead of 0 for frequent hash values, as
	that saves some memory.
	(publish): Add the code contained in the old wildcard_action
	closures.  As an optimisation I check is_stale only once, rather
	than again for every directory.	 I hope this is safe, on the
	assumption that a file won't be made stale by a wildcard action.
	(dir_contents): Remove doc of inexistent function.
	(find_file): Remove unused (and unoptimized) function.

	* FileInfo_makepp.pm (load_build_info_file): Eliminate
	parse_build_info_file and integrate it into this former one liner.

	* makepp: Use undef instead of 0 for hash values which get
	replicated a lot, as that saves some memory.

	* Makefile.pm (cleanup_vars): Simplify.

	* Dump.pm (sorter): Massage output such that we get a FileInfo { }
	pseudo-syntax instead of bless and a very far away class name.
	(import): After $::build_root has again disappeared (and there can
	now be 0..n roots) revert to dumping from cwd, but at least
	remember the one when we were called, not the random last one when
	makepp ends.

2006-03-29  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makesubs.pm (import): New function to provide only the subs
	officially needed.  This allows getting them in an external module
	too.
	(_f_if_core): Rename from f_if_core_ to avoid export.

	* Makefile.pm (load): Use Makesubs to only get the official functions.

	* Glob.pm: Small optimizations.

	* pod/makepp_extending.pod, pod/makepp_speedup.pod: Document the
	new possibility of "use Makesubs" for external modules.

	* t/additional_tests/2004_04_28_unshift_makefile_lines.test
	(Makeppfile):
	* t/directories.test (Makeppfile): Don't rely on
	makepp's internal functions being exported to the makefile's
	package, as this is no longer the case.

	* t/additional_tests/2005_07_28_mkdir_wildcard.test:
	* t/verilog.test: Use builtin commands, speeding up the test by 10%.

2006-03-27  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (maybe_stop): Flush all output before stopping.
	($dont_build_dir_flag): Revert change of 2005-11-13.
	($build_root): Eliminated in favour of a dir ROOT property.
	(print_log, print_log_scan): Simplify.
	(parse_command_line): Eliminated option --search-upwards as this
	is now automatic in the presence of a RootMakeppfile and more
	predictable this way.  Default target is now searched in the same
	makefile an explicit target would be, rather than in first given
	makefile.

	* FileInfo.pm ($root): Mark as existing, else we can't stat
	it.  (Why, shouldn't it be the other way round, i.e. exists if
	statable?)
	(relative_filename): Fix for when when $_[2] is set.

	* FileInfo_makepp.pm (dont_build): Revert change of 2005-11-13.
	(set_rule): Revert change of 2006-03-17.

	* Makesubs.pm: Various small simplifications.
	(s_load_makefile): Set loaded directory buildable when we have a
	build root.
	(f_ROOT): Follow new semantics.

	* Makefile.pm: Various small simplifications.
	(find_root_makefile_upwards): New function.
	(load): Use it.
	(find_makefile_in): Find RootMakeppfile(.mk) too.

	* Makecmds.pm (&install, &uninstall): Use $ENV{INSTALL_LOG} or new
	ROOT property.

	* makeppbuiltin (doit): Use $ENV{INSTALL_LOG} or provide new ROOT
	property for install & uninstall.

	* t/implicit_load.test: Test not going out of a root
	directory, but not performing this check when leaving a dir with a
	normal makefile.

	* t/load_makefile.test: Test that load_makefile makes a
	directory outside the root buildable.

	* t/variable_expansion.test: Use RootMakeppfile so we
	can test $(ROOT).

	* t/additional_tests/2003_11_25_wild.test: Revert
	--do-build change of 2005-11-13.  Use new makefile names.

	* pod/makepp*.pod: Document RootMakeppfile and various minor
	improvements.

2006-03-21  Anders Johnson  <ajohnson@nvidia.com>

	* Makesubs.pm: Fixed an off-by-one bug in my previous change.

2006-03-17  Anders Johnson  <ajohnson@nvidia.com>

	* FileInfo.pm, FileInfo_makepp.pm: Since
	  FileInfo::relative_filename is broken when $_[2] is set, die
	  loudly instead of failing silently.  All such known calls
	  reverted to the illogical string length metric until this
	  can be fixed.

	* Makesubs.pm: Changed the semantics of f_wordlist to match
	  GNU make more closely.

2006-03-11  Daniel Pfeiffer  <occitan@esperanto.org>

	* t/additional_tests/2006_02_18_makeppbuiltin.test
	(worker.pm): Take care of Ebcdic.

	* pod/makepp.css (tall): Heighten to 150%.

2006-03-07  Anders Johnson  <ajohnson@nvidia.com>

	* Signature/md5.pm: Don't attempt to open non-files, because that
	  can succeed only to cause problems later.

	* Signature.pm, BuildCheck/exact_match.pm: Put the knowledge about
	  determining which signatures are content-based in Signature.pm.
	  (This is still questionable, but at least it's in a reasonable
	  place now.)  A couple of tweaks to the delimiting of hashed
	  data that should reduce the risk of build_cache_key aliasing.

2006-03-02  Anders Johnson  <ajohnson@nvidia.com>

	* FileInfo.pm, Glob.pm, Makefile.pm,
	t/additional_tests/2005_07_28_mkdir_wildcard.test:
	Handle globbing on '/' correctly.  Mkdir invalidates the parent
	directory's LSTAT info, and added a test case to show why this
	is necessary.

	* makepp: Store cached scanner info in the build cache.
	Fixes for the code that handled '--do-build' implying
	'--dont-build .'.  Fixed a warning.

	* ActionParser.pm: Deal with null commands properly.

	* Makesubs.pm: Fixed a shallow bug in f_absolute_filename_nolink.
	Support 'export VAR ?= value' syntax.

	* FileInfo.pm, BuildCache.pm: Fix the check for symbolic links
	in the build cache.

	* BuildCheck/exact_match.pm: Include the relative path of the
	target in the build_cache_key.

	* Makefile.pm, Makesubs.pm,
	t/additional_tests/2004_12_20_errors.test: If a
	warning occurs within user code and is not already identified as
	such, then report the closest enclosing user scope as well.
	Also, if this occurs when the MAKEPP_DIE_STACK_TRACE environment
	variable is set, then die with a stack trace, for debugging
	purposes.  Fix add_prefix and add_suffix GNU make compatibility.

	* Scanner/C.pm: Handle escaped newlines.  If we don't know
	whether an #if is true, then also evaluate the #else clause if
	any. (Not perfect, but usually more conservative.)

	* makepp: Print a log message when a file is copied in from a
	build cache, so that we can tell what happened (especially since
	it can make a writable file unwritable).

	* FileInfo_makepp.pm: When removing a stale generated file,
	remove the associated build info file as well.

	* Rule.pm: Fixed a warning.

	* pod/makepp_sandboxes.pod: Slight clarifications.

2006-03-01  Anders Johnson  <ajohnson@nvidia.com>

	* FileInfo.pm: Fixed a shallow bug with symlink handling.

	* Scanner.pm, Rule.pm: Re-implemented add_include_suffix in terms
	of add_include_suffix_list.  (Can't get rid of it, because it's
	part of the class's legacy interface.)	Added $front parameter
	to add_include_dir.  Report the tag when an included file can't
	be found.

	* Scanner/Verilog.pm: Reworked implementation to handle comments
	more accurately.

	* t/verilog.test: Basic test for Verilog scanning.

2006-02-28  Daniel Pfeiffer  <occitan@esperanto.org>

	* install.pl (highlight_variables): Use class tall in pre to have
	only a somewhat bigger space instead of a full empty line.

	* pod/makepp.css (tall): New class.

	* Makesubs.pm (s_include, s__include): Fix error message to follow
	makepp style.

	* makepp ($verbose): New variable.

	* makeppbuiltin: Major modifications.  New options -I & -M.

	* Makecmds.pm (c_cut, c_grep, c_sort): Make customary Unix short
	opts take precedence over ours.
	(c_uniq): Fix option specification (S -> s).
	(frame): Replaces _opts and _close.  Update all commands to use
	it.  Inherit verbose from makepp.
	(::getopts): Optional strict mode and say which command caused
	error.	Verbose shows long option.

	* Rule.pm (execute_command): Don't set $File::maybe_open for
	builtin commands as they take care of this themselves.	Allow
	command to already be present in error message.

	* t/builtins.test (uc.out): New subtest to see that
	frame can be used by own command and within a module.

	* t/additional_tests/2006_02_18_makeppbuiltin.test: New
	test.

	* pod/makepp_builtins.pod: Document changed options.

	* pod/makepp_extending.pod: Document Makecmds::frame and
	possiblity of extending with Perl modules.

	* pod/makepp_release_notes.pod: Document changed options in 3
	builtins.

	* pod/makeppbuiltin.pod: Document changes.

2006-02-17  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm ($opt{o}, _close): Implement inplace editing via
	Perl-like -o +<

	* t/builtins.test (sed.out): Test -o +<

	* pod/makepp_builtins.pod: Document -o +<

2006-02-16  Anders Johnson  <ajohnson@nvidia.com>

	* pod/makepp.pod, pod/makepp_sandboxes.pod:  Added complete
	documentation of the sandboxing options.

2006-02-08  Anders Johnson  <ajohnson@nvidia.com>

	* run_tests.pl: Work-around for bug in Perl 5.8.0 (on x86
	Redhat EL3.0) wherein $Config{perlpath} is corrupted if you
	access $Config{sig_name} first.

	* t/additional_tests/2004_12_06_scancache.test:
	Call wait_timestamp.pl on x.o where needed.

2006-02-07  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm (c_grep): Don't add extra args to &perl.
	New option -l.

	* t/builtins.test: Test &grep -l/-xl/-xxl.

	* pod/makepp_builtins.pod: Reorder options one per line, as in
	makepp.pod.  Document &grep -l.	 Link to makeppbuiltin.pod.

	* makeppbuiltin: New command

	* pod/makeppbuiltin.pod: New documentation.

	* pod/makepp_release_notes.pod: Link to makeppbuiltin.pod.

	* install.pl (highlight_variables): Insert makeppbuiltin into
	menu.  Italicise =item args only in those pods where the 1st word
	is a command/function.

	* pod/makepp.pod (UPGRADE WARNING): Make it less intimidating,
	simply recommending a clean rebuild.

	* pod/makeppclean.pod (SYNOPSIS): Use same style as makepp.pod.

2006-01-23  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm (parse_rule): Allow spaces before all modifiers (bug 1391160).

	* makepp (parse_command_line): Make hidden feature accessible with
	new options -s, --silent, --quiet.  Rename old -s to -S.  Add long
	variants --include/--include-dir.
	(common_opt): Delete function and put code into while loop.

	* install.pl (highlight_keywords): Allow path after build_cache.

	* pod/makepp_command.pod: Document new options.

2006-01-19  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp ($build_root): New global variable replacing the global
	use of $target_cwd, which does not always represent the same
	thing.
	(parse_command_line): New option --search-upwards.

	* Makefile.pm (find_makefile_in): Also try Makeppfile.mk.

	* FileInfo.pm: Use $build_root.

	* Makecmds.pm (c_sort): New options --numeric-sort and --reverse.
	(c_uniq): Don't call $cmp before reading 2 lines.

	* TextSubs.pm (pattern_substitution): Use precalculated length.

	* Makesubs.pm (f_filesubst): Match case insensitive filenames,
	needed by pattern rules.
	(f_ROOT): Use $build_root.

	* Glob.pm (wild_to_regex): Do a regexp that's really case
	insensitive, when needed.

	* t/pattern_rule.test: Test mixed case rules.

	* t/builtins.test: Test &sort -r.

	* pod/makepp_builtins.pod: Document &sort -n and -r.

	* pod/makepp_command.pod: Document --search-upwards and Makeppfile.mk.

2005-12-25  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makesubs.pm (%scanners): Add lsbc++.

	* Makecmds.pm (&sort, &uninstall): New commands.
	(&install): New options and write all actions to log file.

	* t/builtins.test: Test new commands.

	* install.pl (highlight_keywords): Highlight new builtins.

	* pod/makepp_builtins.pod: Document new commands and options.

	* pod/makepp_release_notes.pod: Inform about builtins.

	* pod/makepp_variables.pod: Document effect of $(MAKE).

2005-12-12  Daniel Pfeiffer  <occitan@esperanto.org>

	* Scanner.pm (find): Remove obsolete optimization no longer
	effective since scanner caching.

	* Makecmds.pm (c_cut): Use eval_or_die and Perl's autosplit
	variable @::F.

	* pod/makepp_builtins.pod (&cut): Document Perl's autosplit
	variable @::F.

2005-12-03  Gary Holt  <holt-makepp@gholt.net>

	* CommandParser/Swig.pm (new): Fix syntax error.

2005-12-01  Gary Holt  <holt-makepp@gholt.net>

	* CommandParser/Gcc.pm (xparse_command): Fix bug where -include
	on the gcc command line gobbled too many words.

2005-11-27  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm (c_cut): Columns now only as Perl expr.  Don't die
	if only column 0 is requested.	New option --lines.

	* Rule.pm: Consider functions with trailing '_' in name as
	private, so don't look them up as methods.

	* Makefile.pm (_read_makefile_line_stripped_1): Append
	continuation lines as long as a $(( )) is not complete.

	* t/builtins.test: Test &cut --lines.

	* t/variable_expansion.test: Test multiline $(( )).

	* pod/makepp_builtins.pod: Document &cut --lines as an alternative
	to head or tail.

	* pod/makepp_functions.pod: Document multiline $(( )).

2005-11-24  Daniel Pfeiffer  <occitan@esperanto.org>

	* Signature/c_compilation_md5.pm (signature): Slightly optimize
	makepp's most expensive function, by eliminating return statements
	and modifying stack, so we can repeatedly use &call syntax.

	* Makesubs.pm (f_prebuild): New main name for f_make, to be
	consistent with the equivalent statement.

	* CommandParser/Gcc.pm (%opt): New variable for quick option
	lookup.
	(xparse_command): Use %opt.  Cleanup some cruft from last check
	in.

	* CommandParser/Swig.pm (%opt): New variable for quick option
	lookup.
	(xparse_command): Use %opt.  Should now handle all options it
	needs to.

	* makepp, **.pm: Don't redundantly anchor .* to eol with $, as
	that slows regexps down.

	* pod/makepp_speedup.pod: Document --gullible.

	* pod/makepp_functions.pod: Document $(prebuild).

	* profiler.pm (DESTROY): Say who called eval.

2005-11-21  Daniel Pfeiffer  <occitan@esperanto.org>

	* CommandParser/Gcc.pm (parse_opt): New function for overriding.
	(xparse_command): Optimize, fix a few options treated
	insufficiently or wrongly and add support for gcc-4.0's funny new
	options replacing -I-.

	* CommandParser/Esqlc.pm: Reimplemented with Gcc inheritance, by
	pushing back modified words.  Now almost fully handles Oracle
	Pro*C.

	* Scanner/Esqlc.pm (get_directive): Handle EXEC ORACLE.
	(other_directive): Handle optional include suffix, as provided by
	parser to add_include_suffix_list.

	* CommandParser/*.pm (new), Scanner/Verilog.pm (new): Don't repeat
	class determination and blessing.

	* t/esqlc.test: Test Oracle Pro*C harder.

2005-11-15  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo.pm ($case_sensitive_filenames): Don't delete testfile,
	as that caused the log to be recreated as root, when making
	"install". (Reported by Rob Schaper)

	* makepp, config.pl, MakeEvent.pm (process_finished):
	Eliminate client/server mode.

	* install.pl: Eliminate client/server mode.
	(highlight_variables): Don't put markup into title.

	* makeppclient, t/client_server_unix.test:
	* pod/makeppclient.pod: Eliminate files.

	* t/additional_tests/2003_11_25_wild.test (makepp_test_script.pl):
	Also works on older Perl.

	* makepp_builtin_rules.mk: Remove warning for ./test from linker
	rule, moving it into a rule of its own, which now handles all
	Bourne Shell builtins and keywords.
	Don't use Shell for Windows phony .exe hack.

	* pod/makepp_speedup.pod: Show simplified commands with aliasing.

	* pod/makepp_builtin.pod: Remove variable list, since I had
	overseen it when creating the new one in makepp_variables.pod.	It
	fits better there, and the new one is complete.

2005-11-14  Gary Holt  <holt-makepp@gholt.net>

	* FileInfo.pm (stat_array): Fix bug where we used the wrong
	directory as a starting point for symbolic links with relative paths.

2005-11-13  Gary Holt  <holt-makepp@gholt.net>

	* CommandParser/Swig.pm (xparse_command): Fix bug where SWIG
	includes overwrote C++ includes if the same .h file was seen by
	both swig and C++.

2005-11-13  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (maybe_stop): New function.
	($dont_build_dir_flag): Removed var.
	(parse_command_line): Make $FileInfo::root DONT_BUILD because
	otherwise makepp goes barging into foreign directories where it's
	only supposed to pick up things, if they happen to have sources.
	So make $target_cwd DONT_BUILD=0, unless there's a directly
	inherited --do-build under it, which wouldn't otherwise make
	sence.

	* Makesubs.pm (f_infer_linker, f_infer_objects, f_make)
	(s_prebuild): Call ::maybe_stop.

	* t/additional_tests/2003_11_25_wild.test (makepp_test_script.pl):
	Replaces Shell script and explicitly allows makepp to build
	something outside of the build tree.

	* FileInfo_makepp.pm (dont_build): Don't consider abolished var
	$::dont_build_dir_flag.

	* pod/makepp_speedup.pod: New doc.

	* install.pl (highlight_variables): Make "makepp" look like in the
	logo, wherever it is used.
	Add speedup doc to nav bar.

	* Dump.pm (Dump::import): Dump $::target_cwd, when called via use.

	* stress-test.pl: The directories b, d, f and h, if present, will
	have a Makeppfile generated by makepp.

2005-11-09  Daniel Pfeiffer  <occitan@esperanto.org>

	* Scanner.pm (new): Eliminate SCANNED, as these are now directly
	stored in the scanner (hash key collisions being impossible.)
	Introduce SEEN.
	(scan_file1): Eliminate apparently unused "local $_".
	(include): Use SEEN for only handling each file once per scanner,
	giving a nice speedup.	This is also needed so that makepp doesn't
	choke on include recursion, which the compiler catches via include
	guards.	 This works for us, but I might have missed something.

	* FileInfo.pm (lstat_array): Use -l for symlinks instead of
	erroneous -s.  Remember when it's a symlink by setting LINK_DEREF
	to false, i.e. making it exist.
	(link_deref): Eliminate and include into the only two callers.
	(dereference, is_or_will_be_dir, is_symbolic_link, stat_array):
	Use LINK_DEREF to optimize these CPU hogs.  Herewith FileInfo
	leaves the top 10.

	* FileInfo_makepp.pm (signature): Use LINK_DEREF to avoid statting
	when possible.	Eliminate multiple return statements.

	* makepp (parse_command_line): Don't check directory existence,
	because makdir will do it again.

	* profiler.pm: Keep microseconds as integer and do own
	calculations -- Time:HiRes converts to float, which is often one
	off (maybe more when not on Linux).

	* stress-test.pl: Generate potentially recursive includes.  Output
	memory as -1 if not obtained from ps. (Why did this happen on
	Solaris?)
	(NO_LN, LN, DUMP): New makepp CLI variables.

2005-11-03  Daniel Pfeiffer  <occitan@esperanto.org>

	* Scanner.pm (scan_file1): Replace obsolete module FileHandle with
	"open my $fh, ..."
	(find): Calculate dir only if we get an undef.	Cache results per
	directory, but not per suffix.	This would seem to increase memory
	consumption, but in fact reduces it slightly.  But most of all it
	reduces CPU consumption yet again by 15% - 30% depending on how
	far into the include/lib paths the files have to be searched.

	* Makesubs.pm (f_CC, f_CXX, f_F77, f_LEX, f_YACC): Cache results.
	(f_ROOT): New variable.

	* FileInfo_makepp.pm (exists_or_can_be_built_or_remove): Eliminate
	2nd caching of EXISTS_OR_CAN_BE_BUILT, now handled by Scanner.

	* Rule.pm (execute_command): Replace unneeded module FileHandle
	with close.

	* makepp (--version): Inform about GPL as well.
	(parse_command_line): Replace obsolete module FileHandle with
	"open my $fh, ..."

	* LICENSE: Bump GPL to version 2.

	* stress-test.pl: Show memory consumption in final output.

	* makepp_builtin_rules.mk (_CPP_SUFFIXES): Handle file-name case
	sensitivity separately from Windows, since Linux and others can
	also access such file systems.

	* t/variable_expansion.test: Test $(ROOT).

	* pod/makepp_variables.pod (Predefined Variables): New section.

2005-11-01  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (parse_command_line): Make $target_cwd (the top of the
	build tree) generally accessible as our instead of my.

	* FileInfo.pm (relative_filename): Optimize by cutting off if
	$fileinfo is under $dirinfo or if both are under $::target_cwd.
	When new optional 3rd arg is true doesn't assemble the result as a
	string, but only returns the distance.

	* FileInfo_makepp.pm: Some small optimizations.
	(set_rule): Use new 3 arg form of relative_filename.  This can
	change builds because it now compares the actual directory
	distance, instead of using path string length as an approximation.
	(assume_unchanged, dont_build, in_sandbox, dont_read): Eliminate
	return statements (which are expensive in some versions of Perl)
	in these extremely frequently called functions.

	* Scanner.pm (INCLUDE_DIRS, INCLUDE_SFXS, TAG_MAP, SHOULD_FIND):
	New constants for indexing the array looked up by {$tag}, which
	replaces 4 separate mini hashes we used to have.  For this tags
	are now documented as required to be lowercase, so as to evite
	collision with any Scanner attributes.
	(new): Initialize fewer fields.
	(get_tagname): Address TAG_MAP the new way.
	(add_include_dir): Address INCLUDE_DIRS the new way.
	(add_include_suffix_list): Replaces add_include_suffix.	 Takes the
	whole list at once and caches it to prevent having many identical
	lists.	Address INCLUDE_SFXS the new way.
	(should_find): Address SHOULD_FIND the new way.
	(info_string): Set a whole hashref at once, on the ground that
	these are effectively constant, so can be shared across scanners.
	(scan_file1): Get directory status from FileInfo instead of from
	file system and only log "Scanning" if we can read the file.
	(find): Add a dummy argument so this can be called as &find by
	include, which is the most frequent call in makepp.  We sacrifice
	method lookup, since no subclass implements a different find.

	* Rule.pm: Use changed Scanner interface.
	(add_include_suffix_list): Replaces add_include_suffix.

	* CommandParser/Esqlc.pm, CommandParser/Gcc.pm:
	* CommandParser/Swig.pm, CommandParser/Vcs.pm: Use changed Scanner
	interface.

	* pod/makepp_compatibility.pod (AIX): Add 5.8.7.

	* stress-test.pl: New utility.

2005-10-31  Gary Holt  <holt-makepp@gholt.net>

	* CommandParser/Swig.pm (xparse_command): Fix bogus include file
	warnings.

2005-10-24  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo_makepp.pm (exists_or_can_be_built_norecurse): Combine
	two return statements, since it turned out that multiple returns
	are more expensive than one with a complex condition.  At least on
	Intel, on Sparc this does not seem an issue.
	Cache result in EXISTS_OR_CAN_BE_BUILT.
	(exists_or_can_be_built): Prevent call if EXISTS_OR_CAN_BE_BUILT is cached.
	(exists_or_can_be_built_or_remove): Also cache result in EXISTS_OR_CAN_BE_BUILT.

	* Scanner.pm (find): Use cached EXISTS_OR_CAN_BE_BUILT to prevent
	calling exists_or_can_be_built_or_remove half a million times.

	* profiler.pm: Don't flush so much intermediate info by default.
	Also instrument generated wildcard function in Glob.pm.
	New option -r.	New arguments: Module...

2005-10-22  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo.pm: At the end add a list for most functions whether
	they are safe to call with implicit stack.
	(traverse): Make this function iterative instead of recursive.

	* BuildCache.pm, FileInfo_makepp.pm, Makesubs.pm, Rule.pm:
	* Scanner.pm, makepp: Use impicit stack for many FileInfo calls.

2005-10-20  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (ARCHITECTURE, PERL): New constants replacing former
	variables.  Call a few FileInfo functions with stack reuse.

	* BuildCheck/exact_match.pm: Use the new constants.  Repeatedly
	make use of the grouped retrieval of build info.
	(build_cache_key, update_dep_sigs): Change the regexp to recognize
	a base64 sig, instead of a hex sig.

	* Makecmds.pm, Makesubs.pm: Use the new constants.

	* FileInfo_makepp.pm: Call a few own methods as functions or with
	stack reuse.

	* Rule.pm (load_scaninfo_single): Retrieve one more build info in
	the common call.  Call Scanner methods as functions since we just
	instantiated the object ourselves, so there can be no inheritance.

	* profiler.pm: Show the times() delta at least per interval and at
	the end.

2005-10-19  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp ($in_sandbox_dir_flag): Rename to match predicate.
	(setup_recursive_make_socket): Since this is no longer autoloaded,
	require IO::Socket instead of using it, loading only when needed,
	as the comment promised.

	* FileInfo.pm (dereference): Make heavily used function iterative
	instead of recursive.
	(stat_array): Put in same guard as in dereference for endless
	recursion.

	* FileInfo_makepp.pm (assume_unchanged, dont_build, in_sandbox):
	(dont_read, _test_set): These were by far the most frequently
	called functions, so eliminate the helper, generating each one
	individually instead.
	(parse_build_info_file): Profit from stack reuse possible for
	&dont_build.  (Should go over this systematically to reap the
	maximum benefit wherever possible!)

	* profiler.pm: Be smarter about not instrumenting trivial
	functions.  Fix child process profiling.
	(@ENV{PROFMPP_MINTIME PROFMPP_MINCOUNT PROFMPP_CHILDFRACTION}):
	($ENV{PROFMPP_INTERVAL}): Renamed and new options, which also get
	recorded in the log files.

2005-10-17  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo.pm (stat_array): Keep track of the element we're
	iterating over to prevent endless loop.	 (Why didn't the test suite
	catch this, even though it uses symlinks?)

	* Rule.pm (execute_command): Remove unreachable elsif.

	* profiler.pm ($ENV{MININTERVAL}): New minimum distance for
	displaying intermediate results.  On a sufficiently fast machine,
	this interval is fairly precise.
	(DESTROY): Output correlation timestamps to .makepp_log.
	(output_child): New function not yet working (why not?)

2005-10-15  Daniel Pfeiffer  <occitan@esperanto.org>

	* ActionParser.pm, ActionParser/Legacy.pm,
	* ActionParser/Specific.pm,
	* BuildCheck/architecture_independent.pm,
	* BuildCheck/ignore_action.pm, CommandParser.pm,
	* CommandParser/Basic.pm, CommandParser/Esqlc.pm,
	* CommandParser/Gcc.pm, CommandParser/Swig.pm,
	* CommandParser/Vcs.pm, MakeEvent.pm, Makefile.pm, makepp,
	* Makesubs.pm, Scanner.pm, Scanner/C.pm, Scanner/Esqlc.pm,
	* Scanner/Swig.pm, Scanner/Vera.pm, Scanner/Verilog.pm,
	* Signature/c_compilation_md5.pm, Signature/shared_object.pm,
	* Signature/verilog_simulation_md5.pm,
	* Signature/verilog_synthesis_md5.pm: Eliminate expensive call
	stack modifications.  Replace module "vars" by keyword "our".

	* Rule.pm (execute_command): New local var $File::maybe_open
	incremented for each Perl block we run, so that the Perl code gets
	a chance to declare that it has not left any files open.

	* Makecmds.pm: Decrement $File::maybe_open to prevent calling
	/bin/true when sure that no files remain open.

	* FileInfo.pm (STAT_NLINK): Add constant which was forgotten,
	because it was only present as a numeric literal.
	(stat_array): Make heavily used function iterative instead of
	recursive.

	* FileInfo_makepp.pm (signature): Optimize heavily used function.

	* Glob.pm (find_real_subdirs): Use STAT_NLINK.

	* profiler.pm: Don't instrument very trivial functions.
	(@ENV{MINTIME MINCOUNT}): New minima, below which functions are
	not considered.	 Defaults to 10ms and 20 calls.
	(display): New function grouping ever the same operations, and
	optimized by eliminating values below the minima before sorting.

2005-10-12  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo.pm (lstat_array): Let Perl test readability while it
	has the stat structure, unless it's a symlink.

	* BuildCheck/exact_match.pm (build_cache_key):
	* Signature/c_compilation_md5.pm (md5sum_c_tokens):
	* Signature/md5.pm (signature):
	* Signature/shared_object.pm (signature_shared_lib): Use slightly
	faster and more memory efficient base64 digest instead of hex
	format.

	* Dump.pm (Dump): Put directories after names and only show
	statistics for signature lists.	 Per default dump at end of makepp
	run.

2005-10-07  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp, BuildCache.pm, FileInfo.pm, FileInfo_makepp.pm: Remember
	only those stat fields we use.	Eliminate stack modification.

2005-10-05  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo.pm: Change documentation to underline that we very much
	want this to be used functionally.
	(@EXPORT, @EXPORT_OK): Optimize choice.
	(STAT_*): New constants instead of old vars which were duplicated
	in several modules.

	* FileInfo_makepp.pm (build_info_string): Allows fetching multiple
	keys at once.
	(exists_or_can_be_built_norecurse): Eliminate double test.

	* ActionParser.pm, BuildCache.pm, CommandParser.pm, Makefile.pm,
	* Makesubs.pm, Rule.pm, Scanner.pm, makepp, BuildCheck/exact_match.pm,
	* BuildCheck/target_newer.pm, CommandParser/Esqlc.pm,
	* CommandParser/Gcc.pm, CommandParser/Vcs.pm, Scanner/Verilog.pm,
	* Signature/c_compilation_md5.pm, Signature/md5.pm,
	* Signature/shared_object.pm: Eliminate OO use of FileInfo.

2005-09-09  Daniel Pfeiffer  <occitan@esperanto.org>

	* TextSubs.pm (split_on_whitespace_or_commands): Revert last
	change, which could cause Perl 5.8.0 to segfault mysteriously on a
	huge project.  Reimplement it differently.

	* Makecmds.pm (c_cp, c_ln): Fix -f in case target is given as a
	directory.  Used to test existence of directory for deletion here.

	* t/builtins.test: Test &ln fix.

	* t/additional_tests/2005_07_12_build_cache_cp.test:
	Skip if MD5 not available.

2005-08-18  gholt  <holt-makepp@gholt.net>

	* CommandParser/Swig.pm, Scanner/Swig.pm, Makesubs: Add a new
	scanner/command parser for SWIG (a wrapper generator for various
	scripting languages).

	* Makesubs.pm (eval_or_die): Fix a bug where a change in error
	message format in perl 5.8.7 caused perl_begin to fail.

2005-08-04  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (f_join): Fix bug (reported by Mark Pettigrew) in
	join function where a "0" was treated as undefined.

2005-07-14    <holt-makepp@gholt.net>

	* Makesubs.pm (f_filter, f_filter_out, etc.): Give an error
	message if not enough arguments are supplied.

2005-07-12  Anders Johnson  <ajohnson@nvidia.com>

	* makepp, BuildCache.pm, BuildCheck.pm, BuildCheck/exact_match.pm,
	t/additional_tests/2005_07_12_build_cache_cp.test:
	Build cache policy change: Key equality now must imply
	substitutability.  Use MD5 signatures for dependencies in the
	build cache key if the signature is otherwise not MD5-based.
	Don't call build_check_from_build_info after getting a key match.
	After importing from the build cache, update DEP_SIGS as needed
	to avoid a build check failure on a subsequent makepp run.  Add
	--force-copy-from-bc option to test the different filesystem
	case, and added build_cache_cp.test that makes use of it.

2005-07-11  Anders Johnson  <ajohnson@nvidia.com>

	* BuildCache.pm:  Because of concurrent build cache access, the
	mkdir can fail, but we don't care so long as it exists after we
	make the attempt.

	* makepp: Added --nopopulate-bc option.	 If makepp detects a
	problem when completing, print the error that caused it to bail
	out, if any.  Improved the "dangling critical section" error
	message.  Changed the final diagnsotic from "build failed" to
	"target(s) failed", because sometimes users don't think they're
	building anything (e.g. "makepp clean" and "makepp test").
	Properly handle the case in which build_target_done bails out.

	* t/client_server_unix.test: Tracked change to final
	diagnostic.

2005-07-01  Daniel Pfeiffer  <occitan@esperanto.org>

	* pod/makepp_compatibility.pod: Document 5.8.7 and sourceforge
	compile farm results.

	* t/additional_tests/2004_03_24_scanner_c_lib.test (libxyz.a):
	Fix ar options for Darwin.

	* t/spar ($extractor): Fixed for Darwin.
	(Emacs spar-fix): Also update modification time stamp.

	* t/additional_tests/spar_unix.test: Test version 0.8.

2005-06-30  Gary Holt  <holt-makepp@gholt.net>

	* FileInfo.pm (is_writable): Because of problems with Cygwin's
	directory permissions not actually corresponding to what Windows
	thinks the directory permissions are, when checking for
	writability of a directory, we look more carefully at the mode.
	If the directory is writable by no one (user, group, other), then
	we don't bother to try to create the test file.	 This way, even if
	we would succede in creating the test file, we still mark the
	directory as unwritable--which is what we want for inhibiting
	repository imports and inhibiting scanning of read-only header
	files.

2005-06-30  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp_builtin_rules.mk (_OBJ_SUFFIX): New variable used in all
	.o rules.
	(_IS_CYGWIN): Replaced by an ifperl block.

	* Makesubs.pm (system_include_dirs): Handle /usr/include not being
	available (Windoze), but don't know how to get this right.
	(scanners, f_CC, f_CFLAGS, f_CXX, f_CXXFLAGS): Handle Visual
	Studio and Borland.

	* t/run_tests.pl (un_spar):
	* Makecmds.pm (c_mkdir): Don't call mkdir() with trailing '/', as
	this fails on Darwin.

	* Rule.pm (execute_command): Exec /usr/bin/true for BSD, which
	doesn't have /bin/true.

	* t/c_compilation.test: Make it work on native Windows.

2005-06-27  Anders Johnson  <ajohnson@nvidia.com>

	* Makesubs.pm, pod/makepp_functions.pod:  $(relative_filename) and
	$(relative_to) always return filenames containing a slash, in case
	they are used as executables.

2005-06-20  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makesubs.pm (eval_or_die): Revert undocumented commenting out of
	code line determination, as this broke 2004_12_20_errors.test.

	* t/additional_tests/2003_11_14_timestamp.test,
	* t/additional_tests/2004_02_27_srctarg.test,
	* t/additional_tests/2004_03_03_minusk.test,
	* t/additional_tests/2004_03_03_scan_build.test,
	* t/additional_tests/2004_03_31_stale.test,
	* t/additional_tests/2004_12_20_errors.test: Replace
	Shell code with Perl for native Windows compatibility.

	* t/additional_tests/2004_03_26_exit_status.test: New
	test combines two almost identical tests.

	* t/additional_tests/2004_03_26_perl_exit_status.test,
	* t/additional_tests/2003_10_17_shell_exit_status.test:
	Remove old tests.

2005-06-15  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (f_findfile): Fix bug in path splitting.

	* Makefile.pm (_truthval): cd to the proper directory before
	evaluating any ifperl construct, so that if the perl code accesses
	the filesystem, it works on the right directory.

2005-06-15  Daniel Pfeiffer  <occitan@esperanto.org>

	* TextSubs.pm (split_path): New function.
	(format_exec_args): Refix for MinGW.

	* Makesubs.pm (f_find_program, f_findfile, f_MAKE): Use
	split_path.

	* t/variable_expansion.test (shell_command): Eliminate
	';' on native Windows.	Add trailing space for Unix because this
	is apparently inevitable on Windows.
	(x): Extend this to cover all cases of former export.test.
	Alternately use Windows variable syntax.

	* t/export.test: Drop redundant test.

2005-06-14  Anders Johnson  <ajohnson@nvidia.com>

	* ActionParser.pm: Deal with "cd" commands in an action.
	A couple of bug fixes as well.

	* Makesubs.pm, makepp, pod/makepp_functions.pod: Add f_temporary.

	* TextSubs.pm: Fixed bug wherein '>&' in a shell command was
	erroneously treated like '> &'.

2005-06-12  Daniel Pfeiffer  <occitan@esperanto.org>

	* TextSubs.pm (format_exec_args): Fix native Windows handling.

	* t/run_tests.pl (makepp): Return true on success (in
	case a test script ends with this).

	* t/dry_run_what_if.test,
	t/directories.test: Eliminate complex Shell commands
	for the benefit of native Windows.

2005-06-09  Anders Johnson  <ajohnson@nvidia.com>

	* ActionParser.pm, CommandParser.pm: Refactored add_dependency
	method and its associates from CommandParser into ActionParser,
	because they're needed in both places.	Handle '>>' redirectors
	properly.

2005-06-08  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm (_opts): Select $outfile so perlcode can print.
	(c_perl): New command.

	* t/builtins.test (sed.out): Test &perl.

	* pod/makepp_builtins.pod: Document &perl.

	* install.pl: Add new fields above nav-bar.  Add timestamp in foot
	if Id-tag is present in the pod file.

	* pod/makepp.css: Format new fields above nav-bar.

	* pod/google.png, pod/sflogo.png: New files so that local pages
	don't dial in to get the logos.

2005-06-07  Anders Johnson  <ajohnson@nvidia.com>

	* install.pl: Install makepp_build_cache_control and
	BuildCache.pm.	Substitute the she-bang of every file, not just
	the first one with which substitute_file is called.  Also, do the
	right thing if the directory path in the she-bang starts out
	containing "perl".

	* ActionParser.pm, TextSubs.pm: Parse multiple redirectors
	properly, using max_index_ignoring_quotes.

	* FileInfo.pm, FileInfo_makepp.pm: Moved implementation of
	$FileInfo::directory_first_reference_hook from
	exists_or_can_be_built to is_or_will_be_dir, and made the former
	call the latter.

	* FileInfo_makepp.pm, Rule.pm, Makefile.pm, makepp,
	t/directories.test: Handle the case in which a stale
	generated file can still be built because it now comes from a
	repository.  This is complicated, because properly handling the
	cases in which it is built after its rule is deleted becomes
	tricky.

	* Scanner.pm: Fixed a typo from one of Daniel's uberchanges.

	* Makesubs.pm: Add f_absolute_filename_nolink.

	* makepp_build_cache_control: Fixed a couple of spurious warnings.

	* t/build_cache.test: Fixed the test case for the
	2005-06-02 change.

	* t/additional_tests/2004_11_02_repository_rmstale.test:
	Added test case for getting a formerly generated file out of a
	repository.

2005-06-06  Anders Johnson  <ajohnson@nvidia.com>

	* Makesubs.pm,
	t/additional_tests/2004_03_24_scanner_c_lib.test:
	Don't use 'our', because it overrides the package inside an eval
	call from within its scope (e.g. from eval_or_die).

2005-06-02  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo.pm (absolute_filename_nolink): Don't assume slash
	before C:/ (this is what was completely breaking makepp on native
	Windows).

	* makepp ($PERL): New variable, more reliable than
	$Config{perlpath} in case of multiple installed versions.
	(@signals_to_handle): Emtpy list on native Windows 5.6.1 which
	doesn't define sigs.

	* Makecmds.pm (run_forked): Don't fork on native Windows, but run
	system $::PERL.
	(c_cat): Use copy, because syscopy can't write to file handle on
	native Windows.

	* Makesubs.pm (f_MAKE): Use $main::PERL.

	* Makefile.pm (_truthval): Don't expect uname to work.

	* t/run_tests.pl (execute): Handle un_spar failing for
	symlinks on natve Windows.
	($ENV{PERL}, $perl): Set these reliably in case of multiple
	installed versions.

	* t/builtins.test (echo.out): Don't expect native
	Windows "shell" to handle complex command.

	* pod/makepp_compatibility.pod: Added 6 Linux and 3 Solaris tests.
	Document that native Windows is half working.

2005-06-02  Anders Johnson  <ajohnson@nvidia.com>

	* BuildCache.pm, t/build_cache.test: Fixed a bug in
	which stale file attributes were not discarded after importing a
	file from a build cache.

	* Makefile.pm, t/conditionals.test: Fixed a bug in
	which a conditional after an inactive conditional was ignored.

2005-05-31  Daniel Pfeiffer  <occitan@esperanto.org>

	* t/run_tests.pl: Use File::Path::rmtree since its more
	efficient than forking 3 processes and since 2>&- doesn't work on
	native Windows.

	* Makesubs.pm (%scanners): Add colorgcc.
	(f_warning): Use warn for consistency.

	* additional_tests/2004_12_20_errors.test: Test $(warning).

	* pod/makepp_compatibility.pod: Improve formatting and add one
	test case.

2005-05-27  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo.pm (file_info): Don't put empty field in server-share
	paths.	Handle C:\ (but Windows doesn't work yet).

	* Makecmds.pm (c_ln): Make MAKEPP_LN_CP a bit vector to
	individually control &ln and &ln -s.

	* Makesubs.pm (f_error, f_warning): New functions.

	* t/run_tests.pl (execute): Don't report failure
	chmod`ing to-be-deleted dir.

	* t/builtins.test: Don't fail if Perl can't chmod on
	Cygwin (probably a //server/share).

	* install.pl: Handle makepp_compatibility so that it can be easily
	edited and shown in all output formats.
	(highlight_variables): Handle $(error) and $(warning).

	* pod/makepp_compatibility.pod: Recreate the table from scratch,
	reflecting my current test results.  Those that I can't verify,
	which date from 1.40, have been dropped and need to be
	reconfirmed.

	* pod/makepp.pod, pod/makepp_builtins.pod:
	* pod/makepp_incompatibilities.pod:
	* pod/makepp_release_notes.pod: Update.

2005-05-25  Daniel Pfeiffer  <occitan@esperanto.org>

	* TextSubs.pm (format_exec_args): On MinGW must start $(CC) via
	/bin/sh, or it doesn't get its arguments.

	* Makesubs.pm (@system_include_dirs): Don't add /usr/local/include
	if it doesn't exist (caused a warning on MinGW).

	* Makecmds.pm (c_ln): Add $ENV{MAKEPP_LN_CP} for making this sort
	of portable to systems where (sym)link doesn't work.

	* t/run_tests.pl (no_symlink): New constant.	 Use it to
	eliminate repository based tests on Samba mounts, Windows shares
	and MinGW.

	* t/builtins.test: Don't die on systems where chmod or
	link don't work.

	* t/wildcard_repository.test:
	* t/additional_tests/2003_11_14_repository_unlink.test,
	2003_11_25_repository_tot.test, 2003_12_05_phony_repository.test,
	2004_01_21_repository_build.test, 2004_02_19_repository_change.test,
	2004_03_25_repository_rule.test, 2004_04_01_stale_repository.test,
	2004_11_02_repository_rmstale.test: Rename these with "repository"
	so they can be excluded where not applicable.

	* pod/makepp_builtins.pod (&ln): Document $MAKEPP_LN_CP.

	* FileInfo.pm (absolute_filename_nolink): Return '/' if passed an
	empty (or undefined?) FileInfo.	 (Workaround suggested by Bruce
	Edge)

	* Rule.pm (@ISA): Add "our" needed in subpackage.

2005-05-24  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo.pm (is_windows): New exported constant.  Also covers
	MinGW (MSYS) and for the future ActiveState (MSWin32).

	* Glob.pm (zglob_fileinfo): Use is_windows.

	* makepp: Abolish $can_fork.
	(common_opt): Use is_windows.

	* MakeEvent.pm (start): Use is_windows.

	* Makesubs.pm: Use is_windows.

	* Rule.pm: Use is_windows.
	(DefaultRule::BuildCheck): Import absolute_filename.

	* makepp_builtin_rules.mk: Use FileInfo::is_windows.

	* t/run_tests.pl (is_windows): New constant.

	* t/additional_tests/2004_03_24_scanner_c_lib.test
	(EXE_SUFFIX): Use FileInfo::is_windows.

	* t/client_server_unix.test:
	* t/parallel_unix.test:
	* t/additional_tests/spar_unix.test: Added _unix to
	file name so as to skip on all Windows environments.

2005-05-22  Daniel Pfeiffer  <occitan@esperanto.org>

	* install.pl: Don't install new makepp_compatibility.pod as Man
	page.  Unify titles with nav-bar and overview.	Don't write final
	success message into last html file.
	(highlight_keywords, highlight_variables): Underline targets as
	Emacs does and highlight &builtins.

	* pod/makepp.pod: Unify titles with nav-bar and overview.

	* pod/makepp_compatibility.pod: Convert from HTML, so as to get
	consistent look and feel with other pods.

	* pod/*pod: Whitespace cleanup and join adjacent <pre>s.  Beautify
	initial index where available.	Fix typos and the build_cache
	warning. (Miscommented in CVS due to commit handling error.)

2005-05-18  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm (_read_makefile_line_stripped_1)
	(skip_makefile_until_else_or_endif): On initial success with else
	ifxxx, don't also do else.

	* t/conditionals.test: Test the above.

2005-05-13  Daniel Pfeiffer  <occitan@esperanto.org>

	* install.pl: Add nav-bar to all pages.

	* pod/makepp_release_notes.pod: Update.

	* pod/makepp_compatibility.html: Add nav-bar.

	* pod/makepp.css: Format nav-bar.

2005-05-10  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm: Remove all auto-qualifications by giving all those
	variables a my or our spec.
	(_truthval): New function extracted from
	_read_makefile_line_stripped_1.	 Implemented ifsys.
	(_read_makefile_line_stripped_1): Implemented and/or/else ifxxx
	combinations.

	* t/conditionals.test: Test ifsys (with a match all
	wildcard), and the and/or/else ifxxx combinations.

	* pod/makepp_statements.pod: Document new conditionals and
	reorganize pod into three sections.

	* install.pl (highlight_keywords): Handle ifsys and the
	and/or/else ifxxx combinations.

2005-05-07  Daniel Pfeiffer  <occitan@esperanto.org>

	* makeppclient (--start-server): Exit if FIFO can't be created.

	* t/builtins.test:
	* t/client_server.test:
	* t/additional_tests/spar.test: These fail for various
	reason on a Samba drive, so make them irrelevant there.

	* t/variable_expansion.test: Integrate
	2004_04_27_target_specific_append.test and drop that.

	* t/conditionals.test: Integrate 2004_05_13_ifdef.test
	and 2004_12_16_endif.test and drop them.

	* t/pattern_rule.test: Integrate
	2004_12_29_static_pattern_rule.test and drop that.

2005-05-05  Daniel Pfeiffer  <occitan@esperanto.org>

	* Glob.pm: Call FileInfo as functions, don't modify call stack
	and other minor optimizations.

	* profiler.pm: Actually get output called when shutting down
	makepp.
	(DESTROY): Don't trigger this in a rule action, only in the main
	process.  Count the time needed for this (considerable when
	outputting after 10s) neither for the profilee, nor for its
	caller.	 Record a second set of stats for each function separately
	per caller, in the hope that such pairs give better combined
	optimization ideas, or hints at where makepp's algorithm is
	wasteful.

2005-05-03  Daniel Pfeiffer  <occitan@esperanto.org>

	* profiler.pm: New analysis script/module.

	* Makefile.pm: Completely take out internal object orientation,
	replacing costly $mfile->method, with method( $mfile ), or where
	possible even &method, reusing stack.  Optimizations like no
	modifications of stack, no unneeded my variables, tr instead of s,
	no double quotes unless interpolation is wanted.

	* TextSubs.pm (skip_over_make_expression): Return length of
	parens, so caller needn't rescan.

2005-04-28  Anders Johnson  <ajohnson@nvidia.com>

	* ActionParser.pm: Parse redirectors (but still need to add
	targets and dependencies for them).

	* ActionParser.pm,
	t/additional_tests/2004_12_20_errors.test: Commented
	out one of Daniel's changes from 2005-04-16, and cover the
	problem in the test suite.  (Need to discus how to fix this for
	real.)

	* Makesubs.pm,
	t/additional_tests/2004_12_20_errors.test: Deal with
	diagnostics from perl actions in a rule defined in an included
	makefile, and cover in the test suite.	Call touched_filesystem
	*after* evaluating generic code.

	* Rule.pm, t/additional_tests/2004_12_06_scancache.test:
	Re-added a line that was inadvertently (I assume) deleted by Daniel
	on 2005-04-21, and cover the issue in the test suite.  Also backed
	out a few other nearby optimizations that compromise
	maintainability (e.g. relying on $_ not being modified inside a
	complex loop).	Added a comment indicating why the line numbers
	from perl action diagnostics are off by a little.

	* Rule.pm, makepp, t/client_server.test: Flush the
	log file before a perl action fails.  (Probably not robust with
	-j, but it's better than nothing.)  Made diagnostics from perl
	actions a little more readable.

2005-04-28  Daniel Pfeiffer  <occitan@esperanto.org>

	* TextSubs.pm (format_exec_args): Reinstate { for Bash patterns.

	* t/variable_expansion.test: Move trivial
	2004_02_11_export_colon.test into this one.

2005-04-27  Daniel Pfeiffer  <occitan@esperanto.org>

	* TextSubs.pm: Minor optimizations, which didn't improve much but
	the code shrunk a lot.
	(%skip_over): New lookup table.
	(split_on_whitespace): Don't treat ` specially.
	(split_commands): Don't split $(cmd; cmd), $((var|5)),
	${var:-foo&bar} and "$(cmd "foo;bar")".
	(skip_over_make_expression): Handle $((perl if( $a ) {...})) or
	${{shell find . -exec ls {} \;}}.
	(format_exec_args): Recognize = only after first word, {} not at
	all (where it's special, there must also be a ;), : and . only as
	commands and additionally [].
	(strip_indentation): New function replaces whitespace_len.
	(unquote): Handle x 'y' z correctly and also barf on trailing
	slash after ".

	* Makefile.pm (expand_text): Handle $((perl if( $a ) {...})) or
	${{shell find . -exec ls {} \;}}.
	(parse_rule): Use strip_indentation.
	(_read_makefile_line_stripped_1): Handle comments after
	ifdef/ifeq.  Fix problems with ifeq and quoting which became
	evident after the above unquote fix.

	* t/conditionals.test: Test above ifdef/ifeq fixes.

	* t/perl.test: Test $((perl )).

	* t/additional_tests/2004_12_17_idl.test: Fix problems
	with AIX and BS2000 compiler pickiness.
	This evidences a new problem with parsing $(CC) ..  >$(output),
	which only works if there is a space after >, but I didn't find
	where that gets parsed.

	* pod/makepp_functions.pod: Document $(( )) and ${{ }} at perl and
	shell.

2005-04-26  Anders Johnson  <ajohnson@nvidia.com>

	* Scanner/C.pm: Fixed a bug wherein $_ gets clobbered.

	* ActionParser.pm, ActionParser/Legacy.pm: Add a log message
	when it decides that scan info can'tbe cached.

	* Makesubs.pm, pod/makepp_functions.pod,
	t/conditionals.test: Added $(iftrue).  Preload
	CommandParser::Gcc and CommandParser::Basic, and avoid some shift
	statements, for efficiency.

	* TextSubs.pm: Accept ".pp" files as cpp input files.

	* Makefile.pm, Rule.pm, pod/makepp_rules.pod: Add :dispatch
	rule option.

	* FileInfo_makepp.pm: Track changes to is_stale in
	parse_build_info_file, and add comments that future tracking may
	be necessary.

	* CommandParser.pm: Fix a bug in add_optional_dependency, and
	add a comment so that it's more clear what's going on.

2005-04-21  Daniel Pfeiffer  <occitan@esperanto.org>

	* Rule.pm: Call FileInfo as functions, don't modify call stack
	where not needed and other minor optimizations, especially within
	nested loops.

2005-04-19  Daniel Pfeiffer  <occitan@esperanto.org>

	* Scanner.pm, Scanner/C.pm, Scanner/Esqlc.pm: Call FileInfo as
	functions, don't modify call stack and other minor optimizations.
	(xscan_file): Don't treat "//*...*/" as "/".

	* t/additional_tests/2004_12_17_idl.test: Extend this
	as in our real use, namely that a C++ source includes a header,
	which has to be generated from IDL.  This currently gives a
	warning.

2005-04-16  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo.pm, FileInfo_makepp.pm: Completely take out internal
	object orientation, replacing costly $finfo->method, with method(
	$finfo ), or mostly where possible even &method, reusing stack.
	Optimizations like no modifications of stack, no unneeded my
	variables, tr instead of s, no double quotes unless interpolation
	is wanted.

	* Makesubs.pm: Alias only functions, not whole blob.
	Optimizations like no modifications of stack, no unneeded my
	variables (many set $makefile_line but never used it), tr instead
	of s, join two s which only differ in one char, no double quotes
	unless interpolation is wanted.

	* ActionParser.pm: Small optimizations like no modifications of
	stack, no double quotes unless interpolation is wanted.
	(parse_rule): Add dependency on makefile if action includes
	perl {} or a user-defined c_command.  Add dependency on external
	Perl script if that is called via &script.

	* Makecmds.pm (run): Use Makesubs::f_find_program.
	(&uniq): Invert meaning of -c.

	* t/builtins.test (&uniq): Invert meaning of -c.

	* t/additional_tests/2004_12_06_scancache.test: #undef
	because AIX xlc doesn't allow redefinition.

2005-04-12  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm (c_cut): Repair --printf and lists.
	(c_printf): No implicit newline and thus remove --nonewline.
	(c_template): Give it an assignment and Perlcode embedding syntax,
	and allow arguments to macros.

	* t/builtins.test: Update tests.

	* pod/makepp_builtins.pod: Update.

	* pod/makepp_builtin.pod: Reflect that yacc rule uses builtin &mv.

2005-04-07  Anders Johnson  <ajohnson@nvidia.com>

	* Makesubs.pm, ActionParser/Legacy.pm, pod/makepp_scanning.pod,
	pod/makepp_statements.pod: Allow a scanner subroutine from a
	rule option to return a CommandParser object.  Removed
	Makesubs::parser_c_compilation, because it's no longer needed.
	Updated docs accordingly.

2005-04-07  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm: $0 in all errors now added by Rule.
	(getopts): Moved to main in preparation for makepp (was _getopts).
	(Makecmds): New package automatically considered by Rule.
	(eval_or_die, _chomp, _escape): New functions.
	(-E, --no-escape): New option as in GNU echo.
	(-s, --separator): Lowercased short option as in GNU tac or
	fmt.
	(c_echo): Handle \escape sequences.
	(c_cut, c_printf, c_yes, c_uniq): New commands.

	* Rule.pm (execute_command): Handle #comment after builtins.  Fix
	error messages at least to line number of beginning of rule (we
	don't really know what line a single command came from).

	* t/builtins.test: Add tests for new commands and features.

	* t/special_chars_unix.test: Fix trailing slash in
	&echo by suppressing \escapes.	Remove redundant check for Cygwin
	already handled by test name.

	* install.pl (highlight_variables): Remove 5.005 fix of nested
	<dl> which was broken on newer correct pod2htmls.  Fix hyperlinks
	to names with leading &.

	* pod/makepp_builtins.pod: Embolden first chars in index.  Update
	documentation.

	* pod/makepp_cookbook.pod: Fix example documentation to 4 space
	indentation and use &builtins where possible.

2005-04-06  Anders Johnson  <ajohnson@nvidia.com>

	* makepp, Scanner.pm, Scanner/C.pm: Add trailing newlines to a
	bunch of warnings that shouldn't spew makepp internals.

2005-04-04  Anders Johnson  <ajohnson@nvidia.com>

	* makepp, Rule.pm, CommandParser.pm: If scanning fails because
	a meta-dependency failed to build, then keep track of the failed
	dependency so that the root cause target can be reported.  Also,
	when scanning fails, don't try to build the dependencies that we
	know about unless -k is specified, because
	$MakeEvent::exit_on_error is locally reset even if it isn't.

	* Makesubs.pm: Removed the old scanner_c_compilation (again),
	this time adding a parser_c_compilation so that it will work
	when it's specified as a rule option.

	* makepp, t/client_server.test: Changed final message
	from "compilation aborted" to the more general "build failed".

	* t/variable_expansion.test,
	t/directories.test,
	t/additional_tests/2005_02_17_define.test,
	t/additional_tests/2005_01_31_slash.test:
	Moved some trivial tests into larger tests, for testing
	efficiency.

	* t/additional_tests/2005_03_31_scanfail.test:
	Test for the scanner diagnostic change, as well as the 3/31/05
	include directive cache fix.

	* t/makepp_test_case: Issue a warning when it sees
	a cleanup_script, in case it's being used like I've been using
	it until now.

2005-03-31  Anders Johnson  <ajohnson@nvidia.com>

	* Scanner.pm: Fixed a bug in which include directives weren't
	cached unless a corresponding file was found.

	* makeppclean: Fixed she-bang.

2005-03-30  Anders Johnson  <ajohnson@nvidia.com>

	* makepp: Fixed an intermittent problem that has been plaguing
	recursive_make_unix.test since Gary's 1/8/05 change.

2005-03-29  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm (_getopts): Accept `-' argument again.
	(%opt): Apply --force to --output too.	New --record-size option.
	(c_cat): Accept -f, -i & -I.
	(c_cp): Accept -f.
	(c_expr): New command.
	(c_grep): Accept -r.
	(c_mkdir): Mode defaults to 755.  Return created dirs when called
	as function.
	(c_install): Accept -g, -l & -o

	* install.pl (pod2html): Italicise item after first space only if
	there is no comma before, else after first `='.

2005-03-21  Anders Johnson  <ajohnson@nvidia.com>

	* CommandParser.pm, Makesubs.pm, pod/makepp_statements.pod:
	Added s_runtime.

	* CommandParser.pm: Added add_optional_dependency method.

	* FileInfo.pm, FileInfo_makepp.pm, Makesubs.pm, Rule.pm, Glob.pm
	Scanner.pm, makepp: Trust cached stat info if the filesytem
	hasn't been touched.  (This makes the NVIDIA chip-level null
	build about 5X faster!)

	* FileInfo.pm: Fixed is_writable_owner bug (it used to always
	return 0). Fixed handling of trailing slashes (it used to turn "/"
	into ".").

	* Makefile.pm: Issue a warning if an expression resolves to undef.
	Remove trailing "\n" from a define ... endef, for GNU make
	compatibility.

	* Makefile.pm, Makesubs.pm: Added Makefile::cd method.

	* Makefile.pm, makepp, pod/makepp_command.pod: Added
	--dump-makefile option.

	* Makesubs.pm, pod/makepp_functions.pod: Added f_filter_out_dirs,
	s_register_command_parser.  Fixed s_register_scanner.

	* Rule.pm: Improved internal diagnostics.  Added setup_environment
	back, because some of our custom scanners use it. (It's now just a
	wrapper.)  Fixed exec_or_die so that it always terminates the
	process before it goes out of scope.  Refactored duplicated code
	into expand_additional_deps.  Ignore empty actions, so that we
	don't try to exec them.

	* makepp: Signal handling tweaks.  Added comment explaining why
	the "despicable idiom" is despicable.  Added descriptive error
	message if process scoping is broken.

	* makepp, Rule.pm: Added --final-rule-only option.

	* t/additional_tests/2005_01_17_runtime.test,
	t/additional_tests/2005_01_31_slash.test,
	t/additional_tests/2005_02_17_define.test:
	New tests.

2005-03-20  Anders Johnson  <ajohnson@nvidia.com>

	* t/additional_tests/2004_04_27_else.test,
	t/conditionals.test: Merged the trivial "else" test
	into "conditionals".

2005-03-18  Anders Johnson  <ajohnson@nvidia.com>

	* t/wait_timestamp.pl:
	Make it work when overwriting an empty file doesn't update the
	timestamp.  (Some of the NVIDIA machines do this, others don't.)

	* t/dry_run_what_if.test:  Don't run makepp again
	until the current time is greater than the newest file (not the
	oldest).

2005-03-18  Daniel Pfeiffer  <occitan@esperanto.org>

	* t/run_tests.pl: Document -v and also make it output
	time stats.

	* t/dry_run_what_if.test: Fix file not always closed
	problems.

2005-03-17  Daniel Pfeiffer  <occitan@esperanto.org>

	* t/run_tests.pl (makepp, execute): New functions.
	(test_loop): For each of the possible scripts, check for an
	alternative Perl variant.  Also catch internal errors, such as
	dangling critical sections.

	* t/wait_timestamp.pl: New file.

	* t/**/*.test: Eliminate almost all sleeps, replacing
	them with the minimum wait till we get a new timestamp.	 Also fix
	tests that failed on some platform.

2005-03-12  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp_builtin_rules.mk (%.y, %.l): Use a more legible &mv.

	* Makesubs.pm (%scanners): Add purecov and quantify.
	(s_define): Delete leading whitespace at beginning of lines to be
	consistent with other kinds of rule actions.

	* Makecmds.pm (_getopts): Allow mixing options and arguments and
	don't get confused by empty argument.
	(_perform): Write versbose messages to STDERR.
	(c_cat): New command.
	(c_rm): When deleting metainfo, also delete .makepp/, if it
	becomes empty.

	* t/run_tests.pl ($makepp_path): Localize, so it can be
	accessed in modules loaded with do().
	(execute): New function for alternately running a script if found
	with .pl appended as a module, or as a shell script.
	(foreach $tarfile): Use execute for all three scripts optionally
	available.

	* t/**/*.test: Replace some shell scripts with modules, and use
	builtin commands wherever possible.

2005-03-06  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makefile.pm (setup_environment): Method moved from Rule.pm.

	* Makesubs.pm (%scanners): Add AIX compilers.
	(f_shell): Propagate exported variables.
	(f_shell_global_once, f_shell_once): New functions.

	* Rule.pm (execute_command): Avoid dangling critical section when
	some &command isn't found.

	* Makecmds.pm (c_sed): New name for c_filter.
	(c_rm, c_chmod, c_cp, c_install, c_mv, c_rm): New commands.
	(--count, --except): New options for c_grep.

	* t/builtins.test: Test all changes.

	* pod/makepp_builtins.pod: Document all changes.

2005-02-02  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makecmds.pm (c_grep): New command.
	(--infail, --outfail, --separator): New options.

	* t/builtins.test: Test them.

	* pod/makepp_builtins.pod: Document them and fixes.

2005-01-21  Daniel Pfeiffer  <occitan@esperanto.org>

	* Rule.pm (execute_command): Set $0 while executing &builtin.

	* Makecmds.pm: New lib.

	* install.pl: Install it.

	* Makesubs.pm (scanner_c_compilation): Reanimate this function
	until the new variant works right.
	(f_word, f_wordlist): Negative indices count from end.
	(run, run_forked, c_ln): Moved to Makecmds.pm.

	* pod/makepp_builtins.pod: New POD.

	* t/builtins.test: New test.

	* t/additional_tests/2004_12_17_idl.test: New test.

2005-01-09  Daniel Pfeiffer  <occitan@esperanto.org>

	* TextSubs.pm (unquote_split_on_whitespace): New function.
	(unquote): Default arg to global $_.

	* Rule.pm: Use unquote_split_on_whitespace and argless unquote.
	(split_actions): Find new &action.
	(execute_command): And handle it.

	* Makesubs.pm: Use unquote_split_on_whitespace and argless unquote.
	(f_perl, eval_or_die): Make $(perl) be evaluated in list context.
	(c_ln): New function.

	* CommandParser.pm, Makefile.pm: Use unquote_split_on_whitespace
	and argless unquote.

	* pod/makepp_rules.pod, pod/makepp_extending.pod: Document
	&action.

	* t/perl.test: Adapt to changed context of $(perl) and
	test &action.

2005-01-08  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (read_makefile), AutomakeFixer.pm: new code to get
	rid of all the unnecessary and harmful junk that automake puts
	into makefiles.	 This is a step in the direction of more full
	support for automake/configure.

	* makepp (recursive_make_connection): Fix error handling problem
	where a die in makepp when activated through recursive_makepp
	exited make in the middle of a critical section and the error was
	never printed.

2005-01-06  Gary Holt  <holt-makepp@gholt.net>

	* Makefile: delete this file, because it's not really useful until
	the user runs configure anyway, and it is making packaging of
	makepp harder for Debian.

	* config.pl: Add makepp_compatibility.html to the tar file.

	* pod/makepp_statements.pod (statements): Fix error reported by
	Ian Zimmerman in the documentation of _include.

2005-01-05  Daniel Pfeiffer  <occitan@esperanto.org>

	* Signature/c_compilation_md5.pm (md5sum_c_tokens): Put one space
	after each token and ignore any whitespace after last token.

	* Makesubs.pm (run): Make @ARGV be a modifiable copy.

	* pod/makepp_signatures.pod (c_compilation_md5): Document putting
	${Log}$ (braces against this file in CVS) after last token.

	* pod/makepp_compatibility.html: Eliminate 5.005.

	* t/client_server.test: Close file to be sure to flush
	it.  Eliminate workaround for makeppclient not being executable in
	CVS.

2005-01-02  Gary Holt  <holt-makepp@gholt.net>

	* FileInfo.pm (check_for_change): Fix bug where we unnecessarily
	flush the build info for files linked in from repositories.  This
	caused them not to be deleted on makepp exit.

	* makepp: Fix bug in handling of MAKEFLAGS where we always
	inserted a minus sign even if MAKEFLAGS contained a variable
	assignment.

2004-12-29  Gary Holt  <holt-makepp@gholt.net>

	* makepp (load_repository_recurse, build): If a target's directory
	does not exist, but did exist in some repository, then go ahead
	and make the directory even if we're going to execute the action
	rather than import the file from the repository.  Otherwise the
	action may fail because the directory doesn't exist.

	* BuildCache.pm (copy_from_cache): Fix bug where we got an
	undefined value warning if the output directory does not exist.

	* Makesubs.pm (f_filesubst): Fix bug where trailing whitespace
	messed up the substitution.  The symptom of this was that
	old-style pattern rules failed.	 (Reported by Ian Zimmerman.)

2004-12-26  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp: Require 5.6 because that's needed for our().	Add -? for
	--help.	 Add a global __WARN__ handler and eliminate calls to
	print_warning in favour of warn.

	* Makesubs.pm (run): Restore __WARN__ and __DIE__ handlers.
	(run_forked): Close STDOUT & STDERR.

	* Scanner.pm: Eliminate calls to print_warning in favour of warn.

	* Scanner/Esqlc.pm: Reindent.
	(other_directive): Fix raised warning to cover two file names.

	* config.pl: Require 5.6.

	* install.pl: Require 5.6.  Highlight arguments to items as
	italic.	 Warn about prior installation having the old pre
	.makepp/*.mk naming convention.

	* pod/makepp.pod: Document that we require 5.6.

	* pod/makepp_extending.pod: Consistent doc of perl in all places.
	Fix indentation to always be 4, because that's what install.pl
	strips off.
	(run, run_forked): New items.

	* pod/makepp_functions.pod: Consistent doc of perl in all places.
	Fix indentation to always be 4.

	* pod/makepp_rules.pod: Consistent doc of perl in all places.  Put
	noecho, ignore_error and perl into an enumeration list.	 Document
	esqlc_compilation.  Fix indentation to always be 4.

	* pod/makepp_statements.pod: Consistent doc of perl in all places.
	Add arguments to statements.  Fix indentation to always be 4.

	* pod/makepp_variables.pod: Fix changed_inputs and add it to index.

	* t/perl.test: Split up script.out into the statement
	and rule generated parts, because the latter now seems to delete
	target first.

2004-12-24  Gary Holt  <holt-makepp@gholt.net>

	* BuildCache.pm (cache_file): Fixed major problem where files in
	the build cache could be overwitten by a subsequent compile and
	therefore be corrupted.

2004-12-23  Gary Holt  <holt-makepp@gholt.net>

	* pod/makepp_functions.pod: Add missing entry for find_first_upwards.

	* Makesubs.pm (f_changed_inputs): new automatic variable
	$(changed_inputs), which properly implements $?.

	* BuildCheck/ignore_action.pm : new ignore_action build check
	algorithm that doesn't trigger a rebuild if the action string is
	different.

2004-12-22  Anders Johnson  <ajohnson@nvidia.com>

	* Scanner/C.pm: Add filename and line number to diagnositcs.

2004-12-22  Daniel Pfeiffer  <occitan@esperanto.org>

	* CommandParser/Esqlc.pm: Rebase this on Gcc.pm because some
	preprocessors call compiler.  Everything copied, because for
	inheritance to work via parse_arg, we'd need access to most my
	vars of xparse_command.

	* Scanner/Esqlc.pm (get_directive): Handle $include and lc
	unquoted filename.

	* Makesubs.pm: Add esqlc scanners.
	(run_forked): Use POSIX::_exit.

	* t/perl.test (script.pl): Be well behaved and close.

2004-12-20  Anders Johnson  <ajohnson@nvidia.com>

	* t/additional_tests/2004_12_20_errors.test: Test
	case for line numbers in diagnostics.

	* CommandParser/Vcs.pm: Match -f only as a whole option.

	* CommandParser/Gcc.pm, CommandParser/Vcs.pm, Scanner/C.pm,
	Scanner/Vera.pm, Scanner/Verilog.pm: Reformatted whitespace to
	conform to the rest of makepp.

2004-12-17  Anders Johnson  <ajohnson@nvidia.com>

	* Makefile.pm, Makesubs.pm: If a subroutine defined in a
	perl_begin, etc., produces a message (warn or die) when called
	from a function, the line numbers in the message are properly
	munged.	 Also, deleted some stale lines that got reinserted due
	to a merging oversight, and adjusted the line position for
	perl_begin (as opposed to s_perl, s_sub and f_perl).

	* CommandParser/Vcs.pm: Properly parse the -f option, to that
	options such as "-full64" don't match.

	* t/additional_tests/2004_12_14_comma.test: Added
	a comment pointing out that it tests a feature that we ultimately
	don't want, and it should test what we do want when it works.

2004-12-17  Daniel Pfeiffer  <occitan@esperanto.org>

	* Scanner/C.pm (other_directive): New virtual method.
	(xscan_file): Call it.

	* CommandParser/Esqlc.pm, Scanner/Esqlc.pm: New (flaky) modules.

	* install.pl: Install them.

	* t/esqlc.test: New test.

	* Makesubs.pm (scanner_esqlc_compilation): New scanner.
	(%Makesubs::scanners): Register it.

2004-12-17  Gary Holt <holt-makepp@gholt.net>
	* run_tests.pl: fix problem where delete $ENV{MAKEPPFLAGS} didn't
	work, which could cause a test failure due to the user's environment.

	* Makesubs.pm (infer_objects): if an error occurred building a
	dependency, stop immediately unless --keep-going.

2004-12-17  Anders Johnson  <ajohnson@nvidia.com>

	* BuildCheck.pm, CommandParser.pm, Makefile.pm, Rule.pm, makepp,
	BuildCheck/exact_match.pm, BuildCheck/target_newer.pm,
	pod/makepp_rules.pod,
	t/additional_tests/2004_11_16_envdep.test: Added
	support for dependencies on environment variables.

	* FileInfo_makepp.pm, Glob.pm, Makesubs.pm, Scanner.pm, makepp,
	pod/makepp_command.pod,
	t/additional_tests/2004_11_02_rmstale.test: Added
	--rm-stale option.

	* Glob.pm, t/additional_tests/2004_12_14_comma.test:
	Wildcard functions don't match filenames containing commas. (A
	temporary measure, until they can be safely passed to functions
	that currently interpret them as argument delimiters.)

	* MakeEvent.pm, makepp, t/client_server.test:
	Signal handling fixes.	Don't leave processes running in the
	background.  Ignore SIGINT and SIGQUIT if the child process
	absorbs them, but propagate them if the child process terminates
	from them.  Send children signals on TERM and HUP.  Redirect
	STDIN if running in parallel.  Propagate errors from targets even
	if $error_found is set.	 Mark targets as failed the the command
	was begun and then interrupted.

	* Makesubs.pm: Removed scanner_c_compilation, because its role has
	been subsumed by CommandParser::Gcc.

	* CommandParser.pm, Scanner.pm: Reformatted whitespace to conform
	to the rest of makepp. (More of this to come, after functionality
	changes are committed, so they aren't obscured by the space diffs.)

	* Rule.pm, makepp: Added --profile option (not documented).

	* Rule.pm: Use POSIX::_exit instead of exit, to avoid garbage
	collection.

	* config.pl, install.pl, makeppclean, pod/makeppclean.pod,
	pod/makepp.pod: Added makeppclean utility.

	* FileInfo_makepp.pm, makepp, pod/makepp_command.pod: Added
	--sandbox & --dont-read options.

	* CommandParser/Vcs.pm: Added support for almost every VCS 7.1
	option that generates dependencies.

	* t/additional_tests/2004_12_06_scancache.test:
	Tests that targets built on behalf of cached scanner info can fail
	without stopping the build if they aren't actually needed.

	* t/additional_tests/2004_12_14_clean.test: Tests
	signal propagation and makeppclean.

	* Makefile.pm,
	t/additional_tests/2004_12_16_endif.test: Fixed
	parsing of commands whose executable is "perl".

	* CommandParser.pm, Rule.pm: Scanner failures are propagated with
	die "SCAN_FAILED\n", so that we don't need to check for failure
	at every level of the call stack.

	* CommandParser.pm, Scanner.pm: Ignore include of file whose name
	is the empty string.

	* Scanner.pm: Log the file that included a file to be scanned.

	* FileInfo.pm, makepp: Added --gullible option (not documented).

	* FileInfo_makepp.pm: Refactored repetition into build_info_fname.

2004-12-17  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makesubs.pm (run): Prefer local script over one found in $PATH.

	* t/perl.test: Revert fix.

2004-12-16  Anders Johnson  <ajohnson@nvidia.com>

	* t/perl.test,
	t/additional_tests/2004_05_04_double_dollar: Fixes
	to make them work whether or not "." is in $PATH.

2004-12-15  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makesubs.pm (eval_or_die): Use print_warning.
	(run, run_forked): New functions.

2004-12-12  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makesubs.pm (rewrite_message): New function.
	(eval_or_die): Use it to also massage warning's locations.
	(s_define): Don't handle comments or conditionals since GNU make
	doesn't either.
	(read_block): New function.
	(s_perl, s_sub): Use it.
	(s_perl, s_perl_begin): Revert $makefile magic, more cleanly
	handled in skip_makefile_until_else_or_endif.

	* Makefile.pm (read_makefile_line_stripped): Don't do conditionals
	in define.
	(skip_makefile_until_else_or_endif): Also handle (make)sub and
	define with regard to `else' and use read_block instead of
	$makefile magic.

2004-12-10  Daniel Pfeiffer  <occitan@esperanto.org>

	* Rule.pm (execute_command): Massage error location for perl
	command.

	* FileInfo_makepp.pm (clear_build_info, update_build_infos)
	(load_build_info_file): Rename .makepp files with suffix .mk.

2004-12-09  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makesubs.pm (eval_or_die): Fix line numbering and IDE friendly
	error message format.
	(s_perl, s_perl_begin): Add special case without argument, to only
	skip input.

	* Makefile.pm (read_makefile_line_stripped): Add ifperl and
	ifmakeperl.  Document two unfixed bugs.
	(skip_makefile_until_else_or_endif): Add ifperl and ifmakeperl.
	Also handle else within perl { }.  Let the statement functions do
	the parsing for perl { } and perl_begin.

	* t/conditionals.test: Test these fixes and additions.

2004-11-23  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (s_no_implicit_load): Fix bug where we didn't expand
	variables in a number of statements.

2004-11-22  Anders Johnson  <ajohnson@nvidia.com>

	* t/md5.test: Back to using dumb sleep's, because
	otherwise the .o can look like it didn't change if the compiler
	runs in less than a second.

	* BuildCheck/exact_match.pm,
	BuildCheck/architecture_independent.pm: Completed
	BuildCheck::exact_match POD (which ended abruptly).
	BuildCheck::architecture_independent chains to exact_match in a
	manner that is more resilient to change.

2004-11-19  Anders Johnson  <ajohnson@nvidia.com>

	* BuildCheck.pm, Rule.pm, BuildCheck/exact_match.pm,
	BuildCheck/target_newer.pm: Fixed the detection of changed
	dependencies for using cached scanner info.

	* Scanner/Vera.pm: Fixed a stupid //g bug.

	* Scanner/Verilog.pm: Doesn't require module name and instance
	name to be on the same line.

	* ActionParser/Specific.pm: Allows specified class to be defined
	inline, instead of in its own file in @INC.  Automatically adds
	"CommandParser::" prefix to class name, if necessary.

	* t/additional_tests/2003_10_11_idash.test: Added the
	sleep calls required to make it run reliably.

	* Makefile: Reverted Gary's changes to BINDIR, etc., which were
	surely accidental.

	* pod/makepp_scanning.pod: Fixed a typo.

2004-11-03  Gary Holt  <holt-makepp@gholt.net>

	* t/run_tests.pl: Remove MAKEFLAGS and MAKEPPFLAGS from
	the environment before running the tests.

	* Makefile.pm (read_makefile_line_stripped): Fix problem where
	variables tested with ifdef sprung into existence in the
	command line variables hash.

2004-09-29  Daniel Pfeiffer  <occitan@esperanto.org>

	* Rule.pm (sorted_dependencies): eliminate superfluous rebuilds
	that occur due to random sorting of homonymous files from
	different directories.

2004-08-14  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (scanner_c_compilation): Fix problem where makepp
	did not exit with a fail status if one of the scanner prerequisites
	failed to build.

2004-07-13  Anders Johnson  <ajohnson@nvidia.com>

	* Makefile.pm,
	t/additional_tests/2004_04_27_else.test,
	t/additional_tests/2004_04_27_target_specific_append.test,
	t/additional_tests/2004_04_28_unshift_makefile_lines.test,
	t/additional_tests/2004_05_13_ifdef.test:
	If the first assignment is a target-sepcific '+=', then use
	deferred evaluation and don't prepend a space. Print a log
	message when we detect a recursive makefile. Added a mechanism
	for programmatically inserting text for the makefile parser to
	process. When inside an ifdef, ignore 'else' inside a perl_begin.
	In an override situation, defined but false counts.
	* FileInfo_makepp.pm: Set default $directory_first_reference_hook
	to 0 instead of sub {} to speed things up a little. Consider
	ancestor directories "referenced" when a directory is first
	referenced. Re-read symbolic links before relying on them.
	Added more log messages for repository links.
	* FileInfo_makepp.pm, Makefile.pm: Added :multiple_rules_ok.
	* FileInfo.pm: Refactored link_deref to avoid repetition.
	* Makesubs.pm: Added f_find_first_upwards. Refactored to use
	Makesubs::prebuild.
	* Makefile.pm, Rule.pm: Deal with setting up environment while
	building a makefile's targets (e.g. s_prebuild) before the
	makefile is completely loaded.
	* Rule.pm: Log targets that are built as cached scanner
	dependencies. Log when attempting to retrieve scanner info.
	* Scanner.pm: Log when a file isn't scanned because it's
	unwritable or in a system area. Don't attempt to scan a
	directory.
	* install.pl, makepp: If the html is installed in the usual
	place, then point to the makepp install that you're actually
	using in the --help message. (Useful when the makepp install
	emanates from source control.)
	* makepp: Print the makepp invocation at the top of the log file.
	Fixed a bug with $prune_code. Don't perform a build_check when
	linking in a *source* file from a repository.
	* CommandParser/Vcs.pm: Use named vars in loops.
	* Scanner/Verilog.pm: Allow include files to define modules.
	Scan files even if they are unwritable, because compiling Verilog
	generally involves linking as well as compilation. Add xor and
	xnor to built-in primitives. Allow UDP's. Allow instances to have
	the open paren on the following line. Allow include files to
	terminate with an open module (e.g. if the include directive is
	inside a module definition).
	* pod/makepp_repositories.pod: Added some more info regarding
	the semantics of repositories.
	* pod/makepp_scanning.pod: Added info for ActionParser::Specific
	and for --force-rescan.

2004-05-28  Gary Holt  <holt-makepp@gholt.net>

	* BuildCheck/architecture_independent.pm: New build check method
	that ignores architecture.

2004-05-24  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (parse_rule): Fix broken build_cache and build_check
	modifiers.

	* Makesubs.pm (s_build_cache): Fix broken build_cache statement.

2004-05-21  Gary Holt  <holt-makepp@gholt.net>

	* makepp_build_cache_control: Give error if bogus command entered.

2004-05-20  Gary Holt  <holt-makepp@gholt.net>

	* Rule.pm (load_scaninfo_single): Fix bug in scanner where files
	included with #include "filename" were not found correctly from
	the cached scan info if they were located in the current
	directory, so the meta dependencies were always regarded as out of
	date.

2004-05-17  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (s_include): Look for <filename>.makepp before
	looking for <filename> to help with builds that have to work with
	both makepp and make.

	* Makefile.pm (read_makefile_line_stripped): Accept comments on
	ifeq (,) lines too.

2004-05-11  Gary Holt  <holt-makepp@gholt.net>

	* makepp: Check environment variable MAKEPPFLAGS as well as
	MAKEFLAGS to get options.  This allows a user to specify options
	in his .bashrc file that apply to all makepp builds but not to
	make builds.

	* makepp (print_log_scan): Make it possible to turn off the log
	messages from the scanner separately from all the others.  Added
	the --nolog-scan option.

2004-05-10  Gary Holt  <holt-makepp@gholt.net>

	* CommandParser/Gcc.pm (xparse_command): Add .sl as a shared
	library extension (for HPUX).

2004-05-08  Gary Holt  <holt-makepp@gholt.net>

	* FileInfo_makepp.pm (move_or_link_target): Fix bug where build
	info on files copied from repositories was flushed, which meant
	the files sometimes didn't get cleaned up on makepp exit.

2004-05-03  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (expand_text): Fix bug reported by Ian Zimmerman
	where $$ with rc_substitution=0 wasn't working.

2004-04-22  Anders Johnson  <ajohnson@nvidia.com>

	* t/additional_tests/2004_04_22_envexe.test,
	CommandParser.pm: Don't add executable dependency if it contains
	shell metacharacters.
	* FileInfo_makepp.pm: A target of additional dependencies is not
	considered stale. (See earlier comment in the same file.)
	* Scanner/Verilog.pm: Support multi-line comments.
	* makepp: Eliminated deprecated --default-makeppfile. Allow
	--load-makeppfile as a synonym for --load-makefile. Fixed a bug
	with --load-makefile in which other makefiles were sought before
	the initial makefiles were loaded. Issue an error rather than
	executing a rule that would build a target marked for
	--dont-build (in case the user modified it on purpose).

2004-04-19  Anders Johnson  <ajohnson@nvidia.com>

	* Glob.pm, t/additional_tests/2004_04_19_onlyphony.test:
	With $(only_phony_targets), only the file part of the glob is
	supposed to be phony, *not* the ancestor directories.

Version 1.40 beta1 released

2004-04-16  Gary Holt  <holt-makepp@gholt.net>

	* t/run_tests.pl: Fix problem where if . was not in
	path, run_tests.pl failed if invoked as "perl run_tests.pl".

2004-04-14  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (scanner_skip_word): Add entries for if, then, and
	else, so we can handle actions like "if gcc main.o -lxyz -o
	program; then ...".

2004-04-13  Anders Johnson  <ajohnson@nvidia.com>

	* FileInfo_makepp.pm, Makesubs.pm, makepp,
	Signature/exact_match.pm, Signature/target_newer.pm,
	pod/makepp_command.pod: Added --load-makefile (a replacement for
	the now deprecated --default-makeppfile), and --do-build. Made
	--assume-unchanged and --dont-build apply recursively to
	directories.
	* ActionParser.pm, CommandParser.pm, Scanner.pm, makepp:
	Doc fixes. Scanner failures cause the build to stop, but known
	dependencies are still built if -k is in effect.
	* FileInfo.pm: Fixed a bug in relative_filename.
	* FileInfo_makepp.pm: Moved was_built_by_makepp and is_stale
	out of the "private" area.
	* Makefile.pm: Improved makefile line reporting for rules.
	* Rule.pm: Fixed a bug reading scan info when the trailing item(s)
	in a list are empty strings.
	* Scanner/C.pm, Scanner/Vera.pm: Allows whitespace to precede the
	"#" in directives, per the ANSI C standard.
	* makepp: Added a hook to allow pruning of repositories. This
	isn't used by makepp itself, but it comes in handy sometimes when
	the repository is loaded on behalf of some other perl code.

2004-04-10  Gary Holt  <holt-makepp@gholt.net>

	* FileInfo.pm (file_info): Support the Cygwin //server/share
	syntax.
	* FileInfo.pm (guess_case_sensitivity): Allow case-insensitive
	filesystems on Unix.  Autodetect whether we are in a
	case-insensitive file system and set flags appropriately.
	* Added --no-case-sensitive-filenames switch.
	* t/wildcard_repositories.test: don't try this on a
	Windows share because making files unreadable doesn't seem to
	work.

2004-04-07  Gary Holt  <holt-makepp@gholt.net>

	* Signature/shared_object.pm: Special-purpose signature rule to
	run a signature check only on a shared library's interface,
	because normally if a shared library changes, one doesn't need to
	relink things that depend on it.  Added this as an example in
	makepp_extending.pod of how to write your own signature method.

	* Makesubs.pm: added lsbcc to recognized list of compilers.

2004-04-08  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makesubs.pm (eval_or_die): Allow $(perl code) to be undef.
	* install.pl (highlight_variables): Beautify new functions.
	* pod/makepp_functions.pod: Extend index and adapt $(perl) doc.
	* pod/makepp_repositories.pod: Whitespace fixup to allow
	install.pl cleanup.

2004-04-01  Anders Johnson  <ajohnson@nvidia.com>

	* t/additional_tests/2004_04_01_append_to_undef.test,
	Makefile.pm: Deal with appending to an undefined variable in
	the same way as GNU make.
	* Makesubs.pm, FileInfo_makepp.pm, pod/makepp_functions.pod,
	t/additional_tests/2004_03_31_stale.test,
	t/additional_tests/2004_04_01_stalerep.test: Added
	$(only_generated) and $(only_stale) functions. Nukes a repository
	symlink if there is no current alternate version.
	* Rule.pm, makepp: If scanning fails, then propagate error
	status to the rule, and don't bother building dependencies.
	Print a warning if a stale file is used.
	* pod/makepp_incompatibilities.pod: Nuked outdated double colon
	rule info. Added note that "export FOO := $(BAR)" and
	"export FOO = $(BAR)" are the same in makepp, but not in make.

2004-04-01  Daniel Pfeiffer  <occitan@esperanto.org>

	* Rule.pm (execute_command): Respect ignore_error on Cygwin.

2004-03-26  Gary Holt  <holt-makepp@gholt.net>

	* t/additional_tests/2004_03_24_scanner_c_lib.test: fix
	for Cygwin.

	* FileInfo_makepp.pm (set_rule), Makefile.pm (parse_rule): set
	$finfo->{PATTERN_LEVEL} only if the rule is not overridden
	(suggestion by Anders Johnson).

	* t/additional_tests/2003_10_17_shell_exit_status.test:
	fix so that it works on Cygwin.
	t/additional_tests/2004_03_26_perl_exit_status.test:
	new test.

2004-03-25  Anders Johnson  <ajohnson@nvidia.com>

	* FileInfo_makepp.pm, Makefile.pm: Comments indicating what I
	think might be a bug with FileInfo->{PATTERN_LEVEL}.
	* Scanner.pm: Include suffixes are reported in quotes, in case
	any of them is the empty string.
	* makepp, t/additional_tests/2004_03_25_reprule.test:
	Fixed a nasty bug in which files from a repository were published
	before they actually could be built, which caused them *not* to
	be published when a rule to build them was encountered. Added a
	test case for this.

2004-03-24  Anders Johnson  <ajohnson@nvidia.com>

	* ActionParser.pm, CommandParser.pm: CommandParser must return
	undef to indicate build failure; 0 means no meaningful scanner
	found instead. Fixed handling of build failures in
	ActionParser::parse_rule, and allow find_command_parser to return
	0 without thinking that no meaningful scanning happened.
	* Makefile.pm,
	t/additional_tests/2004_03_12_condscan.test,
	t/additional_tests/2004_03_16_recscan.test: Fixed
	parsing of :option on a subsequent rule line, and added support
	for :\s+smartscan and :\s+quickscan. Added this to existing test
	cases.
	* TextSubs.pm: Fixed POD bug.
	* CommandParser/Vcs.pm: Model the fact that the C compiler is
	run in a subdir. Fixed build failure (undef return val) handling.
	* pod/makepp_scanning.pod: Documented the new scanner interface.

2004-03-24  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (f_make): New function to make it possible to have
	shell commands that compute a list of files, rather than having a
	fixed list or having makepp compute it.

	* ActionParser.pm (parse_rule): Move check for missing C/C++
	scanner so we don't print a warning unless no scanners of any sort
	were found in any of the actions.

	* Makesubs.pm (scanner_skip_command): Remove legacy subroutine
	that used to hande "echo" commands but is no longer useful and
	causes problems because it doesn't handle quotes correctly.

2004-03-23  Anders Johnson  <ajohnson@nvidia.com>

	* ActionParser.pm, CommandParser/Basic.pm, install.pl:
	Rather than no scanning at all, the default scanner adds a
	dependency on the executable if it's a relative path.
	* FileInfo.pm: Don't complain about phony targets "changing"
	outside of makepp.
	* FileInfo_makepp.pm: Print a log message when build info is
	discarded, because that can otherwise cause confusion.
	* Makefile.pm, Scanner.pm: Added rule options to control
	conditional scanning.
	* Makesubs.pm: Added cpp to the list of programs that use
	scanner_c_compilation_new.
	* Scanner.pm: Added include recursion limit. Added dont_scan.
	Reports the include suffix list (if there is one) if it can't
	find an include file. Fixed set_var and pushd_scope. Changed
	return semantics of pop_scope to better fit most applications.
	* CommandParser/Gcc.pm: Fixed handling of -l options. Added
	support for -U, -gcc, -traditional. Fixed the user include path
	to contain the sys include path.
	* CommandParser/Vcs.pm, Scanner/C.pm, Scanner/Vera.pm:
	Added NTB (Vera) support. Added support for -P, -CFLAGS, -LDFLAGS,
	things to pass to a C command parser, more Verilog file
	extensions. Refactored Scanner::C so it can be reused as a base
	class for Scanner::Vera. Added support for #else and #elif.
	* Scanner/Verilog.pm: Don't return undef when you resolve a
	module that is already resolved. Added support for `else.
	Don't process modules and instances when the scanner is inactive.
	* t/additional_tests/2004_03_12_condscan.test:
	Test case for conditional scanning.
	* t/additional_tests/2004_03_16_recscan.test:
	Test case for conditional recursive scanning.
	* pod/makepp_extending.pod: Noted that functions aren't always
	evaluated in the environment that you might expect.

2004-03-22  Gary Holt  <holt-makepp@gholt.net>

	* CommandParser/Gcc.pm (xparse_command): Fix minor bug in handling
	of -lxyz.

2004-03-09  Anders Johnson  <ajohnson@nvidia.com>

	* t/additional_tests/2003_08_13_load_makefile_quotes.test,
	Makefile.pm: Generate an error if an unterminated reference is
	found. Fixed a test that had an unterminated reference in it.
	* Makesubs.pm, CommandParser/Gcc.pm, Scanner/C.pm:
	Completed new object-oriented C++ scanner. Made it the default.
	Ignores C-style comments at the end of a line.
	* Rule.pm: Allows cached dependencies where the tag is not
	mentioned in INCLUDE_PATH.
	* makepp: Removed undocumented --eval option. It is no longer
	needed due to changes in the precise semantics of -F.

2004-03-05  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (expand_expression): Fix bug where inner variables
	in $(X:%.$(Y)=%.$(Z)) were not expanded.

2004-03-03  Anders Johnson  <ajohnson@nvidia.com>

	* t/additional_tests/2004_03_03_minusk.test,
	t/additional_tests/2004_03_03_scan_build.test:
	Tests for -k option.
	* t/run_tests.pl: Keep the .makepp_log file around,
	but rename it.
	* t/additional_tests/2004_02_27_srctarg.test:
	Fixed so that it doesn't rm -f w/o args, which isn't portable.
	* makepp, MakeEvent.pm: Fixes for -k. Don't throw away the build
	handle if there was non-zero status. If a process fails, then
	still notify its waiters, save their status and call their error
	handlers, but don't call the error handlers twice.
	* install.pl, config.pl, Makefile, Rule.pm, Makefile.pm,
	ActionParser.pm, ActionParser/Legacy.pm, ActionParser/Specific.pm,
	RuleParser.pm, RuleParser/Legacy.pm, RuleParser/Specific.pm:
	Renamed RuleParser to ActionParser.
	* Scanner.pm, CommandParser.pm: Report a dependency to
	the Rule class if a file was sought but not found, because that
	affects scaninfo caching.
	* Rule.pm: Allow build errors to files built on behalf of
	replaying cached scan info (and don't use the cached scan info
	if it fails), but _not_ on behalf of ordinary scanning.

2004-02-29    <holt-makepp@gholt.net>

	* makepp (print_msg): Fix modification of argument that was
	causing extremely weird crashes in other modules because their
	private variables got changed.
	* makepp (build_target_done): Fix bug where recursive make
	commands were stored in the build info.
	* t/recursive_make_unix.test: Add test for above bug.
	* makepp: Suppress warning message about getcwd redefinition by
	not importing symbols from POSIX.
	* Makesubs.pm (f_find_upwards): Improved error message.
	* pod/makepp_statements.pod, makepp_cookbook.pod: Minor fixes to
	documentation.
	* install.pl, config.pl: Update to current file list.
	* t/additional_tests/2004_02_25_only_targest_rule.test:
	Add missing test file for bug fixed earlier.

2004-02-27  Anders Johnson  <ajohnson@nvidia.com>

	* t/additional_tests/2004_02_27_srctarg.test,
	FileInfo_makepp.pm: Fixed a nasty bug which would cause files
	with no rule to look like targets, and added a test case.
	* CommandParser/Vcs.pm: Vera files are treated as simple
	dependencies. (Still need to handle their includes too, though.)
	* t/additional_tests/2003_08_13_non_readable_makefile.test:
	Fixed n_files to track phony target accounting changes.

2004-02-27  Gary Holt  <holt-makepp@gholt.net>

	* makepp_builtin_rules.mk: Handle the .exe extension for Cygwin,
	and make a phony target xyz for each xyz.exe so the default
	build rules do what you'd expect.

	* makepp (build_target_done): Count phony targets separately from
	real files, and report only the number of real files built.  This
	makes it so the expected file counts are the same on Cygwin and
	regular Unix, because for making executables, Cygwin has an extra
	phony target.

	* FileInfo.pm (is_writable): If the permissions are 000, don't try
	to write a file in the directory. This fixes a problem on Cygwin
	where even though the permissions were 000, it was possible to
	create a file in the directory.

2004-02-26  Anders Johnson  <ajohnson@nvidia.com>

	* Makefile.pm: Variables defined on the command line are visible
	from perl.
	* makepp: the -C option affects the directories relative to which
	targets are specified (duh!)
	* pod/makepp_command.pod: Explains the nuances of -f, -F and -C
	in more detail.
	* t/additional_tests/2004_02_19_rep_change.test:
	Also covers the case in which a generated repository file is
	regenerated in the repository before it is used locally.

2004-02-25  Gary Holt  <holt-makepp@gholt.net>

	* FileInfo_makepp.pm (set_rule): When we remove a rule to try to
	save memory, leave a tag that there used to be a rule, so
	$(only_targets ) and $(only_nontargets ) continue to work.
	(Bug 899128, reported by mlovell.)

	* makepp (setup_recursive_make_socket): Fix broken code to delete
	the recursive makepp socket (bug report by Henrik Goldman).

2004-02-23  Anders Johnson  <ajohnson@nvidia.com>

	* t/additional_tests/2004_02_19_rep_change.test,
	FileInfo_makepp.pm, Rule.pm: Test case and fixes for files
	in the repository changing after links are left behind.
	* Rule.pm: Fixes so that we don't try to build things unnecessarily
	on behalf of cached dependencies, and so that we handle errors
	gracefully if any result in that case.
	* Scanner.pm: Fixed a diagnostic so that it does the right thing if
	one of the include path directories is undef.
	* makepp, pod/makepp_command.pod: Added --default_makeppfile.
	With a -F option, only further targets (and not further
	repositories and Makefile's, etc.) are relative to that directory.
	* makepp: After building a target that is a symbolic link, mark
	both the link and its referent as possibly changed. (A well-behaved
	build system doesn't write through symbolic links, but we need to
	be prepared for that anyway.)
	* t/run_tests.pl: Before removing $testname.failed, try
	to change its permissions so that it's more likely to succeed.
	* t/additional_tests/2004_02_11_export_colon.test,
	Makefile.pm, Makesubs.pm: Added a new syntax rule so that we can
	support the "export FOO := bar" syntax.
	* t/additional_tests/2004_02_12_xargs.test,
	Makesubs.pm, pod/makepp_functions.pod: Added $(xargs) function.

2004-02-15  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (f_first_available, f_findfile, f_find_program): add
	new functions, and document some that already existed but weren't
	listed in the documentation.
	(f_find_upwards): Make it clear that the error comes from
	$(find_upwards).

2004-02-09  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (parse_rule): Don't try to put in a rule if
	expansion of $(foreach) is delayed.  This is a temporary hack.

	* Makesubs.pm (f_infer_objects): Don't insist that this be run
	from inside a rule, since there's really no reason for that
	requirement.

2004-02-05  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (print_warning): new function
	* makepp, t/client_server.test, Makefile.pm,
	Makesubs.pm, MakeEvent.pm, CommandParser/Vcs.pm,
	FileInfo_makepp.pm, Signature/exact_match.pm, Scanner/Verilog.pm,
	RuleParser.pm, Scanner.pm, Rule.pm: use it and put anything that
	can be gone to (`file' or `file:lineno') into quotes so an IDE can
	turn messages into hyperlinks.
	* t/run_tests.pl: remove old <test>.failed dir first

2004-02-02  Anders Johnson  <ajohnson@nvidia.com>

	* FileInfo_makepp.pm,
	t/additional_tests/2004_01_21_repbuild.test:
	Don't try to build things in a repository, because it doesn't
	really work even if you try.
	* FileInfo_makepp.pm: Copy over the build info from the
	repository even if the existing symlink is OK, because the build
	info may have changed since the revious makepp run.
	* Makesubs.pm, pod/makepp_statements.pod: Added s_prebuild.
	* Rule.pm: load_scaninfo can now pick up scanner info from a
	repository.
	* Scanner.pm: Fixed a diagnostic that was affected by the changes
	on behalf of caching scanner info.
	* install.pl, RuleParser/Specific.pm: Added a RuleParser class
	that can use a particular class of CommandParser.
	* makepp: Removed code that I thought was just vestigial, but in
	fact was wrong. Moved caching of scanner info after target is
	linked in from a repository, so that it doesn't get clobbered.
	Added an option to load a repository manifest from a file, which
	is much faster than traversing the directory tree (at least in
	my environment).
	* RuleParser/Legacy.pm: Fixed a couple of bugs, and cleaned up
	the POD.
	* Scanner/Verilog.pm: Deals with primitives correctly. Improved
	a few diagnostics.

2004-01-19  Anders Johnson  <ajohnson@nvidia.com>

	* CommandParser.pm: If the executable includes a relative
	directory, then add an implicit dependency on the executable.
	* CommandParser.pm, Rule.pm, RuleParser.pm, Scanner.pm,
	Signature.pm, makepp, CommandParser/Gcc.pm, CommandParser/Vcs.pm,
	RuleParser/Legacy.pm, Signature/exact_match.pm:
	Scanner caching clean-up. It appears to work pretty well now,
	although I'd be surprised if there aren't a couple of latent bugs
	to be hunted down. Added --nocache_scaninfo and --force_rescan
	options.
	* FileInfo.pm, makepp: Added check_for_change method, to replace
	may_have_changed in instances in which there is no reason to
	believe that the file was actually affected.
	* FileInfo_makepp.pm: Uses "END=" as an end-of-file delimiter
	on build info files, so that we can be 100% sure that the build
	info wasn't truncated by an interrupt.
	* Signature/c_compilation_md5.pm: Added excludes_file(). If the
	file type is unrecognized, then never use a specialized MD5.
	Fixed call to md5sum_c_tokens. Improved implementation of keyword
	detection.
	* Signature/md5.pm: Formatting fix.
	* makepp: Prints a log message when loading a repository.

2003-12-24  Anders Johnson  <ajohnson@nvidia.com>

	* CommandParser.pm, Rule.pm, RuleParser.pm, Scanner.pm:
	Added stuff for caching info gleaned from scanning. It's not
	actually used yet. This implied a significant scanner interface
	change, because you need to cache specified path names rather
	than FileInfo's if you want to have any chance of detecting
	retargeted symbolic links (which doesn't work yet anyway, but it
	isn't too hard to fix).
	* FileInfo_makepp.pm: Don't mark build_info for update unless a
	value actually changed.
	* CommandParser.pm: Uses TextSubs::unquote.
	* Rule.pm: Fixed a bug in which the action wasn't split into
	commands before being scanned.
	* RuleParser.pm, CommandParser.pm, Scanner.pm,
	CommandParser/Gcc.pm, CommandParser/Vcs.pm, Scanner/Verilog.pm,
	Scanner/C.pm: Stop scanning on an error. (Still not sure if this
	is really the correct thing to do).
	* Scanner.pm, Scanner/Verilog.pm: Moved suffix handling logic to
	Scanner base class, so that it will play with caching better.
	* TextSubs.pm: Added split_commands and join_with_protection.
	* install.pl, Signature/verilog_simulation_md5.pm,
	Signature/verilog_synthesis_md5.pm, CommandParser/Vcs.pm: Added
	signature methods for Verilog.
	* CommandParser/Vcs.pm: Allows a -f file to be specified multiple
	times.
	* makepp: Fixed a bug that prevented @end_blocks from being
	registered by FileInfo_makepp. Also named a for index to avoid
	sensitivity to changing $_ anywhere inside the loop.
	* Scanner/C.pm: Expands macros as appropriate.
	* Signature/c_compilation_md5.pm: Refactored this so that verilog
	signature methods can use it as a base class.

2003-12-12  Gary Holt  <holt-makepp@gholt.net>

	* makepp: Fix bug in parsing of --dont-build, and also in reporting
	unrecognized options.

2003-12-09  Daniel Pfeiffer  <occitan@esperanto.org>

	* t/run_tests.pl: Also redirect cleanup to log.  Don't
	back up .. unless it's the full name.  Also check files in subdirs.
	* t/additional_tests/2003_11_25_wild.test: Don't assume
	PATH contains '.'

2003-12-08  Anders Johnson  <ajohnson@nvidia.com>

	* FileInfo_makepp.pm: Phony targets never exist, even if they
	are found in a repository. Don't create symbolic links to files
	in a repository that can't exist.
	* t/additional_tests/2003_12_05_phonyrep.test: Test
	case for not creating links to files that don't exist.
	* Rule.pm: Factored out setup_environment().
	* Scanner.pm: Fixed a bug caching the list of INCLUDES.
	* install.pl, CommandParser/Gcc.pm, Scanner/C.pm: Added the
	beginnings of a replacement C/C++ scanner.
	* Scanner/Verilog.pm: Removed vestigial "use FileHandle".
	* t/additional_tests/2003_11_25_reptot.test,
	t/additional_tests/2003_11_25_wild.test: Made
	cleanup_script less noisy.

2003-12-01  Anders Johnson  <ajohnson@nvidia.com>

	* t/additional_tests/2003_11_25_reptot.test,
	FileInfo_makepp.pm: Fixed a nasty bug in exists_or_can_be_built
	(wherein a file could be made to exist by virtue of having
	previously been sought), and added a test case.
	* CommandParser/Vcs.pm: Fixed a couple of obvious bugs in calls
	to $scanner->add_include_dir.

2003-11-25  Anders Johnson  <ajohnson@nvidia.com>

	* FileInfo_makepp.pm: Added hook for taking an arbitrary action
	the first time a directory is referenced.
	* makepp: Added --eval option for executing perl code before loading
	the first Makeppfile. (This is often useful for installing a
	first reference hook.)
	* t/makepp_test_case: Handles "." as an arg. Don't
	makepp clean if there is a cleanup_script.
	* MakeEvent.pm, Makesubs.pm, Rule.pm: If exec fails, print the command.
	(This is useful if there are a lot of noecho actions, and you can't
	otherwise tell which one is barfing.)
	* Makesubs.pm: Inside a perl_begin/perl_end block, an array called
	@Cxt is defined. These are the additional args that you have to pass
	to f_* and s_* subroutines. It's not safe to call those routines
	from a perl block otherwise.
	* Makefile.pm: Make sure that expressions not inside a rule are
	evaluated without $Makesubs::rule defined, even if the Makefile was
	loaded implicitly on behalf of a scanner.
	* t/additional_tests/2003_11_25_wild.test: Test case for
	the bug fixed by the change to Makefile.pm.

2003-11-17  Anders Johnson  <ajohnson@nvidia.com>

	* makepp_test_case, spar: Added utilities for generating test cases.
	spar comes from CPAN, but it's sort of hard to find there.
	* t/additional_tests/2003_11_14_rep_unlink.test,
	t/additional_tests/2003_11_14_timestamp.test: A couple
	of portabilitiy fixes.

2003-11-14  Anders Johnson  <ajohnson@nvidia.com>

	* FileInfo_makepp.pm, makepp, Signature/c_compilation_md5.pm,
	Signature/exact_match.pm, Signature/md5.pm,
	Signature/target_newer.pm: When a file is generated, first make
	sure that its repository symbolic link and build info (if any) is
	completely nuked. Then, ignore its FileInfo signature when
	running build_check, because we know that it was written.
	* t/additional_tests/2003_11_14_rep_unlink.test,
	t/additional_tests/2003_11_14_timestamp.test:
	Tests for the previous item.
	* t/additional_tests/2003_10_11_idash.test: Because of
	the first item, it doesn't need to sleep any more.
	* t/run_tests.pl: Supports absolute paths to tests.

2003-11-14  Anders Johnson  <ajohnson@nvidia.com>

	* Signature.pm: Fixed typos in POD.
	* pod/makepp_command.pod: Added documentation for
	--implicit-load-makeppfile-only.
	* Makesubs.pm: Added missing "use Glob".
	* FileInfo.pm, FileInfo_makepp.pm: To tell if a file is
	invisible, look only at the stat array. Also,
	FileInfo::is_readable does something a little more reasonable for
	named FIFO's.

2003-11-11  Anders Johnson  <ajohnson@nvidia.com>

	* Rule.pm, Makefile.pm, RuleParser.pm, RuleParser/Legacy.pm,
	CommandParser.pm, Scanner.pm, Makefile, config.pl, install.pl:
	Added new object-oriented scanner interface. This isn't
	complete yet, but it's been blessed by Gary and I didn't want to
	get too far out of sync.
	* Makesubs.pm, CommandParser/Vcs.pm, Scanner/Verilog.pm: Added
	scanner for Synopsys VCS (Verilog).
	* Makefile, config.pl, install.pl: Added FINDBIN parameter to
	install flow.
	* makepp: Added --implicit-load-makeppfile-only (not documented
	yet).
	* makepp: Added provision to avoid having a repository contain the
	directory based on the repository (e.g. "repository .=..").
	* t/run_tests.pl: Save the failed test products even
	if the die message is more than one word.

2003-11-03  Daniel Pfeiffer  <occitan@esperanto.org>

	* FileInfo_makepp.pm (update_build_infos): Don't use
	EBCDIC-incompatible character ranges.  Mask only strict minimum.

2003-11-03  Gary Holt  <holt-makepp@gholt.net>

	* Glob.pm (zglob_fileinfo & friends): More fixes to support
	--case-sensitive-filenames on Cygwin.

2003-11-02  Daniel Pfeiffer  <occitan@esperanto.org>

	* pod/url.png: new file
	* install.pl: use it and fix item links
	* pod/makepp_signatures.pod, pod/makepp_functions.pod,
	pod/makepp_command.pod, pod/makepp_variables.pod,
	pod/makepp_statements.pod: manually added mini-index

2003-11-01  Gary Holt  <holt-makepp@gholt.net>

	* infer_objects.mk: Remove obsolete file.
	* c_compilation_md5.mk: Remove obsolete file.

	* t/repository.test and wildcard_repositories.test:
	Make sure that soft links are supported by the file system.  Skip
	the test if they aren't.

2003-10-29  Daniel Pfeiffer  <occitan@esperanto.org>

	* pod/pod2html: deleted file
	* pod/makepp.xcf, pod/makepp.gif, pod/makepp.css, pod/pre.png:
	new files
	* install.pl: use them and highlight makepp keywords in html

	* FileInfo.pm, FileInfo_makepp.pm: moved exists_or_can_be_built
	to restore 5.005_03 compatibility

	* t/additional_tests/*.tar: renamed to .test
	* t/**/*.test: recreated with spar, so the tests can
	run on platforms not compatible with GNU tars (Ebcdic indicator)
	* run_tests.pl (un_spar): new function

2003-10-27  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm: Miscellaneous fixes so error messages are properly
	printed out when it fails in an implicit load or an include.

2003-10-24  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp: New option --case-sensitive-filenames

	* FileInfo.pm: New variable $case_sensitive_filenames

	* t/run_tests.pl: pass $^O to is_relevant and move a
	failed tdir to testname.failed.

2003-10-17  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (parse_assignment): Don't even run the variable
	expansion for variables that are overridden on the command line.
	This is more compatible with GNU make and is more useful to the
	user, since it allows a user to override side effects of $(shell )
	from the command line.

	* Makesubs.pm (f_shell): Exit with a message if the shell command
	returns a non-zero exit status, instead of aborting with no
	indication of why.

2003-10-04  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (common_opt, perform): new functions.
	(forget_stale_info): Removed function.
	(parse_command_line): Perform server invocations in same process.

	* makeppclient: kill -USR1, because server must survive.

	* install.pl: Figure out numerical USR1.

2003-09-27  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (BEGIN, forget_stale_info): new functions.
	(parse_command_line): Use forget_stale_info and open retval once.

	* makeppclient: Replace --tee with $MAKEPPSHOW.

	* install.pl: Also install makeppclient.

2003-09-22  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (parse_command_line): Move server action behind common
	loading of makefiles.

	* makeppclient: New option --tee & made it robust against very
	fast server.

2003-09-15  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp (toplevel, parse_command_line): Client/server model.

	* makeppclient, pod/makeppclient.pod: new files.

2003-09-11  Daniel Pfeiffer  <occitan@esperanto.org>

	* makepp, install.pl (BEGIN): Eliminate when installing.

2003-09-10  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (scanner_c_compilation): If a file has an
	unrecognized extension but it's a text file, go ahead and scan it
	for includes.

	* TextSubs.pm (is_cpp_source_name): Add missing .idl extension to
	list of extensions that we recognize as C source code.

2003-09-09  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (parse_assignment): Fix bug where wildcards for
	target-specific assignments were expanded in the wrong subdirectory.

2003-09-06  Daniel Pfeiffer  <occitan@esperanto.org>

	* Makesubs.pm (eval_or_die, f_makeperl, f_perl, s_makeperl)
	(s_makesub, s_perl): new functions
	(all aliases): alias only {CODE}

	* Makefile.pm (expand_text): protect $(perl) from expansion.

	* TextSubs.pm (skip_over_make_expression): add missing next

2003-08-31  Daniel Pfeiffer  <occitan@esperanto.org>

	* Rule.pm (execute, execute_command): introduced perl {...} syntax.
	Pass in $self so functions can work in perl.
	(find_all_targets_dependencies): don't $(expand) in perl {...} code.

	* makepp (build_dependencies_done): pass inputs and outputs, so that
	they can be queried in perl.

	* makepp_builtin_rules.mk (test, %.l, %.y): take advantage of perl.

2003-09-06  Gary Holt  <holt-makepp@gholt.net>

	* Lots of minor changes for speed improvements, especially on
	large builds.

2003-08-27  Gary Holt  <holt-makepp@gholt.net>

	* MakeEvent.pm (when_done): Provide workaround for apparent bug in
	handling closures in perl 5.8.0, where on very rare occasions the
	variable would have the wrong value when passed to a subroutine.
	Now we pass info using argument lists rather than closures, which
	seems to solve the problem.

2003-08-14  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (parse_rule): Add slightly improved support for ::
	rules so we can handle MakeMaker's makefiles.

2003-08-13  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (s_load_makefile): fix bug in handling variables
	whose values are quoted strings with whitespace (reported by Chris
	van Engelen).

	* Makesubs.pm (f_CURDIR): Support $(CURDIR) as GNU make does
	(reported by Daniel Pfeiffer).

	* pod/makepp.pod: Corrections for typos in the documentation
	(reported by Anders Johnson).

2003-08-12  Gary Holt  <holt-makepp@gholt.net>

	* FileInfo_makepp.pm (exists_or_can_be_built): fix bug in handling
	of targets which are soft links to non-existent files.

2003-08-11  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (scanner_skip_word): ignore "time" in compilation
	commands.

	* Makefile.pm (load): minor speed up for expand_text(): convert
	variables from = style to := style if it won't matter.

	* t/run_tests.pl: Support additional tests in other
	directories so we can have additional tests that aren't shipped
	with every distribution.

2003-08-09  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (expand_text), Makesubs.pm (s_define): support the
	define statement for multi-line variable values.  Also had to
	change the expression expansion logic so that we don't convert
	newlines to spaces.

	* Makesubs.pm (f_PWD): Support $(PWD) to be the directory the makefile
	was invoked from.

2003-08-08  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (read_makefile_line_stripped): Fix bug where
	ifeq (a, a) was false but ifeq (a,a) was true (reported by Chris
	van Engelen).

2003-08-07  gholt  <holt-makepp@gholt.net>

	* FileInfo.pm (is_readable): Fix bug reported by Hagen Ulrich
	where a makefile with mode 400 was ignored.

2003-08-04  Gary Holt  <holt-makepp@gholt.net>

	* FileInfo.pm (may_have_changed): Fix bug where if a rule produced
	a target which was a soft link, and the file that the link pointed
	to changed, makepp incorrectly did not realize that the file had
	changed.

2003-08-02  Gary Holt  <holt-makepp@gholt.net>

	* Signature.pm (build_check) and others: reorganize the
	build_check interface so we can implement --assume-new,
	--assume-old, --dont-build, and the -n option.

	* makepp: Support the -r and --no-builtin-rules options.

	* FileInfo_makepp.pm (cleanup_temporary_links): Add new
	--keep-repository-links option not to delete the symbolic links
	from repositories.

2003-07-24  Gary Holt  <holt-makepp@gholt.net>

	* FileInfo_makepp.pm (set_rule): Get rid of undefined symbol
	warning when we give an error message about conflicting rules.

2003-07-23  Gary Holt  <holt-makepp@gholt.net>

	* Glob.pm (zglob_fileinfo): Don't bother to expand /** as a
	wildcard because it's almost certainly an error.

	* makepp_builtin_rules.mk: support percent_subdirs for C++
	compilation rules (bug reported by Chris van Engelen).

2003-07-18  Gary Holt  <holt-makepp@gholt.net>

	* Signature/c_compilation_md5.pm (signature): Scan files using
	lexer even if they don't have typical C/C++ extensions, as long as
	they aren't binary files.  This allows us to handle include files
	with odd suffixes gracefully.

	* Makesubs.pm (f_shell): Fix bug first reported by Chris van
	Engelen where $(shell ) was returning a null string.

2003-07-13  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (f_find_upwards, s_include): Add fix for problem
	mentioned by mlovel, where going upwards indefinitely caused
	problems with an automounter.

2003-07-11  Gary Holt  <holt-makepp@gholt.net>

	* makepp (parse_command_line): Fix wrong order of processing of -I
	options.  (Fix submitted by Chris van Engelen.)

2003-07-08  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (parse_rule): Fix bug that caused an undefined
	value message when expanding the :foreach clause.

2003-07-07  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (read_makefile_line_stripped): Improve compatibility
	with GNU make, where ifdef on a variable set to a null string
	is false, not true.

2003-07-03  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (f_origin): Support this function--there's no reason
	why we can't, and it simplifies using existing makefiles.

	* makepp_builtin_rules.mk: Move the default values for variables
	like CC, etc., back into Makesubs because they weren't accessible
	until very late: makepp_builtin_rules.mk wasn't loaded until after
	makefiles were parsed.

2003-06-30  Gary Holt  <holt-makepp@gholt.net>

	* config.pl, install.pl: Blow up if it's perl 5.005_02, since
	there are still people out there running that broken version.

2003-06-28  Gary Holt  <holt-makepp@gholt.net>

	* makepp (load_repository): Fix bug where implicit loading of
	makefiles gotten from repositories ceased to work.

2003-06-25  Gary Holt  <holt-makepp@gholt.net>

	* FileInfo_makepp.pm (exists_or_can_be_built): If a file is
	unreadable, ignore it entirely.	 This enables users to remove a
	file and not have it copied in from the repository.

	* makepp (load_repository and other places): if a directory is not
	writable, don't attempt to link files into it from the repository.
	Creating an unwritable directory enables users to disable the
	repository for a specific directory.

	* Makesubs.pm (s_sub): Add no_strict to prevent errors accessing
	variables.

2003-06-21  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm: Get rid of the SelfLoader, because it isn't working
	under 5.8.0 on Cygwin, and I'm not really sure it saves anything
	anyway.	 Reorganize file so it's easier to find things.

2003-06-20  Gary Holt  <holt-makepp@gholt.net>

	* makepp_builtin_rules.mk: move definitions of all these things
	here so they can be seen and understood by other people more
	easily.	 Also cleans up the clutter in Makesubs.pm.

2003-06-18  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (s_no_implicit_load): Expand variables in the
	no_implicit_load statement.
	(f_find_upwards, f_relative_filename, f_relative_to): New
	functions from Matthew Lovell.

	* Support target-specific assignments.

2003-06-15  Gary Holt  <holt-makepp@gholt.net>

	* makepp (print_error): Fix bug where --verbose output messages to a
	file called &STDOUT (reported by mlovell).

	* Makefile.pm (expand_text): Minor change to expand_text to speed
	up processing when there are no $.

2003-06-14  Gary Holt  <holt-makepp@gholt.net>

	* Signature/c_compilation_md5.pm: improve handling of whitespace
	so that newlines do affect the signature but trailing whitespace
	on a line does not.

2003-06-13  Gary Holt  <holt-makepp@gholt.net>

	* t/run_tests.pl: Add an is_relevant script in the
	tests so that we can easily skip tests on different platforms.
	This was intended to be able to skip the C compilation test on
	platforms where we can't find a C compiler.

	* configure: New gnu-like configure command so that configuration
	is more like other products.

	* makepp: New system for updating the version number
	automatically.	VERSION is the only file that actually contains
	the number.

2003-05-02  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm ($?): Make it equal to $+, not $^, to match the
	documentation.

2003-05-01  Gary Holt  <holt-makepp@gholt.net>

	* doc/incompat.html: Note that whitespace in variable names is not
	supported.

	* Makesubs.pm (scanner_c_compilation): Support -I and -L with
	spaces after them in the c command line scanner.

Version 1.18 released:

2002-01-09  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (scanner_skip_word): Remove broken libtool scanner,
	since libtool has changed and the current version didn't work
	anyway.	 More work is still needed for seemless libtool support.

	* Clean up documentation and fix a few other minor things for the
	next release.

2001-10-08  Gary Holt  <holt-makepp@gholt.net>

	* FileInfo_makepp.pm (set_rule): Give a warning if the same
	pattern rule makes the output file in two different ways.  (This
	can happen if some funny things are done with the directory, for
	example.)

2001-03-01  Gary Holt  <holt-makepp@gholt.net>

	* TextSubs.pm (pattern_substitution): Incorporated Roman
	Levenstein's fix to copy words that don't match the pattern into
	the output string unmodified.

Version 1.10 released.

	Lots of changes I forgot to log to support signature methods
	better.

2001-01-01  Gary Holt  <holt-makepp@gholt.net>

	* FileInfo_makepp.pm (set_rule): Don't give a warning message
	that the new rule was seen after the target was rebuilt, if the
	target was rebuilt in order to rebuild the makefile.

	* Makefile.pm (read_makefile_line and friends): Read the whole
	makefile in at once, so we can know before parsing any rule
	whether there is a $(MAKE) anywhere in the makefile.
	(parse_rule): If the makefile contained $(MAKE), turn off implicit
	loading.
	(parse_rule): Support .SUFFIXES: with a blank target to suppress
	loading of builtin rules.

	* makepp (build): Don't save build information for targets which
	invoke recursive make.
	(build): If the makefile contained $(MAKE), turn off implicit loading.

	* Makefile.pm (read_makefile_line_stripped): Look for $(MAKE) and
	set the RECURSIVE_MAKE flag if true

2000-12-29  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (f_MAKE): If --traditional-recursive-make, put the
	path to the perl binary into $(MAKE) in case the #!/usr/bin/perl
	path isn't what we were run with.
	(scanner_c_compilation): Use c_compilation_md5 for C compilation,
	if the Digest::MD5 module is actually available.

2000-12-27  Gary Holt  <holt-makepp@gholt.net>

	* makepp (build): Shorten the phony target warning message so
	it's not so overwhelming, at least after the first warning.

	* Rule.pm (find_all_targets_dependencies): remove any dependencies
	where a file depends on itself.	 The Linux kernel has a couple of
	examples of this (which I assume are mistakes).	 Later we'll have
	to handle these differently when we implement iteration to a fixed
	point.

	* Makefile.pm (parse_rule): Fix a bug where we weren't properly
	keeping track of the depth of pattern rule inference.
	(parse_assignment): Broke out code to parse
	assignments into a separate function so it was easier to modify.
	Support indirect assignments (e.g., $(xyz) = value instead of
	xyz=value), which are needed for the Linux kernel.
	(expand_expression): Expand variable values that were set on the
	command line again, so if they contain '$(var)' it is set
	properly.  The gcc makefiles actually depended o this.

	* Makesubs.pm (f_foreach): Support the GNU make foreach function.
	We need this to compile the Linux kernel.
	(f_if): Support partial evaluation on the operands.
	(f_join): New function needed for Linux kernel.

2000-12-26  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm (s_include): Look in the makefile structure for the
	include path.
	(s_load_makefile): Support -I on the line.

	* makepp (parse_command_line): Added support for the -Idir option.

	* Makefile.pm (load): load in a default rules makefile before
	reading in each makefile.  Also, if there's no makefile in a
	directory, read in only the default rules makefile.  This is the
	way we support builtin rules.
	Keep the include path in the makefile structure, so it can be
	different for different makefiles.
	Allow the same makefile to apply to multiple directories--there's
	no reason to disallow that, and it's getting in the way of loading
	the default makefile.
	Support the MAKEFILES environment variable.

2000-12-25  Gary Holt  <holt-makepp@gholt.net>

	* Makesubs.pm: autoload a larger fraction of the subroutines.  Put
	infer_objects into Makesubs so it doesn't have to be activated
	with that silly "include infer_objects.mk" statement.

	Also, added support for infer_libraries and infer_linker.  Added
	support for all the various variables that GNU make has default
	values for.

2000-12-06  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (expand_expression): Fixed strange error message
	when an unknown function was called.

Version 1.06 released.

2000-12-05  Gary Holt  <holt-makepp@gholt.net>

	* makepp (parse_command_line): Set up the variable MAKECMDGOALS.

	* Makefile.pm (parse_rule): Fixed another bug with indented rules
	that cropped up in Werner Lemberg's freetype2 CVS sources.

2000-12-03  Gary Holt  <holt-makepp@gholt.net>

	* FileInfo.pm (is_writable): Fixed bug where a file called
	.testfile was left around because of a trailing space on the
	filename.  Also changed the filename to .makepp_testfile so it's
	less likely to collide with any other file.

	* Makefile.pm (load): fixed bug where makefiles loaded with -f
	were also implicitly loaded while trying to build the makefile,
	causing problems if the makefile was in a different directory.

Version 1.05 released.


2000-11-26  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (expand_text): Support the --norc_substitution
	option so we can handle those weird makefiles that need trailing
	space on variables.

	* TextSubs.pm (split_on_colon): don't look for colons after a
	semicolon.  This solves a bug with a rule that looks like this:
	    $(srcdir)/cat-id-tbl.c: stamp-cat-id; @:

Version 1.03 released.

2000-11-11  Gary Holt  <holt-makepp@gholt.net>

	* MakeEvent.pm: simply increment a value in the signal handler,
	rather than pushing something onto an array.  This seems to fix
	the erratic perl core dumps that we were having.

	* Makefile.pm (parse_rule): use filesubst instead of patsubst for
	pattern rules, so we handle directory aliases properly.

	* Makesubs.pm (f_filesubst): new function to handle directory
	names like "./src" which were making patsubst fail when used with
	GNU make style pattern rules.

2000-11-02  Gary Holt  <holt-makepp@gholt.net>

	* Makefile.pm (parse_rule): Attempt to fix problems with indented
	rules using a much more complicated heuristic.

	* Makesubs.pm (scanner_c_compilation): fixed bug where indented
	#includes were not found.

2000-10-27  Gary Holt  <holt-makepp@gholt.net>

	* Glob.pm (find_real_subdirs): avoid usage of undefined value
	warning if the directory doesn't exist.

	* Rule.pm (find_all_targets_dependencies): return the explicitly
	targets and dependencies in the order they were specified, so they
	are built in a predictable order.  Previously, they were returned
	in a random order.